/* ==========================================================================
   de Clouet & associés — feuille de style du site public
   Mobile-first. Remplace style.min / __colors / __styles / responsive /
   bootstrap / modern-improvements / cookie.css pour le front.

   Sommaire
   1. Tokens          6. Hero              11. Formulaires
   2. Reset / base    7. Sections          12. Contact / bureaux
   3. Typographie     8. Ventes (liste)    13. Footer
   4. Utilitaires     9. Tableaux          14. Cookies / dialog
   5. Header / nav   10. Contenu CMS       15. Motion / print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --ink: #1b1613;
    --ink-soft: #3a322c;
    --muted: #6b6158;
    --paper: #faf7f2;
    --paper-2: #f3ede3;
    --white: #fff;
    --line: #e3dacb;
    --line-strong: #cbbda3;
    --wine: #5a1822;
    --wine-2: #74202d;
    --gold: #c8a45e;
    --gold-light: #dcc088;
    --gold-deep: #86672a;
    --danger: #a3261f;
    --success: #2f6b3f;

    --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --container-narrow: 780px;
    --gutter: clamp(20px, 5vw, 48px);
    --section-y: clamp(56px, 9vw, 112px);
    --header-h: 68px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow-1: 0 1px 2px rgba(27, 22, 19, .06), 0 6px 18px rgba(27, 22, 19, .06);
    --shadow-2: 0 2px 4px rgba(27, 22, 19, .08), 0 18px 40px rgba(27, 22, 19, .14);

    --z-header: 100;
    --z-overlay: 90;
    --z-top: 80;
    --z-cookie: 200;
}

@media (min-width: 1100px) {
    :root { --header-h: 88px; }
}

/* 2. Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

main { flex: 1 0 auto; display: block; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; border: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }

[hidden] { display: none !important; }
.hidden { display: none !important; }

:focus-visible {
    outline: 3px solid var(--wine);
    outline-offset: 3px;
    border-radius: 1px;
}
/* Fonds sombres : l'anneau doré y contraste (7,6:1), le bordeaux non */
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .section--wine :focus-visible, .consent :focus-visible, .nav :focus-visible { outline-color: var(--gold); }

::selection { background: var(--gold-light); color: var(--ink); }

/* 3. Typographie ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.2rem + 6vw, 5.25rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

.eyebrow {
    margin: 0 0 1rem;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.lead {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem);
    line-height: 1.5;
    color: var(--ink-soft);
}

/* 4. Utilitaires ----------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px; left: 8px;
    z-index: calc(var(--z-cookie) + 1);
    padding: 12px 20px;
    background: var(--gold);
    color: var(--ink);
    font-size: .875rem;
    font-weight: 600;
    transform: translateY(-200%);
    transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ornament {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
}
.ornament::before, .ornament::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.ornament i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
.ornament + h2, .ornament + h1 { margin-top: 1rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    min-height: 48px;
    padding: .9em 1.9em;
    border: 1px solid transparent;
    border-radius: 0;
    background: none;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--wine { background: var(--wine); color: var(--white); }
.btn--wine:hover { background: var(--wine-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: rgba(250, 247, 242, .65); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--wine);
    padding-block: 12px;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header / navigation --------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-header);
    height: var(--header-h);
    color: var(--paper);
    transition: color .3s var(--ease), height .3s var(--ease);
}

/* Le fond est porté par un pseudo-élément : un backdrop-filter sur le header
   lui-même ferait de lui le bloc conteneur du panneau mobile (position: fixed). */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 242, .94);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    opacity: 0;
    transition: opacity .3s var(--ease);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
}

.site-header.is-scrolled { color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }

body.nav-open .site-header { color: var(--paper); }
body.nav-open .site-header::before { opacity: 0; }

.site-header__bar {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.1;
}
.brand__name {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}
.brand__name em { font-style: italic; font-weight: 500; color: var(--gold); }
.brand__tag {
    display: none;
    margin-top: 4px;
    font-size: .625rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    opacity: .8;
}
@media (min-width: 400px) { .brand__tag { display: block; } }

