/* ==========================================================
   VizionR Consultation — feuille de style
   Guide de normes graphiques :
   Primaires  #0B3227 (vert)  #AE8A5B (bronze)
   Secondaires #DACBAF (sable) #0D1A17 (encre) #F3F0E9 (crème)
   Titres : Agatho → substitut Gilda Display
   Texte  : Proxima Nova → substitut Figtree
   ========================================================== */

@font-face { font-family: "Gilda Display"; src: url("fonts/gilda-display-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --vert: #0B3227;
  --vert-2: #134536;
  --vert-ligne: #245A49;
  --bronze: #AE8A5B;
  --sable: #DACBAF;
  --encre: #0D1A17;
  --creme: #F3F0E9;
  --blanc: #FFFFFF;

  --texte: #0B3227;
  --texte-doux: #4D6159;
  --sur-fonce: #F3F0E9;
  --sur-fonce-doux: #A9B8B0;
  --ligne: #DDD5C6;

  /* Si les fichiers Agatho / Proxima Nova sous licence sont ajoutés, ils prennent le relais */
  --titre: "Agatho", "Gilda Display", "Didot", Georgia, serif;
  --corps: "Proxima Nova", "Figtree", "Segoe UI", system-ui, sans-serif;

  --gouttiere: clamp(16px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --header-h: 84px;
  --intro: 0s;
}
html.avec-intro { --intro: 1.75s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--corps);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--bronze); color: var(--blanc); }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titre); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip:focus { left: 16px; top: 16px; background: var(--blanc); padding: 10px 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }

/* Transition entre les pages : un rideau vert passe, le point bronze au centre */
.rideau-page {
  position: fixed; inset: 0; z-index: 290; pointer-events: none; background: var(--vert);
  display: grid; place-items: center; clip-path: inset(100% 0 0 0);
}
.rideau-page::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--bronze); transform: scale(0); }
html.depart .rideau-page { pointer-events: auto; animation: couvrir .55s cubic-bezier(.76, 0, .24, 1) forwards; }
html.depart .rideau-page::after { animation: eclore .4s var(--ease) .3s forwards; }
html.arrivee .rideau-page { clip-path: inset(0 0 0 0); animation: decouvrir .75s cubic-bezier(.76, 0, .24, 1) .1s forwards; }
html.arrivee .rideau-page::after { transform: scale(1); animation: retrecir .3s ease forwards; }
html.arrivee { --intro: .45s; }
@keyframes couvrir { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes decouvrir { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes retrecir { to { transform: scale(0); } }

/* Barre de progression de lecture */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: var(--bronze); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Le point bronze, signature de la marque */
.dot {
  display: inline-block; width: .2em; height: .2em; border-radius: 50%;
  background: var(--bronze); margin-left: .05em; vertical-align: baseline;
}

/* ================= En-tête ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--sur-fonce);
  transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.site-header.solid {
  background: rgba(11, 50, 39, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(174, 138, 91, .25);
}
.site-header.cache { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; padding-block: 8px; }
.brand img { height: 32px; width: auto; } /* taille minimale écran : 30 px */
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: .95rem; letter-spacing: .01em;
  color: var(--sur-fonce-doux); transition: color .3s; padding-block: 6px;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--bronze); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--sur-fonce); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 0; color: var(--sur-fonce);
  cursor: pointer; padding: 10px 0; font-size: .95rem;
}
.menu-toggle .bars { width: 22px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

/* ================= Boutons ================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--bronze);
  background: var(--bronze); color: var(--vert);
  font: 600 .95rem/1 var(--corps); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sable); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--sable); }
.fleche { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover .fleche, .lien:hover .fleche { transform: translateX(4px); }
.btn-contour { background: transparent; color: var(--sur-fonce); border-color: var(--vert-ligne); }
.btn-contour::before { background: var(--sur-fonce); }
.btn-contour:hover { color: var(--vert); border-color: var(--sur-fonce); }
.btn-vert { background: var(--vert); color: var(--creme); border-color: var(--vert); }
.btn-vert::before { background: var(--bronze); }
.btn-vert:hover { color: var(--vert); border-color: var(--bronze); }
.nav .btn { padding: 12px 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ================= Anneaux « lentille » ================= */
.anneaux {
  position: absolute; pointer-events: none; z-index: 0;
  width: min(92vw, 980px); aspect-ratio: 1; right: -18%; top: 50%;
  transform: translate(calc(var(--mx, 0) * 18px), calc(-50% + var(--my, 0) * 18px));
  transition: transform 1.2s var(--ease);
}
.anneaux circle { fill: none; stroke: var(--vert-ligne); stroke-width: 1; }
.anneaux circle.centre { fill: var(--bronze); stroke: none; }
.anneaux circle.trace { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: tracer 2.6s var(--ease) var(--intro) forwards; }
.anneaux circle.trace:nth-child(2) { animation-delay: .1s; }
.anneaux circle.trace:nth-child(3) { animation-delay: .2s; }
.anneaux circle.trace:nth-child(4) { animation-delay: .3s; }
.anneaux circle.trace:nth-child(5) { animation-delay: .4s; }
.anneaux circle.trace:nth-child(6) { animation-delay: .5s; }
.anneaux circle.trace:nth-child(7) { animation-delay: .6s; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
.anneaux .centre { animation: pulse 3.2s ease-in-out 2.2s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .75; } }

/* ================= Héros ================= */
.hero {
  position: relative; overflow: hidden; background: var(--vert); color: var(--sur-fonce);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 10vw, 150px) clamp(56px, 7vw, 100px); }
