/* ---------------------------------------------------------------
   Palette du mariage : neutres chauds, terre cuite en accent,
   verts d'olivier. Les valeurs marquées « thème » sont celles du
   nuancier des tenues (voir config.tenue.palette).
   --------------------------------------------------------------- */
:root {
    --ivory:  #FCF9F2;                 /* fond de page, accordé à l'aquarelle */
    --paper:  #F2EDE0;                 /* bandes alternées, vers le lin lavé */
    --deep:   #38402F;                 /* olive profond assombri : bloc réponse */
    --ink:    #333B29;
    --ink-soft: #4E4F47;
    --muted:  #7C7C6E;
    --sage:   #98A084;                 /* thème — Sauge */
    --sand:   #DCC8B2;                 /* thème — Sable chaud */
    --clay:   #C28B6A;                 /* thème — Terracotta, en accent rare */
    --line:   rgba(51, 59, 41, .16);

    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --ui: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
    --pad-y: clamp(5rem, 10vw, 9.5rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink-soft);
    font-family: var(--ui);
    font-size: clamp(1rem, .25vw + .95rem, 1.08rem);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
    font-family: var(--display);
    font-optical-sizing: auto;
    color: var(--ink);
    font-weight: 300;
    line-height: 1.05;
    margin: 0;
}

a { color: inherit; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Grain de papier : rappelle le support de l'aquarelle. */
.grain {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
    width: min(1240px, 100%);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--pad-y); }

.band {
    padding-block: var(--pad-y);
    background: var(--paper);
}

/* Le bloc réponse bascule en vert profond : on redéfinit les tokens
   pour que boutons, champs et filets suivent sans surcharge. */
.band--deep {
    background: var(--deep);
    --ink: #FCF9F2;
    --ink-soft: rgba(252, 249, 242, .82);
    --muted: rgba(252, 249, 242, .55);
    --line: rgba(252, 249, 242, .24);
    --sage: #AEB79A;
    color: var(--ink-soft);
}

.eyebrow {
    font-family: var(--ui);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--sage);
}

/* ---------------------------------------------------------------
   Navigation & repères de lecture
   --------------------------------------------------------------- */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--gutter);
    transition: background .45s ease, box-shadow .45s ease, padding .45s ease;
}

