:root {
    --primary: #96a269;
    --primary2: #b1ba80;
    --second: #F4E285;

    --ivory: #f6f0e4;
    --gold: #b8975a;
    --ink: #2a2118;
    --fade: 1.2s;
    
    --white: #fff;
    --black: #000;
    
    --text: #2e3a1f;       /* vert très sombre du texte */
    --btn:  #4a5535;       /* vert foncé du bouton */
    
    --hero-bg: url("media/img2.jpeg"); 
    --hero-bg-flower: url("media/bg_hero3.png"); 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--black);
}

/* Conteneur unique : 450px max, centré */
main {
    position: relative;
    max-width: 450px;
    height: 100dvh;
    margin: 0 auto;
    background: var(--black);
}

/* ---------- Scène vidéo ---------- */
.stage {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    background: var(--primary);
    transition: opacity var(--fade) ease, visibility var(--fade);
}

.stage video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Voile + bouton lecture (avant le clic) */
.cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    background: rgba(42, 33, 24, .05);
    transition: opacity .6s ease, visibility .6s;
}


.play {
    width: auto;
    height: auto;
    padding: 8px 24px;
    font-size: 20px;
    color: var(--text);
    text-align: center;
    border-radius: 20px;
    border: 1px solid #ffffff30;
    background: rgba(246, 240, 228, .2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    transition: transform .3s ease, background .3s ease;
}

.play:last-child{
    text-transform: uppercase;
}

.stage:focus-visible {
    outline-offset: -6px;
}

/* États */
.stage.is-playing .cover {
    opacity: 0;
    visibility: hidden;
}

.stage.is-playing {
    cursor: default;
}

.stage.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* base carte */
    .final {
        position: absolute;
        background: var(--primary2);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--fade) ease, visibility var(--fade);
        
        inset: 0;
        overflow-y: auto;
    }

    .final.is-visible {
        opacity: 1;
        visibility: visible;
    }

    @media (prefers-reduced-motion: reduce) {
        :root {
            --fade: .01s;
        }
    }
/* base carte */

/* hero section */ 
    .hero {
        position: relative;
        width: 100%;
        min-height: 100%;
        min-height: 100dvh;
        display: grid;
        place-items: center;
        padding: 2.5rem 1.5rem;
        text-align: center;
        color: var(--white);
        background: var(--hero-bg) center / cover no-repeat, var(--primary2);
    }
    
    .hero .before{
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        min-height: 100%;
        min-height: 100dvh;
        background: var(--primary2);
        opacity: .7;
        z-index: 1;
    }
    
    .hero .bg_flower{
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        min-height: 100%;
        min-height: 100dvh;
        background: var(--hero-bg-flower) center / cover no-repeat;
        z-index: 2;
    }

    .designBottom{
        position: absolute;
        left: 0; bottom: -8px;
        width: 100%; height: auto;
        z-index: 10;
        img{
            width: 100%; height: auto;
            object-fit: cover;
        }
    }

    .hero__content {
        width: 100%;
        max-width: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 3;
    }

    /* Save the date */
    .hero__eyebrow {
        font-family: "Jost", sans-serif;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: .35em;
        text-transform: uppercase;
        margin-top: 16px;
    }

    /* Olivia & Ethan */
    .hero__names {
        width: 100%;
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        line-height: .95;
        margin: 48px 0;
    }

    .hero__name {
        display: block;
        font-size: clamp(3.4rem, 17vw, 4.6rem);
        letter-spacing: -.01em;
    }

    .hero__amp {
        display: flex;
        align-items: center;
        gap: .9rem;
        margin: .6rem 0;
        font-size: 1.9rem;
    }

    .hero__amp::before,
    .hero__amp::after {
        content: "";
        flex: 1;
        height: 1px;
        background: currentColor;
        opacity: .6;
    }

    /* We're getting married! */
    .hero__tagline {
        margin-top: 2.6rem;
        font-family: "Instrument Serif", Georgia, serif;
        font-style: italic;
        font-size: 1.55rem;
    }

    /* Date entre deux filets */
    .hero__date {
        width: 100%;
        padding: 1rem 0;
        border-top: 1px solid var(--white);
        border-bottom: 1px solid var(--white);
        font-family: "Jost", sans-serif;
        font-size: .95rem;
        letter-spacing: .28em;
        text-transform: uppercase;
    }

    @keyframes nudge {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(3px); }
    }

    /* Apparition en cascade quand #final devient visible */
    .final .hero__content > *,
    .final .hero__name {
        opacity: 0;
        transform: translateY(14px);
    }

    .final.is-visible .hero__content > * {
        animation: rise .9s ease forwards;
    }
    .final.is-visible .hero__content > :nth-child(1) { animation-delay: .5s; }
    .final.is-visible .hero__content > :nth-child(2) { animation-delay: .8s; }
    .final.is-visible .hero__content > :nth-child(3) { animation-delay: 1.2s; }
    .final.is-visible .hero__content > :nth-child(4) { animation-delay: 1.4s; }
    .final.is-visible .hero__content > :nth-child(5) { animation-delay: 1.6s; }

    /* les noms sont dans le h1 : on les neutralise pour éviter une double animation */
    .final .hero__name { opacity: 1; transform: none; }

    @keyframes rise {
        to { opacity: 1; transform: none; }
    }

    @media (prefers-reduced-motion: reduce) {
        .final .hero__content > * { opacity: 1; transform: none; animation: none !important; }
    }