.nav-toggle {
    position: relative;
    z-index: 2;
    min-width: 48px; height: 48px;
    margin-right: -10px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
.nav-toggle__label { font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block;
    width: 24px; height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Panneau mobile (plein écran < 600px, tiroir ensuite) */
.nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink);
    color: var(--paper);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.nav.is-open { visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 599px) { .nav { max-width: none; } }

.nav__list { display: flex; flex-direction: column; }
.nav__list li { list-style: none; border-bottom: 1px solid rgba(250, 247, 242, .12); }
.nav__list a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding-block: 12px;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: color .2s, padding-left .25s var(--ease);
}
.nav__list a:hover { color: var(--gold-light); padding-left: 6px; }
.nav__list a[aria-current="page"] { color: var(--gold-light); }
.nav__list .sub-menu { padding: 0 0 12px 16px; }
.nav__list .sub-menu li { border: 0; }
.nav__list .sub-menu a { min-height: 44px; font-size: 1.2rem; font-family: var(--font-body); opacity: .85; }

.nav__foot {
    margin: auto 0 0;
    padding-top: 32px;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: rgba(12, 9, 8, .6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Navigation desktop */
@media (min-width: 1100px) {
    .nav-toggle, .nav-overlay, .nav__foot { display: none; }

    .nav {
        position: static;
        z-index: auto;
        width: auto; max-width: none; height: auto;
        padding: 0;
        flex-direction: row;
        overflow: visible;
        background: none;
        color: inherit;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .nav__list { flex-direction: row; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
    .nav__list li { position: relative; border: 0; }
    .nav__list a {
        position: relative;
        min-height: 44px;
        padding: 0;
        font-family: var(--font-body);
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .16em;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .nav__list > li > a::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 6px;
        height: 1px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s var(--ease);
    }
    .nav__list > li > a:hover, .nav__list a[aria-current="page"] { color: inherit; padding-left: 0; }
    .nav__list > li > a:hover::after, .nav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }

    .menu-more__btn {
        position: relative;
        min-height: 44px;
        padding: 0;
        border: 0;
        background: none;
        color: inherit;
        font: inherit;
        font-family: var(--font-body);
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .16em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .menu-more__btn::after { content: " ▾"; letter-spacing: 0; color: var(--gold); }
    .nav__list .menu-more .sub-menu { left: auto; right: -20px; }
    .nav__list .sub-menu {
        position: absolute;
        top: 100%; left: -20px;
        min-width: 240px;
        padding: 12px 0;
        background: var(--paper);
        color: var(--ink);
        box-shadow: var(--shadow-2);
        border-top: 2px solid var(--gold);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    }
    .nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu {
        opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
    }
    .nav__list .sub-menu a { padding: 8px 20px; font-size: .75rem; opacity: 1; }
    .nav__list .sub-menu a:hover { color: var(--wine); }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: contents; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(20, 14, 11, .7) 0%, rgba(20, 14, 11, .25) 38%, rgba(20, 14, 11, .72) 100%);
}
.hero--home::after {
    background: linear-gradient(180deg, rgba(20, 14, 11, .72) 0%, rgba(20, 14, 11, .58) 38%, rgba(20, 14, 11, .64) 62%, rgba(20, 14, 11, .8) 100%);
}
.hero--home .eyebrow, .hero__lead, .hero__places { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }

.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--paper); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); margin-bottom: 0; }

.hero--page {
    min-height: clamp(260px, 38vw, 400px);
    padding: calc(var(--header-h) + 40px) 0 clamp(36px, 6vw, 64px);
}
.hero--page h1 { font-size: clamp(2.1rem, 1rem + 5vw, 4rem); }
.hero--page .ornament { margin-top: 20px; }