.nav.is-stuck {
    background: rgba(252, 249, 242, .92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
    padding-block: .7rem;
}

.nav__mark {
    font-family: var(--display);
    font-size: 1.25rem;
    letter-spacing: .12em;
    color: var(--ink);
    text-decoration: none;
}

.nav__cta {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: .5rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.nav__cta:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.nav__cta .short { display: none; }

.rail {
    display: none;
    position: fixed;
    right: clamp(1rem, 1.8vw, 2.25rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

/* L'index n'apparaît qu'une fois l'ouverture passée, pour ne pas
   heurter le grand titre. */
.rail.is-on { opacity: 1; pointer-events: auto; }

@media (min-width: 1180px) { .rail { display: grid; } }

.rail a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    font-size: .66rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    opacity: .45;
    transition: opacity .3s ease, color .3s ease;
}

.rail a i { font-style: normal; color: var(--sage); }
.rail a:hover, .rail a.on { opacity: 1; color: var(--ink); }
.rail.is-light a { color: rgba(252, 249, 242, .7); }
.rail.is-light a i { color: #AEB79A; }
.rail.is-light a.on { color: #FCF9F2; }

/* ---------------------------------------------------------------
   Ouverture
   --------------------------------------------------------------- */
.hero {
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto auto;
    padding-top: 6rem;
}

.hero__type {
    align-self: center;
    width: min(1240px, 100%);
    margin-inline: auto;
    padding: clamp(2rem, 6vw, 4rem) var(--gutter);
}

.hero__type .eyebrow { margin-bottom: clamp(1rem, 2.5vw, 2rem); }

.lockup {
    font-size: clamp(3.1rem, 12.5vw, 10.5rem);
    font-weight: 200;
    line-height: .88;
    letter-spacing: -.015em;
}

.lockup__a,
.lockup__amp,
.lockup__b { display: block; }

.lockup__amp {
    font-size: .42em;
    font-style: italic;
    font-weight: 300;
    color: var(--sage);
    margin: .06em 0 .04em;
    padding-left: .18em;
}

.lockup__b { text-align: right; }

/* La barre de faits : quatre repères sur un filet, comme un ours de journal. */
.factbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

.factbar li {
    padding: 1rem var(--gutter);
    border-left: 1px solid var(--line);
}

.factbar li:first-child { border-left: 0; }
.factbar li:last-child { color: var(--sage); }

.hero__scene { margin: 0; }

.hero__scene img {
    width: 100%;
    height: clamp(280px, 52vh, 660px);
    object-fit: cover;
    object-position: center 88%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%);
    mask-image: linear-gradient(to bottom, transparent, #000 15%);
}

/* ---------------------------------------------------------------
   Le mot d'accueil
   --------------------------------------------------------------- */
.opening { padding-block: clamp(4rem, 9vw, 8rem); }

.opening__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
    row-gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.pull {
    position: relative;
    grid-column: 1 / 8;
    grid-row: 1;
    margin: 0;
    padding-left: clamp(2.25rem, 4vw, 3.5rem);
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: 1.24;
    color: var(--ink);
}

.pull__mark {
    position: absolute;
    left: 0;
    top: -.18em;
    font-size: 3.4em;
    line-height: 1;
    color: var(--clay);
    opacity: .5;
}

.opening__text { grid-column: 1 / 7; grid-row: 2; }

.big {
    font-size: 1.12em;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 52ch;
}

.opening__photo { grid-column: 9 / 13; grid-row: 1 / 3; margin: 0; }

.opening__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 25%;
}

@media (max-width: 860px) {
    .pull { grid-column: 1 / -1; }
    .opening__text { grid-column: 1 / -1; grid-row: 3; }
    .opening__photo { grid-column: 1 / -1; grid-row: 2; }
    /* Portrait cadré serré : un format paysage lui couperait les têtes. */
    .opening__photo img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
}

/* ---------------------------------------------------------------
   Titres de section
   --------------------------------------------------------------- */
.head {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(1rem, 2.5vw, 2.25rem);
    align-items: baseline;
    padding-bottom: clamp(1rem, 2vw, 1.75rem);
    border-bottom: 1px solid var(--line);
}

.head__num {
    font-size: .72rem;
    letter-spacing: .22em;
    color: var(--sage);
}

.head h2 {
    font-size: clamp(2.3rem, 5.5vw, 4.4rem);
    font-weight: 200;
    letter-spacing: -.01em;
}

.head__note {
    grid-column: 2;
    margin: .75rem 0 0;
    color: var(--muted);
    max-width: 46ch;
}

/* ---------------------------------------------------------------
   01 — La journée
   --------------------------------------------------------------- */
.schedule {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: clamp(2.5rem, 5vw, 4rem) 0 0;
    padding: 0;
}

.schedule__item {
    padding: 0 clamp(1rem, 2vw, 2rem);
    border-left: 1px solid var(--line);
}

.schedule__item:first-child { border-left: 0; padding-left: 0; }
.schedule__item:last-child { padding-right: 0; }

.schedule__hour {
    font-family: var(--display);
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 200;
    line-height: 1;
    color: var(--ink);
    margin: 0;
}

.schedule__hour span {
    font-size: .38em;
    vertical-align: super;
    letter-spacing: .04em;
    color: var(--sage);
    margin-left: .12em;
}

.schedule__item h3 {
    font-family: var(--ui);
    font-weight: 400;
    font-size: .82rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin: 1.1rem 0 .35rem;
}

.schedule__where {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--sage);
    margin: 0;
}

.schedule__text {
    margin: .9rem 0 0;
    font-size: .95rem;
    color: var(--muted);
}

@media (max-width: 820px) {
    .schedule { grid-template-columns: 1fr; margin-top: 2rem; }
    .schedule__item {
        display: grid;
        grid-template-columns: 5.5rem 1fr;
        column-gap: 1.25rem;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 1.5rem 0;
    }
    .schedule__hour { grid-row: 1 / 4; font-size: 2.4rem; }
    .schedule__item h3 { margin-top: .2rem; }
}

/* ---------------------------------------------------------------
   Galerie décalée
   --------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.75rem, 1.8vw, 1.5rem);
    align-items: start;
    padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(1rem, 4vw, 4rem);
}

.gallery__item { margin: 0; }
.gallery__item img { width: 100%; object-fit: cover; }

.gallery__item--1 { margin-top: clamp(1.5rem, 5vw, 4.5rem); }
.gallery__item--1 img { aspect-ratio: 4 / 5; }
.gallery__item--2 img { aspect-ratio: 3 / 4; }
.gallery__item--3 { margin-top: clamp(2.5rem, 8vw, 7rem); }
.gallery__item--3 img { aspect-ratio: 1 / 1; }

@media (max-width: 700px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery__item--3 { grid-column: 1 / -1; margin-top: 0; }
    .gallery__item--3 img { aspect-ratio: 16 / 9; }
}

/* ---------------------------------------------------------------
   02 — Le lieu
   --------------------------------------------------------------- */
/* La photo déborde à gauche et le panneau se pose sur la pelouse, à droite :
   c'est la seule zone vide du cliché, le manoir reste entier. */
.venue {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    margin-top: clamp(2rem, 5vw, 4rem);
    padding-right: var(--gutter);
}

.venue__photo { grid-column: 1 / 9; grid-row: 1; margin: 0; }

.venue__photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.venue__panel {
    grid-column: 8 / -1;
    grid-row: 1;
    z-index: 2;
    background: var(--ivory);
    border: 1px solid var(--line);
    padding: clamp(1.75rem, 3.5vw, 3rem);
}

.venue__panel h3 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 300;
    margin-bottom: .75rem;
}

.venue__panel address {
    font-style: normal;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.venue__facts { margin: 0 0 2rem; }

.venue__facts > div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 1rem;
    padding: .6rem 0;
    border-top: 1px solid var(--line);
    font-size: .9rem;
}

.venue__facts dt {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sage);
    padding-top: .15rem;
}

.venue__facts dd { margin: 0; color: var(--ink-soft); }

@media (max-width: 900px) {
    .venue { grid-template-columns: 1fr; padding: 0; }
    .venue__photo { grid-column: 1; }
    /* Le recadrage plus haut rogne sur les côtés : on décale vers le bâtiment. */
    .venue__photo img { aspect-ratio: 3 / 2; object-position: 32% 50%; }
    .venue__panel {
        grid-column: 1;
        grid-row: 2;
        margin: -3rem var(--gutter) 0;
    }
    .venue__facts > div { grid-template-columns: 1fr; gap: .1rem; }
}


/* ---------------------------------------------------------------
   Où dormir
   --------------------------------------------------------------- */
.subhead {
    font-family: var(--ui);
    font-weight: 400;
    font-size: .78rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--sage);
    margin: clamp(3rem, 6vw, 4.5rem) 0 0;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--line);
}

