/* Bacchus Agent : feuille de la page d'accueil (français et anglais) */
:root {
  --vin: #33050f;          /* aplat principal, identique au fond des gravures */
  --vin-clair: #5c1422;    /* liseré, filets */
  --vin-nuit: #1f0309;     /* blocs sombres */
  --chair: #ffffff;        /* trait des gravures, texte sur aplat */
  --papier: #ffffff;
  --filet: var(--vin-clair);
  --titre: "Oswald", "Arial Narrow", sans-serif;
  --serre: "Sofia Sans Extra Condensed", "Oswald", "Arial Narrow", sans-serif;
  --logo: "Big Shoulders Display", "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --texte: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --marge: max(clamp(16px, 12vw, 175px), calc((100vw - 1400px) / 2));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--vin); color: var(--chair);
  font-family: var(--texte); font-size: 16px; line-height: 1.6;
  border: 5px solid var(--vin-clair); min-height: 100vh; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.clair { background: var(--papier); color: var(--vin); --filet: rgba(51, 5, 15, .22); }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--chair); color: var(--vin); padding: 10px 14px; font-weight: 600; }
.evitement:focus { top: 12px; }
@keyframes bat { 50% { opacity: .25; } }

/* Interrupteur du lancement (assets/reglages.js) : liste d'attente ou inscription ouverte */
html:not([data-inscription="ouverte"]) .si-ouverte { display: none !important; }
html[data-inscription="ouverte"] .si-liste { display: none !important; }
html:not([data-essai="ouvert"]) .si-essai { display: none !important; }
html:not([data-natif="publie"]) .si-natif { display: none !important; }

/* Apparition au défilement */
.rev { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.rev.vu { opacity: 1; transform: none; }
html.sans-js .rev { opacity: 1; transform: none; }

/* Entrée en scène du héros */
h1 .l { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
h1 .l span { display: block; transform: translateY(108%); animation: monte 1s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--n) * 120ms + 150ms); }
@keyframes monte { to { transform: none; } }
.heros .chapeau, .heros .actions, .heros .acces, .heros .amont-heros { opacity: 0; animation: parait .9s ease forwards; animation-delay: .75s; }
.heros .actions { animation-delay: .9s; }
.heros .acces { animation-delay: 1.05s; }
.heros .amont-heros { animation-delay: 1.25s; }
.heros figure { opacity: 0; animation: entre 1.6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: .2s; }
@keyframes parait { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes entre { from { opacity: 0; transform: scale(1.07); } to { opacity: 1; transform: none; } }
[data-px] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rev { opacity: 1; transform: none; transition: none; }
  h1 .l span, .heros .chapeau, .heros .actions, .heros .acces, .heros .amont-heros, .heros figure { animation: none; opacity: 1; transform: none; }
}

/* Navigation */
nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 40px var(--marge) 0; }
nav .liens { display: flex; gap: clamp(18px, 4vw, 70px); }
nav .liens.droite { justify-content: flex-end; align-items: center; gap: clamp(14px, 2.4vw, 40px); }
nav a.lien { font-family: var(--titre); font-weight: 500; font-size: 14px; line-height: 21px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
nav a.lien:hover { text-decoration: underline; text-underline-offset: 5px; }
.marque { font-family: var(--logo); font-weight: 400; font-size: 40.5px; line-height: .9; text-transform: uppercase; text-align: center; padding: 0 10px; transform: scaleX(.84); }
.bouton-nav { font-family: var(--titre); font-weight: 500; font-size: 14px; line-height: 36px; letter-spacing: .1em; text-transform: uppercase; padding: 0 11.25px; background: rgba(255, 255, 255, .2); white-space: nowrap; }
.bouton-nav:hover { background: rgba(255, 255, 255, .3); }
nav a.lien.connexion { padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .55); }
nav a.lien.connexion:hover { text-decoration: none; border-bottom-color: #fff; }
nav a.langue { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .45); padding: 3px 7px; }
nav a.langue:hover { background: rgba(255, 255, 255, .14); }
.acces { margin: 18px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acces a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .55); }
.acces a:hover { text-decoration-color: currentColor; }