.hero--home {
    min-height: 100vh;
    min-height: 100svh;
    max-height: 960px;
    align-items: center;
    padding: calc(var(--header-h) + 32px) 0 72px;
    text-align: center;
}
.hero--home .container { display: flex; flex-direction: column; align-items: center; }
.hero--home h1 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.hero__lead {
    margin: 1.4rem 0 .4rem;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
    font-style: italic;
    color: var(--paper);
}
.hero__places {
    margin: 0 0 2.2rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.hero__actions .btn { flex: 1 1 220px; max-width: 280px; }

.hero__scroll {
    position: absolute;
    left: 50%; bottom: 20px;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    margin-left: -24px;
    color: var(--gold-light);
    text-decoration: none;
}
.hero__scroll .icon { width: 24px; height: 24px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Diaporama de l'entête : fondu entre les photos, piloté par site.js (classe .is-active). Sans JS, la première photo reste affichée. */
.hero__media--slides img { opacity: 0; transform: scale(1); transition: opacity 1.2s ease, transform 9s linear; }
.hero__media--slides:not(.is-ready) > :first-child img, .hero__media--slides:not(.is-ready) > img:first-child { opacity: 1; }
.hero__media--slides.is-ready .is-active img, .hero__media--slides.is-ready img.is-active { opacity: 1; transform: scale(1.06); }

/* 7. Sections -------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: rgba(250, 247, 242, .82); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--wine { background: var(--wine); color: rgba(250, 247, 242, .88); }
.section--wine h2 { color: var(--paper); }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head h2 { margin-bottom: .35em; }

.split {
    display: grid;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--reverse > :first-child { order: 2; }
    .split--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
}

.framed { position: relative; }
.framed::before {
    content: "";
    position: absolute;
    inset: 16px -12px -12px 16px;
    z-index: 0;
    border: 1px solid var(--gold);
}
.framed img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
    background: var(--paper-2);
}
@media (max-width: 599px) { .framed::before { inset: 10px -6px -6px 10px; } }

.feature { position: relative; display: block; overflow: hidden; background: var(--ink); text-decoration: none; }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .92; }
.feature:hover img { transform: scale(1.035); opacity: 1; }
.feature__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 56px 24px 22px;
    background: linear-gradient(180deg, transparent, rgba(20, 14, 11, .85));
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
@media (min-width: 900px) { .feature img { aspect-ratio: 1 / 1; } }

.feature__caption .icon { width: 1.4rem; height: 1.4rem; }

.cta-band { text-align: center; }
.cta-band .lead { max-width: 36ch; margin: 0 auto 2rem; color: rgba(250, 247, 242, .88); }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }

/* 8. Ventes (liste) -------------------------------------------------------- */
.sales { border-top: 1px solid var(--line-strong); }
.sale {
    display: grid;
    grid-template-columns: 4.75rem 1fr auto;
    align-items: center;
    gap: clamp(14px, 3vw, 28px);
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: background-color .25s var(--ease), padding .25s var(--ease);
}
.sale:hover { background: var(--white); padding-inline: 16px; }
.sale__date { padding-right: clamp(14px, 3vw, 28px); border-right: 1px solid var(--line-strong); text-align: center; line-height: 1; }
.sale__day { display: block; font-variant-numeric: lining-nums; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 500; color: var(--wine); }
.sale__month { display: block; margin-top: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sale__year { display: block; font-variant-numeric: lining-nums; margin-top: 2px; font-size: .75rem; color: var(--muted); }
.sale__title, .sale__meta { display: block; }
.sale__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .9vw, 1.55rem); font-weight: 600; line-height: 1.25; color: var(--ink); }
.sale__meta { margin: 4px 0 0; font-size: .875rem; color: var(--muted); }
.sale__go { color: var(--gold-deep); transition: transform .25s var(--ease); }
.sale:hover .sale__go { transform: translateX(4px); }

/* Formulaire en étapes (estimation) */
.stepper { display: none; gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; counter-reset: step; }
.form.is-stepped .stepper { display: flex; }
.stepper li { flex: 1 1 0; display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.stepper__num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .8125rem; letter-spacing: 0; }
.stepper li.is-current { border-color: var(--wine); color: var(--ink); }
.stepper li.is-current .stepper__num { border-color: var(--wine); background: var(--wine); color: var(--white); }
.stepper li.is-done { border-color: var(--gold); color: var(--ink); }
.stepper li.is-done .stepper__num { border-color: var(--gold); background: var(--gold); color: var(--ink); }
@media (max-width: 479px) { .stepper__label { font-size: .6875rem; letter-spacing: .08em; } }
.step { display: grid; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; }
.step__title { margin: 0 0 4px; padding: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.step__title:focus { outline: none; }
.step__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .step__actions .btn { flex: 1 1 100%; justify-content: center; } }
.field--check .check { display: flex; align-items: flex-start; gap: 12px; }
.field--check input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--wine); }
.field--check label { max-width: none; font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.55; color: var(--ink-soft); }
.field--check label a { color: var(--wine); font-weight: 600; }
.how { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 14px; font-size: .9375rem; }
.how li { position: relative; padding-left: 40px; counter-increment: how; line-height: 1.55; }
.how li::before { content: counter(how); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-weight: 600; font-size: .8125rem; }
.how strong { color: var(--ink); }

