/* Domaine de Jonquière — feuille de style commune (charte reprise de la maquette validée n° 27).
   Édité sur place dans www/ (pas généré). Variables → composants → pages. */

/* Polices auto-hébergées (2026-10-09) : plus aucun appel à Google Fonts, l'IP du visiteur ne part pas chez Google */
/* latin */
@font-face{font-family:'Alex Brush';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/alex-brush-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* latin-ext */
@font-face{font-family:'Alex Brush';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/alex-brush-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* latin */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400 500;font-display:swap;src:url(/assets/fonts/cormorant-garamond-var-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* latin-ext */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400 500;font-display:swap;src:url(/assets/fonts/cormorant-garamond-var-italic-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* latin */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/cormorant-garamond-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* latin-ext */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/cormorant-garamond-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* latin */
@font-face{font-family:'Jost';font-style:normal;font-weight:300 600;font-display:swap;src:url(/assets/fonts/jost-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* latin-ext */
@font-face{font-family:'Jost';font-style:normal;font-weight:300 600;font-display:swap;src:url(/assets/fonts/jost-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

:root {
  --vert: #8dc63f; --vert-fonce: #5c8f2a; --vert-nuit: #1f3a23;
  --encre: #17181a; --noir: #121412;
  --creme: #f7f4ee; --creme-2: #f4f1ea; --creme-3: #e9e5da;
  --gris: #6b6f66; --gris-fonce: #4b4e48; --gris-clair: #8a8d85;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Jost, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Alex Brush', 'Brush Script MT', cursive;
  --largeur: 1220px; --marge: clamp(18px, 4vw, 48px);
  --ombre: 0 18px 50px rgba(23, 24, 26, .12);
  --rayon: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vert-fonce); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 5.2vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }
em, .it { font-style: italic; font-weight: 400; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--vert-fonce); outline-offset: 3px; }
::selection { background: var(--vert); color: var(--noir); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mise en page ---------- */
.conteneur { width: min(100% - 2 * var(--marge), var(--largeur)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-serree { padding: clamp(40px, 6vw, 80px) 0; }
.section-sombre { background: var(--encre); color: var(--creme); }
.section-nuit { background: var(--vert-nuit); color: var(--creme); }
.section-alt { background: var(--creme-2); }
.section-vert { background: var(--vert); color: var(--noir); }
.entete-section { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.entete-section.centre { margin-inline: auto; text-align: center; }
.deux-colonnes { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } .deux-colonnes.inverse > :first-child { order: 2; } }

.kicker { display: inline-block; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--vert-fonce); margin-bottom: 16px; }
.section-sombre .kicker, .section-nuit .kicker { color: var(--vert); }
.script { font-family: var(--script); font-weight: 400; color: var(--vert-fonce); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.section-sombre .script, .section-nuit .script { color: var(--vert); }
.sous-titre { font-size: clamp(18px, 1.5vw, 21px); color: var(--gris); max-width: 640px; }
.section-sombre .sous-titre, .section-nuit .sous-titre { color: rgba(247, 244, 238, .78); }
.badge { display: inline-block; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 7px 10px; border: 1px solid currentColor; border-radius: 2px; }
.badge-plein { background: var(--vert); color: var(--noir); border-color: var(--vert); }
.filet { width: 56px; height: 2px; background: var(--vert); margin: 18px 0 26px; }

/* ---------- Grilles → rails horizontaux sur mobile (standard BE WEB) ---------- */
.grille { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grille-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grille-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
@media (max-width: 720px) {
  .rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--marge) 18px; margin-inline: calc(-1 * var(--marge)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; }
  .univers-grille.rail { display: flex; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 1px solid var(--encre); border-radius: var(--rayon); font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--encre); background: transparent; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn:hover { background: var(--encre); color: var(--creme); transform: translateY(-1px); }
.btn-plein { background: var(--vert); border-color: var(--vert); color: var(--noir); }
.btn-plein:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: var(--creme); }
.btn-clair { border-color: rgba(247, 244, 238, .6); color: var(--creme); }
.btn-clair:hover { background: var(--creme); color: var(--encre); border-color: var(--creme); }
.btn-lien { border: 0; padding: 0; letter-spacing: .16em; gap: 8px; }
.btn-lien::after { content: '→'; transition: transform .25s; }
.btn-lien:hover { background: none; color: var(--vert-fonce); transform: none; }
.btn-lien:hover::after { transform: translateX(4px); }
.section-sombre .btn-lien, .section-nuit .btn-lien { color: var(--creme); }
.section-sombre .btn-lien:hover, .section-nuit .btn-lien:hover { color: var(--vert); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .4s, box-shadow .4s, padding .3s; padding: 18px 0; color: var(--creme); }
.entete.sur-clair { color: var(--encre); }
.entete.defile { background: rgba(23, 24, 26, .92); backdrop-filter: blur(12px); color: var(--creme); padding: 10px 0; box-shadow: 0 6px 30px rgba(0, 0, 0, .18); }
.entete .conteneur { display: flex; align-items: center; gap: 24px; }
.entete-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.entete-logo img { height: 64px; width: auto; transition: height .3s; }
.entete .logo-sombre, .entete.sur-clair:not(.defile) .logo-clair { display: none; }
.entete.sur-clair:not(.defile) .logo-sombre { display: block; }
.entete.defile .entete-logo img { height: 48px; }
.entete-logo span { font: 500 clamp(18px, 1.6vw, 22px)/1 var(--serif); }
.nav-principale { display: flex; gap: 6px; }
.nav-principale a { padding: 10px 14px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; position: relative; }
.nav-principale a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-principale a:hover, .nav-principale a[aria-current="page"] { color: var(--vert); }
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.entete-actions { display: flex; align-items: center; gap: 8px; }
.btn-son { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid currentColor; border-radius: 40px; background: transparent; color: inherit; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .85; transition: opacity .25s, background .25s; }
.btn-son:hover { opacity: 1; background: rgba(141, 198, 63, .18); }
.btn-son [data-son-off] { display: none; }
.btn-son.muet [data-son-on] { display: none; }
.btn-son.muet [data-son-off] { display: inline-flex; }
.btn-son.muet { opacity: .6; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 40px; background: transparent; color: inherit; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ''; position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger span { top: 21px; }
.burger span::before { top: -6px; left: 0; right: 0; } .burger span::after { top: 6px; left: 0; right: 0; }
.burger.ouvert span { background: transparent; }
.burger.ouvert span::before { transform: translateY(6px) rotate(45deg); }
.burger.ouvert span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1000px) { .nav-principale { display: none; } .burger { display: block; } .btn-son .libelle { display: none; } .btn-son { width: 40px; padding: 0; justify-content: center; } }

.menu-mobile { position: fixed; inset: 0; z-index: 55; background: var(--encre); color: var(--creme); padding: 110px var(--marge) 40px; overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(247, 244, 238, .12); font: 500 22px/1.2 var(--serif); }
.menu-mobile .sous { padding-left: 18px; font: 400 15px/1.2 var(--sans); color: rgba(247, 244, 238, .75); }
.menu-mobile .kicker { margin: 28px 0 8px; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; color: var(--creme); overflow: hidden; isolation: isolate; }
.hero-court { min-height: min(64vh, 620px); }
.hero-fond { position: absolute; inset: 0; z-index: -2; background: var(--encre) center/cover no-repeat; animation: kb 26s ease-in-out infinite alternate; }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; }
.hero-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 20, 18, .35) 0%, rgba(18, 20, 18, .15) 40%, rgba(18, 20, 18, .82) 100%); }
.hero .conteneur { padding: 150px 0 clamp(48px, 7vw, 90px); }
.hero h1 { max-width: 14ch; text-wrap: balance; animation: monte 1s .2s both; }
.hero .kicker { color: var(--vert); animation: monte .8s .05s both; }
.hero .sous-titre { color: rgba(247, 244, 238, .82); animation: monte 1s .4s both; }
.hero .boutons { animation: monte 1s .55s both; }
.hero-bandeau { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(247, 244, 238, .25); font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 244, 238, .75); animation: fondu 1.2s .9s both; }
.hero-typo { background: var(--encre); }
.hero-typo .hero-fond { background: radial-gradient(70% 60% at 80% 10%, rgba(141, 198, 63, .22), transparent 70%), var(--encre); animation: none; }
.hero-univers { position: absolute; right: var(--marge); top: 120px; z-index: 1; opacity: .9; }
.hero-univers img { height: 110px; width: auto; }
@media (max-width: 720px) { .hero-univers { display: none; } }

/* ---------- Cartes ---------- */
.carte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--creme-3); border-radius: var(--rayon); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--creme-2); }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.carte:hover .carte-image img { transform: scale(1.05); }
.carte-image.large { aspect-ratio: 16 / 10; }
.carte-corps { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte-corps h3 { margin: 0; }
.carte-corps p { color: var(--gris); margin: 0; font-size: 15.5px; }
.carte-corps .btn-lien { margin-top: auto; padding-top: 10px; }
.carte-badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(23, 24, 26, .85); color: var(--creme); backdrop-filter: blur(6px); }
.carte-badge.vendu { background: #b23a3a; }
.carte-typo { background: var(--vert-nuit); color: var(--creme); }
.carte-typo .carte-corps p { color: rgba(247, 244, 238, .75); }
.carte-typo .numero { font: 500 64px/1 var(--serif); color: var(--vert); }
.carte-sombre { background: var(--encre); color: var(--creme); border-color: transparent; }
.carte-sombre .carte-corps p { color: rgba(247, 244, 238, .72); }
.carte-lien { position: absolute; inset: 0; z-index: 2; }
a.carte, .carte a.carte-lien { color: inherit; }

/* Univers (portail) */
.univers-grille { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.univers-carte { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 28px; color: var(--creme); border-radius: var(--rayon); overflow: hidden; isolation: isolate; }
.univers-carte img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s, filter 1s; }
.univers-carte::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(18, 20, 18, .88)); transition: opacity .5s; }
.univers-carte:hover img { transform: scale(1.06); }
.univers-carte h2 { font-size: clamp(28px, 2.4vw, 38px); margin: 8px 0 6px; }
.univers-carte p { color: rgba(247, 244, 238, .8); margin: 0 0 14px; font-size: 15px; }
.univers-carte .btn-lien { color: var(--vert); }
.univers-carte .numero { position: absolute; top: 20px; right: 22px; font: 400 15px/1 var(--serif); letter-spacing: .2em; color: rgba(247, 244, 238, .8); }

