/* ============================================================
   Cheval Harmonie - feuille de styles principale
   Palette : sauge / terre / sable / crème / charbon
   ============================================================ */

:root {
    --c-sauge:   #7C8C5C;
    --c-sauge-dark: #5e6c44;
    --c-terre:   #8B6F47;
    --c-terre-dark: #6b5536;
    --c-sable:   #E8DFD0;
    --c-creme:   #F7F3EB;
    --c-charbon: #2B2A26;
    --c-gris:    #6e6c66;
    --c-blanc:   #ffffff;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(43, 42, 38, 0.06);
    --shadow-md: 0 8px 24px rgba(43, 42, 38, 0.10);
    --shadow-lg: 0 24px 60px rgba(43, 42, 38, 0.15);

    --radius-sm: 4px;
    --radius-md: 8px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    --max-w: 1240px;
    --header-h: 88px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: var(--c-charbon);
    background: var(--c-creme);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }

/* Lien d'évitement (accessibilité - WCAG 2.4.1) : caché, visible au focus clavier */
.skip-link {
    position: absolute; top: -56px; left: 8px; z-index: 1000;
    background: var(--c-sauge); color: #fff;
    padding: 10px 18px; border-radius: 0 0 8px 8px;
    font-weight: 600; font-size: .9rem; text-decoration: none;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }
/* La cible <main> ne doit pas afficher de contour au focus programmatique */
main:focus { outline: none; }
a { color: var(--c-terre-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-sauge); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--c-charbon);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .75rem; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p  { margin-bottom: 1rem; color: var(--c-gris); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BOUTONS - Système inspiré de shadcn/ui
   Variantes : primary, outline, light, secondary, ghost, link, destructive
   Tailles   : default (40px), sm (32px), lg (48px), icon (carré)
   Détails : rounded-lg, ombre subtile, focus-visible accessible (RGAA),
            transitions ciblées (pas all), aria-disabled propre
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 8px;
    height: 40px;
    padding: 0 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background-color .18s var(--ease), color .18s var(--ease),
                border-color .18s var(--ease), box-shadow .25s var(--ease),
                transform .18s var(--ease);
}

/* Focus accessible - outline visible quand on navigue au clavier (RGAA) */
.btn:focus-visible {
    outline: 2px solid var(--c-sauge);
    outline-offset: 2px;
}

/* État désactivé */
.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Icônes inline dans les boutons (gardent leur taille fixe) */
.btn svg {
    flex-shrink: 0;
    pointer-events: none;
    width: 16px;
    height: 16px;
}

/* === Variantes === */

.btn--primary {
    background: #fbb03b;
    color: var(--c-charbon);
}
.btn--primary:hover {
    background: #e8991f;
    box-shadow: 0 4px 14px rgba(251, 176, 59, 0.32);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--c-charbon);
    border-color: rgba(43, 42, 38, 0.18);
}
.btn--outline:hover {
    background: var(--c-creme);
    border-color: rgba(43, 42, 38, 0.32);
}

.btn--light {
    background: var(--c-blanc);
    color: var(--c-charbon);
}
.btn--light:hover {
    background: var(--c-sable);
    transform: translateY(-1px);
}

.btn--secondary {
    background: var(--c-sable);
    color: var(--c-charbon);
    box-shadow: none;
}
.btn--secondary:hover {
    background: #dcd1c0;
}

.btn--ghost {
    background: transparent;
    color: var(--c-charbon);
    box-shadow: none;
}
.btn--ghost:hover {
    background: rgba(43, 42, 38, 0.07);
}

.btn--link {
    background: transparent;
    color: var(--c-terre-dark);
    box-shadow: none;
    padding: 0;
    height: auto;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(139, 111, 71, 0.4);
    border-radius: 2px;
}
.btn--link:hover {
    color: var(--c-sauge);
    text-decoration-color: var(--c-sauge);
    transform: none;
}

.btn--destructive {
    background: #b8443f;
    color: var(--c-blanc);
}
.btn--destructive:hover {
    background: #993732;
    box-shadow: 0 4px 14px rgba(184, 68, 63, 0.3);
    transform: translateY(-1px);
}

/* === Tailles modulables === */

.btn--sm {
    height: 32px;
    padding: 0 12px;
    font-size: 0.82rem;
    border-radius: 6px;
}
.btn--sm svg { width: 14px; height: 14px; }