/* Filtres du blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.chip span { font-weight: 500; color: var(--muted); letter-spacing: 0; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--wine); border-color: var(--wine); color: var(--white); }
.chip[aria-current="true"] span { color: var(--gold-light); }
.article-card__media img.is-default { background: var(--wine); }

/* Recherche */
.search-link { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; color: inherit; border-radius: 50%; transition: background-color .2s; }
.search-link .icon { width: 22px; height: 22px; }
.search-link:hover { background: rgba(250, 247, 242, .14); }
.nav-toggle { margin-left: 0; }
@media (min-width: 1100px) { .search-link { order: 3; margin-left: 0; } }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.search-form input[type="search"] { flex: 1 1 260px; min-height: 52px; padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(200, 164, 94, .45); }
.search-count { margin: 0 0 20px; font-size: .875rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.search-results { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.search-results li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-results__type { margin: 0 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.search-results__title { margin: 0 0 8px; }
.search-results__title a { color: var(--ink); text-decoration: none; }
.search-results__title a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.search-results__excerpt { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.search-results mark { padding: 0 2px; background: rgba(200, 164, 94, .35); color: inherit; }

/* Fil d'Ariane */
.breadcrumb { margin: 0 0 28px; font-size: .8125rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; min-width: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--gold-deep); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* À lire aussi */
.related { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.related__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding .25s var(--ease), background-color .25s; }
.related__item:hover { padding-inline: 14px; background: var(--white); }
.related__item time { grid-column: 1; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.related__title { grid-column: 1; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.related__item .icon { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--gold-deep); }

/* Prochaine vente (accueil, sous le hero) */
.next-sale { background: var(--white); border-bottom: 1px solid var(--line); }
.next-sale__inner { display: grid; grid-template-columns: auto 1fr; gap: 14px clamp(16px, 3vw, 32px); align-items: center; padding-block: 28px; }
.next-sale .sale__date { grid-row: span 2; }
.next-sale .eyebrow { margin: 0 0 2px; }
.next-sale__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); line-height: 1.2; color: var(--ink); }
.next-sale__meta { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 6px 0 0; font-size: .875rem; color: var(--muted); }
.next-sale__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (min-width: 900px) {
    .next-sale__inner { grid-template-columns: auto 1fr auto; }
    .next-sale__actions { grid-column: auto; justify-content: flex-end; }
}
.cal-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); font-size: .8125rem; font-weight: 600; text-decoration: none; letter-spacing: .04em; }
.cal-link .icon { width: 20px; height: 20px; }
.cal-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.data-table .cal-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 899px) { .data-table .cal-link span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

.sales-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin: 28px 0 0; }

/* Filtre des ventes */
.table-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; }
.table-filter label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.table-filter select { min-height: 44px; min-width: 220px; padding: 8px 40px 8px 14px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: .9375rem; }
.table-filter__count { font-size: .8125rem; color: var(--muted); }
.sales__empty { padding: 32px 0; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--muted); }
.section-actions { margin-top: 32px; }

/* 9. Tableaux -------------------------------------------------------------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table caption { text-align: left; }
.data-table th {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ink);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-align: left;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}
.data-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr { transition: background-color .2s; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, .7); }
.data-table td a { color: var(--wine); font-weight: 600; text-decoration-color: var(--gold); }
.data-table td a:hover { color: var(--wine-2); }
.data-table .cell-date { font-variant-numeric: lining-nums; white-space: nowrap; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.data-table .cell-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.data-table .cell-desc { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .875rem; font-weight: 400; color: var(--muted); }
.data-table tr:target { background: rgba(200, 164, 94, .18); }

/* En dessous de 760px : chaque ligne devient une carte (labels via data-label) */
@media (max-width: 759px) {
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .data-table tr { margin-bottom: 16px; padding: 8px 20px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow-1); }
    .data-table td { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); text-align: right; }
    .data-table td:last-child { border-bottom: 0; }
    .data-table td::before { content: attr(data-label); flex: none; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; }
    .data-table td.cell-title, .data-table td.cell-date { display: block; text-align: left; }
    .data-table td.cell-title::before, .data-table td.cell-date::before { display: none; }
    .data-table td.cell-date { padding-bottom: 4px; font-size: 1.15rem; color: var(--wine); }
    .data-table td:empty { display: none; }
}

