/* ==========================================================================
   Arguibelle — site public (nov. 2026)
   Parti pris : un seul fond (crème), une seule couleur (forêt), les photos
   font le reste. Une page par sujet, des textes courts, de l'air.
   Tout est préfixé .ag- pour cohabiter avec les anciennes feuilles.
   ========================================================================== */

:root {
    --ag-creme: #f5f1e9;
    --ag-papier: #fbf9f4;
    --ag-foret: #5d5320;
    --ag-encre: #3f3814;
    --ag-doux: rgba(63, 56, 20, 0.72);
    --ag-ligne: rgba(63, 56, 20, 0.16);
    --ag-w: 1180px;
    --ag-header: 5.5rem;
    --ag-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ag-display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
    --ag-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.ag *,
body.ag *::before,
body.ag *::after { box-sizing: border-box; }

body.ag {
    margin: 0;
    background: var(--ag-creme);
    color: var(--ag-encre);
    font-family: var(--ag-body);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:where(body.ag) h1, :where(body.ag) h2, :where(body.ag) h3, :where(body.ag) p, :where(body.ag) ul, :where(body.ag) ol, :where(body.ag) figure, :where(body.ag) dl, :where(body.ag) dd { margin: 0; padding: 0; }
:where(body.ag) ul, :where(body.ag) ol { list-style: none; }
:where(body.ag) img { display: block; max-width: 100%; height: auto; }
:where(body.ag) a { color: inherit; }
:where(body.ag) ::selection { background: var(--ag-foret); color: var(--ag-creme); }
:where(body.ag) :focus-visible { outline: 2px solid var(--ag-foret); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    body.ag *, body.ag *::before, body.ag *::after { animation: none !important; transition: none !important; }
}

.ag-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.ag-skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--ag-foret); color: var(--ag-creme); padding: 0.6rem 1rem; text-decoration: none;
}
.ag-skip:focus { top: 1rem; }

/* ---------- Conteneurs ---------- */
.ag-wrap { width: min(100% - 2.5rem, var(--ag-w)); margin-inline: auto; }
.ag-wrap--text { width: min(100% - 2.5rem, 720px); }
.ag-section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.ag-section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.ag-section + .ag-section { padding-top: 0; }
.ag-rule { border: 0; border-top: 1px solid var(--ag-ligne); margin: 0; }

/* ---------- Typographie ---------- */
.ag-kicker {
    font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
    font-weight: 400; color: var(--ag-foret); margin-bottom: 1.25rem !important;
}
.ag-h1, .ag-h2, .ag-h3 {
    font-family: var(--ag-display); font-weight: 300; color: var(--ag-foret);
    font-variation-settings: "SOFT" 50, "WONK" 0; letter-spacing: -0.015em; text-wrap: balance;
}
.ag-h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; }
.ag-h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; }
.ag-h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.2; }
.ag-h1 em, .ag-h2 em, .ag-h3 em { font-style: italic; font-weight: 300; }

.ag-prose > * + * { margin-top: 1.15em !important; }
.ag-prose { max-width: 58ch; color: var(--ag-doux); }
.ag-prose strong { font-weight: 400; color: var(--ag-encre); }
.ag-lead {
    font-family: var(--ag-display); font-weight: 300; font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    line-height: 1.5; color: var(--ag-foret); max-width: 40ch; text-wrap: pretty;
}
.ag-center { text-align: center; }
.ag-center .ag-prose, .ag-center .ag-lead { margin-inline: auto; }