.btn--lg {
    height: 48px;
    padding: 0 28px;
    font-size: 1rem;
    border-radius: 10px;
}
.btn--lg svg { width: 18px; height: 18px; }

/* Bouton icône seule (carré) */
.btn--icon {
    width: 40px;
    height: 40px;
    padding: 0;
}
.btn--icon.btn--sm { width: 32px; height: 32px; }
.btn--icon.btn--lg { width: 48px; height: 48px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
    /* Verre dépoli : fond translucide + flou prononcé - l'image transparaît derrière */
    background: rgba(247, 243, 235, 0.55);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 1px 14px rgba(43, 42, 38, 0.06); }
.site-header[data-transparent="true"]:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-header__brand,
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav__link {
    color: var(--c-blanc);
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav__link::after {
    background: var(--c-blanc);
}

.site-header__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px 24px;
    /* Mobile par défaut : flex simple - logo à gauche, burger à droite */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
/* Desktop ≥1101px : grille à 3 colonnes pour véritablement centrer la nav */
@media (min-width: 1101px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 24px;
    }
    .site-header__brand   { grid-column: 1; justify-self: start; }
    .site-nav             { grid-column: 2; justify-self: center; }
    .site-header__toggle  { grid-column: 3; justify-self: end; }
}
.site-header__brand { display: flex; align-items: center; color: var(--c-charbon); }
.brand-logo {
    width: auto;
    height: 72px;
    display: block;
    transition: filter .3s var(--ease);
}
/* Logo noir : nickel sur le header crème (par défaut).
   Sur le hero (header transparent, fond sombre), on l'inverse en blanc. */
.site-header[data-transparent="true"]:not(.is-scrolled) .brand-logo {
    filter: invert(1) brightness(1.6);
}

.site-header__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.site-header__toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MEGA-MENU NAVIGATION
   Inspiré du composant React/Framer Motion, version vanilla
   ============================================================ */
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    list-style: none;
}
.site-nav__item { position: relative; }
.site-nav__item--cta { margin-left: 8px; }

/* Lien standard (Accueil, Galerie, FAQ) + bouton dropdown */
.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--c-charbon);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease);
    font-family: var(--font-sans);
}
.site-nav__link:hover,
.site-nav__item--dropdown.is-open .site-nav__link {
    background: rgba(43, 42, 38, 0.08);
    color: var(--c-charbon);
}
.site-nav__link.is-active,
.site-nav__item--dropdown.is-active > .site-nav__link {
    background: rgba(124, 140, 92, 0.18);
    color: var(--c-sauge-dark);
}

/* Chevron des items dropdown */
.site-nav__chevron {
    display: inline-flex;
    transition: transform .3s var(--ease);
}
.site-nav__item--dropdown.is-open .site-nav__chevron {
    transform: rotate(180deg);
}

/* === Dropdown panel === */
.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    z-index: 50;
    /* Verre dépoli - cohérent avec le header */
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(43, 42, 38, 0.18);
    padding: 24px 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    min-width: max-content;
}
.site-nav__item--dropdown.is-open .site-nav__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Pointe vers l'item (petite flèche en haut du panel) */
.site-nav__dropdown::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.site-nav__dropdown-inner {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}
.site-nav__dropdown-section { min-width: 220px; }
.site-nav__dropdown-title {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gris);
    margin-bottom: 16px;
    font-weight: 600;
}
.site-nav__dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Chaque item du dropdown : icône + label + description */
.site-nav__dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--c-charbon);
    text-decoration: none;
    transition: background .2s var(--ease);
}
.site-nav__dropdown-item:hover {
    background: var(--c-creme);
    color: var(--c-charbon);
}
.site-nav__dropdown-item.is-active {
    background: rgba(124, 140, 92, 0.12);
}

.site-nav__dropdown-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    background: #357655;          /* vert du footer */
    border: 1px solid #357655;
    border-radius: 8px;
    color: var(--c-blanc);
    transition: all .2s var(--ease);
}
.site-nav__dropdown-item:hover .site-nav__dropdown-icon {
    background: #2c6248;          /* vert footer, plus foncé au survol */
    color: var(--c-blanc);
    border-color: #2c6248;
}

.site-nav__dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}
.site-nav__dropdown-label {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--c-charbon);
}
.site-nav__dropdown-desc {
    font-size: 0.78rem;
    color: var(--c-gris);
}