.hero-surtitre { display: flex; align-items: center; gap: 14px; color: var(--sable); font-size: .95rem; letter-spacing: .02em; }
.hero-surtitre::before { content: ""; width: 36px; height: 1px; background: var(--bronze); }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(3.4rem, 11.5vw, 10.8rem); line-height: .94; letter-spacing: -.03em;
}
.ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.ligne > span { display: inline-block; transform: translateY(110%); animation: monter 1.3s var(--ease) var(--intro) forwards; }
.ligne:nth-child(2) > span { animation-delay: calc(var(--intro) + .14s); }
.ligne:nth-child(3) > span { animation-delay: calc(var(--intro) + .28s); }
.hero h1 .ligne:nth-child(2) { padding-left: clamp(0px, 11vw, 170px); }
@keyframes monter { to { transform: translateY(0); } }

.horizon { position: relative; display: inline-block; }
.horizon .dot { animation: rouler 1.6s var(--ease) calc(var(--intro) + .55s) both; }
@keyframes rouler { from { transform: translateX(45vw) rotate(360deg); } to { transform: translateX(0); } }

.hero-bas {
  margin-top: clamp(44px, 6vw, 88px); padding-top: 28px; position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
}
.hero-bas::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--vert-ligne);
  transform-origin: left; transform: scaleX(0); animation: tirer 1.6s var(--ease) .5s forwards;
}
@keyframes tirer { to { transform: scaleX(1); } }
.hero-bas p { max-width: 46ch; color: var(--sur-fonce-doux); }
.hero-bas p strong { color: var(--sur-fonce); font-weight: 600; }
.apparaitre { opacity: 0; animation: apparaitre 1.2s var(--ease) calc(var(--intro) + .75s) forwards; }
@keyframes apparaitre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.defiler {
  position: absolute; left: var(--gouttiere); bottom: 22px; z-index: 1;
  display: flex; align-items: center; gap: 12px; font-size: .8rem; letter-spacing: .06em; color: var(--sur-fonce-doux); text-decoration: none;
}
.defiler span { width: 1px; height: 36px; background: var(--vert-ligne); position: relative; overflow: hidden; }
.defiler span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bronze); animation: goutte 2.2s ease-in-out infinite; }
@keyframes goutte { to { top: 100%; } }