/* 10. Contenu CMS (éditeur riche) ----------------------------------------- */
.prose { font-size: 1.0625rem; line-height: 1.8; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose h4, .prose h5, .prose h6 { margin: 1.4em 0 .4em; }
.prose a { color: var(--wine); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--wine-2); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-deep); }
.prose blockquote { margin: 1.8em 0; padding: .4em 0 .4em 1.4em; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--ink); }
.prose hr { width: 72px; margin: 2.4em 0; border: 0; border-top: 1px solid var(--gold); }
.prose img { height: auto !important; margin-block: 1.4em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: .6em; font-size: .875rem; color: var(--muted); }
.prose sup { font-size: .7em; line-height: 0; }
.prose iframe, .prose video { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.prose table { width: 100% !important; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper-2); }

/* Le CMS colle des styles inline (polices, fonds blancs, largeurs fixes) :
   on les neutralise pour garder une typographie cohérente. */
.prose [style*="font-family"] { font-family: inherit !important; }
.prose [style*="background-color"], .prose [style*="background:"] { background: transparent !important; }
.prose [style*="width"]:not(td):not(th):not(table) { max-width: 100% !important; }
.prose p[style*="text-align: justify"], .prose p[align="justify"] { text-align: left !important; }
.prose-wrap { overflow-x: auto; }

.intro-text .prose { font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.6; color: var(--ink-soft); }
.intro-text .prose [style*="font-size"] { font-size: inherit !important; }

.article-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 24px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.article-cover { margin: 0 0 40px; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }

.article-card { display: grid; gap: 24px; padding-block: 40px; border-bottom: 1px solid var(--line); }
.article-card:first-child { padding-top: 0; }
.article-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); }
.article-card__title { margin-bottom: .3em; }
/* Le champ « entête » du CMS contient parfois l'article entier : on n'en montre qu'un aperçu */
.article-card__excerpt { max-height: 9.5em; margin-bottom: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.article-card__excerpt, .article-card__excerpt * { text-align: left !important; text-indent: 0 !important; }
.article-card__title a { text-decoration: none; }
.article-card__title a:hover { color: var(--wine); }
@media (min-width: 760px) {
    .article-card--has-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
}

.lead-block { margin-bottom: clamp(28px, 5vw, 48px); }
.lead-block--narrow { max-width: var(--container-narrow); }
.lead-block .prose { font-size: 1.15rem; }
.section-title { margin: clamp(32px, 5vw, 56px) 0 24px; padding-top: 24px; border-top: 1px solid var(--gold); }

/* 11. Formulaires ---------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) {
    .form__row--2 { grid-template-columns: 1fr 1fr; }
    .form__row--3 { grid-template-columns: 1fr 2fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field > label .req { color: var(--wine); margin-left: 2px; }

.field input:not([type="file"]):not([type="checkbox"]), .field select, .field textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--white);
    font-size: 1rem; /* 16px : évite le zoom automatique d'iOS */
    line-height: 1.4;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%235a1822' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input[type="file"] { padding: 12px; border: 1px dashed var(--line-strong); background: var(--white); font-size: .9375rem; max-width: 100%; }
.field input[type="file"] { width: 100%; }
@media (max-width: 480px) {
    .field input[type="file"] { padding: 10px; font-size: .8125rem; }
    .field input[type="file"]::file-selector-button { margin-right: 10px; padding: 8px 10px; letter-spacing: .06em; }
    .form .btn[type="submit"] { width: 100%; justify-content: center; }
}
.field input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 16px; border: 1px solid var(--ink); background: none; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(200, 164, 94, .45); }
.field input.error, .field textarea.error, .field select.error { border-color: var(--danger); }
.field__hint { margin: 0; font-size: .8125rem; color: var(--muted); }

/* Messages d'erreur (serveur : label.error ; navigateur : .field__error, cf. site.js) */
.field__error { display: flex; gap: 6px; margin: 0; font-size: .8125rem; font-weight: 500; color: var(--danger); }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--danger); color: var(--white); font-size: .6875rem; font-weight: 700; line-height: 1; }
label.error { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--danger); }

.captcha { max-width: 100%; overflow: hidden; }
@media (max-width: 359px) {
    .captcha { height: 66px; }
    .captcha .g-recaptcha { transform: scale(.85); transform-origin: 0 0; }
}