/* === CTA Contact === */
.site-nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    background: #fbb03b;
    color: var(--c-charbon);
    border-radius: 999px;
    transition: all .2s var(--ease);
    white-space: nowrap;
}
.site-nav__cta:hover {
    background: #e8991f;
    color: var(--c-charbon);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(251, 176, 59, 0.3);
}
.site-nav__cta.is-active { box-shadow: 0 0 0 3px rgba(251, 176, 59, 0.3); }

/* === Variante : header transparent (sur le hero de la home) === */
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav__link {
    color: var(--c-blanc);
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav__link:hover,
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav__item--dropdown.is-open .site-nav__link {
    background: rgba(255, 255, 255, 0.15);
    color: var(--c-blanc);
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav__link.is-active {
    background: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   HERO (page accueil - carrousel)
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--c-blanc);
    text-align: center;
}

/* Structure du carrousel - slides empilées */
.hero__slides {
    position: absolute; inset: 0;
    z-index: 1;
}
.hero__slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}
.hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.hero__slide .hero__content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out .3s, transform 1s ease-out .3s;
}
.hero__slide.is-active .hero__content {
    opacity: 1;
    transform: translateY(0);
}

.hero__video, .hero__poster {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero__poster { z-index: 1; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(43,42,38,.45) 0%, rgba(43,42,38,.35) 40%, rgba(43,42,38,.6) 100%);
    z-index: 2;
}
.hero__content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 24px;
    display: grid;
    place-items: center;
    height: 100%;
    margin: 0 auto;
    align-content: center;
}
.hero__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}
.hero__title {
    color: var(--c-blanc);
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; color: var(--c-sable); font-weight: 400; }
.hero__subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 3;
    color: var(--c-blanc); opacity: 0.7;
    font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll::after {
    content: ''; width: 1px; height: 32px;
    background: var(--c-blanc);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* === Carrousel : pastilles (dots) === */
.hero__dots {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex; gap: 12px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.hero__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: all .3s var(--ease);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-active {
    background: var(--c-blanc);
    width: 30px;
    border-radius: 10px;
}

/* === Carrousel : flèches de navigation === */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    color: var(--c-blanc);
    font-size: 2rem;
    line-height: 1;
    display: grid; place-items: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    opacity: 0.7;
}
.hero__nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.06);
}
.hero__nav--prev { left: 32px; }
.hero__nav--next { right: 32px; }

@media (max-width: 768px) {
    .hero__nav { width: 44px; height: 44px; font-size: 1.5rem; }
    .hero__nav--prev { left: 12px; }
    .hero__nav--next { right: 12px; }
    .hero__dots { bottom: 24px; gap: 14px; }
    /* Zone tactile élargie (≥44px de haut) sans changer le visuel des pastilles */
    .hero__dot { position: relative; }
    .hero__dot::after {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 24px; height: 44px;
    }
}

/* ============================================================
   SECTIONS génériques
   ============================================================ */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--sable { background: var(--c-sable); }
.section--creme { background: var(--c-creme); }
.section--charbon { background: var(--c-charbon); color: var(--c-blanc); }
.section--charbon h2, .section--charbon h3, .section--charbon h4 { color: var(--c-blanc); }
.section--charbon p { color: rgba(255,255,255,0.78); }

/* Blocs citation : fond ambre (couleur des CTA) — unifie les anciens fonds beige/charbon.
   Cible uniquement les sections contenant une citation (.quote__text). */
.section--charbon:has(.quote__text),
.section--sable:has(.quote__text) { background: #fbb03b; }
.section--charbon:has(.quote__text) .quote__text,
.section--sable:has(.quote__text) .quote__text { color: var(--c-charbon); }
.section--charbon:has(.quote__text) .quote__author,
.section--sable:has(.quote__text) .quote__author { color: rgba(43, 42, 38, 0.7); }

.section__header { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-sauge);
    margin-bottom: 1rem;
}
.section__title { margin-bottom: 1rem; }
.section__lead { font-size: 1.1rem; color: var(--c-gris); }