/* ---------- Ouverture de l'accueil ---------- */
.intro { display: none; }
html.avec-intro .intro {
  display: flex; position: fixed; inset: 0; z-index: 300; background: var(--vert);
  flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  clip-path: inset(0 0 0 0); animation: rideau 1.05s cubic-bezier(.76, 0, .24, 1) 1.3s forwards;
}
.intro-logo { width: min(64vw, 440px); clip-path: inset(0 100% 0 0); animation: ecrire 1.1s var(--ease) .1s forwards; }
.intro-logo img { width: 100%; height: auto; }
.intro-trait { width: min(64vw, 440px); height: 1px; background: var(--vert-ligne); position: relative; overflow: hidden; }
.intro-trait::after { content: ""; position: absolute; inset: 0; background: var(--bronze); transform: scaleX(0); transform-origin: left; animation: tirer 1.1s var(--ease) .25s forwards; }
@keyframes ecrire { to { clip-path: inset(0 0 0 0); } }
@keyframes rideau { to { clip-path: inset(0 0 100% 0); } }

.hero-accueil .hero-grille {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
  padding-block: clamp(40px, 6vw, 96px) clamp(80px, 9vw, 130px);
}
.hero-accueil h1 { font-size: clamp(3.2rem, 8.4vw, 8.6rem); }
.hero-accueil h1 .ligne:nth-child(2) { padding-left: clamp(0px, 5vw, 90px); }
.hero-intro { margin-top: clamp(28px, 4vw, 48px); max-width: 44ch; color: var(--sur-fonce-doux); font-size: 1.08rem; }
.hero-intro strong { color: var(--sur-fonce); font-weight: 600; }
.hero-accueil .actions { margin-top: 32px; }

.arche-zone { position: relative; margin: 0; justify-self: end; width: min(100%, calc(76vh * .75)); }
.arche {
  aspect-ratio: 3 / 4; width: 100%; overflow: hidden; border-radius: 999px 999px 8px 8px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6);
  clip-path: inset(100% 0 0 0 round 999px 999px 8px 8px);
  animation: devoiler 1.7s cubic-bezier(.76, 0, .24, 1) calc(var(--intro) + .15s) forwards;
}
@keyframes devoiler { to { clip-path: inset(0 0 0 0 round 999px 999px 8px 8px); } }
.visuel { width: 100%; height: 100%; display: block; }
@keyframes fondu { to { opacity: 1; } }
@keyframes eclore { to { transform: scale(1); } }
.v-e .courbe { stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: dessiner 3.4s cubic-bezier(.2, .7, .2, 1) calc(var(--intro) + .3s + var(--i) * .06s) forwards; }
@keyframes dessiner { to { stroke-dashoffset: 0; } }
.v-e .carte { animation: deriver 22s ease-in-out infinite alternate; }
@keyframes deriver { to { transform: translate(-14px, 10px); } }
.v-e .p-carte { transform: translate(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -8px)); transition: transform 1.4s var(--ease); }
.v-e .p-dot { transform: translate(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -16px)); transition: transform 1.4s var(--ease); }
.v-e .point { transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: eclore 1s var(--ease) calc(var(--intro) + 1.6s) forwards, pulse 3.4s ease-in-out calc(var(--intro) + 2.8s) infinite; }
.v-e .onde { transform-box: fill-box; transform-origin: center; opacity: 0; animation: onde 2.8s ease-out calc(var(--intro) + 2.2s) infinite; }
@keyframes onde { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }

.macaron {
  position: absolute; left: -56px; bottom: 14%; width: 136px; aspect-ratio: 1; border-radius: 50%;
  background: var(--vert); border: 1px solid var(--vert-ligne); display: grid; place-items: center;
  opacity: 0; animation: surgir 1.2s var(--ease) calc(var(--intro) + 1.2s) forwards;
}
.macaron svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: tourner 24s linear infinite; }
.macaron text { fill: var(--sable); font-family: var(--corps); font-size: 12.5px; letter-spacing: .12em; }
.macaron img { width: 42px; height: auto; }
@keyframes surgir { from { opacity: 0; transform: scale(.6) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes tourner { to { transform: rotate(360deg); } }

/* En-tête des pages internes */
.page-tete { position: relative; overflow: hidden; background: var(--vert); color: var(--sur-fonce); padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.page-tete .anneaux { width: min(80vw, 760px); right: -22%; }
.page-tete .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 130px) clamp(48px, 6vw, 88px); }
.page-tete h1 { font-size: clamp(3rem, 8.5vw, 7.2rem); line-height: .98; letter-spacing: -.025em; }
.page-tete p { margin-top: 26px; max-width: 54ch; color: var(--sur-fonce-doux); font-size: 1.15rem; }
.fil { font-size: .85rem; color: var(--sur-fonce-doux); margin-bottom: 26px; display: flex; gap: 10px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--sur-fonce); }