.stays {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.stay-card {
    padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 2rem);
    border-left: 1px solid var(--line);
}

.stay-card:first-child { border-left: 0; padding-left: 0; }
.stay-card.is-full { opacity: .55; }

.stay-card__cat {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: .6rem;
}

.stay-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 300; }
.stay-card__desc { margin: .8rem 0 1.2rem; font-size: .95rem; color: var(--muted); }

.stay-card__left {
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--ink-soft);
    padding-top: .9rem;
    border-top: 1px solid var(--line);
    margin: 0;
}

.stay-card__left b { font-family: var(--display); font-size: 1.05rem; font-weight: 400; }
.stay-card__left span { color: var(--muted); }

.stays__note { margin-top: 1.75rem; font-size: .9rem; color: var(--muted); max-width: 60ch; }

.around { list-style: none; margin: 0; padding: 0; }

.around__row {
    display: grid;
    grid-template-columns: minmax(10rem, 2.4fr) 4fr minmax(8rem, 1.6fr) minmax(7rem, 1.2fr);
    gap: clamp(.75rem, 2vw, 2rem);
    align-items: start;
    padding: clamp(1.1rem, 2vw, 1.6rem) 0;
    border-bottom: 1px solid var(--line);
}

.around__name {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--ink);
    margin: 0;
}