/* Héros */
.heros { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; padding: 24px var(--marge) 72px; }
h1 { font-family: var(--titre); font-weight: 200; text-transform: uppercase; font-size: clamp(44px, 5.55vw, 86px); line-height: 1.03; letter-spacing: -.02em; }
.chapeau { margin-top: 24px; max-width: 500px; font-size: 18px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; margin-top: 30px; }
.bouton { font-family: var(--titre); font-weight: 500; font-size: 14px; line-height: 16px; text-transform: uppercase; padding: 10px 12px; display: inline-flex; align-items: center; border: 0; cursor: pointer; }
.bouton.plein { background: var(--chair); color: var(--vin); }
.bouton.plein:hover { opacity: .88; }
.bouton.voile { background: rgba(255, 255, 255, .16); color: var(--chair); }
.bouton.voile:hover { background: rgba(255, 255, 255, .28); }
.bouton.plein.fonce { background: var(--vin); color: var(--chair); }
.bouton.plein.fonce:hover { background: var(--vin-clair); opacity: 1; }
.heros figure img { width: 100%; }

/* Héros : le travail en amont, en chiffres */
.amont-heros { display: block; margin-top: 34px; max-width: 560px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .28); }
.ah-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.ah-chiffres > span { padding: 0 12px; border-left: 1px solid rgba(255, 255, 255, .2); }
.ah-chiffres > span:first-child { padding-left: 0; border-left: 0; }
.ah-chiffres b { display: block; font-family: var(--titre); font-weight: 200; font-size: clamp(28px, 2.9vw, 44px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ah-chiffres small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.3; }
.ah-lien { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--titre); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
.ah-lien svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s; }
.amont-heros:hover .ah-lien svg { transform: translateX(4px); }

/* Bandeau : où en est le projet */
.phrase { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 16px;
  background: var(--chair); color: var(--vin); padding: 22px 20px; text-align: center;
  font-family: var(--titre); font-weight: 300; font-size: clamp(20px, 2.1vw, 32px); line-height: 1.2; }