/* ================= Sections ================= */
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.bg-creme { background: var(--creme); }
.bg-blanc { background: var(--blanc); }
.bg-sable { background: var(--sable); }
.bg-vert { background: var(--vert); color: var(--sur-fonce); }
.bg-encre { background: var(--encre); color: var(--sur-fonce); }

.surtitre { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--bronze); margin-bottom: 22px; }
.surtitre::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.h2 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); line-height: 1.03; letter-spacing: -.02em; }
.chapeau { font-size: 1.15rem; color: var(--texte-doux); max-width: 56ch; }
.bg-vert .chapeau, .bg-encre .chapeau { color: var(--sur-fonce-doux); }
.duo-tete { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: end; }

/* Apparition au défilement (seulement si JS et mouvement permis) */
.anim [data-rev] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-rev].vu { opacity: 1; transform: none; }

/* Manifeste : les mots s'allument au défilement */
.manifeste { font-family: var(--titre); font-size: clamp(2.1rem, 5.4vw, 4.8rem); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; }
.manifeste .mot { opacity: var(--o, 1); transition: opacity .25s linear; }
.manifeste .or { color: var(--bronze); }
.manifeste-bas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: center; }
.manifeste-bas p { max-width: 46ch; color: var(--texte-doux); }

/* ================= Piliers ================= */
.piliers { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ligne); }
.pilier {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 5fr) 48px;
  gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(30px, 4vw, 48px) clamp(12px, 2vw, 28px);
  border-bottom: 1px solid var(--ligne); text-decoration: none; isolation: isolate; overflow: hidden;
  transition: color .6s var(--ease);
}
.pilier::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vert);
  transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease);
}
.pilier:hover::before, .pilier:focus-visible::before { transform: scaleY(1); }
.pilier:hover, .pilier:focus-visible { color: var(--sur-fonce); }
.pilier .icone { width: 56px; height: 56px; color: var(--bronze); }
.pilier .icone path, .pilier .icone circle, .pilier .icone rect, .pilier .icone polyline { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.anim .pilier .icone * { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.anim .pilier.vu .icone * { stroke-dashoffset: 0; }
.pilier h3 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.pilier h3 small { display: block; font-family: var(--corps); font-size: .85rem; letter-spacing: .04em; color: var(--bronze); margin-bottom: 10px; }
.pilier p { color: var(--texte-doux); transition: color .6s var(--ease); max-width: 46ch; }
.pilier:hover p, .pilier:focus-visible p { color: var(--sur-fonce-doux); }
.pilier .rond {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ligne);
  display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease);
}
.pilier .rond svg { width: 16px; height: 16px; }
.pilier:hover .rond, .pilier:focus-visible .rond { background: var(--bronze); border-color: var(--bronze); color: var(--vert); transform: rotate(-45deg); }