.around__cat, .around__desc, .around__meta {
    margin: 0;
    font-size: .9rem;
    color: var(--muted);
}

.around__cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.around__meta span { display: block; }

.around__links { margin: 0; display: grid; gap: .3rem; justify-items: start; font-size: .85rem; }
.around__links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.around__links a:hover { border-bottom-color: var(--sage); color: var(--ink); }

@media (max-width: 900px) {
    .stays { grid-template-columns: 1fr; }
    .stay-card { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
    .stay-card:first-child { border-top: 0; }
    .around__row { grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
    .around__id, .around__desc { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------
   Le thème couleur des tenues
   --------------------------------------------------------------- */
.dress__intro {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    font-size: 1.12em;
    line-height: 1.8;
    max-width: 54ch;
}

.palette {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(.75rem, 1.6vw, 1.5rem);
    list-style: none;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    padding: 0;
}

.swatch__chip {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--chip);
    border: 1px solid rgba(51, 59, 41, .12);
    border-radius: 2px;
    padding: 0;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.swatch__chip:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(62, 69, 53, .16);
}

.swatch__name {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--ink);
    margin: .85rem 0 .15rem;
}

.swatch__hex {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sage);
    margin: 0 0 .35rem;
}

.swatch__note { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }

.dress__avoid {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .95rem;
    color: var(--muted);
    max-width: 62ch;
}

@media (max-width: 860px) { .palette { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .palette { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------
   Boutons, liens, champs
   --------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--ui);
    font-size: .74rem;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .95rem 2.1rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, opacity .3s ease;
}

.btn:hover { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: default; }

.band--deep .btn { color: var(--deep); }
.band--deep .btn:hover { color: var(--ink); }

.link {
    font-family: var(--ui);
    font-size: .76rem;
    letter-spacing: .1em;
    color: var(--muted);
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 2px;
    cursor: pointer;
}

.link:hover { color: var(--ink); border-bottom-color: var(--sage); }

.field { margin-bottom: 1.5rem; }

.field label {
    display: block;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}

.field label em { font-style: normal; opacity: .6; }

.field input,
.field textarea {
    width: 100%;
    font-family: var(--ui);
    font-weight: 300;
    font-size: 1rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: .55rem 0;
    transition: border-color .3s ease;
}

.field textarea { resize: vertical; }

.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--sage); }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: .65; }

.field--big input {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    padding: .35rem 0 .7rem;
    border-bottom-width: 1px;
}

.field__hint {
    font-size: .76rem;
    color: var(--muted);
    margin: .6rem 0 0;
    min-height: 1.3em;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.75rem; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   03 — La réponse
   --------------------------------------------------------------- */
.rsvp { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 780px; }

.rsvp__prompt {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.rsvp__prompt em { font-style: normal; border-bottom: 1px solid var(--sage); }

.lookup {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
    align-items: end;
}

.lookup .field { margin-bottom: 0; }

.field--code input {
    width: 5.5ch;
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: .35rem 0 .7rem;
}

@media (max-width: 620px) {
    .lookup { grid-template-columns: 1fr; gap: 1.5rem; }
    .field--code input { width: 100%; }
}

#honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.results {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.results li { border-bottom: 1px solid var(--line); }

.results button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 1.1rem .25rem;
    font-family: var(--display);
    font-weight: 300;
    font-size: 1.35rem;
    color: var(--ink);
    cursor: pointer;
    transition: padding-left .3s ease, color .3s ease;
}

.results button:hover { padding-left: 1rem; color: var(--sage); }

.results small {
    display: block;
    font-family: var(--ui);
    font-size: .74rem;
    letter-spacing: .04em;
    color: var(--muted);
    margin-top: .2rem;
}

.card {
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid var(--line);
}

.card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.card__head h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; }

.guest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}