/* ---------- Boutons & liens ---------- */
.ag-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 3.25rem; padding: 0.85rem 1.9rem;
    font: 400 0.78rem/1 var(--ag-body); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
    color: var(--ag-creme) !important; background: var(--ag-foret); border: 1px solid var(--ag-foret); border-radius: 999px;
    cursor: pointer; transition: background 0.35s var(--ag-ease), color 0.35s var(--ag-ease), border-color 0.35s var(--ag-ease);
}
.ag-btn:hover { background: var(--ag-encre); border-color: var(--ag-encre); }
.ag-btn--ghost { background: transparent; color: var(--ag-foret) !important; border-color: var(--ag-ligne); }
.ag-btn--ghost:hover { background: transparent; border-color: var(--ag-foret); }
.ag-btn--light { background: var(--ag-creme); color: var(--ag-foret) !important; border-color: var(--ag-creme); }
.ag-btn--light:hover { background: #fff; border-color: #fff; }

.ag-link {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
    color: var(--ag-foret); text-decoration: none; padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--ag-ligne); transition: border-color 0.3s var(--ag-ease);
}
.ag-link:hover { border-color: var(--ag-foret); }
.ag-link svg { width: 1.9em; height: 0.95em; transition: transform 0.35s var(--ag-ease); }
.ag-link:hover svg { transform: translateX(4px); }
.ag-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; margin-top: 2.25rem; }
.ag-center .ag-actions { justify-content: center; }

/* ---------- En-tête ---------- */
.ag-header {
    position: sticky; top: 0; z-index: 100; background: var(--ag-creme);
    border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ag-ease);
    font-family: var(--ag-body); font-weight: 300; color: var(--ag-encre);
}
.ag-header.is-stuck { border-bottom-color: var(--ag-ligne); }
.ag-header__in {
    width: min(100% - 2.5rem, var(--ag-w)); margin-inline: auto; min-height: var(--ag-header);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.ag-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ag-foret); flex: none; }