/* ================= Démarche (séquence réelle) ================= */
.etapes { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.etapes::before, .etapes::after { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; }
.etapes::before { background: var(--vert-ligne); }
.etapes::after { background: var(--bronze); transform-origin: left; transform: scaleX(var(--prog, 1)); }
.etape { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 70px; }
.etape .num {
  position: absolute; top: 0; left: 0; width: 45px; height: 45px; border-radius: 50%;
  display: grid; place-items: center; background: var(--vert); border: 1px solid var(--bronze);
  font: 600 .9rem var(--corps); color: var(--sable); font-variant-numeric: tabular-nums; z-index: 1;
}
.etape h3 { font-size: 1.75rem; line-height: 1.1; }
.etape p { color: var(--sur-fonce-doux); font-size: 1rem; }
.note-proposition { margin-top: 48px; font-size: .85rem; color: var(--sur-fonce-doux); }

/* ================= Clients (défilement continu) ================= */
.defilant { margin-top: 56px; overflow: hidden; border-block: 1px solid var(--ligne); padding-block: 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defilant-piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.defilant:hover .defilant-piste { animation-play-state: paused; }
.defilant ul { display: flex; align-items: center; }
.defilant li { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px); font-family: var(--titre); font-size: clamp(1.6rem, 3vw, 2.4rem); white-space: nowrap; }
.defilant li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--bronze); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ================= Vizion360 ================= */
.v360 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.v360-svg { width: 100%; max-width: 480px; margin-inline: auto; overflow: visible; }
.v360-svg .c { fill: none; stroke: var(--sable); stroke-width: 1.2; transition: transform 1.6s var(--ease); }
.v360-svg .c1 { transform: translate(0, -60px); }
.v360-svg .c2 { transform: translate(-70px, 40px); }
.v360-svg .c3 { transform: translate(70px, 40px); }
.v360-svg.vu .c, .v360-svg.statique .c { transform: none; }
.v360-svg .centre { fill: var(--bronze); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .8s var(--ease) 1.2s; }
.v360-svg.vu .centre, .v360-svg.statique .centre { transform: scale(1); }
.v360-svg text { fill: var(--sur-fonce); font-family: var(--corps); font-size: 15px; font-weight: 600; }
.v360-svg .t360 { fill: var(--vert); font-size: 11px; }
.formule { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.formule span { border: 1px solid var(--vert-ligne); border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: var(--sur-fonce); }
.formule span.plus { border: 0; padding-inline: 2px; color: var(--bronze); }

/* ================= Témoignage ================= */
.citation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 6vw, 100px); }
.guillemet { font-family: var(--titre); font-size: clamp(7rem, 16vw, 14rem); line-height: .7; color: var(--bronze); }
blockquote { margin: 0; }
blockquote p { font-family: var(--titre); font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.24; letter-spacing: -.01em; }
.signature { margin-top: 40px; display: flex; align-items: center; gap: 18px; }
.signature .pastille { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--sable), 0 0 0 4px var(--bronze); }
.signature strong { display: block; font-weight: 600; }
.signature span { color: var(--sur-fonce-doux); font-size: .95rem; }

/* ================= FAQ ================= */
.faq { margin-top: 48px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 28px; font-family: var(--titre); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--ligne); position: relative; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--vert); transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] .plus { background: var(--bronze); border-color: var(--bronze); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .6s var(--ease), content-visibility .6s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq .reponse { padding-bottom: 30px; max-width: 70ch; color: var(--texte-doux); }

/* ================= Contact ================= */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(44px, 7vw, 120px); }
.coord { display: flex; flex-direction: column; gap: 30px; }
.coord dl { margin: 8px 0 0; display: grid; gap: 22px; }
.coord dt { font-size: .85rem; color: var(--texte-doux); }
.coord dd { margin: 4px 0 0; font-weight: 600; }
.coord dd a { text-decoration: none; background: linear-gradient(var(--bronze), var(--bronze)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.coord dd a:hover { background-size: 0 1px; background-position: 100% 100%; }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; background: var(--blanc); padding: clamp(24px, 4vw, 48px); border-radius: 6px; }
.champ { position: relative; }
.champ.plein { grid-column: 1 / -1; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: 400 1rem var(--corps); color: var(--texte); background: transparent;
  border: 0; border-bottom: 1px solid var(--ligne); border-radius: 0;
  padding: 26px 0 10px; transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.champ select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B3227' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; cursor: pointer; }
.champ textarea { min-height: 130px; resize: vertical; }
.champ label {
  position: absolute; left: 0; top: 26px; font-size: 1rem; color: var(--texte-doux); pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .3s;
}
.champ label .opt { color: #8A9A93; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--vert); }
.champ::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.champ:focus-within::after { transform: scaleX(1); }
.champ:focus-within label,
.champ input:not(:placeholder-shown) + label,
.champ textarea:not(:placeholder-shown) + label,
.champ select:valid + label { transform: translateY(-22px) scale(.8); color: var(--vert); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--texte-doux); margin-top: 10px; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--vert); }
.form-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 10px; }
.statut { font-size: .95rem; }
.statut.err { color: #9A2B1E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.merci { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 24px; }
.merci svg { width: 64px; height: 64px; }
.merci circle { fill: none; stroke: var(--bronze); stroke-width: 1.5; stroke-dasharray: 190; stroke-dashoffset: 190; animation: tracer 1s var(--ease) forwards; }
.merci path { fill: none; stroke: var(--vert); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tracer .6s var(--ease) .7s forwards; }
.merci h3 { font-size: 2rem; }
.merci p { color: var(--texte-doux); }

/* ================= Firme ================= */
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 6vw, 96px); }
.personne { display: flex; flex-direction: column; gap: 24px; }
.personne:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 6px; overflow: hidden; background: var(--vert); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.personne:hover .portrait img { transform: scale(1.04); }
.portrait .anneaux { width: 150%; right: -60%; }
.portrait .anneaux circle { stroke: var(--vert-ligne); }
.portrait .initiales { position: absolute; left: 28px; bottom: 20px; z-index: 1; font-family: var(--titre); font-size: clamp(4.5rem, 10vw, 8rem); line-height: 1; color: var(--sur-fonce); letter-spacing: -.03em; }
.role { font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--bronze); }
.personne h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; margin-top: 6px; }
.personne p { color: var(--texte-doux); }
.personne p b { color: var(--texte); font-weight: 600; }
.lien { font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; background: linear-gradient(var(--bronze), var(--bronze)) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease); width: fit-content; }
.lien:hover { background-size: 0 1px; background-position: 100% 100%; }