.alert { padding: 16px 20px; border-left: 3px solid; font-size: .9375rem; }
.alert--success { background: #edf5ef; border-color: var(--success); color: #1f4a2b; }
.alert--error { background: #fbeceb; border-color: var(--danger); color: #7d1b16; }

/* Page contact : formulaire + coordonnées */
.contact-layout { display: grid; gap: 32px; max-width: calc(var(--container) + var(--gutter) * 2); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 48px; align-items: start; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-aside { padding: 28px; border: 1px solid var(--line); border-top: 2px solid var(--gold); background: var(--white); }
.contact-aside h2 { margin-bottom: 14px; font-size: 1.6rem; }
.contact-aside address { margin: 0 0 16px; font-style: normal; font-size: .9375rem; line-height: 1.6; }
.contact-aside strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.contact-aside__phone { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 1.125rem; font-weight: 600; }
.contact-aside__phone .icon { width: 22px; height: 22px; color: var(--gold-deep); }
.contact-aside__phone a { color: var(--wine); text-decoration: none; }
.contact-aside__phone a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-aside__note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9375rem; }
.contact-aside__note a { color: var(--wine); font-weight: 600; }

.form-card { padding: clamp(24px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow-1); }
.form-card .lead-block { text-align: center; }

/* 12. Contact / bureaux ---------------------------------------------------- */
.offices { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .offices { grid-template-columns: 1fr 1fr; } }
.offices__map img { width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.offices__list { display: grid; gap: 16px; }

.office { padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.office h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.6rem; }
.office h3 .icon { color: var(--gold-deep); width: 22px; height: 22px; }
.office p { margin: 12px 0 0; font-size: .9375rem; }
.office a { color: var(--wine); font-weight: 600; }

.international { margin-top: clamp(24px, 4vw, 48px); padding: clamp(28px, 5vw, 48px); text-align: center; background: var(--wine); color: var(--paper); }
.international h3 { color: var(--paper); margin-bottom: .3em; }
.international p { margin: 0; font-size: 1.05rem; }
.international strong { color: var(--gold-light); }

/* 13. Footer --------------------------------------------------------------- */
.site-footer { flex-shrink: 0; background: var(--ink); color: rgba(250, 247, 242, .72); }
.site-footer__top { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
@media (min-width: 800px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; } }
.site-footer h2 { margin-bottom: 1rem; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.site-footer__brand { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--paper); text-decoration: none; }
.site-footer__brand em { font-style: italic; font-weight: 500; color: var(--gold); }
.site-footer__about { max-width: 34ch; margin: 1rem 0 0; font-size: .9375rem; }
.footer-nav li { list-style: none; }
.footer-nav ul { margin: 0; padding: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer address { font-style: normal; font-size: .9375rem; line-height: 1.9; }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { color: var(--gold-light); }
.footer-newsletter { display: grid; gap: 16px; padding-block: 28px; border-top: 1px solid rgba(250, 247, 242, .12); }
.footer-newsletter h2 { margin-bottom: .35rem; }
.footer-newsletter p { margin: 0; font-size: .9375rem; }
.footer-newsletter__field { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-newsletter__field input[type="email"] { flex: 1 1 240px; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(250, 247, 242, .35); border-radius: 0; background: rgba(250, 247, 242, .06); color: var(--paper); font: inherit; font-size: .9375rem; }
.footer-newsletter__field input[type="email"]::placeholder { color: rgba(250, 247, 242, .6); }
.footer-newsletter__field input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
@media (min-width: 800px) { .footer-newsletter { grid-template-columns: 1.4fr 2fr; align-items: center; gap: 64px; } .footer-newsletter__field { flex-wrap: nowrap; } }

.form-more { border: 1px solid var(--line); background: var(--paper); }
.form-more summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 18px; cursor: pointer; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); list-style: none; }
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::after { content: "+"; margin-left: auto; font-size: 1.25rem; line-height: 1; color: var(--gold-deep); }
.form-more[open] summary::after { content: "−"; }
.form-more summary span { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.form-more summary:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; }
.form-more__body { display: grid; gap: 20px; padding: 6px 18px 22px; }

.site-footer__bottom { padding-block: 22px; border-top: 1px solid rgba(250, 247, 242, .12); font-size: .8125rem; }
.site-footer__bottom .container { padding-right: calc(var(--gutter) + 48px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

.to-top {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: var(--z-top);
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 0;
    background: var(--gold);
    color: var(--ink);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--gold-light); }
.to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }

/* 14. Cookies / dialog ----------------------------------------------------- */
/* Bandeau de consentement (partials/consent.html.twig, public/js/consent.js) */
.consent {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-cookie);
    max-height: 90dvh;
    overflow-y: auto;
    padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: rgba(250, 247, 242, .88);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
    font-size: .875rem;
    line-height: 1.55;
}
.consent[hidden] { display: none; }
.consent__inner { display: flex; flex-direction: column; gap: 14px; max-width: var(--container); margin: 0 auto; }
.consent h2 { margin: 0 0 4px; font-size: 1.2rem; color: var(--paper); }
.consent p { margin: 0; }
.consent a { color: var(--gold-light); text-underline-offset: 3px; }
.consent__options { margin: 12px 0 0; padding: 0; border: 0; display: grid; gap: 4px; }
.consent__options label { display: flex; align-items: flex-start; gap: 12px; min-height: 40px; padding: 6px 0; max-width: none; cursor: pointer; }
.consent__options input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { flex: 1 1 140px; min-height: 46px; padding: 10px 10px; font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }
.consent__actions .btn--ghost { flex-basis: 100%; }
@media (min-width: 900px) {
    .consent__inner { flex-direction: row; align-items: center; gap: 32px; }
    .consent__text { flex: 1 1 auto; max-width: 62ch; }
    .consent__actions { flex: none; flex-wrap: nowrap; }
    .consent__actions .btn { flex: none; padding: 10px 18px; font-size: .75rem; letter-spacing: .12em; }
    .consent__actions .btn--ghost { flex-basis: auto; }
}
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--gold-light); }

.dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; background: var(--paper); color: var(--ink-soft); box-shadow: var(--shadow-2); }
.dialog::backdrop { background: rgba(12, 9, 8, .65); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dialog__head h2 { margin: 0; font-size: 1.5rem; }
.dialog__close { flex: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; font-size: 1.75rem; line-height: 1; color: var(--ink); }
.dialog__body { padding: 24px; font-size: .9375rem; }
.dialog__foot { padding: 16px 24px 24px; text-align: right; }

/* 15. Motion / print ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .hero__media--slides > :not(:first-child), .hero__media--slides > :not(:first-child) img { display: none; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .nav-overlay, .to-top, .hero__scroll, #consent, .site-footer__top, .hero::after { display: none !important; }
    body { background: #fff; color: #000; }
    .hero { min-height: 0; padding: 0 0 16px; background: none; color: #000; }
    .hero h1 { color: #000; text-shadow: none; }
    .hero__media { display: none; }
    .section { padding-block: 16px; }
    a { text-decoration: underline; }
}

/* --- Glisser-déposer des fichiers (cf. js/dropzone.js) --- */
.dropzone { position: relative; display: grid; place-items: center; min-height: 112px; padding: 20px; border: 1.5px dashed var(--line-strong); background: var(--paper); color: var(--ink); text-align: center; transition: border-color .2s, background-color .2s; }
.dropzone:hover { border-color: var(--ink-soft, var(--ink)); }
.dropzone:focus-within { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(200, 164, 94, .45); }
.dropzone.is-dragging { border-style: solid; border-color: var(--wine); background: var(--white); }
.dropzone .dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.dropzone .dropzone__input::file-selector-button { cursor: pointer; }
.dropzone__prompt { display: grid; gap: 4px; pointer-events: none; }
.dropzone__title { font-weight: 600; }
.dropzone__or { font-size: .875rem; color: var(--muted); }
.dropzone__browse { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dropzone__status { margin: 0; font-size: .8125rem; color: var(--muted); }
.dropzone__status:empty { display: none; }
.dropzone__status.is-error { color: var(--danger); font-weight: 500; }
.dropzone__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dropzone__item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); background: var(--white); }
.dropzone__thumb { flex: none; width: 48px; height: 48px; object-fit: cover; background: var(--paper); }
.dropzone__thumb--file { display: grid; place-items: center; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; color: var(--wine); border: 1px solid var(--line); }
.dropzone__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
.dropzone__size { flex: none; font-size: .8125rem; color: var(--muted); }
.dropzone__remove { flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--wine); font: inherit; font-size: .8125rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dropzone__remove:hover { color: var(--danger); }
@media (prefers-reduced-motion: reduce) { .dropzone { transition: none; } }