.guest__name {
    font-family: var(--display);
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--ink);
    margin: 0;
}

.guest__name span {
    font-family: var(--ui);
    font-size: .64rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sage);
    margin-left: .6rem;
}

.choice { display: flex; gap: .5rem; }

.choice button {
    font-family: var(--ui);
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: .55rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all .25s ease;
}

.choice button:hover { border-color: var(--sage); color: var(--ink); }

.choice button[aria-pressed="true"][data-status="yes"],
.choice button[aria-pressed="true"][data-stay="1"] {
    background: var(--sage);
    border-color: var(--sage);
    color: #262E20;
}

.choice button[aria-pressed="true"][data-status="no"],
.choice button[aria-pressed="true"][data-stay="0"] {
    border-color: var(--ink);
    color: var(--ink);
}

.guest__diet { flex: 1 1 100%; margin: 0; }

/* Demande de couchage, dans le formulaire de réponse */
.stay { padding: 1.5rem 0 .5rem; border-bottom: 1px solid var(--line); }

.stay__label {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .9rem;
}

.stay-picks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .6rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
}

.stay-picks button {
    width: 100%;
    height: 100%;
    text-align: left;
    font-family: var(--ui);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: .8rem 1rem;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .25s ease;
}

.stay-picks b {
    display: block;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink);
}

.stay-picks small {
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--muted);
}

.stay-picks button:hover:not(:disabled) { border-color: var(--sage); }

.stay-picks button[aria-pressed="true"] {
    border-color: var(--sage);
    background: rgba(174, 183, 154, .16);
}

.stay-picks button:disabled { opacity: .4; cursor: default; }

.stay__hint { font-size: .82rem; color: var(--muted); margin: .25rem 0 1rem; max-width: 52ch; }

.guest__diet select {
    font-family: var(--ui);
    font-weight: 300;
    font-size: .82rem;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: .3rem 1.5rem .3rem 0;
}

.guest__diet select option { color: #333B29; background: #FCF9F2; }

.form__error {
    font-size: .85rem;
    color: #E2B4A6;
    margin: 1.25rem 0 0;
}

.card .btn { margin-top: 1.75rem; }

.thanks { margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.thanks h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 300; margin-bottom: .75rem; }
.thanks p { color: var(--muted); margin-bottom: 1.5rem; max-width: 46ch; }

.fineprint {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    font-size: .82rem;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   04 — Bon à savoir
   --------------------------------------------------------------- */
.notes { margin: clamp(2rem, 4vw, 3rem) 0 0; }

.notes__row {
    display: grid;
    grid-template-columns: minmax(9rem, 3fr) 8fr;
    gap: clamp(1rem, 3vw, 3rem);
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    border-top: 1px solid var(--line);
}

.notes__row:last-child { border-bottom: 1px solid var(--line); }

.notes dt {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    color: var(--ink);
}

.notes dd { margin: 0; color: var(--muted); max-width: 64ch; }

@media (max-width: 700px) {
    .notes__row { grid-template-columns: 1fr; gap: .5rem; }
}

/* ---------------------------------------------------------------
   Pied de page
   --------------------------------------------------------------- */
.footer {
    padding-block: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
}

.footer__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem 2rem;
}

.footer__mark {
    font-family: var(--display);
    font-size: 1.8rem;
    letter-spacing: .12em;
    color: var(--ink);
    margin: 0;
}

.footer__date {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--sage);
    margin: 0;
}

.footer__contact {
    margin: 0;
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--muted);
    text-align: right;
}

.footer__contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__contact a:hover { color: var(--ink); border-bottom-color: var(--sage); }

/* ---------------------------------------------------------------
   Petits écrans & apparitions
   --------------------------------------------------------------- */
@media (max-width: 700px) {
    .nav__cta .long { display: none; }
    .nav__cta .short { display: inline; }

    .factbar { grid-template-columns: 1fr 1fr; font-size: .62rem; }
    .factbar li { padding: .8rem var(--gutter); }
    .factbar li:nth-child(3) { border-left: 0; }
    .factbar li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

    .footer__contact { text-align: left; }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