.histoire { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
.annee { font-family: var(--titre); font-size: clamp(5rem, 14vw, 11rem); line-height: .85; letter-spacing: -.04em; color: var(--bronze); }
.texte { display: flex; flex-direction: column; gap: 20px; max-width: 62ch; }
.texte p { color: var(--texte-doux); }
.texte p.fort { font-family: var(--titre); font-size: 1.6rem; line-height: 1.3; color: var(--texte); }

.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--vert-ligne); }
.deux > div { background: var(--vert); padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; gap: 20px; }
.deux h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.deux p { color: var(--sur-fonce-doux); font-size: 1.1rem; }

.valeurs { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.valeurs li { border-top: 1px solid var(--texte); padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.valeurs h3 { font-size: 1.9rem; line-height: 1.1; }
.valeurs p { color: var(--texte-doux); }

/* ================= Services ================= */
.service { padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ligne); scroll-margin-top: 80px; }
.service:first-child { border-top: 0; }
.service-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); }
.service-titre { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.service-titre .icone { width: 64px; height: 64px; color: var(--bronze); }
.service-titre .icone * { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.service-titre h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.service-titre h2 small { display: block; font-family: var(--corps); font-size: .9rem; letter-spacing: .04em; color: var(--bronze); margin-bottom: 12px; }
.service-intro { font-family: var(--titre); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; max-width: 30ch; }
.liste { margin-top: 40px; border-top: 1px solid var(--ligne); }
.liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--ligne); font-size: 1.08rem; transition: padding-left .5s var(--ease); }
.liste li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); transform: translateY(-2px); }
.liste li:hover { padding-left: 10px; }

/* ================= Politique ================= */
.legal { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; }
.legal h2 { font-size: 2rem; margin-top: 28px; }
.legal p { color: var(--texte-doux); }
.legal ul { list-style: none; display: grid; gap: 10px; }
.legal li { position: relative; padding-left: 22px; color: var(--texte-doux); }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.legal b { color: var(--texte); font-weight: 600; }
.legal .maj { margin-top: 24px; font-size: .9rem; }

/* ================= Appel à l'action ================= */
.cta-bande { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 36px; }
.cta-bande h2 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: 1; letter-spacing: -.025em; max-width: 14ch; }