.phrase i { width: 10px; height: 10px; border-radius: 50%; background: var(--vin); animation: bat 1.6s ease-in-out infinite; flex: none; }
.phrase b { font-weight: 400; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.phrase:hover b { text-decoration-thickness: 2px; }

h2 { font-family: var(--titre); font-weight: 300; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.03; letter-spacing: -.02em; }
.sous-titre { margin-top: 12px; max-width: 640px; font-size: 18px; }

/* Les fonctions, en vraies captures */
.fonctions { padding: 110px var(--marge) 40px; }
.fonctions .entete { max-width: 900px; }
.fonctions .entete h2 { margin-top: 14px; }
.fonction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 70px; align-items: center; padding: 90px 0; border-top: 1px solid var(--filet); }
.entete + .fonction { margin-top: 64px; }
.fonction.inverse .texte { order: 2; }
.num { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.fonction h3, .aussi h3 { font-family: var(--serre); font-weight: 500; font-size: clamp(38px, 4vw, 60px); line-height: 1.02; margin: 10px 0 18px; }
.fonction p { font-size: 17px; line-height: 1.6; max-width: 540px; }
.fonction p + p { margin-top: 12px; }
.fonction blockquote { margin: 0 0 14px; padding-left: 14px; border-left: 2px solid var(--vin); font-style: italic; font-size: 17px; max-width: 540px; }
.fonction ul { list-style: none; margin-top: 22px; border-top: 1px solid var(--filet); max-width: 540px; }
.fonction li { border-bottom: 1px solid var(--filet); padding: 10px 0 10px 24px; position: relative; font-size: 15.5px; }
.fonction li::before { content: "✓"; position: absolute; left: 2px; font-weight: 500; }
.visuel { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.tel-cadre { flex: none; width: clamp(200px, 19vw, 280px); padding: 8px; border-radius: 40px; background: #12020a;
  box-shadow: 0 0 0 1px rgba(51, 5, 15, .35), 0 40px 70px -24px rgba(31, 3, 9, .55); position: relative; }
.tel-cadre img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 32px; background: #f6f1ee; }
.visuel .tel-cadre + .tel-cadre { margin-left: -38px; margin-top: 64px; z-index: 1; }
.visuel .tel-cadre:first-child { z-index: 2; }
.pc-cadre { width: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(51, 5, 15, .2), 0 36px 70px -26px rgba(31, 3, 9, .45); }
.pc-cadre .barre-pc { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f3eeec; border-bottom: 1px solid rgba(51, 5, 15, .12); }
.pc-cadre .barre-pc i { width: 9px; height: 9px; border-radius: 50%; background: rgba(51, 5, 15, .25); }
.pc-cadre .barre-pc span { margin-left: 10px; font-family: var(--mono); font-size: 10px; color: #6b4a52; }
.pc-cadre img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; }
.visuel.matin { display: block; padding-bottom: 24px; }
.visuel.matin .pc-cadre { width: 84%; margin-left: auto; }
.visuel.matin .tel-cadre { position: absolute; left: 0; top: 22%; width: clamp(150px, 13vw, 210px); z-index: 2; }

/* Et aussi : galerie de quatre écrans */
.aussi { padding: 90px 0 70px; border-top: 1px solid var(--filet); }
.aussi .texte p { font-size: 17px; line-height: 1.6; max-width: 640px; }
.galerie { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; }
.galerie .tel-cadre { width: 100%; max-width: 250px; padding: 6px; border-radius: 32px; }
.galerie .tel-cadre img { border-radius: 26px; }
.galerie b { display: block; margin-top: 20px; font-family: var(--titre); font-weight: 400; font-size: 23px; line-height: 1.15; }
.galerie p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.partout { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 50px; align-items: center; padding-top: 50px; border-top: 1px solid var(--filet); }
.partout p { font-size: 17px; max-width: 520px; }
.partout p + p { margin-top: 12px; }
.entourage { margin-top: 56px; padding-top: 50px; border-top: 1px solid var(--filet); }
.magasins { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.magasins a:not([href]) { display: none; }
.suite { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* Comment ça marche */
.marche { padding: 120px var(--marge); border-top: 1px solid var(--vin-clair); }
.marche .entete { max-width: 900px; }
.marche .entete h2 { margin-top: 14px; font-weight: 200; text-transform: uppercase; font-size: clamp(42px, 5.6vw, 88px); line-height: 1.02; }
.etapes { list-style: none; counter-reset: e; margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--vin-clair); }
.etapes li { counter-increment: e; padding: 30px 26px 10px 0; }
.etapes li + li { padding-left: 26px; border-left: 1px solid var(--vin-clair); }
.etapes li::before { content: "0" counter(e); display: block; font-family: var(--titre); font-weight: 200; font-size: clamp(56px, 6vw, 96px); line-height: 1; letter-spacing: -.03em; }
.etapes h3 { font-family: var(--serre); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; margin: 14px 0 10px; }
.etapes p { font-size: 15.5px; }
.marche .note { margin-top: 36px; font-size: 15px; max-width: 720px; }

/* D'où viennent les réponses */
.amont { padding: 120px var(--marge); background: var(--vin-nuit); border-top: 1px solid var(--vin-clair); border-bottom: 1px solid var(--vin-clair); position: relative; overflow: hidden; isolation: isolate; }
.amont::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 82% 12%, rgba(156, 38, 64, .38), transparent 70%), radial-gradient(50% 40% at 8% 60%, rgba(92, 20, 34, .45), transparent 70%); }
.amont .entete { max-width: 900px; }
.amont .entete h2 { margin-top: 14px; font-weight: 200; text-transform: uppercase; font-size: clamp(42px, 5.6vw, 88px); line-height: 1.02; }
.amont-gravure { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; z-index: -1; opacity: .12; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%); mask-image: linear-gradient(to bottom, transparent, #000 55%); }
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--vin-clair); border-bottom: 1px solid var(--vin-clair); }
.chiffre { padding: 34px 26px 30px 0; }
.chiffre + .chiffre { padding-left: 26px; border-left: 1px solid var(--vin-clair); }
.chiffre small { display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; min-height: 16px; color: rgba(255, 255, 255, .78); }
.chiffre b { display: block; font-family: var(--titre); font-weight: 200; font-size: clamp(56px, 7.4vw, 124px); line-height: 1; letter-spacing: -.03em; margin: 8px 0 12px; font-variant-numeric: tabular-nums; }
.chiffre span { display: block; font-size: 15.5px; line-height: 1.45; max-width: 250px; }