/* hero section */

/* section invitation */
    .invite {
        display: grid;
        place-items: center;
        padding: 3rem;
        padding-bottom: 0;
        text-align: center;
        color: var(--text);
        background: var(--primary2);
    }

    .invite__inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Titre : script + capitales */
    .invite__title {
        font-weight: 400;
        line-height: 1;
    }

    .invite__script {
        display: block;
        font-family: "Great Vibes", cursive;
        font-size: 35px;
        line-height: 1.1;
    }

    .invite__caps {
        display: block;
        margin-top: .15rem;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 700;
        font-size: 40px;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    /* Séparateur : filet — cœur — filet */
    .divider {
        width: 100%;
        max-width: 320px;
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 1rem 0;
        color: var(--second);
    }

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 2px;
        background: currentColor;
    }

    .divider svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
        flex: none;
    }

    /* Texte */
    .invite__text {
        max-width: 340px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 22px;
        line-height: 1.3;
        text-wrap: balance;        /* lignes équilibrées */
    }

    /* Apparition en cascade */
    .invite__inner > * {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .9s ease, transform .9s ease;
    }

    .invite.is-in .invite__inner > * {
        opacity: 1;
        transform: none;
    }

    .invite.is-in .invite__inner > :nth-child(2) {
        transition-delay: .25s;
    }

    .invite.is-in .invite__inner > :nth-child(3) {
        transition-delay: .5s;
    }

    .invite.is-in .invite__inner > :nth-child(4) {
        transition-delay: .75s;
    }

    @media (prefers-reduced-motion: reduce) {
        .invite__inner > * {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }
/* section invitation */

/* compte a rebours */
    .countdown {
        display: grid;
        place-items: center;
        padding: 2rem 3rem;
        padding-top: 1rem;
        text-align: center;
        color: var(--text);
        background: var(--primary2);
    }

    .countdown__inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Illustration (votre image) */
    .countdown__img {
        display: block;
        width: min(78%, 200px);
        height: auto;
        margin-top: -16px;
    }

    /* Titre */
    .countdown__title {
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        font-size: 35px;
        line-height: 1.05;
        margin-bottom: 1.8rem;
    }

    /* Les 4 blocs */
    .countdown__grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: .75rem;
    }

    .cd-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cd-num {
        font-family: "Instrument Serif", Georgia, serif;
        font-size: 32px;
        line-height: 1;
        font-variant-numeric: tabular-nums;   /* évite que les chiffres « sautent » */
        padding-bottom: .55rem;
        width: 100%;
        border-bottom: 2px solid var(--second);
    }

    .cd-label {
        margin-top: .7rem;
        font-family: "Jost", sans-serif;
        font-size: .62rem;
        font-weight: 400;
        letter-spacing: .2em;
        text-transform: uppercase;
    }

    /* Apparition quand la section entre à l'écran */
    .countdown__inner > * {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .9s ease, transform .9s ease;
    }
        .countdown.is-in .countdown__inner > * { opacity: 1; transform: none; }
        .countdown.is-in .countdown__inner > :nth-child(2) { transition-delay: .2s; }
        .countdown.is-in .countdown__inner > :nth-child(3) { transition-delay: .4s; }

    @media (prefers-reduced-motion: reduce) {
        .countdown__inner > * { opacity: 1; transform: none; transition: none; }
    }
/* compte a rebours */

/* photo 1 */
    .section_photo1{
        position: relative;
        padding: 0 3rem;
        margin-top: 8px;
    }
    
    .photo1{
        width: 100%; height: auto;
        margin: -5px auto;
        img{
            width: 100%; height: 100%;
            object-fit: contain;
            border-radius: 16px;
        }
    }
    
    .design_photo1:last-child img{
        transform: scaleY(-1);
    }
/* photo 1 */