.ag-logo__signe { height: 3.5rem; width: auto; }
.ag-logo__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.ag-logo__mark { height: 1.45rem; width: auto; }
.ag-logo__tag {
    font-family: var(--ag-display); font-style: italic; font-weight: 300;
    font-size: 0.78rem; line-height: 1.1; color: var(--ag-doux); white-space: nowrap;
}
.ag-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.ag-nav a {
    font-size: 0.92rem; text-decoration: none; color: var(--ag-encre); white-space: nowrap;
    padding-block: 0.4rem; border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ag-ease);
}
.ag-nav a:hover, .ag-nav a.is-active { border-bottom-color: var(--ag-foret); }
.ag-nav a.ag-btn { padding: 0.7rem 1.4rem; min-height: 2.75rem; border-bottom: 1px solid var(--ag-foret); }
.ag-burger {
    display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.ag-burger span { display: block; width: 22px; height: 1.5px; background: var(--ag-foret); transition: transform 0.3s var(--ag-ease), opacity 0.2s; }

@media (max-width: 1080px) {
    .ag-logo__tag { display: none; }
}
@media (max-width: 920px) {
    :root { --ag-header: 4.5rem; }
    .ag-logo__signe { height: 2.6rem; }
    .ag-burger { display: flex; }
    .ag-nav {
        position: fixed; inset: var(--ag-header) 0 0 0; background: var(--ag-creme);
        flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
        padding: 1.5rem 1.25rem 2.5rem; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 0.3s var(--ag-ease), transform 0.3s var(--ag-ease), visibility 0s 0.3s;
    }
    .ag-header.is-open .ag-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .ag-nav a:not(.ag-btn) {
        width: 100%; padding-block: 1rem; border-bottom: 1px solid var(--ag-ligne);
        font-family: var(--ag-display); font-size: 1.6rem; color: var(--ag-foret);
    }
    .ag-nav a.ag-btn { margin-top: 2rem; width: 100%; min-height: 3.25rem; }
    .ag-header.is-open .ag-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .ag-header.is-open .ag-burger span:nth-child(2) { opacity: 0; }
    .ag-header.is-open .ag-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* En-tête posé sur la photo d'ouverture : transparent en haut de page, crème dès qu'on défile */
.ag-logo--creme { display: none; }
.has-hero .ag-header { position: fixed; top: 0; left: 0; right: 0; transition: background 0.4s var(--ag-ease), border-color 0.3s var(--ag-ease), color 0.3s var(--ag-ease); }
.has-hero .ag-header:not(.is-stuck):not(.is-open) { background: transparent; color: #fff; }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-logo--foret { display: none; }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-logo--creme { display: block; }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-logo__tag { color: rgba(255, 255, 255, 0.9); }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-nav a:not(.ag-btn) { color: #fff; text-shadow: 0 1px 12px rgba(34, 30, 10, 0.55); }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-nav a:not(.ag-btn):hover,
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-nav a.is-active { border-bottom-color: #fff; }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-nav a.ag-btn { background: var(--ag-creme); border-color: var(--ag-creme); color: var(--ag-foret) !important; }
.has-hero .ag-header:not(.is-stuck):not(.is-open) .ag-burger span { background: #fff; }

/* ---------- Images ---------- */
.ag-fig { position: relative; overflow: hidden; background: #e9e3d5; }
.ag-fig picture, .ag-fig img { display: block; width: 100%; height: 100%; }
.ag-fig img { object-fit: cover; }
.ag-fig--land { aspect-ratio: 4 / 3; }
.ag-fig--wide { aspect-ratio: 16 / 9; }
.ag-fig--pano { aspect-ratio: 21 / 9; }
.ag-fig--port { aspect-ratio: 4 / 5; }
.ag-fig--arche { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
@media (max-width: 700px) { .ag-fig--pano { aspect-ratio: 4 / 3; } }

/* ---------- Héros d'accueil ---------- */
.ag-hero { position: relative; min-height: min(100vh, 940px); min-height: min(100svh, 940px); display: grid; align-items: start; color: #fff; }
.ag-hero__bg { position: absolute; inset: 0; }
.ag-hero__bg picture, .ag-hero__bg img { width: 100%; height: 100%; }
.ag-hero__bg img { object-fit: cover; object-position: var(--ag-pos, center 60%); }
.ag-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(34, 30, 10, 0.7) 0, rgba(34, 30, 10, 0) 11rem),
        linear-gradient(180deg, rgba(40, 36, 12, 0.45) 0%, rgba(40, 36, 12, 0.28) 38%, rgba(40, 36, 12, 0.05) 62%, rgba(40, 36, 12, 0.38) 100%);
}
.ag-hero__in {
    position: relative; z-index: 1; width: min(100% - 2.5rem, var(--ag-w)); margin-inline: auto;
    min-height: inherit; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: calc(var(--ag-header) + clamp(3rem, 9vh, 6rem)) 0 clamp(2rem, 5vh, 3.5rem);
}
.ag-hero__where { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 400; margin-bottom: 1.4rem !important; }
.ag-hero .ag-h1 { color: #fff; max-width: 14ch; text-shadow: 0 1px 30px rgba(40, 36, 12, 0.25); }
.ag-hero__tag {
    margin-top: 1.4rem !important; font-family: var(--ag-display); font-style: italic; font-weight: 300;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem); text-shadow: 0 1px 20px rgba(40, 36, 12, 0.35);
}

/* Accueil : le titre est centré dans la hauteur de la photo, la recherche reste ancrée en bas */
.ag-hero:not(.ag-hero--page) .ag-hero__where { margin-top: auto !important; }
@media (min-width: 761px) {
    .ag-hero:not(.ag-hero--page) .ag-hero__in { justify-content: center; padding-block: var(--ag-header); }
    .ag-hero:not(.ag-hero--page) .ag-hero__where { margin-top: 0 !important; }
    .ag-hero:not(.ag-hero--page) .ag-search { position: absolute; left: 50%; bottom: clamp(2rem, 5vh, 3.5rem); transform: translateX(-50%); margin-top: 0; }
}

/* Pages intérieures : même grande photo, un peu moins haute, titre posé en bas à gauche */
.ag-hero--page { min-height: min(84vh, 780px); min-height: min(84svh, 780px); }
.ag-hero--page .ag-hero__bg::after {
    background:
        linear-gradient(180deg, rgba(34, 30, 10, 0.72) 0, rgba(34, 30, 10, 0) 11rem),
        linear-gradient(180deg, rgba(40, 36, 12, 0.2) 0%, rgba(40, 36, 12, 0.05) 40%, rgba(40, 36, 12, 0.12) 58%, rgba(40, 36, 12, 0.72) 100%);
}
.ag-hero--page .ag-hero__in { align-items: flex-start; justify-content: flex-end; text-align: left; padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.ag-hero--page .ag-h1 { max-width: 16ch; }
.ag-hero--page .ag-hero__where { margin-bottom: 1.1rem !important; }
.ag-intro { padding-top: clamp(3.5rem, 8vw, 6rem); }

/* Barre de recherche de séjour */
.ag-search {
    margin-top: auto; width: min(100%, 860px);
    display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; align-items: stretch;
    background: var(--ag-papier); color: var(--ag-encre); border-radius: 999px; padding: 0.45rem;
    box-shadow: 0 24px 60px -24px rgba(40, 36, 12, 0.55); text-align: left;
}
.ag-search__f { display: flex; flex-direction: column; justify-content: center; padding: 0.5rem 1.5rem; border-right: 1px solid var(--ag-ligne); min-width: 0; }
.ag-search__f label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ag-foret); }
.ag-search__f input, .ag-search__f select {
    width: 100%; border: 0; background: transparent; padding: 0.15rem 0 0; margin: 0;
    font: 300 1rem/1.4 var(--ag-body); color: var(--ag-encre); min-height: 1.7rem; appearance: none; -webkit-appearance: none;
}
.ag-search__f input:focus, .ag-search__f select:focus { outline: none; }
.ag-search__f:focus-within label { text-decoration: underline; text-underline-offset: 3px; }
.ag-search__f:nth-of-type(3) { border-right: 0; }
.ag-search .ag-btn { min-height: 3.5rem; }
@media (max-width: 760px) {
    .ag-search { grid-template-columns: 1fr 1fr; border-radius: 1.5rem; padding: 0.5rem; }
    .ag-search__f { padding: 0.7rem 1rem; border-right: 0; border-bottom: 1px solid var(--ag-ligne); }
    .ag-search__f:nth-of-type(1) { border-right: 1px solid var(--ag-ligne); }
    .ag-search__f:nth-of-type(3), .ag-search .ag-btn { grid-column: 1 / -1; }
    .ag-search .ag-btn { margin-top: 0.5rem; }
}

/* ---------- En-tête de page intérieure ---------- */
.ag-pagehead { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.ag-pagehead__grid { display: grid; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
@media (min-width: 900px) { .ag-pagehead__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.ag-pagehead .ag-prose { max-width: 50ch; }

/* ---------- Bloc texte + image ---------- */
.ag-duo { display: grid; gap: 2.5rem clamp(2.5rem, 7vw, 7rem); align-items: center; }
@media (min-width: 900px) {
    .ag-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ag-duo--rev > :first-child { order: 2; }
    .ag-duo--narrowfig { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
    .ag-duo--rev.ag-duo--narrowfig { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
    .ag-duo--top { align-items: start; }
}
.ag-duo__txt .ag-h2, .ag-duo__txt .ag-h3 { margin-bottom: 1.5rem !important; }

/* ---------- Mot des hôtes ---------- */
.ag-mot { position: relative; }
.ag-mot__q { font-family: var(--ag-display); font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5; color: var(--ag-foret); text-wrap: pretty; }
.ag-mot__q + .ag-prose { margin-top: 1.75rem !important; }
.ag-mot__sign { margin-top: 2rem !important; display: flex; align-items: center; gap: 1rem; font-family: var(--ag-display); font-style: italic; font-size: 1.15rem; color: var(--ag-foret); }
.ag-mot__sign::before { content: ""; width: 2.5rem; height: 1px; background: var(--ag-foret); }

/* ---------- Galerie mosaïque ---------- */
.ag-mosaic { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.ag-mosaic .ag-fig { aspect-ratio: 1 / 1; }
.ag-mosaic .ag-fig:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 800px) {
    .ag-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); gap: 1rem; }
    .ag-mosaic .ag-fig, .ag-mosaic .ag-fig:first-child { aspect-ratio: auto; grid-column: auto; }
    .ag-mosaic .ag-fig:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .ag-mosaic .ag-fig:nth-child(4), .ag-mosaic .ag-fig:nth-child(5) { grid-row: span 2; }
    .ag-mosaic .ag-fig:nth-child(6) { grid-column: span 2; }
}
.ag-mosaic img { transition: transform 1.2s var(--ag-ease); }
.ag-mosaic .ag-fig:hover img { transform: scale(1.035); }

/* ---------- Bande de photos verticales ---------- */
.ag-strip { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ag-strip .ag-fig { aspect-ratio: 3 / 4; }
.ag-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 800px) {
    .ag-strip { gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ag-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Repères (ligne d'infos pratiques) ---------- */
.ag-reperes { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ag-ligne); }
.ag-reperes li { padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--ag-ligne); }
.ag-reperes b { display: block; font-family: var(--ag-display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; color: var(--ag-foret); }
.ag-reperes span { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: var(--ag-doux); line-height: 1.45; }
@media (min-width: 800px) {
    .ag-reperes { grid-template-columns: repeat(4, 1fr); }
    .ag-reperes li { padding: 2rem 1.5rem; border-bottom: 1px solid var(--ag-ligne); border-left: 1px solid var(--ag-ligne); }
    .ag-reperes li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Fiche « Présentation » ---------- */
.ag-fiche { border-top: 1px solid var(--ag-foret); }
.ag-fiche__row { display: grid; gap: 0.75rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--ag-ligne); }
@media (min-width: 800px) { .ag-fiche__row { grid-template-columns: 16rem minmax(0, 1fr); } }
.ag-fiche__row > h3 { font-family: var(--ag-display); font-weight: 300; font-size: 1.35rem; color: var(--ag-foret); line-height: 1.25; }
.ag-fiche__list { display: grid; gap: 0.55rem 2.5rem; }
@media (min-width: 640px) {
    .ag-fiche__list--2 { display: block; columns: 2; column-gap: 2.5rem; }
    .ag-fiche__list--2 li { break-inside: avoid; margin-bottom: 0.55rem; }
}
.ag-fiche__list li { position: relative; padding-left: 1.25rem; color: var(--ag-doux); line-height: 1.55; }
.ag-fiche__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.5rem; height: 1px; background: var(--ag-foret); }
.ag-fiche__list b { font-weight: 400; color: var(--ag-encre); }
.ag-fiche__note { margin-top: 1rem !important; font-size: 0.88rem; color: var(--ag-doux); font-style: italic; }

/* ---------- Liste éditoriale numérotée ---------- */
.ag-items { border-top: 1px solid var(--ag-foret); }
.ag-item { display: grid; gap: 1rem 3rem; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--ag-ligne); align-items: start; }
@media (min-width: 800px) { .ag-item { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.25fr); } }
.ag-item__n { font-family: var(--ag-display); font-style: italic; font-weight: 300; font-size: 1.1rem; color: var(--ag-foret); padding-top: 0.35rem; }
.ag-item .ag-prose { max-width: 56ch; }

/* ---------- Lieux (Aux alentours) ---------- */
.ag-lieux { border-top: 1px solid var(--ag-foret); }
.ag-lieu { display: grid; gap: 0.4rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--ag-ligne); align-items: baseline; }
@media (min-width: 800px) { .ag-lieu { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) 6.5rem; } }
.ag-lieu h3 { font-family: var(--ag-display); font-weight: 300; font-size: 1.35rem; color: var(--ag-foret); line-height: 1.25; }
.ag-lieu p { color: var(--ag-doux); line-height: 1.55; }
.ag-lieu__d { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; color: var(--ag-foret); white-space: nowrap; }
@media (min-width: 800px) { .ag-lieu__d { text-align: right; } }

.ag-trio { display: grid; gap: 2.5rem clamp(2rem, 4vw, 4rem); }
@media (min-width: 900px) { .ag-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ag-trio > li { padding-top: 1.75rem; border-top: 1px solid var(--ag-foret); }
.ag-trio .ag-h3 { margin-bottom: 1rem !important; }

/* ---------- Bandeau photo + appel ---------- */
.ag-band { position: relative; display: grid; place-items: center; min-height: clamp(360px, 52vw, 560px); color: #fff; text-align: center; overflow: hidden; }
.ag-band__bg { position: absolute; inset: 0; }
.ag-band__bg picture, .ag-band__bg img { width: 100%; height: 100%; }
.ag-band__bg img { object-fit: cover; }
.ag-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(40, 36, 12, 0.42); }
.ag-band__in { position: relative; z-index: 1; width: min(100% - 2.5rem, 760px); padding-block: 4rem; }
.ag-band .ag-h2 { color: #fff; }
.ag-band p { margin-top: 1.1rem !important; font-size: 1.05rem; }
.ag-band .ag-actions { justify-content: center; }

/* ---------- Clôture de page ---------- */
.ag-fin { text-align: center; }
.ag-fin__signe { width: 3.25rem; height: auto; margin: 0 auto 1.75rem; opacity: 0.9; }
.ag-fin .ag-prose { margin: 1.25rem auto 0 !important; }

/* ---------- Questions ---------- */
.ag-faq { border-top: 1px solid var(--ag-foret); }
.ag-faq details { border-bottom: 1px solid var(--ag-ligne); }
.ag-faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    padding: 1.4rem 0; font-family: var(--ag-display); font-weight: 300; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ag-foret);
}
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary::after { content: "+"; font-family: var(--ag-body); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform 0.3s var(--ag-ease); }
.ag-faq details[open] summary::after { transform: rotate(45deg); }
.ag-faq details p { padding: 0 0 1.6rem; max-width: 62ch; color: var(--ag-doux); }
.ag-faq a { color: var(--ag-foret); text-underline-offset: 3px; }

/* ---------- Formulaires ---------- */
.ag-form { display: grid; gap: 1.5rem; }
.ag-form__row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .ag-form__row { grid-template-columns: 1fr 1fr; } }
.ag-field label { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ag-foret); margin-bottom: 0.35rem; }
.ag-field input, .ag-field textarea {
    width: 100%; border: 0; border-bottom: 1px solid var(--ag-ligne); border-radius: 0; background: transparent;
    padding: 0.6rem 0; font: 300 1.05rem/1.5 var(--ag-body); color: var(--ag-encre); transition: border-color 0.3s;
}
.ag-field textarea { resize: vertical; min-height: 8rem; }
.ag-field input:focus, .ag-field textarea:focus { outline: none; border-bottom-color: var(--ag-foret); }
.ag-field.has-error input, .ag-field.has-error textarea { border-bottom-color: #a4432f; }
.ag-field__err { margin-top: 0.4rem !important; font-size: 0.85rem; color: #a4432f; }
.ag-check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; color: var(--ag-doux); line-height: 1.5; }
.ag-check input { margin-top: 0.25rem; accent-color: var(--ag-foret); width: 1rem; height: 1rem; flex: none; }
.ag-check a { color: var(--ag-foret); }
.ag-alert { padding: 1.1rem 1.4rem; border: 1px solid var(--ag-foret); border-radius: 0.75rem; color: var(--ag-foret); }

.ag-coord { display: grid; gap: 1.75rem; }
.ag-coord dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ag-foret); margin-bottom: 0.35rem; }
.ag-coord dd { font-family: var(--ag-display); font-weight: 300; font-size: 1.25rem; line-height: 1.4; color: var(--ag-encre); }
.ag-coord dd a { text-decoration: none; border-bottom: 1px solid var(--ag-ligne); }
.ag-coord dd a:hover { border-bottom-color: var(--ag-foret); }

/* ---------- Encart réservation ---------- */
.ag-resa { border: 1px solid var(--ag-ligne); border-radius: 1.5rem; background: var(--ag-papier); padding: clamp(1.75rem, 4vw, 3rem); }
.ag-resa .ag-search { box-shadow: none; border: 1px solid var(--ag-ligne); margin-top: 1.75rem; width: 100%; background: #fff; }
.ag-resa__prix { margin-top: 0.75rem !important; color: var(--ag-doux); }
.ag-resa__prix b { font-family: var(--ag-display); font-weight: 300; font-size: 1.5rem; color: var(--ag-foret); }

/* ---------- Pied de page ---------- */
.ag-footer { background: var(--ag-foret); color: var(--ag-creme); font-family: var(--ag-body); font-weight: 300; }
.ag-footer a { color: inherit; text-decoration: none; }
.ag-footer__top { width: min(100% - 2.5rem, var(--ag-w)); margin-inline: auto; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.ag-footer__signe { width: 3.5rem; height: auto; margin: 0 auto 1.25rem; display: block; }
.ag-footer__macaron { width: 12rem; height: auto; margin: 0 auto; display: block; }
.ag-footer__base { margin: 1.25rem 0 0 !important; font-family: var(--ag-display); font-style: italic; font-weight: 300; font-size: 1.25rem; }
.ag-footer__adr { margin: 1rem 0 0 !important; font-size: 0.95rem; line-height: 1.6; opacity: 0.85; font-style: normal; }
.ag-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; margin: 2.25rem 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.ag-footer__nav a { border-bottom: 1px solid transparent; padding-bottom: 0.2rem; transition: border-color 0.3s; }
.ag-footer__nav a:hover { border-bottom-color: currentColor; }
.ag-footer__partners {
    width: min(100% - 2.5rem, var(--ag-w)); margin-inline: auto; padding: 2rem 0;
    border-top: 1px solid rgba(245, 241, 233, 0.2);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2.5rem;
}
.ag-footer__partners p { margin: 0; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }
.ag-footer__partners ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.ag-footer__partners li { background: var(--ag-creme); border-radius: 0.5rem; padding: 0.5rem 0.75rem; display: flex; align-items: center; }
.ag-footer__partners img { height: 2.75rem; width: auto; display: block; }
.ag-footer__bottom {
    width: min(100% - 2.5rem, var(--ag-w)); margin-inline: auto; padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(245, 241, 233, 0.2);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.8rem; opacity: 0.8;
}
.ag-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.ag-footer__bottom button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.ag-footer__bottom a:hover, .ag-footer__bottom button:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cookies ---------- */
.ag-cookies { position: fixed; inset: auto 1rem 1rem auto; z-index: 150; width: min(calc(100% - 2rem), 26rem); }
.ag-cookies[hidden] { display: none; }
.ag-cookies__panel { background: var(--ag-papier); border: 1px solid var(--ag-ligne); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 24px 60px -24px rgba(40, 36, 12, 0.45); }
.ag-cookies h2 { font-family: var(--ag-display); font-weight: 300; font-size: 1.25rem; color: var(--ag-foret); margin: 0 0 0.5rem; }
.ag-cookies p { font-size: 0.88rem; line-height: 1.55; color: var(--ag-doux); margin: 0; }
.ag-cookies a { color: var(--ag-foret); }
.ag-cookies__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.ag-cookies .ag-btn { min-height: 2.6rem; padding: 0.6rem 1.1rem; font-size: 0.68rem; }

/* ---------- Réservation : étapes, récapitulatif ---------- */
[x-cloak] { display: none !important; }
.ag-wrap--form { width: min(100% - 2.5rem, 760px); }
.ag-pagehead--compact { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.ag-steps { margin-top: 2.25rem; }
.ag-steps ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ag-ligne); }
.ag-steps li { margin-top: -1px; border-top: 1px solid transparent; padding-top: 0.9rem; font-size: 0.82rem; color: var(--ag-doux); }
.ag-steps li.is-current { border-top-color: var(--ag-foret); color: var(--ag-foret); font-weight: 400; }
.ag-steps li.is-past { border-top-color: var(--ag-foret); }
.ag-steps a, .ag-steps li > span { display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; color: inherit; }
.ag-steps a:hover { color: var(--ag-foret); }
.ag-steps span > span, .ag-steps a > span { font-family: var(--ag-display); font-style: italic; font-size: 1.05rem; color: var(--ag-foret); }
.ag-step > .ag-h3 { margin-bottom: 0.75rem; }
.ag-step__intro { color: var(--ag-doux); margin: 0 0 2.25rem; }
.ag-step__intro strong { font-weight: 400; color: var(--ag-encre); }
.ag-step__note { margin: 1.75rem 0 0; font-size: 0.92rem; color: var(--ag-doux); max-width: 60ch; }
.ag-step__note a { color: var(--ag-foret); text-underline-offset: 3px; }
.ag-field__label { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ag-foret); margin-bottom: 0.6rem; }
.ag-field--short { max-width: 14rem; }
.ag-field input[type="date"], .ag-field input[type="number"] { min-height: 2.9rem; }
.ag-options { display: grid; gap: 0.75rem; }
.ag-option { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.25rem; border: 1px solid var(--ag-ligne); border-radius: 1rem; cursor: pointer; }
.ag-option:has(input:checked) { border-color: var(--ag-foret); background: var(--ag-papier); }
.ag-option input { margin-top: 0.35rem; accent-color: var(--ag-foret); }
.ag-option strong { display: block; font-weight: 400; }
.ag-option small { color: var(--ag-doux); }
.ag-estimate { padding: 1.1rem 1.4rem; border-radius: 1rem; background: var(--ag-papier); border: 1px solid var(--ag-ligne); }
.ag-estimate p { margin: 0; }
.ag-estimate strong { font-family: var(--ag-display); font-weight: 300; font-size: 1.35rem; color: var(--ag-foret); }
.ag-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ag-back { font: 300 0.92rem/1.4 var(--ag-body); color: var(--ag-doux); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ag-ligne); }
.ag-back:hover { color: var(--ag-foret); text-decoration-color: var(--ag-foret); }
.ag-actions--links { margin-top: 1.5rem; gap: 0.5rem 1.75rem; }
.ag-recap { margin: 0; border-top: 1px solid var(--ag-foret); }
.ag-recap > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--ag-ligne); align-items: baseline; }
.ag-recap dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ag-foret); }
.ag-recap dd { margin: 0; }
.ag-recap__total dd { font-family: var(--ag-display); font-weight: 300; font-size: 1.9rem; line-height: 1.1; color: var(--ag-foret); }
.ag-alert--error { border-color: #a4432f; color: #a4432f; }

/* ---------- Pages légales ---------- */
.ag-legal { color: var(--ag-doux); }
.ag-legal h2 { font-family: var(--ag-display); font-weight: 300; font-size: 1.45rem; line-height: 1.25; color: var(--ag-foret); margin: 2.75rem 0 0.9rem; padding-top: 1.75rem; border-top: 1px solid var(--ag-ligne); }
.ag-legal h2:first-of-type { margin-top: 0; }
.ag-legal p { margin: 0 0 1em; }
.ag-legal strong { font-weight: 400; color: var(--ag-encre); }
.ag-legal a { color: var(--ag-foret); text-underline-offset: 3px; }
.ag-legal__notice { padding: 1rem 1.25rem; border: 1px dashed var(--ag-foret); border-radius: 0.75rem; color: var(--ag-foret); margin-bottom: 2.5rem !important; }
.ag-legal__updated { margin-top: 2.5rem !important; font-size: 0.88rem; font-style: italic; }

/* ---------- Signes ---------- */
.ag-signe { display: block; width: 2.1rem; height: 2.1rem; color: var(--ag-foret); margin-bottom: 1.25rem; }
.ag-item > .ag-signe { margin: 0.1rem 0 0; }
.ag-center .ag-signe { margin-inline: auto; }
.ag-frise { display: flex; justify-content: center; align-items: center; gap: 1.1rem; color: var(--ag-foret); margin-bottom: 2rem; }
.ag-frise svg { width: 1.35rem; height: 1.35rem; }
.ag-frise svg:nth-child(3) { width: 2.1rem; height: 2.1rem; }

/* ---------- Apparitions ---------- */
.ag-js .ag-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ag-ease), transform 0.9s var(--ag-ease); }
.ag-js .ag-reveal.is-in { opacity: 1; transform: none; }