/* Liste de points / chiffres */
.liste-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.liste-points li { position: relative; padding-left: 30px; }
.liste-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 16px; height: 2px; background: var(--vert); }
.chiffres { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.chiffre b { display: block; font: 500 clamp(40px, 4vw, 60px)/1 var(--serif); color: var(--vert-fonce); }
.section-sombre .chiffre b, .section-nuit .chiffre b { color: var(--vert); }
.chiffre span { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.section-sombre .chiffre span, .section-nuit .chiffre span { color: rgba(247, 244, 238, .65); }

/* Étapes / processus */
.etapes { counter-reset: etape; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.etape { counter-increment: etape; padding-top: 18px; border-top: 1px solid var(--creme-3); }
.etape::before { content: counter(etape, decimal-leading-zero); display: block; font: 500 34px/1 var(--serif); color: var(--vert-fonce); margin-bottom: 12px; }
.section-sombre .etape { border-color: rgba(247, 244, 238, .18); } .section-sombre .etape::before { color: var(--vert); }
.etape h3 { font-size: 22px; } .etape p { color: var(--gris); font-size: 15.5px; margin: 0; }
.section-sombre .etape p { color: rgba(247, 244, 238, .72); }

/* Tableau de caractéristiques */
.tableau { width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--creme-3); vertical-align: top; }
.tableau th { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.tableau-enveloppe { overflow-x: auto; }
.specs { display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.specs div { border-top: 1px solid var(--creme-3); padding-top: 10px; }
.specs dt { font: 500 10px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.specs dd { margin: 2px 0 0; font: 500 20px/1.2 var(--serif); }

/* Logos de marques */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 44px; }
.logos img { height: 44px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos a:hover img { filter: none; opacity: 1; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.formulaire .plein { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .champ > span { font: 500 10.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.champ input, .champ select, .champ textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--gris-clair); background: transparent; font: 400 17px/1.4 var(--sans); color: inherit; border-radius: 0; transition: border-color .25s; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--vert-fonce); }
.champ input.invalide { border-bottom-color: #c9552e; }
.section-sombre .champ input, .section-sombre .champ select, .section-sombre .champ textarea, .section-nuit .champ input, .section-nuit .champ select, .section-nuit .champ textarea { border-bottom-color: rgba(247, 244, 238, .35); color: var(--creme); }
.section-sombre .champ select option, .section-nuit .champ select option { color: var(--encre); }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--creme-3); border-radius: 40px; font: 400 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: inherit; cursor: pointer; transition: border-color .25s, background .25s; }
.choix label:has(input:checked) { background: var(--vert); border-color: var(--vert); color: var(--noir); }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pot-de-miel { position: absolute; left: -9999px; }
.confirmation { margin-top: 22px; padding: 18px 22px; border-left: 3px solid var(--vert); background: rgba(141, 198, 63, .12); font-size: 15.5px; }
.confirmation[hidden] { display: none; }
.note-formulaire { font-size: 13.5px; color: var(--gris); margin-top: 12px; }
.section-sombre .note-formulaire, .section-nuit .note-formulaire { color: rgba(247, 244, 238, .6); }

/* ---------- CTA final ---------- */
.cta-final { background: var(--vert-nuit); color: var(--creme); padding: clamp(60px, 8vw, 110px) 0; text-align: center; }
.cta-final h2 { max-width: 20ch; margin-inline: auto; }
.cta-final p { color: rgba(247, 244, 238, .78); max-width: 560px; margin: 0 auto; }
.cta-final .boutons { justify-content: center; }

/* ---------- Fil d'Ariane ---------- */
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 244, 238, .7); margin-bottom: 20px; animation: fondu .8s both; }
.ariane a:hover { color: var(--vert); }
.ariane span::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: rgba(247, 244, 238, .78); padding: clamp(56px, 7vw, 90px) 0 30px; font-size: 15px; }
.pied-grille { display: grid; gap: 36px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.pied-marque { grid-column: span 2; }
.pied-marque img { height: 96px; width: auto; margin-bottom: 14px; }
.pied h4 { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vert); margin-bottom: 16px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a:hover { color: var(--vert); }
.pied-coord li { display: flex; gap: 10px; align-items: flex-start; }
.pied-coord svg { flex: none; margin-top: 4px; color: var(--vert); }
.pied-bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(247, 244, 238, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 12.5px; color: rgba(247, 244, 238, .5); }
.pied-bas a:hover { color: var(--vert); }
@media (max-width: 720px) { .pied-marque { grid-column: span 1; } }

/* ---------- Bandeau cookies ---------- */
.cookies { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: min(420px, calc(100vw - 36px)); background: var(--encre); color: var(--creme); padding: 22px 24px; border-radius: var(--rayon); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); font-size: 14px; animation: monte .6s both; }
.cookies[hidden] { display: none; }
.cookies p { color: rgba(247, 244, 238, .8); margin: 0 0 14px; line-height: 1.5; }
.cookies a { color: var(--vert); }
.cookies .boutons { margin: 0; gap: 8px; }
.cookies .btn { padding: 11px 16px; font-size: 11px; }

/* ---------- Apparitions au défilement (IntersectionObserver dans site.js) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-groupe > * { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal-groupe.visible > * { opacity: 1; transform: none; }
.reveal-groupe.visible > :nth-child(2) { transition-delay: .1s; } .reveal-groupe.visible > :nth-child(3) { transition-delay: .2s; }
.reveal-groupe.visible > :nth-child(4) { transition-delay: .3s; } .reveal-groupe.visible > :nth-child(5) { transition-delay: .4s; } .reveal-groupe.visible > :nth-child(n+6) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-groupe > * { opacity: 1; transform: none; transition: none; } .hero-fond { animation: none; } }

/* ---------- Saisons (saisons.js) ---------- */
.particules { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.particule { position: absolute; top: -60px; background-size: contain; background-repeat: no-repeat; will-change: transform; }
.particule.feuille { animation: feuille linear infinite; }
.particule.flocon { animation: flocon linear infinite; }
.particule.graine { animation: graine linear infinite; }
.saison-bordure { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; height: min(9vw, 110px); pointer-events: none; background: bottom center / auto 100% repeat-x; opacity: .9; }
.saison-decor-haut { position: fixed; left: 0; top: 0; z-index: 39; width: min(60vw, 900px); height: min(15vw, 225px); pointer-events: none; background: left top / contain no-repeat; animation: fondu 2s .6s both; }
.selecteur-saison { position: fixed; left: 16px; bottom: 16px; z-index: 65; display: flex; gap: 4px; padding: 6px; background: rgba(23, 24, 26, .88); backdrop-filter: blur(10px); border: 1px solid rgba(247, 244, 238, .2); border-radius: 40px; opacity: .55; transition: opacity .3s; }
.selecteur-saison:hover, .selecteur-saison:focus-within { opacity: 1; }
.selecteur-saison button { border: 0; border-radius: 40px; padding: 8px 11px; background: transparent; color: var(--creme); font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.selecteur-saison button[aria-pressed="true"] { background: var(--vert); color: var(--noir); }
@media (max-width: 720px) { .selecteur-saison { display: none; } }
html.saison-hiver .hero-fond img { filter: saturate(.8) brightness(1.02) contrast(1.02); }
html.saison-automne .hero-fond img { filter: saturate(1.15) sepia(.12); }
html.saison-printemps .hero-fond img { filter: saturate(1.08) brightness(1.03); }
html.saison-ete .hero-fond img { filter: saturate(1.12) contrast(1.03); }

/* ---------- Animations ---------- */
@keyframes monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes feuille { 0% { transform: translate3d(0, -8vh, 0) rotate(0); } 25% { transform: translate3d(6vw, 22vh, 0) rotate(80deg); } 50% { transform: translate3d(-5vw, 50vh, 0) rotate(170deg); } 75% { transform: translate3d(5vw, 78vh, 0) rotate(260deg); } 100% { transform: translate3d(-3vw, 108vh, 0) rotate(360deg); } }
@keyframes flocon { 0% { transform: translate3d(0, -8vh, 0); } 50% { transform: translate3d(3vw, 50vh, 0); } 100% { transform: translate3d(-2vw, 108vh, 0); } }
@keyframes graine { 0% { transform: translate3d(0, -8vh, 0) rotate(0); } 50% { transform: translate3d(-8vw, 52vh, 0) rotate(-40deg); } 100% { transform: translate3d(6vw, 108vh, 0) rotate(30deg); } }

/* ---------- Intro du portail (accueil seulement) ---------- */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--encre); display: grid; place-items: center; color: var(--creme); animation: intro-sortie .9s 2.6s both; pointer-events: none; }
.intro img { height: clamp(90px, 16vw, 170px); width: auto; animation: monte 1.1s .2s both; }
.intro .script { color: var(--vert); animation: fondu 1s 1s both; }
@keyframes intro-sortie { to { opacity: 0; visibility: hidden; } }
html.sans-intro .intro { display: none; }

/* ---------- Divers ---------- */
.encadre { padding: 26px 28px; border-left: 3px solid var(--vert); background: rgba(141, 198, 63, .1); }
.section-sombre .encadre, .section-nuit .encadre { background: rgba(141, 198, 63, .12); }
.galerie { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.galerie figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); background: var(--creme-2); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.galerie figure:hover img { transform: scale(1.05); }
.image-cadre { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.image-cadre img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.faq details { border-top: 1px solid var(--creme-3); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font: 500 22px/1.2 var(--serif); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--vert-fonce); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--gris); margin: 12px 0 0; }
.texte-long { max-width: 760px; } .texte-long h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 1.6em; } .texte-long p, .texte-long li { color: var(--gris-fonce); }
.centre { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }

/* ─── Service de formulaires BE WEB : précisions selon la demande, message de réussite / d'échec, anti-robot ─── */
.formulaire .svc-extra { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.formulaire .svc-extra[hidden] { display: none; }
.beweb-message { grid-column: 1 / -1; margin-top: 8px; }
.beweb-message:empty { display: none; }
.beweb-message p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.beweb-message p + p { margin-top: 6px; }
.beweb-message a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.beweb-ok { padding: 18px 22px; border-left: 3px solid var(--vert); background: rgba(141, 198, 63, .12); }
.beweb-erreur { padding: 18px 22px; border-left: 3px solid #c9552e; background: rgba(201, 85, 46, .1); overflow-wrap: anywhere; }
.beweb-turnstile { margin-top: 8px; }
.formulaire button[type="submit"][disabled] { opacity: .6; cursor: progress; }
.formulaire-renvoi p { margin: 0; }