/* Page hero (intérieur - pas la home) */
.page-hero {
    padding: calc(var(--header-h) + 80px) 0 80px;
    background: var(--c-sable);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.page-hero__eyebrow {
    display: inline-block; font-size: 0.78rem;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--c-sauge); margin-bottom: 1.25rem;
}
.page-hero__title { margin-bottom: 1.25rem; }
.page-hero__lead { font-size: 1.15rem; max-width: 600px; margin: 0 auto; color: var(--c-gris); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
    background: var(--c-blanc);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
/* Aperçus presse : orientations mixtes (paysage + portrait) → image entière sans rognage */
.card__img--press { object-fit: contain; background: var(--c-creme); }
.card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card__title { margin-bottom: .5rem; }
/* Montant tarifaire (pas un titre → <p>, mais rendu en grand serif) */
.card__price { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1.1; color: var(--c-charbon); margin-bottom: .35rem; }
.card__meta { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--c-sauge); margin-bottom: .75rem; }
/* Badge d'icône pour les cartes "atouts / features" */
.card__icon {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(124, 140, 92, 0.12);
    color: var(--c-sauge);
    margin-bottom: 1.25rem;
}
.card__link { margin-top: auto; padding-top: 1rem; font-weight: 500; color: var(--c-terre-dark); }
.card__link::after { content: ' →'; transition: transform .2s var(--ease); display: inline-block; }
.card:hover .card__link::after { transform: translateX(4px); }

/* ---------- Feature / split image+text ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* Embed vidéo responsive 16:9 (YouTube via Tarteaucitron) */
.video-embed {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-md); background: var(--c-charbon);
}
.video-embed > div { width: 100%; height: 100%; }
.video-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.split__text h2 { margin-bottom: 1.25rem; }

/* ---------- Quote ---------- */
.quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.quote__text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.4;
    color: var(--c-charbon);
    font-weight: 400;
    margin-bottom: 1.25rem;
}
.quote__author {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--c-sauge);
}

/* ---------- Témoignages (réassurance) ---------- */
/* Badge note Google dans l'en-tête de section */
.reviews-badge {
    display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center;
    margin-top: 1.25rem;
    font-size: 0.92rem; color: var(--c-gris);
}
.reviews-badge__stars { color: #fbb03b; letter-spacing: .08em; font-size: 1.05rem; }
.reviews-badge strong { color: var(--c-charbon); }

/* Carte témoignage (s'appuie sur .card) */
.testimonial { margin: 0; } /* reset marge <figure> */
.testimonial .card__body { gap: 1rem; }
.testimonial__stars { color: #fbb03b; letter-spacing: .08em; font-size: 1.05rem; }
.testimonial__text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--c-charbon);
    margin: 0;
}
.testimonial__foot { margin-top: auto; display: flex; flex-direction: column; gap: .15rem; padding-top: .5rem; }
.testimonial__author { font-weight: 600; color: var(--c-charbon); }
.testimonial__context { font-size: 0.85rem; color: var(--c-sauge); }
.testimonial__source {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--c-gris); margin-top: .35rem;
}
.testimonial__more { text-align: center; margin-top: clamp(32px, 4vw, 48px); }
.testimonial__more .card__link { color: var(--c-terre-dark); font-weight: 500; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__value { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 500; color: var(--c-sauge); display: block; }
.stat__label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--c-gris); margin-top: .5rem; }

/* ===== Planning des cours (tableau + dates en pastilles) - pensé pour fond charbon ===== */
.schedule-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schedule { width: 100%; border-collapse: collapse; min-width: 460px; }
.schedule thead th {
    text-align: left; padding: 14px 18px;
    font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
    color: var(--c-sable);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.schedule tbody td {
    padding: 16px 18px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.schedule tbody tr:last-child td { border-bottom: 0; }
.schedule tbody tr { transition: background .2s var(--ease); }
.schedule tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
.schedule__public { font-weight: 600; color: #fff; }
.schedule__time { white-space: nowrap; font-variant-numeric: tabular-nums; }

.date-block__title { color: var(--c-sable); margin-bottom: 1rem; font-size: 1.05rem; }
.date-block__title span { color: rgba(255, 255, 255, 0.6); font-size: .85rem; font-weight: 400; }
.date-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.date-row__month {
    flex: 0 0 48px;
    color: var(--c-sable); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.date-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.date-pill {
    display: inline-flex; min-width: 30px; justify-content: center;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92); font-size: .82rem; font-variant-numeric: tabular-nums;
}

/* ---------- Liste bullet points (équithérapie) ---------- */
.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 1.5rem; }
.checklist li {
    display: flex; gap: 12px; align-items: flex-start;
    padding-left: 0;
}
.checklist li::before {
    content: '✓';
    color: var(--c-sauge);
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- FAQ accordion ---------- */
.faq-section { margin-bottom: 60px; }
.faq-section:last-child { margin-bottom: 0; }
.faq-section__title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-sauge);
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(43, 42, 38, 0.1);
}
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
    background: var(--c-blanc);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(43, 42, 38, 0.05);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.02rem;
    list-style: none;
    transition: background .2s var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: var(--c-creme); }