/* calendrier */
    .calendar {
        width: 100%;
        display: grid;
        place-items: center;
        padding: 3rem;
        padding-bottom: 1rem;
        color: var(--text);
        background: var(--primary2);
    }

    .calendar__inner {
        width: 100%;
    }

    /* 09 . 01 . 2027 */
    .calendar__date {
        text-align: center;
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        font-size: clamp(2.3rem, 11vw, 3.1rem);
        letter-spacing: .04em;
        line-height: 1;
    }

    /* — JANVIER — */
    .calendar__month {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 1.1rem 0 2rem;
        font-family: "Instrument Serif", Georgia, serif;
        font-size: 1.35rem;
        font-weight: bold;
        letter-spacing: .18em;
        text-transform: uppercase;
        color: var(--second);
    }

    .calendar__month::before,
    .calendar__month::after {
        content: "";
        flex: 1;
        height: 2px;
        background: var(--second);
    }

    /* Jours de la semaine */
    .calendar__weekdays,
    .calendar__days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        text-align: center;
    }

    .calendar__weekdays {
        margin-bottom: .8rem;
        font-family: "Jost", sans-serif;
        font-size: .68rem;
        font-weight: 500;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    /* Cases des jours */
    .calendar__days {
        row-gap: .3rem;
    }

    .cal-day {
        position: relative;
        aspect-ratio: 1;
        display: grid;
        place-items: center;
        font-family: "Instrument Serif", Georgia, serif;
        font-size: clamp(1.15rem, 5.4vw, 1.5rem);
    }

    .cal-day span {
        position: relative;
        z-index: 1;
    }

    /* Cœur sur le jour J */
    .cal-day--wedding::before {
        content: "";
        position: absolute;
        inset: -14%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23F4E285' stroke='%23d9c35f' stroke-width='.5'/%3E%3C/svg%3E") center / contain no-repeat;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .18));
        transform: scale(0);
    }

    /* Apparition */
    .calendar__inner > * {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .8s ease, transform .8s ease;
    }

    .calendar.is-in .calendar__inner > * {
        opacity: 1;
        transform: none;
    }

    .calendar.is-in .calendar__inner > :nth-child(2) {
        transition-delay: .15s;
    }

    .calendar.is-in .calendar__inner > :nth-child(3) {
        transition-delay: .3s;
    }

    .calendar.is-in .calendar__inner > :nth-child(4) {
        transition-delay: .45s;
    }

    .calendar.is-in .cal-day--wedding::before {
        animation: heart-pop .7s cubic-bezier(.34, 1.56, .64, 1) 1.1s forwards;
    }

    @keyframes heart-pop {
        to {
            transform: scale(1);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .calendar__inner > * {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .calendar.is-in .cal-day--wedding::before {
            animation: none;
            transform: scale(1);
        }
    }
/* calendrier */

/* lieu */
    .venue {
        display: grid;
        place-items: center;
        padding: 0 3rem 1rem;
        text-align: center;
        color: var(--text);
        background: var(--primary2);
    }
    
    .reception{
        margin-top: 16px;
    }

    .venue__inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Illustration (votre image) */
    .venue__img {
        display: block;
        width: min(50%, 330px);
        height: auto;
        margin-bottom: 8px;
    }

    .venue__title {
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        font-size: 40px;
        line-height: 1.05;
    }

    .venue__tagline {
        font-family: "Instrument Serif", Georgia, serif;
        font-style: italic;
        font-size: 25px;
    }

    .venue__name {
        margin-top: 16px;
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        font-size: 40px;
        line-height: 1.05;
    }

    .venue__address {
        max-width: 320px;
        margin-top: 5px;
        font-style: normal;
        font-family: "Jost", sans-serif;
        font-size: .8rem;
        letter-spacing: .2em;
        line-height: 1.8;
        text-transform: uppercase;
    }

    .venue__time {
        display: inline-flex;
        align-items: center;
        gap: .6rem;
        margin-top: 5px;
        font-family: "Jost", sans-serif;
        font-size: .9rem;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

    .venue__time svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* Carte */
    .venue__map {
        position: relative;
        width: 100%;
        height: 260px;
        margin-top: 2rem;
        border-radius: 20px;
        overflow: hidden;
        background: rgba(255, 255, 255, .35);
        box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    }

    .venue__map iframe {
        width: 100%;
        height: 100%;
        border: 0;
        pointer-events: none;           /* évite de bloquer le défilement de la page */
    }

    .venue__map.is-active iframe {
        pointer-events: auto;
    }

    .venue__open {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        padding: .65rem 1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, .95);
        color: #6b5a4e;
        font-family: "Jost", sans-serif;
        font-size: .85rem;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
        transition: transform .2s ease;
    }

    .venue__open:hover {
        transform: translateY(-1px);
    }

    .venue__open:focus-visible {
        outline: 3px solid var(--second);
        outline-offset: 2px;
    }

    .venue__open svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* Apparition en cascade (délai selon --i) */
    .venue__inner > * {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .8s ease, transform .8s ease;
        transition-delay: calc(var(--i, 0) * .12s);
    }

    .venue.is-in .venue__inner > * {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
        .venue__inner > * {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }
/* lieu */

/* programme */
    .program {
        --icon-bg: #2f4519;
        
        /* filet — cœur — filet (réutilisé partout) */
        --sep-bg:
            linear-gradient(var(--second), var(--second)) left center / calc(50% - 20px) 2px no-repeat,
            linear-gradient(var(--second), var(--second)) right center / calc(50% - 20px) 2px no-repeat,
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23F4E285'/%3E%3C/svg%3E") center / 20px no-repeat;
        width: 100%;
        text-align: center;
        color: var(--text);
        background: var(--primary2);
        position: relative;
        margin-top: 40px;
    }

    .designFlowerCoin{
        width: 50%; height: auto;
        position: absolute;
        img{
            width: 100%; height: 100%;
            object-fit: contain;
        }
    }

    .designFlowerCoin:nth-child(1){
        top: 0; left: 0;
    }

    .designFlowerCoin:nth-child(2){
        top: 0; right: 0;
        transform: scaleX(-1);   
    }
    
    .designFlowerCoin:nth-child(3){
        bottom: 0; left: 0;
        transform: scaleY(-1);   
    }
    
    .designFlowerCoin:nth-child(4){
        bottom: 0; right: 0;  
        transform: scaleX(-1);
        transform: rotate(180deg);   
    }

    .program__inner {
        max-width: 450px;
        padding: 5rem;
        padding-bottom: 6.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Rameau */
    .program__sprig {
        display: block;
        width: 46px;
        margin: 0 auto 1.2rem;
        fill: var(--second);
        stroke: #d9c35f;
        stroke-width: .6;
    }

    /* Titre */
    .program__title {
        font-weight: 400;
        line-height: 1;
    }

    .program__caps {
        display: block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 700;
        font-size: 35px;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .program__script {
        display: block;
        margin-top: -.2rem;
        font-family: "Great Vibes", cursive;
        font-size: 40px;
        line-height: 1.1;
    }

    .program__rule {
        height: 24px;
        margin: 1.2rem 0 1.6rem;
        background: var(--sep-bg);
    }

    /* Frise */
    .program__list {
        margin-top: 12px;
        position: relative;
        list-style: none;
        text-align: left;
    }

    /* Trait vertical doré entre les icônes */
    .program__list::before {
        content: "";
        position: absolute;
        left: 36px;                      /* centre de l'icône (76px) */
        top: 38px;
        bottom: calc(1.6rem + 38px);
        width: 2px;
        background: var(--second);
    }

    .program__item {
        position: relative;
        display: grid;
        grid-template-columns: 76px 1fr;
        align-items: center;
        column-gap: 1.1rem;
        padding-bottom: 1.6rem;
    }

    /* Séparateur sous chaque étape */
    .program__item::before {
        content: "";
        position: absolute;
        left: calc(76px + 1.1rem);
        right: 0;
        bottom: 8px;
        height: 2px;
        background: var(--sep-bg);
        background-size: auto;
    }

    .program__item:last-child::before {
        height: 0;
    }

    /* Icône ronde */
    .program__icon {
        position: relative;
        z-index: 1;
        width: 76px;
        height: 76px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--icon-bg);
        border: 2px solid var(--second);
        box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
    }

    .program__icon svg {
        width: 44px;
        height: 44px;
        fill: none;
        stroke: var(--second);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* Heure + libellé */
    .program__text {
        min-height: 76px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .program__text b {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 700;
        font-size: 30px;
        line-height: 1.05;
    }

    .program__text span {
        margin-top: .15rem;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 22px;
        line-height: 1.12;
    }

    /* Apparition étape par étape */
    .program__item {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .7s ease, transform .7s ease;
        transition-delay: calc(var(--i, 0) * .14s + .3s);
    }

    .program.is-in .program__item {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
        .program__item {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }
/* programme */

/* photo 2 */
    .section_photo2{
        position: relative;
        padding: 0 3rem;
        margin-top: 48px;
    }
    
    .photo2{
        width: 100%; height: auto;
        margin-bottom: -70px;
        img{
            width: 100%; height: 100%;
            object-fit: contain;
            border-radius: 16px;
        }
    }
    
    .design_photo2{
        img{
            width: 100%; height: 100%;
            object-fit: contain;
        }
    }
/* photo 2 */

/* formulaire */
    .rsvp {
        --sep2-bg:
            linear-gradient(var(--second), var(--second)) left center / calc(50% - 20px) 2px no-repeat,
            linear-gradient(var(--second), var(--second)) right center / calc(50% - 20px) 2px no-repeat,
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23F4E285'/%3E%3C/svg%3E") center / 20px no-repeat;

        padding: 3rem;
        padding-bottom: 1rem;
        color: var(--text);
        background: var(--primary2);
    }

    .rsvp__inner {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    /* En-tête */
    .rsvp__title {
        text-align: center;
        font-weight: 400;
        line-height: 1;
    }

    .rsvp__caps {
        display: block;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .rsvp__script {
        display: block;
        margin-top: 0px;
        font-family: "Great Vibes", cursive;
        font-size: 50px;
    }

    .rsvp__intro {
        margin-top: 0rem;
        text-align: center;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 1.3rem;
        line-height: 1.3;
        text-wrap: balance;
    }

    .rsvp__rule {
        height: 24px;
        margin: 1.4rem 0 1.8rem;
        background: var(--sep2-bg);
    }

    /* Champs */
    .rsvp__form {
        display: grid;
        gap: 1.5rem;
    }

    .field label,
    .choices legend {
        display: block;
        margin-bottom: .6rem;
        font-family: "Jost", sans-serif;
        font-size: .72rem;
        font-weight: 500;
        letter-spacing: .18em;
        text-transform: uppercase;
        text-align: center;
    }

    .field label em {
        font-style: normal;
        opacity: .65;
        letter-spacing: .1em;
        text-transform: none;
    }

    .field input[type="text"],
    .field textarea {
        width: 100%;
        padding: .95rem 1.1rem;
        border: 1.5px solid rgba(46, 58, 31, .35);
        border-radius: 14px;
        background: rgba(255, 255, 255, .38);
        color: var(--text);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 1.25rem;
        transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .field textarea {
        resize: vertical;
        min-height: 110px;
    }

    .field input::placeholder,
    .field textarea::placeholder {
        color: rgba(46, 58, 31, .5);
    }

    .field input:focus,
    .field textarea:focus {
        outline: none;
        border-color: var(--btn);
        background: rgba(255, 255, 255, .6);
        box-shadow: 0 0 0 4px rgba(244, 226, 133, .75);
    }

    .field.has-error input {
        border-color: #7a1f14;
    }

    /* Choix oui / non */
    .choices {
        border: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .choices legend {
        grid-column: 1 / -1;
        padding: 0;
    }

    .choice {
        position: relative;
        display: block;
        cursor: pointer;
    }

    .choice input {
        position: absolute;
        opacity: 0;
        inset: 0;
    }

    .choice__box {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .3rem;
        padding: 1.1rem .7rem;
        text-align: center;
        border: 1.5px solid rgba(46, 58, 31, .35);
        border-radius: 16px;
        background: rgba(255, 255, 255, .3);
        transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
    }

    .choice__box strong {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 700;
        font-size: 1.4rem;
        line-height: 1.1;
        text-wrap: nowrap;
    }

    .choice__box small {
        font-family: "Jost", sans-serif;
        font-size: .66rem;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .choice:hover .choice__box {
        transform: translateY(-2px);
    }

    .choice input:checked + .choice__box {
        background: var(--btn);
        border-color: var(--btn);
        color: #fff;
    }

    .choice input[value="oui"]:checked + .choice__box::after {
        content: "♥";
        position: absolute;
        top: 6px;
        right: 10px;
        font-size: .95rem;
        color: var(--second);
    }

    .choice input:focus-visible + .choice__box {
        outline: 3px solid var(--second);
        outline-offset: 2px;
    }

    /* Nombre de personnes */
    .guests[hidden] {
        display: none;
    }

    .content_guest{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .stepper {
        display: inline-flex;
        align-items: center;
        gap: .9rem;
    }

    .stepper button {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1.5px solid var(--btn);
        background: transparent;
        color: var(--btn);
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        transition: background .2s ease, color .2s ease;
    }

    .stepper button:hover {
        background: var(--btn);
        color: #fff;
    }

    .stepper input {
        width: 56px;
        border: 0;
        background: transparent;
        color: var(--text);
        text-align: center;
        font-family: "Instrument Serif", Georgia, serif;
        font-size: 2.2rem;
        -moz-appearance: textfield;
        appearance: textfield;
    }

    .stepper input::-webkit-outer-spin-button,
    .stepper input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Envoi */
    .rsvp__submit {
        width: 100%;
        padding: 1.15rem 1.5rem;
        border: 0;
        border-radius: 999px;
        background: var(--btn);
        color: #fff;
        font-family: "Jost", sans-serif;
        font-size: .82rem;
        font-weight: 500;
        letter-spacing: .22em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background .25s ease, transform .25s ease, opacity .25s ease;
    }

    .rsvp__submit:hover {
        background: #3b4429;
        transform: translateY(-2px);
    }

    .rsvp__submit:focus-visible {
        outline: 3px solid var(--second);
        outline-offset: 3px;
    }

    .rsvp__submit:disabled {
        opacity: .6;
        cursor: progress;
        transform: none;
    }

    /* Messages d'erreur */
    .field__error,
    .rsvp__status {
        font-family: "Jost", sans-serif;
        font-size: .82rem;
        color: #7a1f14;
        text-align: center;
    }

    .field__error {
        margin-top: .5rem;
        grid-column: 1 / -1;
    }

    .rsvp__status {
        text-align: center;
        min-height: 1.2em;
        margin-top: -.5rem;
    }

    /* Anti-spam : champ caché */
    .hp {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    /* Remerciement */
    .rsvp__thanks {
        text-align: center;
        padding: 1rem 0;
    }

    .rsvp__thanks[hidden] {
        display: none;
    }

    .rsvp__thanks svg {
        width: 54px;
        height: 54px;
        fill: var(--second);
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .18));
    }

    .rsvp__thanks h3 {
        margin-top: 1rem;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
        font-size: clamp(2.4rem, 11vw, 3.2rem);
        line-height: 1.15;
    }

    .rsvp__thanks p {
        margin-top: .8rem;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 1.4rem;
        line-height: 1.3;
        text-wrap: balance;
    }

    /* Apparition */
    .rsvp__inner > * {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .8s ease, transform .8s ease;
    }

    .rsvp.is-in .rsvp__inner > * {
        opacity: 1;
        transform: none;
    }

    .rsvp.is-in .rsvp__inner > :nth-child(2) {
        transition-delay: .15s;
    }

    .rsvp.is-in .rsvp__inner > :nth-child(3) {
        transition-delay: .3s;
    }

    .rsvp.is-in .rsvp__inner > :nth-child(4) {
        transition-delay: .45s;
    }

    @media (prefers-reduced-motion: reduce) {
        .rsvp__inner > * {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .choice:hover .choice__box {
            transform: none;
        }
    }
/* formulaire */

/* cadeaux */
    .gifts {
        --cream: #f7efd6;
        --card-line: #e8cf5a;
        --sep-bg:
            linear-gradient(var(--second), var(--second)) left center / calc(50% - 20px) 2px no-repeat,
            linear-gradient(var(--second), var(--second)) right center / calc(50% - 20px) 2px no-repeat,
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23F4E285'/%3E%3C/svg%3E") center / 20px no-repeat;

        padding: 0 3rem;
        color: var(--text);
        background: var(--primary2);
    }

    .gifts__inner {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Illustration (votre image) */
    .gifts__img {
        display: block;
        width: 220px;
        height: auto;
        margin-bottom: .8rem;
    }

    .gifts__title {
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        font-size: 50px;
        line-height: 1.05;
    }

    .gifts__rule {
        width: 100%;
        height: 24px;
        margin: 1rem 0 1.2rem;
        background: var(--sep-bg);
    }

    .gifts__intro {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 22px;
        line-height: 1.3;
        text-align: center;
        text-wrap: balance;
    }

    /* Bloc virement */
    .gifts__bank {
        width: 100%;
        margin-top: 2.4rem;
        text-align: left;
    }

    .gifts__bank h3 {
        font-family: "Instrument Serif", Georgia, serif;
        font-weight: 400;
        font-size: 35px;
        text-align: center;
        line-height: 1.05;
    }

    .gifts__bank > p {
        margin: .9rem 0 1.4rem;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 22px;
        text-align: center;
        line-height: 1.25;
    }

    /* Cartes crème */
    .gift-card {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: .8rem;
        margin-bottom: .8rem;
        padding: 1rem 1.2rem 1rem 1.4rem;
        border: 1.5px solid var(--card-line);
        border-radius: 24px;
        background: var(--cream);
        box-shadow: 0 2px 8px rgba(46, 58, 31, .08);
    }

    .gift-card__info {
        display: flex;
        flex-direction: column;
        gap: .25rem;
        min-width: 0;
    }

    .gift-card__label {
        font-family: "Jost", sans-serif;
        font-size: .72rem;
        font-weight: 500;
        letter-spacing: .2em;
        text-transform: uppercase;
    }

    .gift-card__value {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    /* Bouton copier */
    .gift-card__copy {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--text);
        cursor: pointer;
        transition: background .2s ease, color .2s ease;
    }

    .gift-card__copy:hover {
        background: rgba(46, 58, 31, .08);
    }

    .gift-card__copy:focus-visible {
        outline: 3px solid var(--second);
        outline-offset: 2px;
    }

    .gift-card__copy svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .gift-card__copy .ico-check,
    .gift-card__ok {
        display: none;
    }

    .gift-card__ok {
        font-family: "Jost", sans-serif;
        font-size: .72rem;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .gift-card__copy.is-copied {
        color: #3f6b1e;
    }

    .gift-card__copy.is-copied .ico-copy {
        display: none;
    }

    .gift-card__copy.is-copied .ico-check,
    .gift-card__copy.is-copied .gift-card__ok {
        display: inline;
    }

    /* Apparition en cascade */
    .gifts__inner > * {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .8s ease, transform .8s ease;
        transition-delay: calc(var(--i, 0) * .12s);
    }

    .gifts.is-in .gifts__inner > * {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
        .gifts__inner > * {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* liste cadeaux */
        /* Bloc repliable */
        .ideas {
            width: 100%;
            border: 1.5px solid var(--card-line);
            border-radius: 24px;
            background: var(--cream);
            box-shadow: 0 2px 8px rgba(46, 58, 31, .08);
            overflow: hidden;
            margin: -8px auto 24px;
        }

        .ideas__toggle {
            width: 100%;
            display: flex;
            align-items: center;
            gap: .9rem;
            padding: 1.05rem 1.2rem 1.05rem 1.3rem;
            border: 0;
            background: transparent;
            color: var(--text);
            text-align: left;
            cursor: pointer;
        }

        .ideas__toggle:focus-visible {
            outline: 3px solid var(--second);
            outline-offset: -3px;
            border-radius: 24px;
        }

        .ideas__badge {
            flex: none;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: var(--second);
            border: 1.5px solid var(--card-line);
        }

        .ideas__badge svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: var(--text);
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .ideas__label {
            flex: 1;
            font-family: "Instrument Serif", Georgia, serif;
            font-size: 25px;
            line-height: 1.1;
        }

        .ideas__chev {
            flex: none;
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform .4s ease;
        }

        .ideas.is-open .ideas__chev {
            transform: rotate(180deg);
        }

        /* Panneau animé (de 0 à sa hauteur réelle) */
        .ideas__panel {
            display: grid;
            grid-template-rows: 0fr;
            visibility: hidden;
            transition: grid-template-rows .45s ease, visibility 0s .45s;
        }

        .ideas.is-open .ideas__panel {
            grid-template-rows: 1fr;
            visibility: visible;
            transition: grid-template-rows .45s ease, visibility 0s 0s;
        }

        .ideas__panel-inner {
            overflow: hidden;
            min-height: 0;
            padding: 0 1.4rem;
        }

        .ideas.is-open .ideas__panel-inner {
            padding-bottom: 1.3rem;
        }

        .ideas__intro {
            padding-top: .3rem;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-weight: 500;
            font-style: italic;
            font-size: 1.25rem;
            line-height: 1.25;
            text-align: center;
        }

        /* Liste */
        .ideas__list {
            list-style: none;
            margin-top: .6rem;
        }

        .ideas__list li {
            position: relative;
            padding: .85rem 0 .85rem 1.9rem;
            border-top: 1px solid rgba(46, 58, 31, .14);
        }

        .ideas__list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 1.05rem;
            width: 16px;
            height: 16px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23F4E285' stroke='%23d9b92f' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
        }

        .ideas__list strong {
            display: block;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-weight: 700;
            font-size: 1.35rem;
            line-height: 1.15;
        }

        .ideas__list span {
            display: block;
            margin-top: .1rem;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-weight: 500;
            font-size: 1.15rem;
            line-height: 1.25;
            opacity: .85;
        }

        .ideas__note {
            margin-top: .4rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(46, 58, 31, .14);
            text-align: center;
            font-family: "Great Vibes", cursive;
            font-size: 1.7rem;
            line-height: 1.2;
        }

        @media (prefers-reduced-motion: reduce) {
            .ideas__panel,
            .ideas.is-open .ideas__panel,
            .ideas__chev {
                transition: none;
            }
        }
    /* liste cadeaux */
    
    /* formulaire de choix de cadeau */
        .gift-form {
            width: 100%;
            margin-bottom: -48px;
        }
    
        .gift-form [hidden] {
            display: none !important;
        }
    
        .gift-form__title {
            font-family: "Instrument Serif", Georgia, serif;
            font-weight: 400;
            font-size: 35px;
            text-align: center;
            line-height: 1.05;
        }
    
        .gift-form__intro {
            margin: .9rem 0 1.4rem;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-weight: 500;
            font-size: 22px;
            text-align: center;
            line-height: 1.25;
            text-wrap: balance;
        }
    
        .gift-form__fields {
            display: grid;
            gap: .8rem;
        }
    
        /* Même carte que le bloc « Idées de cadeaux » */
        .gfield,
        .gpick {
            width: 100%;
            border: 1.5px solid var(--card-line);
            border-radius: 24px;
            background: var(--cream);
            box-shadow: 0 2px 8px rgba(46, 58, 31, .08);
        }
    
        .gbadge {
            flex: none;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: var(--second);
            border: 1.5px solid var(--card-line);
        }
    
        .gbadge svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: var(--text);
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
    
        /* Champ nom */
        .gfield {
            display: flex;
            align-items: center;
            gap: .9rem;
            padding: 1.05rem 1.2rem 1.05rem 1.3rem;
            transition: border-color .2s ease, box-shadow .2s ease;
        }
    
        .gfield:focus-within {
            border-color: var(--btn);
            box-shadow: 0 0 0 4px rgba(244, 226, 133, .75);
        }
    
        .gfield input {
            flex: 1;
            width: 100%;
            border: 0;
            outline: 0;
            background: transparent;
            color: var(--text);
            font-family: "Instrument Serif", Georgia, serif;
            font-size: 25px;
            line-height: 1.1;
        }
    
        .gfield input::placeholder {
            color: rgba(46, 58, 31, .5);
        }
    
        /* Liste déroulante */
        .gpick {
            overflow: hidden;
        }
    
        .gpick__toggle {
            width: 100%;
            display: flex;
            align-items: center;
            gap: .9rem;
            padding: 1.05rem 1.2rem 1.05rem 1.3rem;
            border: 0;
            background: transparent;
            color: var(--text);
            text-align: left;
            cursor: pointer;
        }
    
        .gpick__toggle:focus-visible {
            outline: 3px solid var(--second);
            outline-offset: -3px;
            border-radius: 24px;
        }
    
        .gpick__label {
            flex: 1;
            min-width: 0;
            font-family: "Instrument Serif", Georgia, serif;
            font-size: 25px;
            line-height: 1.1;
            color: rgba(46, 58, 31, .55);          /* aspect « placeholder » tant que rien n'est choisi */
        }
    
        .gpick.has-value .gpick__label {
            color: var(--text);
        }
    
        .gpick__chev {
            flex: none;
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform .4s ease;
        }
    
        .gpick.is-open .gpick__chev {
            transform: rotate(180deg);
        }
    
        .gpick__panel {
            display: grid;
            grid-template-rows: 0fr;
            visibility: hidden;
            transition: grid-template-rows .45s ease, visibility 0s .45s;
        }
    
        .gpick.is-open .gpick__panel {
            grid-template-rows: 1fr;
            visibility: visible;
            transition: grid-template-rows .45s ease, visibility 0s 0s;
        }
    
        .gpick__panel-inner {
            overflow: hidden;
            min-height: 0;
            padding: 0 1.4rem;
        }
    
        .gpick.is-open .gpick__panel-inner {
            padding-bottom: .6rem;
        }
    
        .gpick__list {
            list-style: none;
            max-height: min(320px, 50dvh);
            overflow-y: auto;
        }
    
        /* Une option */
        .gopt {
            border-top: 1px solid rgba(46, 58, 31, .14);
        }
    
        .gopt label {
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: start;
            gap: .9rem;
            padding: .85rem 0;
            cursor: pointer;
        }
    
        .gopt input {
            position: absolute;
            opacity: 0;
            width: 1px;
            height: 1px;
        }
    
        .gopt__box {
            position: relative;
            width: 24px;
            height: 24px;
            margin-top: .1rem;
            border: 1.5px solid var(--text);
            border-radius: 50%;
            transition: background .2s ease, border-color .2s ease;
        }
    
        .gopt__box::after {
            content: "";
            position: absolute;
            left: 7px;
            top: 3px;
            width: 6px;
            height: 11px;
            border: solid var(--text);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg) scale(0);
            transition: transform .2s ease;
        }
    
        .gopt input:checked + .gopt__box {
            background: var(--second);
            border-color: #d9b92f;
        }
    
        .gopt input:checked + .gopt__box::after {
            transform: rotate(45deg) scale(1);
        }
    
        .gopt input:focus-visible + .gopt__box {
            outline: 3px solid var(--second);
            outline-offset: 2px;
        }
    
        .gopt.is-disabled label {
            opacity: .45;
            cursor: not-allowed;
        }
    
        .gopt__text strong {
            display: block;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-weight: 700;
            font-size: 1.35rem;
            line-height: 1.15;
        }
    
        .gopt__text span {
            display: block;
            margin-top: .1rem;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-weight: 500;
            font-size: 1.15rem;
            line-height: 1.25;
            opacity: .85;
        }
    
        /* Bouton d'envoi */
        .gift-form__submit {
            width: 100%;
            margin-top: .4rem;
            padding: 1.15rem 1.5rem;
            border: 0;
            border-radius: 999px;
            background: var(--btn);
            color: #fff;
            font-family: "Jost", sans-serif;
            font-size: .82rem;
            font-weight: 500;
            letter-spacing: .22em;
            text-transform: uppercase;
            cursor: pointer;
            transition: background .25s ease, transform .25s ease, opacity .25s ease;
        }
    
        .gift-form__submit:hover {
            background: #3b4429;
            transform: translateY(-2px);
        }
    
        .gift-form__submit:focus-visible {
            outline: 3px solid var(--second);
            outline-offset: 3px;
        }
    
        .gift-form__submit:disabled {
            opacity: .6;
            cursor: progress;
            transform: none;
        }
    
        /* Messages */
        .gift-form__status {
            margin-top: .8rem;
            min-height: 1.2em;
            text-align: center;
            font-family: "Jost", sans-serif;
            font-size: .85rem;
            color: #7a1f14;
        }
    
        .gift-form__status.is-ok {
            color: #2f4519;
            font-weight: 500;
        }
    
        .gift-form__empty {
            margin-top: .6rem;
            text-align: center;
            font-family: "Cormorant Garamond", Georgia, serif;
            font-style: italic;
            font-weight: 500;
            font-size: 1.4rem;
            line-height: 1.3;
        }
    
        @media (prefers-reduced-motion: reduce) {
            .gpick__panel,
            .gpick.is-open .gpick__panel,
            .gpick__chev,
            .gopt__box,
            .gopt__box::after {
                transition: none;
            }
        }
        
        .gcat[hidden] { display: none; }

        .gcat__note {
          margin-top: 10px;
          padding: 12px 0;
          font-size: .88rem;
          line-height: 1.6;
          text-align: center;
        }
    /* formulaire de choix de cadeau */
/* cadeaux */

/* cloture */
    .closing {
        width: 100%;
        display: grid;
        place-items: center;
        text-align: center;
        color: var(--text);
        background: var(--primary2);
        position: relative;
    }

    .closing__inner {
        width: 100%;
        max-width: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 1.5rem 8rem;
    }

    /* Citation */
    .closing__quote {
        font-family: "Cormorant Garamond", Georgia, serif;
        font-weight: 500;
        font-size: 22px;
        line-height: 1.25;
        text-wrap: balance;
    }

    /* Date */
    .closing__date {
        margin-top: 1rem;
        font-family: "Jost", sans-serif;
        font-weight: blod;
        font-size: 12px;
        letter-spacing: .4em;
        text-indent: .4em;           /* recentre malgré l'espacement final */
        color: var(--second);
    }

    /* Apparition en cascade */
    .closing__inner > * {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 1s ease, transform 1s ease;
        transition-delay: calc(var(--i, 0) * .25s);
    }

    .closing.is-in .closing__inner > * {
        opacity: 1;
        transform: none;
    }

    .closing.is-in .closing__inner > .closing__date {
        opacity: .8;
    }

    .designFlowerBottom{
        position: absolute;
        bottom: 0; left: 0;
        width: 100%; height: auto;
        transform: rotate(180deg);
        img{
            width: 100%; height: 100%;
            object-fit: contain;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .closing__inner > * {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .closing__inner > .closing__date {
            opacity: .8;
        }
    }
/* cloture */