/* ================= Pied de page ================= */
.pied { background: var(--encre); color: var(--sur-fonce-doux); overflow: hidden; }
.pied .wrap { padding-block: clamp(72px, 9vw, 120px) 36px; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.pied-haut { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.pied-haut .accroche { font-family: var(--titre); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; color: var(--sur-fonce); max-width: 15ch; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols h4 { font: 600 .85rem var(--corps); letter-spacing: .04em; color: var(--sable); margin-bottom: 16px; }
.cols ul { display: grid; gap: 10px; }
.cols a { text-decoration: none; transition: color .3s; }
.cols a:hover { color: var(--sur-fonce); }
.pied-logo img { width: 100%; height: auto; opacity: .95; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 1px solid #22322D; padding-top: 26px; font-size: .88rem; }
.pied-bas a { text-decoration: none; }
.pied-bas a:hover { color: var(--sur-fonce); }
.haut { background: none; border: 1px solid #2B3D37; color: var(--sur-fonce); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: .85rem; transition: border-color .3s, background .3s; }
.haut:hover { background: var(--bronze); border-color: var(--bronze); color: var(--vert); }

/* ================= Curseur : point or ================= */
.curseur { display: none; }
html.curseur-actif .curseur {
  display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--bronze); border: 1.5px solid transparent;
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease),
              background-color .35s var(--ease), border-color .35s var(--ease), opacity .3s;
}
html.curseur-actif .curseur.survol {
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  background: rgba(174, 138, 91, .16); border-color: var(--bronze);
}
html.curseur-actif .curseur.appui { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
html.curseur-actif .curseur.cache { opacity: 0; }
/* Le curseur natif est masqué, sauf dans les champs de saisie */
html.curseur-actif, html.curseur-actif a, html.curseur-actif button, html.curseur-actif summary,
html.curseur-actif label, html.curseur-actif [data-magnet] { cursor: none; }
html.curseur-actif input, html.curseur-actif textarea, html.curseur-actif select { cursor: auto; }

/* ================= Réactif ================= */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 22px; padding: calc(var(--header-h) + 24px) var(--gouttiere) 48px;
    background: var(--vert); clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path .8s var(--ease); visibility: hidden;
  }
  .nav.ouvert { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--titre); font-size: 2.6rem; color: var(--sur-fonce); }
  .nav .btn { margin-top: 18px; }
  .duo-tete, .v360, .citation, .contact, .equipe, .histoire, .pied-haut, .service-grille { grid-template-columns: minmax(0, 1fr); }
  .service-titre { position: static; }
  .personne:nth-child(2) { margin-top: 0; }
  .pilier { grid-template-columns: 48px minmax(0, 1fr) 44px; }
  .pilier p { grid-column: 2 / -1; }
  .pilier .icone { width: 44px; height: 44px; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .etapes::before, .etapes::after { display: none; }
  .hero-bas { grid-template-columns: minmax(0, 1fr); }
  .hero-accueil .hero-grille { grid-template-columns: minmax(0, 1fr); }
  .arche-zone { justify-self: stretch; width: 100%; max-width: 520px; margin-inline: auto; }
  .arche { aspect-ratio: 5 / 6; }
  .macaron { left: -8px; bottom: -40px; width: 112px; }
  .macaron img { width: 34px; }
  .guillemet { font-size: 6rem; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .brand img { height: 30px; }
  .hero h1 .ligne:nth-child(2) { padding-left: 0; }
  .formulaire, .etapes, .valeurs, .deux, .cols { grid-template-columns: minmax(0, 1fr); }
  .pilier { grid-template-columns: minmax(0, 1fr) 44px; }
  .pilier .icone { display: none; }
  .pilier p { grid-column: 1 / -1; }
  .defiler { display: none; }
  .anneaux { right: -45%; }
}
@media (prefers-reduced-motion: reduce) {
  .arche { clip-path: none; }
  .v-e .point { transform: none; }
  .v-e .courbe { stroke-dashoffset: 0; }
  .macaron { opacity: 1; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ligne > span { transform: none; }
  .apparaitre { opacity: 1; }
  .defilant-piste { animation: none; flex-wrap: wrap; }
  .defilant-piste ul[aria-hidden] { display: none; }
  html { scroll-behavior: auto; }
}

/* Ajustements sur fond sable */
.bg-sable .surtitre { color: var(--vert); }
.bg-sable .surtitre::before { background: var(--vert); }
.bg-sable .guillemet { color: var(--vert); }
.bg-sable .signature span span { color: var(--vert-2); }
.bg-sable .signature a { color: var(--vert); }

.bg-sable .signature span { color: var(--vert); }

/* Menu mobile ouvert : l'en-tête ne doit pas confiner le panneau */
.site-header:has(.nav.ouvert) { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; transform: none; }