.faq-item__icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    color: var(--c-sauge);
    font-size: 1.4rem;
    font-weight: 400;
    transition: transform .25s var(--ease);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
    padding: 0 24px 22px;
    color: var(--c-gris);
    line-height: 1.7;
}
.faq-item__a a { color: var(--c-terre-dark); text-decoration: underline; text-decoration-color: rgba(139,111,71,.3); text-underline-offset: 3px; }

/* ---------- Galerie ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.gallery-grid__item {
    display: block;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--c-sable);
    cursor: zoom-in;
}
.gallery-grid__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease), filter .35s var(--ease);
}
.gallery-grid__item:hover img {
    transform: scale(1.05);
    filter: brightness(.95);
}
.gallery-grid__item::after {
    content: ''; position: absolute; inset: 0;
    box-shadow: inset 0 0 0 0 rgba(124, 140, 92, 0);
    transition: box-shadow .25s var(--ease);
    pointer-events: none;
}
.gallery-grid__item:hover::after {
    box-shadow: inset 0 0 0 3px var(--c-sauge);
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0;
    z-index: 200;
    background: rgba(20, 19, 16, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.lightbox.is-open {
    display: flex;
    opacity: 1;
}
.lightbox__img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
    animation: lightboxIn .4s var(--ease) both;
    cursor: default;
}
@keyframes lightboxIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--c-blanc);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease);
    backdrop-filter: blur(6px);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__caption {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    max-width: 80%;
}
@media (max-width: 768px) {
    .lightbox { padding: 16px; }
    .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox__nav { width: 40px; height: 40px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
}

/* ---------- Cheval card (page chevaux) ---------- */
.horse-card { background: var(--c-blanc); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s var(--ease); }
.horse-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.horse-card__img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.horse-card__body { padding: 24px; }
.horse-card__name { font-family: var(--font-serif); font-size: 1.6rem; color: var(--c-charbon); margin-bottom: .25rem; }
.horse-card__breed { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--c-sauge); margin-bottom: .75rem; }
.horse-card__desc { font-size: 0.95rem; }