/* Le chemin d'une réponse : sources, calculs, réponse */
.chemin { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1.15fr) 96px minmax(0, .95fr) 96px minmax(0, 1fr); align-items: stretch; }
.etape { position: relative; display: flex; flex-direction: column; }
.etape > :not(.etiq) { margin-top: auto; margin-bottom: auto; }
.etiq { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.etiq i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-size: 11px; }
.puces { list-style: none; display: grid; gap: 10px; }
.puces li { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .035);
  opacity: 0; transform: translateX(-14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.chemin.vu .puces li, html.sans-js .puces li { opacity: 1; transform: none; }
.puces li:nth-child(2) { transition-delay: .1s; }
.puces li:nth-child(3) { transition-delay: .2s; }
.puces li:nth-child(4) { transition-delay: .3s; }
.puces li:nth-child(5) { transition-delay: .4s; }
.puces svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--chair); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.puces b { display: block; font-weight: 500; font-size: 15.5px; }
.puces small { display: block; font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 2px; }
.fil { height: 2px; align-self: center; position: relative; overflow: visible; background: rgba(255, 255, 255, .12); margin: 42px 14px 0; }
.fil i { position: absolute; inset: 0; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, .85) 10px 18px); background-size: 28px 100%; animation: flux 1.1s linear infinite; }
.fil::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; border-top: 2px solid rgba(255, 255, 255, .85); border-right: 2px solid rgba(255, 255, 255, .85); transform: translateY(-50%) rotate(45deg); }
@keyframes flux { to { background-position: 28px 0; } }
@keyframes flux-v { to { background-position: 0 28px; } }
.e-coeur { text-align: center; }
.e-coeur .etiq { justify-content: center; }
.noyau { position: relative; width: min(220px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.noyau img { width: 46%; height: auto; border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .05), 0 0 60px rgba(196, 64, 92, .55); }
.orbite { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; stroke-dasharray: 3 7; animation: tourne 28s linear infinite; }
.orbite .o2 { stroke: rgba(255, 255, 255, .28); stroke-dasharray: 1 5; }
@keyframes tourne { to { transform: rotate(360deg); } }
.calculs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 20px; }
.calculs li { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .03em; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.tel-mini { width: min(300px, 100%); margin-left: auto; padding: 18px 14px 20px; border-radius: 34px; background: #12020a; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .7), inset 0 0 0 6px #1d050d; display: grid; gap: 10px; }
.bulle { font-size: 14px; line-height: 1.45; padding: 11px 13px; border-radius: 16px; max-width: 92%; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.chemin.vu .bulle, html.sans-js .bulle { opacity: 1; transform: none; }
.bulle.moi { justify-self: end; background: var(--chair); color: var(--vin); border-bottom-right-radius: 5px; transition-delay: .7s; }
.bulle.bacchus { background: #3a0b17; border: 1px solid rgba(255, 255, 255, .1); border-bottom-left-radius: 5px; transition-delay: 1.2s; }
.bulle.bacchus + .bulle.bacchus { transition-delay: 1.7s; }
.bulle b { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .puces li, .bulle { opacity: 1; transform: none; transition: none; }
  .fil i, .orbite, .phrase i, .pastille::before { animation: none; }
}
.amont .note-amont { margin-top: 40px; font-size: 13.5px; color: rgba(255, 255, 255, .75); max-width: 760px; }

/* Confiance */
.confiance { padding: 110px var(--marge); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.confiance .entete h2 { margin-top: 14px; }
.engagements { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); }
.engagements li { padding: 24px 22px 26px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.engagements b { display: block; font-family: var(--titre); font-weight: 400; font-size: 23px; line-height: 1.15; }
.engagements p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.confiance .visuel { position: sticky; top: 30px; }
.confiance .lien-texte { text-decoration: underline; text-underline-offset: 4px; }

/* Liste d'attente ou inscription */
.liste { background: var(--papier); color: var(--vin); --filet: rgba(51, 5, 15, .25); padding: 110px var(--marge); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 70px; align-items: center; border-top: 1px solid var(--filet); }
.liste h2 { font-weight: 200; text-transform: uppercase; font-size: clamp(40px, 5vw, 76px); line-height: 1.02; margin-top: 14px; }
.liste .intro { margin-top: 20px; font-size: 18px; max-width: 500px; }
.liste ul { list-style: none; margin-top: 26px; border-top: 1px solid var(--filet); max-width: 500px; }
.liste li { border-bottom: 1px solid var(--filet); padding: 12px 0 12px 26px; position: relative; }
.liste li::before { content: "✓"; position: absolute; left: 2px; font-weight: 500; }
.pastille { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--vin); color: var(--chair); }
.pastille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--chair); animation: bat 1.6s ease-in-out infinite; }
.fiche { background: var(--vin); color: var(--chair); padding: 36px 34px 30px; border-radius: 6px; box-shadow: 14px 14px 0 rgba(51, 5, 15, .18); }
.fiche h3 { font-family: var(--serre); font-weight: 500; font-size: 44px; line-height: 1.1; margin-bottom: 22px; }
.fiche > p { font-size: 17px; }
.champ { display: block; margin-bottom: 16px; }
.champ span { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, .82); }
.champ input { width: 100%; font-family: var(--texte); font-size: 16px; padding: 13px 14px; background: var(--vin-nuit); color: var(--chair); border: 1px solid #7a2a3a; border-radius: 3px; outline: 0; }
.champ input:focus { border-color: var(--chair); }
.champ input::placeholder { color: rgba(255, 255, 255, .5); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fiche .bouton { width: 100%; justify-content: center; font-size: 17px; padding: 16px; margin-top: 6px; }
.fiche .note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.fiche .note a { text-decoration: underline; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fiche .merci { display: none; }
.fiche .bouton[disabled] { opacity: .6; cursor: progress; }
.fiche.envoye form { display: none; }
.fiche.envoye .merci { display: block; font-size: 18px; }

/* Bouton flottant */
.fixe { position: fixed; right: 26px; bottom: 26px; z-index: 30; box-shadow: 0 8px 30px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.fixe.on { opacity: 1; transform: none; pointer-events: auto; }

/* Questions */
.questions { padding: 110px var(--marge); }
.questions h2 { margin-bottom: 48px; }
details { border-top: 1px solid var(--filet); }
details:last-of-type { border-bottom: 1px solid var(--filet); }
summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--titre); font-weight: 400; letter-spacing: .02em; font-size: 22px; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 22px; max-width: 760px; }

/* Pied de page : colonnes sur aplat, puis paysage gravé */
footer { background: var(--vin); border-top: 1px solid var(--vin-clair); }
.pied { display: grid; grid-template-columns: 1.75fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding: 90px var(--marge) 0; position: relative; z-index: 1; }
.logo-pied { display: flex; align-items: center; gap: 14px; }
.logo-pied img { width: 54px; height: 54px; border-radius: 50%; }
.logo-pied span { font-family: var(--logo); font-weight: 400; font-size: 38px; line-height: .9; text-transform: uppercase; display: inline-block; transform: scaleX(.84); transform-origin: left center; }
.devise-pied { font-style: italic; margin: 22px 0; max-width: 290px; line-height: 1.55; }
.contact { list-style: none; }
.contact li { display: flex; align-items: center; gap: 12px; padding: 5px 0; white-space: nowrap; }
.contact svg { width: 18px; height: 18px; flex: none; fill: var(--chair); }
.col h2 { font-family: var(--titre); font-weight: 500; font-size: 16px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.col h2::after { content: ""; display: block; width: 38px; height: 1px; background: var(--chair); margin: 14px 0 16px; }
.col a { display: block; padding: 5px 0; }
.col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.col p { font-style: italic; margin-bottom: 16px; }
.mini { display: flex; border: 1px solid var(--chair); }
.mini input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--chair); font-family: var(--texte); font-style: italic; font-size: 16px; padding: 12px 14px; }
.mini input::placeholder { color: rgba(255, 255, 255, .7); }
.mini button { flex: none; width: 48px; border: 0; background: var(--chair); color: var(--vin); font-size: 20px; cursor: pointer; }
.legal { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 22px; padding: 34px var(--marge) 0; font-style: italic; font-size: 15px; position: relative; z-index: 1; }
.legal span { color: rgba(255, 255, 255, .6); font-style: normal; }
.paysage { width: 100%; margin-top: -16.5vw; position: relative; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 34%); mask-image: linear-gradient(to bottom, transparent 4%, #000 34%); }

/* ---------- Adaptation aux écrans ---------- */
@media (max-width: 1180px) {
  nav .liens { gap: clamp(14px, 2.6vw, 34px); }
  .liste, .confiance { gap: 44px; }
  .pied { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 32px; }
  .pied > :last-child { grid-column: 1 / -1; max-width: 460px; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie li { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 22px; align-items: center; }
  .galerie b { margin-top: 0; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes li:nth-child(3) { padding-left: 0; border-left: 0; }
  .etapes li:nth-child(n+3) { border-top: 1px solid var(--vin-clair); }
}

@media (max-width: 900px) {
  :root { --marge: clamp(20px, 5vw, 48px); }
  body { border-width: 3px; }
  nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px; padding: 18px var(--marge) 0; }
  nav .marque { order: 1; text-align: left; padding: 0; font-size: 36px; transform-origin: left center; }
  nav .liens.droite { order: 2; margin-left: auto; gap: 12px; }
  nav .liens.droite .lien:not(.connexion):not(.langue) { display: none; }
  nav .liens.droite .lien.connexion { border-bottom: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
  nav .liens.droite .bouton-nav { display: none; }
  nav .liens:not(.droite) { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding: 12px 0 0; border-top: 1px solid var(--vin-clair); }

  .heros { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 30px var(--marge) 56px; }
  h1 { font-size: clamp(46px, 12.2vw, 96px); }
  .chapeau { font-size: 17px; max-width: 560px; }
  .heros figure { max-width: 520px; width: 100%; margin: 0 auto; }
  .phrase { padding: 18px var(--marge); font-size: clamp(19px, 4.6vw, 28px); }

  .fonctions { padding-top: 72px; padding-bottom: 20px; }
  .fonction { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 56px 0; }
  .entete + .fonction { margin-top: 36px; }
  .fonction.inverse .texte { order: 0; }
  .tel-cadre { width: min(44vw, 230px); border-radius: 30px; padding: 6px; }
  .tel-cadre img { border-radius: 24px; }
  .visuel .tel-cadre + .tel-cadre { margin-left: -22px; margin-top: 44px; }
  .visuel.matin .pc-cadre { width: 100%; }
  .visuel.matin .tel-cadre { position: relative; left: auto; top: auto; width: min(42vw, 190px); margin: -70px auto 0 6px; display: block; }
  .visuel.matin { padding-bottom: 0; }
  .aussi { padding: 60px 0 50px; }
  .partout { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  .marche, .amont, .liste, .questions, .confiance { padding-top: 76px; padding-bottom: 80px; }
  .confiance { grid-template-columns: minmax(0, 1fr); }
  .confiance .visuel { position: static; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .chiffre, .chiffre + .chiffre { padding: 24px 14px 22px 0; border-left: 0; }
  .chiffre:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--vin-clair); }
  .chiffre:nth-child(n+3) { border-top: 1px solid var(--vin-clair); }
  .chemin { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .fil { width: 2px; height: 44px; margin: 14px auto; align-self: auto; }
  .etape > :not(.etiq) { margin-top: 0; margin-bottom: 0; }
  .fil i { background: repeating-linear-gradient(180deg, transparent 0 10px, rgba(255, 255, 255, .85) 10px 18px); background-size: 100% 28px; animation-name: flux-v; }
  .fil::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%) rotate(135deg); }
  .tel-mini { margin: 0 auto; }
  .ah-chiffres > span { padding: 0 8px; }
  .ah-chiffres small { font-size: 11px; }

  .liste { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .liste h2 { font-size: clamp(38px, 10vw, 76px); }
  .liste .intro { font-size: 17px; }
  .fiche { padding: 26px 20px 22px; box-shadow: 8px 8px 0 rgba(51, 5, 15, .18); }
  .fiche h3 { font-size: 36px; margin-bottom: 18px; }
  summary { font-size: 20px; padding: 16px 0; }

  .pied { grid-template-columns: 1fr 1fr 1fr; gap: 36px 24px; padding-top: 64px; }
  .pied > :first-child, .pied > :last-child { grid-column: 1 / -1; max-width: none; }
  .legal { justify-content: flex-start; padding-top: 30px; }
  .paysage { min-height: 300px; object-fit: cover; object-position: center bottom; margin-top: -90px; }
  .fixe { right: 14px; bottom: 14px; }
}

@media (max-width: 560px) {
  :root { --marge: 16px; }
  nav .liens:not(.droite) .lien { font-size: 12.5px; letter-spacing: .06em; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .bouton { justify-content: center; padding: 14px 16px; font-size: 15px; }
  .phrase { flex-direction: column; gap: 4px; }
  .phrase i { display: none; }
  h2 { font-size: clamp(36px, 10.5vw, 56px); }
  .suite .bouton { width: 100%; justify-content: center; padding: 14px; }
  .deux { grid-template-columns: 1fr; gap: 0; }
  .galerie { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .galerie li { grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: start; }
  .galerie .tel-cadre { border-radius: 22px; padding: 4px; }
  .galerie .tel-cadre img { border-radius: 18px; }
  .galerie b { font-size: 21px; }
  .etapes { grid-template-columns: minmax(0, 1fr); }
  .etapes li, .etapes li + li { padding: 24px 0 14px; border-left: 0; }
  .etapes li + li { border-top: 1px solid var(--vin-clair); }
  .engagements { grid-template-columns: minmax(0, 1fr); }
  .pied { grid-template-columns: 1fr 1fr; }
  .legal { gap: 6px 14px; font-size: 14px; }
  .paysage { min-height: 250px; margin-top: -70px; }
  .fixe { left: 14px; right: 14px; justify-content: center; padding: 14px; font-size: 15px; }
}

@media (max-width: 380px) {
  h1 { font-size: 12vw; }
  nav .marque { font-size: 32px; }
  .bulle { font-size: 13px; }
  .ah-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
  .ah-chiffres > span:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .heros { grid-template-columns: 1.1fr 1fr; align-items: center; padding-bottom: 36px; }
  h1 { font-size: clamp(34px, 6.2vw, 56px); }
  .heros figure { max-width: 300px; }
}