/* ---------- Formulaire ---------- */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-gris); font-weight: 500; }
.form__field input,
.form__field textarea,
.form__field select {
    padding: 14px 16px;
    font: inherit; font-size: 1rem;
    border: 1px solid #d6cfc1;
    border-radius: var(--radius-sm);
    background: var(--c-blanc);
    color: var(--c-charbon);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
    outline: none;
    border-color: var(--c-sauge);
    box-shadow: 0 0 0 3px rgba(124, 140, 92, 0.15);
}
.form__field textarea { resize: vertical; min-height: 140px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__honeypot { position: absolute; left: -9999px; }
.form__msg { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form__msg--success { background: #e3ecd6; color: #4a5a32; }
.form__msg--error { background: #f5dada; color: #7a3030; }

/* ---------- Contact split ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info { background: var(--c-charbon); color: var(--c-blanc); padding: 40px; border-radius: var(--radius-md); }
.contact-info h3 { color: var(--c-blanc); }
.contact-info a { color: var(--c-sable); }
.contact-info a:hover { color: var(--c-blanc); }
.contact-info__block { margin-bottom: 28px; }
.contact-info__block:last-child { margin-bottom: 0; }
.contact-info__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--c-sauge); margin-bottom: .5rem; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #357655;
    color: rgba(255,255,255,0.82);
    padding: 28px 0 0;
    margin-top: 0;
}
.site-footer__inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px 16px;
    display: grid;
    grid-template-columns: 1fr 1.9fr 0.8fr;
    gap: 24px;
    font-size: 0.85rem;
    line-height: 1.45;
}
/* Titres de colonnes du footer (balises h2 pour la hiérarchie, apparence d'origine conservée) */
.site-footer__title {
    color: var(--c-blanc); margin-bottom: .5rem;
    font-family: var(--font-sans); font-weight: 600;
    font-size: .72rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--c-blanc); }
/* Marque centrée en haut du footer */
.site-footer__brand { text-align: center; max-width: 920px; margin: 0 auto; padding: 0 24px 16px; }
.site-footer__name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--c-blanc); margin-bottom: .15rem; }
.site-footer__quote { font-style: italic; font-family: var(--font-serif); font-size: .95rem; }
.site-footer__counter-row { text-align: center; padding: 0 24px 14px; }
.site-footer__counter {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px 5px 10px;
    border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
    font-size: 0.78rem; color: rgba(255,255,255,0.7);
    font-variant-numeric: tabular-nums;
}
.site-footer__counter-icon { display: inline-flex; opacity: .75; }
.site-footer__nav-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.site-footer__nav-group h3 {
    color: var(--c-sable); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
    margin: 0 0 .45rem; font-weight: 600; font-family: var(--font-sans);
}
.site-footer__nav-group ul { list-style: none; padding: 0; margin: 0; }
.site-footer__nav-group li, .site-footer__social li { margin-bottom: 4px; line-height: 1.5; }
.site-footer address { font-style: normal; margin-bottom: .5rem; }
.site-footer__col p { margin-bottom: .5rem; }
.site-footer__legal {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 14px 16px;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0;
}
.site-footer__legal p { color: rgba(255,255,255,0.7); margin: 0; }
.site-footer__legal a { color: rgba(255,255,255,0.85); }
.site-footer__credit {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin: 10px 0 0;
    font-size: 0.78rem; color: rgba(255,255,255,0.6);
}
.site-footer__heart { color: #fff; }
.site-footer__credit a { display: inline-flex; transition: opacity .2s var(--ease); }
.site-footer__credit-logo { height: 22px; width: auto; opacity: .85; transition: opacity .2s var(--ease); }
.site-footer__credit a:hover .site-footer__credit-logo { opacity: 1; }

/* Bouton « remonter en haut » — flottant bas-droite, vert footer, apparaît au scroll.
   Décalé vers le haut pour ne pas chevaucher l'icône cookies (bas-droite). */
.scroll-top {
    position: fixed;
    bottom: 92px; right: 22px;
    z-index: 90;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: #357655; color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(43, 42, 38, 0.28);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease), visibility .3s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: #2c6248; }
.scroll-top:focus-visible { outline: 2px solid var(--c-sable); outline-offset: 3px; }
@media (max-width: 768px) {
    .scroll-top { width: 42px; height: 42px; bottom: 82px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-top, .scroll-top.is-visible { transform: none; transition: opacity .2s linear, visibility .2s linear; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* === Burger toggle === */
.site-header__toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--c-charbon);
    align-items: center;
    justify-content: center;
}
.site-header__toggle-icon { display: flex; align-items: center; justify-content: center; }
.site-header__toggle-icon--close { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon--menu { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon--close { display: flex; }
.site-header[data-transparent="true"]:not(.is-scrolled) .site-header__toggle { color: var(--c-blanc); }

/* === Tablette / mobile : burger + panel plein écran avec accordéons === */
@media (max-width: 1100px) {
    .site-header__toggle { display: inline-flex; }

    /* IMPORTANT : sur mobile, on supprime backdrop-filter du header.
       Sinon il crée un containing block qui emprisonne la nav fixed dans le header,
       ce qui empêche le menu burger de couvrir tout l'écran. */
    .site-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .site-nav {
        position: fixed; inset: 0;
        background: var(--c-creme);
        padding: 100px 24px 40px;
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        overflow-y: auto;
        z-index: 99;
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    .site-nav__item { width: 100%; }
    .site-nav__item--cta { margin-top: 24px; }

    .site-nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 18px 12px;
        font-size: 1.1rem;
        font-family: var(--font-serif);
        font-weight: 500;
        border-radius: 0;
        border-bottom: 1px solid rgba(43,42,38,0.08);
        background: transparent !important;
        color: var(--c-charbon) !important;
    }
    .site-nav__link:hover { background: rgba(43,42,38,0.04) !important; }
    .site-nav__link.is-active,
    .site-nav__item--dropdown.is-active > .site-nav__link {
        color: var(--c-sauge) !important;
    }
    /* État "ouvert" clair sur mobile (le fond global !important masquait l'indication) */
    .site-nav__item--dropdown.is-open > .site-nav__link {
        background: rgba(124, 140, 92, 0.12) !important;
        color: var(--c-sauge) !important;
    }

    /* Dropdown sur mobile : accordéon */
    .site-nav__dropdown {
        position: static;
        transform: none !important;
        background: transparent;
        backdrop-filter: none; -webkit-backdrop-filter: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease);
    }
    .site-nav__dropdown::before { display: none; }
    .site-nav__item--dropdown.is-open .site-nav__dropdown { max-height: 1200px; padding-bottom: 12px; }
    .site-nav__dropdown-inner { flex-direction: column; gap: 16px; padding: 12px 0 0; }
    .site-nav__dropdown-section { min-width: 0; padding: 0 8px; }
    .site-nav__dropdown-title { font-size: 0.7rem; margin-bottom: 10px; }
    .site-nav__dropdown-item { padding: 10px 8px; }

    /* CTA Contact en pleine largeur sur mobile */
    .site-nav__cta {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1.05rem;
    }

    /* Header transparent → verre dépoli sur mobile (le menu plein écran couvre la page à l'ouverture) */
    .site-header[data-transparent="true"]:not(.is-scrolled) {
        background: rgba(247, 243, 235, 0.55);
        backdrop-filter: saturate(160%) blur(14px);
        -webkit-backdrop-filter: saturate(160%) blur(14px);
    }
    .site-header[data-transparent="true"]:not(.is-scrolled) .site-header__brand,
    .site-header[data-transparent="true"]:not(.is-scrolled) .site-header__toggle {
        color: var(--c-charbon);
    }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .brand-logo { height: 56px; }
}

@media (max-width: 560px) {
    .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .form__row { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .hero { min-height: 540px; }
    .contact-info { padding: 28px; }
}

/* ============================================================
   Correctifs ergonomie mobile (audit 2026-05) :
   cibles tactiles du footer + bannière de consentement
   ============================================================ */
@media (max-width: 768px) {
    /* Liens du footer : zone tactile plus confortable (≈33px) */
    .site-footer__nav-group li,
    .site-footer__social li { margin-bottom: 0; }
    .site-footer__nav-group a,
    .site-footer__social a,
    .site-footer__legal a { display: inline-block; padding: 8px 0; }

    /* Bannière de consentement Tarteaucitron : tenir dans le viewport */
    #tarteaucitronAlertBig,
    .tarteaucitronAlertBigBottom {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        padding: 16px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        overflow-wrap: break-word !important;
    }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FAQ : recherche / filtre instantané (UI injectée par main.js)
   ============================================================ */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
.faq-search { padding: 28px 0 4px; }
.faq-search .container { max-width: 720px; }
.faq-search__box { position: relative; display: flex; align-items: center; }
.faq-search__box svg {
    position: absolute; left: 18px;
    color: var(--c-sauge); opacity: .65;
    pointer-events: none;
}
.faq-search__input {
    width: 100%;
    padding: 15px 18px 15px 48px;
    font: inherit; font-size: 1rem;
    color: var(--c-charbon);
    background: var(--c-blanc);
    border: 1px solid #d6cfc1;
    border-radius: 999px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-search__input::placeholder { color: var(--c-gris); opacity: .85; }
.faq-search__input:focus {
    outline: none;
    border-color: var(--c-sauge);
    box-shadow: 0 0 0 3px rgba(124, 140, 92, 0.15);
}
.faq-search__count { margin: 12px 4px 0; min-height: 1.2em; font-size: .85rem; color: var(--c-gris); }

.faq-noresult { padding: 8px 0 12px; }
.faq-noresult .container { max-width: 720px; }
.faq-noresult__card {
    text-align: center;
    background: var(--c-creme);
    border: 1px dashed #cdbfa6;
    border-radius: 16px;
    padding: 32px 24px;
}
.faq-noresult__lead { font-family: var(--font-serif); font-size: 1.25rem; color: var(--c-charbon); margin-bottom: .5rem; }
.faq-noresult__card p { color: var(--c-gris); }
.faq-noresult__card .btn { margin-top: 18px; }
