/* ═══════════════════════════════════════════════════════════════════════════
   Agentiah — feuille de style du site public.

   Direction : nuit violacée, prune et améthyste, avec du champagne pour les
   chiffres. Le luxe vient des ombres profondes et de la matière, jamais d'un
   dégradé fluo : pas de violet électrique, pas de bleu néon, pas de halo
   cyan, qui sont les marqueurs des sites d'intelligence artificielle.

   Les couleurs passent par des rôles (--fond, --texte, --accent…) ; une
   section claire se contente de redéfinir ces rôles, sans que le moindre
   composant ait besoin d'être réécrit.
   ═══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette fixe */
  --nuit:        #173B30;
  --nuit-2:      #1D4538;
  --nuit-3:      #245142;
  --nuit-4:      #2C5C4C;
  --craie:       #F5F4EF;
  --craie-2:     #E9E7DF;
  --craie-3:     #DDDAD0;
  --violet:      #6A4A9C;
  --violet-haut: #7B5BB0;
  --violet-clair:#D9B26A;
  --violet-nuit: #12302A;
  --prune:       #12302A;
  --champagne:   #D9B26A;
  --champagne-2: #EBD7AE;

  /* Rôles, régime clair par défaut (direction Comptoir) */
  --fond: var(--craie);
  --fond-2: #FBFAF6;
  --fond-3: var(--craie-2);
  --texte: #1B2622;
  --texte-2: rgba(27, 38, 34, .66);
  --texte-3: rgba(27, 38, 34, .46);
  --bord: rgba(27, 38, 34, .12);
  --bord-fort: rgba(27, 38, 34, .26);
  --accent: var(--nuit);
  --accent-2: #8E6A2C;
  --plein: var(--nuit);
  --plein-haut: #1F4A3D;
  --sur-plein: var(--craie);
  --violet-clair: #8E6A2C;
  --champagne: #8E6A2C;
  --ombre-1: 0 2px 10px rgba(27, 38, 34, .07);
  --ombre-2: 0 24px 60px -30px rgba(27, 38, 34, .30);
  --ombre-3: 0 60px 120px -50px rgba(27, 38, 34, .35);
  --lueur: 0 30px 80px -40px rgba(23, 59, 48, .30);

  --serif: 'Gloock', Georgia, serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad-x: clamp(24px, 5vw, 60px);
  --contenu: 1280px;
}

.vert {
  /* Bloc vert bouteille : rôles sombres */
  --fond: var(--nuit);
  --fond-2: var(--nuit-2);
  --fond-3: var(--nuit-3);
  --texte: var(--craie);
  --texte-2: rgba(245, 244, 239, .60);
  --texte-3: rgba(245, 244, 239, .38);
  --bord: rgba(255, 255, 255, .09);
  --bord-fort: rgba(255, 255, 255, .20);
  --accent: var(--violet-clair);
  --accent-2: var(--champagne);
  --plein: #B5893C;
  --plein-haut: #C49A4E;
  --sur-plein: #12302A;

  /* Ombres : trois profondeurs plus une lueur améthyste très diffuse */
  --ombre-1: 0 2px 10px rgba(8, 20, 16, .35);
  --ombre-2: 0 24px 60px -28px rgba(8, 20, 16, .85);
  --ombre-3: 0 60px 120px -50px rgba(8, 20, 16, .95);
  --lueur: 0 30px 90px -40px rgba(23, 59, 48, .75);

  --violet-clair: #D9B26A;
  --champagne: #D9B26A;
  background: var(--fond);
  color: var(--texte);
}

/* Une zone claire : seuls les rôles changent. */
.clair {
  --fond: var(--craie);
  --fond-2: #FBFAF6;
  --fond-3: var(--craie-2);
  --texte: var(--nuit);
  --texte-2: rgba(27, 38, 34, .62);
  --texte-3: rgba(27, 38, 34, .42);
  --bord: rgba(27, 38, 34, .12);
  --bord-fort: rgba(27, 38, 34, .24);
  --accent: var(--nuit);
  --accent-2: #9A7232;
  --plein: var(--nuit);
  --plein-haut: #1F4A3D;
  --sur-plein: var(--craie);
  --ombre-1: 0 2px 10px rgba(27, 38, 34, .07);
  --ombre-2: 0 24px 60px -30px rgba(27, 38, 34, .30);
  --ombre-3: 0 60px 120px -50px rgba(27, 38, 34, .35);
  --lueur: 0 30px 80px -40px rgba(23, 59, 48, .35);
  background: var(--fond);
  color: var(--texte);
}

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 90px; }
body {
  font-synthesis-weight: none;
  font-family: var(--sans);
  background: var(--fond);
  color: var(--texte);
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(181, 137, 60, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Typographie ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.01em; color: var(--texte); }
h1 { font-size: clamp(44px, 6.2vw, 92px); font-weight: 400; letter-spacing: -.015em; }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: clamp(19px, 1.4vw, 22px); }
em { font-style: italic; color: var(--accent); }
.label {
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: block;
}
.label--or { color: var(--accent-2); }
.lead { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; color: var(--texte-2); font-weight: 300; max-width: 58ch; }
p { color: var(--texte-2); }
.souligne { position: relative; display: inline-block; white-space: nowrap; }
.souligne::after {
  content: ''; position: absolute; bottom: .04em; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--champagne), var(--violet-clair)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; animation: ligneGrandit .9s var(--ease) 1s both;
}
strong, b, th { font-weight: 600; color: var(--texte); }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 100px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; background: none; color: var(--texte);
  transition: background-color .3s, color .3s, transform .25s var(--ease), box-shadow .35s, border-color .3s;
}
.btn--plein {
  background: var(--plein); color: var(--sur-plein);
  box-shadow: var(--ombre-2), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn--plein:hover { background: var(--plein-haut); transform: translateY(-2px); box-shadow: var(--ombre-2), var(--lueur); }
.btn--violet {
  background: var(--plein); color: var(--sur-plein);
  box-shadow: var(--ombre-2), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--violet:hover { transform: translateY(-2px); box-shadow: var(--ombre-3), 0 30px 90px -30px rgba(181, 137, 60, .9); }
.btn--ligne { border-color: var(--bord-fort); color: var(--texte); }
.btn--ligne:hover { border-color: var(--texte); background: rgba(181, 137, 60, .08); transform: translateY(-2px); }
.btn--petit { padding: 11px 24px; font-size: 13px; }
.btn[disabled] { opacity: .5; transform: none; box-shadow: none; }
.btn .fleche { transition: transform .3s var(--ease); }
.btn:hover .fleche { transform: translateX(4px); }
.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--texte-2); font-weight: 400;
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.lien-fleche:hover { color: var(--texte); border-bottom-color: var(--accent); }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 200; padding: 22px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.defile {
  background: var(--craie); box-shadow: 0 8px 24px -18px rgba(27, 38, 34, .35);
  border-bottom-color: var(--bord); padding-block: 14px;
}
.nav-logo { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--texte); }
.nav-logo span { color: var(--violet-clair); font-style: italic; }
.nav-liens { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-liens a { font-size: 14px; font-weight: 400; color: var(--texte-2); position: relative; transition: color .25s; }
.nav-liens a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--violet-clair); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-liens a:hover, .nav-liens a[aria-current="page"] { color: var(--texte); }
.nav-liens a:hover::after, .nav-liens a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--texte); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-mobile {
  position: fixed; inset: 0; z-index: 190; background: var(--craie); display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 26px;
}
.menu-mobile.ouvert { display: flex; animation: fondu .3s var(--ease) both; }
.menu-mobile a { font-family: var(--serif); font-size: 30px; color: var(--texte); }
.menu-mobile a.btn { font-size: 17px; font-family: var(--sans); }
.menu-mobile a.btn--plein, .menu-mobile a.btn--violet { color: var(--sur-plein); }
.burger { position: relative; z-index: 210; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--texte); }
.burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.progres {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 300; width: 0;
  background: linear-gradient(90deg, var(--champagne), var(--violet-haut));
}

/* ── Enveloppes ──────────────────────────────────────────────────────────── */
.wrap { width: min(var(--contenu), 100%); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) var(--pad-x); background: var(--fond); }
.section--serre { padding-block: clamp(48px, 6vw, 80px); }
.section--prune { --fond: var(--prune); }
.tete { max-width: 680px; }
.tete--centre { margin-inline: auto; text-align: center; }
.tete .lead { margin-top: 20px; }
.tete--centre .lead { margin-inline: auto; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(130px, 16vh, 170px) var(--pad-x) clamp(60px, 7vw, 90px); }
.orb { display: none; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; animation: flotte 11s ease-in-out infinite; }
.orb1 { width: 680px; height: 680px; background: radial-gradient(circle, rgba(23, 59, 48, .42), transparent 68%); top: -180px; right: -140px; }
.orb2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(217, 199, 160, .12), transparent 70%); bottom: -120px; left: 14%; animation-delay: -4s; }
.orb3 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(18, 48, 42, .55), transparent 70%); top: 30%; left: -90px; animation-delay: -7s; }
.clair .orb1 { background: radial-gradient(circle, rgba(23, 59, 48, .16), transparent 70%); }
.clair .orb3 { background: radial-gradient(circle, rgba(23, 59, 48, .10), transparent 70%); }
.hero-grille { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(36px, 5vw, 64px); align-items: start; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(181, 137, 60, .14);
  border: 1px solid rgba(217, 178, 106, .28); color: var(--violet-clair); padding: 7px 17px;
  border-radius: 100px; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 30px; animation: monte .8s var(--ease) both;
}
.clair .hero-tag { background: rgba(23, 59, 48, .09); border-color: rgba(23, 59, 48, .25); color: var(--violet); }
.hero-tag::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; animation: battement 2.4s infinite; }
.hero h1 { max-width: 14ch; animation: monte .9s var(--ease) .12s both; }
.hero .lead { margin-top: 26px; font-size: 18px; animation: monte .9s var(--ease) .26s both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 42px; animation: monte .9s var(--ease) .4s both; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 52px); margin-top: 60px; animation: monte .9s var(--ease) .54s both; }
.stat-num { font-family: var(--serif); font-size: clamp(30px, 3vw, 38px); font-weight: 700; line-height: 1; color: var(--texte); }
.stat-num span { color: var(--accent-2); }
.stat-label { font-size: 13px; color: var(--texte-3); font-weight: 300; margin-top: 5px; }

/* ── Bande défilante ─────────────────────────────────────────────────────── */
.bande { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--bord); background: rgba(181, 137, 60, .06); }
.bande-piste { display: flex; width: max-content; animation: defile 42s linear infinite; will-change: transform; }
.bande:hover .bande-piste { animation-play-state: paused; }
.bande-item {
  display: inline-flex; align-items: center; gap: 14px; padding: 0 34px;
  font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3); white-space: nowrap;
}
.bande-item::before { content: ''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex: none; }

/* ── Diagnostic ──────────────────────────────────────────────────────────── */
.diag {
  position: relative; background: linear-gradient(165deg, var(--fond-3), var(--fond-2));
  border: 1px solid var(--bord); border-radius: 24px; padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--ombre-3), var(--lueur); animation: monte .9s var(--ease) .3s both;
}
.diag::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  background: linear-gradient(150deg, rgba(217, 178, 106, .22), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.diag > * { position: relative; }
.diag-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.diag-entete h3 { font-size: 21px; }
.diag-compteur { font-size: 12px; color: var(--texte-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.diag-barre { height: 3px; background: var(--bord); border-radius: 3px; overflow: hidden; margin: 16px 0 26px; }
.diag-barre i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--champagne), var(--violet-haut)); transition: width .55s var(--ease); }
.diag-etape + .diag-etape { margin-top: 22px; }
.diag-label { font-size: 13.5px; font-weight: 400; color: var(--texte); margin-bottom: 11px; display: flex; gap: 9px; align-items: baseline; }
.diag-label b { font-family: var(--serif); font-size: 12px; color: var(--accent-2); font-weight: 700; }
.diag-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  position: relative; z-index: 0; border: 1px solid var(--bord-fort); background: transparent;
  border-radius: 100px; padding: 9px 17px; font-size: 13.5px; color: var(--texte); overflow: hidden;
  transition: border-color .25s, color .25s, transform .25s var(--ease), box-shadow .3s;
}
.opt::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #245142, var(--nuit));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.opt:hover { border-color: var(--accent); transform: translateY(-2px); }
.opt[aria-pressed="true"] { color: #FBFAF6; border-color: transparent; box-shadow: 0 10px 26px -10px rgba(181, 137, 60, .95); }
.opt[aria-pressed="true"]::before { transform: scaleX(1); }
.diag-sortie { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--bord-fort); }
.diag-verdict { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.diag-chiffre { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 46px); font-weight: 900; line-height: 1; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.diag-unite { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--texte); }
.diag-note { font-size: 12.5px; color: var(--texte-3); font-weight: 300; margin-top: 12px; line-height: 1.65; }
.diag-pistes { list-style: none; display: grid; gap: 9px; margin-top: 20px; }
.diag-pistes li {
  display: flex; gap: 11px; font-size: 14px; line-height: 1.5; color: var(--texte-2);
  opacity: 0; transform: translateX(-8px); animation: entreeGauche .5s var(--ease) both;
}
.diag-pistes li::before { content: '\2192'; color: var(--accent); flex: none; }
.diag-form { display: grid; gap: 10px; margin-top: 24px; }
.diag-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.champ { position: relative; }
.champ input {
  width: 100%; padding: 20px 16px 8px; border: 1px solid var(--bord-fort); border-radius: 12px;
  background: rgba(255, 255, 255, .03); color: var(--texte); font-size: 14.5px;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.clair .champ input { background: rgba(27, 38, 34, .03); }
.champ label {
  position: absolute; left: 16px; top: 15px; font-size: 14px; color: var(--texte-3);
  pointer-events: none; transform-origin: left top;
  transition: transform .22s var(--ease), font-size .22s var(--ease), color .22s;
}
.champ input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(181, 137, 60, .14); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--accent); }
.diag-legal { font-size: 11.5px; color: var(--texte-3); line-height: 1.5; }
.diag-erreur { font-size: 13px; color: #E88B8B; }
.diag-merci { text-align: center; padding: 26px 18px; animation: monte .5s var(--ease) both; }
.diag-merci .coche {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: rgba(181, 137, 60, .18);
  display: grid; place-items: center; color: var(--accent); font-size: 24px; animation: pop .5s var(--ease) .1s both;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Bento ───────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 56px; background: var(--bord); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-2); }
.case { background: var(--fond-2); padding: clamp(26px, 2.6vw, 38px); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; transition: background-color .35s; }
.case::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--violet-haut), var(--champagne));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.case:hover { background: var(--fond-3); }
.case:hover::before { transform: scaleX(1); }
.case--2 { grid-column: span 2; }
.case--3 { grid-column: span 3; }
.case-num { font-family: var(--serif); font-size: 12px; color: var(--texte-3); position: absolute; top: 20px; right: 26px; }
.case h3 { font-size: 20px; }
.case p { font-size: 14px; line-height: 1.7; }
.case-pastilles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.pastille { font-size: 11px; padding: 4px 11px; border-radius: 100px; background: rgba(181, 137, 60, .12); color: var(--accent); border: 1px solid rgba(181, 137, 60, .22); font-weight: 400; }

/* ── Bloc mis en lumière ─────────────────────────────────────────────────── */
.bloc-lueur {
  margin: 0 var(--pad-x); background: linear-gradient(160deg, var(--nuit-3), var(--prune) 60%, var(--nuit));
  border: 1px solid rgba(217, 178, 106, .16); border-radius: 30px;
  padding: clamp(40px, 5.5vw, 76px); position: relative; overflow: hidden;
  color: var(--craie); box-shadow: var(--ombre-3), var(--lueur);
}
.bloc-lueur::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 84% 40%, rgba(181, 137, 60, .32) 0%, transparent 58%),
              radial-gradient(ellipse at 14% 88%, rgba(217, 199, 160, .10) 0%, transparent 52%);
}
.bloc-lueur > * { position: relative; z-index: 1; }
.bloc-lueur h2 { color: var(--craie); }
.bloc-lueur .lead, .bloc-lueur p { color: rgba(245, 244, 239, .62); }
.sombre-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.liste-outils { display: flex; flex-direction: column; gap: 12px; }
.outil {
  display: flex; align-items: center; gap: 15px; padding: 17px 20px; border-radius: 15px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.outil:hover { background: rgba(181, 137, 60, .18); border-color: rgba(217, 178, 106, .38); transform: translateX(5px); box-shadow: var(--ombre-1); }
.outil-pic { width: 40px; height: 40px; border-radius: 11px; background: rgba(181, 137, 60, .24); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--violet-clair); flex: none; }
.outil-nom { font-size: 14.5px; font-weight: 400; color: var(--craie); }
.outil-desc { font-size: 12.5px; color: rgba(245, 244, 239, .48); font-weight: 300; margin-top: 2px; }
.outil-badge { margin-left: auto; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px; background: rgba(217, 199, 160, .16); color: var(--champagne); font-weight: 500; flex: none; }

/* ── Étapes ──────────────────────────────────────────────────────────────── */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: 56px; }
.etape { position: relative; display: flex; flex-direction: column; gap: 13px; }
.etape::after { content: ''; position: absolute; top: 21px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 1px; background: linear-gradient(90deg, var(--bord-fort), transparent); }
.etape:last-child::after { display: none; }
.etape-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--fond-2); border: 1px solid var(--bord-fort);
  display: grid; place-items: center; font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
}
.etape:hover .etape-num { background: linear-gradient(135deg, #245142, var(--nuit)); border-color: transparent; color: #FBFAF6; transform: scale(1.08); box-shadow: var(--lueur); }
.etape h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.etape p { font-size: 13.5px; line-height: 1.7; }

/* ── Chiffres ────────────────────────────────────────────────────────────── */
.chiffres { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-top: 56px; }
.chiffre-carte { background: var(--fond-2); border: 1px solid var(--bord); border-radius: 22px; padding: clamp(26px, 3vw, 38px); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.chiffre-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-2); border-color: var(--bord-fort); }
.chiffre-carte.phare {
  background: linear-gradient(145deg, #245142, var(--nuit) 45%, #12302A);
  border-color: transparent; box-shadow: var(--ombre-2), var(--lueur);
}
.chiffre-gros { font-family: var(--serif); font-size: clamp(48px, 5.5vw, 66px); font-weight: 900; line-height: 1; color: #FBFAF6; }
.chiffre-gros-label { font-size: 16px; color: rgba(251, 250, 246, .82); font-weight: 300; line-height: 1.45; margin-top: 8px; }
.chiffre-num { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 44px); font-weight: 700; line-height: 1; color: var(--texte); }
.chiffre-num b { font-weight: inherit; }
.chiffre-num span { color: var(--accent-2); }
.chiffre-label { font-size: 13px; color: var(--texte-3); font-weight: 300; margin-top: 9px; line-height: 1.5; }

/* ── Citation ────────────────────────────────────────────────────────────── */
.citation { max-width: 880px; margin-inline: auto; text-align: center; }
.citation blockquote { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); font-style: italic; line-height: 1.32; letter-spacing: -.02em; color: var(--texte); }
.citation figcaption { margin-top: 24px; font-size: 12px; color: var(--texte-3); letter-spacing: .12em; text-transform: uppercase; }

/* ── Offres ──────────────────────────────────────────────────────────────── */
.offres { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; align-items: stretch; }
.offres > .offre { grid-column: span 2; }
.offres > .offre--bande {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(200px, .8fr) 1.4fr minmax(240px, 1fr); grid-template-rows: auto auto;
  column-gap: clamp(24px, 3vw, 44px); row-gap: 14px; align-items: start; background: transparent; border-style: dashed;
}
.offre--bande:hover { transform: none; box-shadow: none; }
.offre--bande .bande-tete { grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 8px; }
.bande-sur { font-size: 12px; color: var(--texte-3); }
.offre--bande ul { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.offre--bande .offre-delai { grid-column: 3; grid-row: 1; margin: 0; }
.offre--bande .offre-exemple { grid-column: 3; grid-row: 2; }
.offre--bande .bande-tete .btn { align-self: flex-start; width: auto; padding-inline: 28px; margin-top: 8px; }
.offres--trois { grid-template-columns: repeat(3, 1fr); }
.offres--trois > .offre { grid-column: auto; }
.offre {
  background: var(--fond-2); border: 1px solid var(--bord); border-radius: 24px;
  padding: clamp(26px, 2.8vw, 38px); display: flex; flex-direction: column; gap: 14px;
  position: relative; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.offre:hover { transform: translateY(-6px); box-shadow: var(--ombre-3); border-color: var(--bord-fort); }
.offre--phare {
  border-color: rgba(217, 178, 106, .45);
  background: linear-gradient(170deg, var(--fond-3), var(--fond-2));
  box-shadow: var(--ombre-2), var(--lueur);
}
.offre-ruban {
  position: absolute; top: -13px; left: clamp(26px, 2.8vw, 38px);
  background: linear-gradient(135deg, #245142, var(--nuit)); color: #FBFAF6;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; font-weight: 500;
  box-shadow: 0 10px 24px -12px rgba(181, 137, 60, .9);
}
.offre h3 { font-size: 23px; }
.offre-prix { font-family: var(--serif); font-size: 38px; font-weight: 900; line-height: 1; margin-top: 4px; color: var(--texte); }
.offre-prix small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--texte-3); margin-top: 8px; letter-spacing: 0; }
.offre ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.offre li { display: flex; gap: 10px; font-size: 14px; color: var(--texte-2); font-weight: 300; line-height: 1.55; }
.offre li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 8px; }
.offre .btn { margin-top: auto; width: 100%; }
.offre-note { font-size: 12.5px; color: var(--texte-3); text-align: center; margin-top: 30px; font-weight: 300; }

/* ── Portrait ────────────────────────────────────────────────────────────── */
.portrait { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.portrait-cadre { position: relative; }
.portrait-cadre img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; position: relative; z-index: 1; box-shadow: var(--ombre-3); filter: saturate(.85) contrast(1.05); }
.portrait-cadre::before {
  content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--accent);
  border-radius: 24px; opacity: .5;
}
.portrait-signature { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--accent); margin-top: 4px; }
.parcours { list-style: none; margin-top: 30px; border-top: 1px solid var(--bord); }
.parcours li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--bord); align-items: baseline; transition: padding-left .3s var(--ease), background-color .3s; }
.parcours li:hover { padding-left: 10px; }
.parcours b { font-family: var(--serif); font-size: 14px; color: var(--accent-2); font-weight: 700; }
.parcours span { font-size: 14px; color: var(--texte-2); font-weight: 300; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin-inline: auto; margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--bord); }
.faq summary { list-style: none; padding: 22px 44px 22px 0; font-size: 17px; font-weight: 400; color: var(--texte); position: relative; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 26px; color: var(--accent); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq summary:hover { color: var(--accent); }
.faq-rep { padding: 0 44px 24px 0; font-size: 15px; color: var(--texte-2); font-weight: 300; line-height: 1.75; animation: monte .4s var(--ease) both; }

/* ── Appel final ─────────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; text-align: center; }
.final h2 { max-width: 18ch; margin-inline: auto; }
.final .lead { margin-inline: auto; margin-top: 22px; }
.final .hero-actions { justify-content: center; animation: none; }

/* ── Pied de page ────────────────────────────────────────────────────────── */
.pied { background: #10291F; color: rgba(245, 244, 239, .55); padding: clamp(56px, 6vw, 80px) var(--pad-x) 34px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.pied h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); font-weight: 500; margin-bottom: 16px; }
.pied ul { list-style: none; display: grid; gap: 10px; }
.pied a { transition: color .25s; font-weight: 400; }
.pied a:hover { color: var(--craie); }
.pied p { color: rgba(245, 244, 239, .5); }
.pied-logo { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--craie); }
.pied-logo span { color: var(--violet-clair); font-style: italic; }
.pied-mot { margin-top: 14px; max-width: 36ch; font-weight: 300; line-height: 1.7; }
.pied-bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 12.5px; color: rgba(245, 244, 239, .38); }

/* ── Apparition au défilement ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.vu { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes battement { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes defile { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes ligneGrandit { to { transform: scaleX(1); } }
@keyframes entreeGauche { to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.mot { display: inline-block; opacity: 0; transform: translateY(26px); animation: monte .75s var(--ease) both; }
.hero h1.decoupe, .page-tete h1.decoupe { animation: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .mot { opacity: 1; transform: none; }
}

/* ═══ Pages intérieures ═══════════════════════════════════════════════════ */
.page-tete { position: relative; overflow: hidden; padding: clamp(120px, 15vh, 160px) var(--pad-x) clamp(40px, 5vw, 64px); background: var(--fond); }
.page-tete .wrap { position: relative; z-index: 2; }
.page-tete h1 { font-size: clamp(38px, 4.8vw, 68px); max-width: 16ch; }
.page-tete .lead { margin-top: 22px; font-size: 18px; }
.fil { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--texte-3); margin-bottom: 22px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.fil a { color: var(--texte-2); }
.fil a:hover { color: var(--accent); }

.service-bloc { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.service-bloc + .service-bloc { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--bord); }
.service-bloc h2 { font-size: clamp(28px, 3.2vw, 42px); }
.sous-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bord); border-radius: 20px; overflow: hidden; box-shadow: var(--ombre-2); }
.sous-carte { background: var(--fond-2); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 9px; transition: background-color .3s; position: relative; }
.sous-carte:hover { background: var(--fond-3); }
.sous-carte h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0; }
.sous-carte p { font-size: 13.5px; line-height: 1.65; }
.sous-carte .puce, .repere-pic { font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.sous-carte .puce { width: 34px; height: 34px; border-radius: 10px; background: rgba(181, 137, 60, .16); display: grid; place-items: center; color: var(--accent); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.sous-carte:hover .puce { background: linear-gradient(135deg, #245142, var(--nuit)); color: #FBFAF6; transform: scale(1.06); }

.exemples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.exemple { background: var(--fond-2); border: 1px solid var(--bord); border-radius: 20px; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.exemple:hover { transform: translateY(-5px); box-shadow: var(--ombre-2); border-color: var(--bord-fort); }
.exemple-metier { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.exemple h3 { font-size: 19px; }
.exemple p { font-size: 13.5px; line-height: 1.7; }
.exemple-gain { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--bord-fort); font-size: 13px; color: var(--texte-2); }
.exemple-gain b { color: var(--accent-2); font-family: var(--serif); font-size: 16px; }

.valeurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); margin-top: 52px; }
.valeur { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--accent); }
.valeur h3 { font-size: 19px; }
.valeur p { font-size: 14px; line-height: 1.7; }

.contact-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 70px); align-items: start; }
.repere { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--bord); }
.repere-pic { width: 36px; height: 36px; border-radius: 10px; background: rgba(181, 137, 60, .16); display: grid; place-items: center; color: var(--accent); flex: none; }
.repere h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.repere p { font-size: 13.5px; line-height: 1.65; margin-top: 3px; }
.repere a { color: var(--accent); border-bottom: 1px solid transparent; }
.repere a:hover { border-bottom-color: var(--accent); }

/* ═══ Marketing, réassurance, tunnel ══════════════════════════════════════ */

/* Comparatif : deux colonnes face à face, la nôtre mise en avant. */
.face-a-face { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.colonne { border: 1px solid var(--bord); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px); background: var(--fond-2); }
.colonne--nous { border-color: rgba(217, 178, 106, .4); background: linear-gradient(170deg, var(--fond-3), var(--fond-2)); box-shadow: var(--ombre-2), var(--lueur); }
.colonne h3 { font-size: 20px; margin-bottom: 4px; }
.colonne-sous { font-size: 12.5px; color: var(--texte-3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.colonne ul { list-style: none; display: grid; gap: 13px; }
.colonne li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: 14px; line-height: 1.6; color: var(--texte-2); }
.colonne li::before { content: '\00D7'; color: var(--texte-3); font-size: 16px; line-height: 1.4; }
.colonne--nous li::before { content: '\2713'; color: var(--accent); }

/* Engagements : des cartes de réassurance, sobres et numérotées. */
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 52px; background: var(--bord); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-2); }
.engagement { background: var(--fond-2); padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; transition: background-color .35s; }
.engagement:hover { background: var(--fond-3); }
.engagement-pic { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent-2); }
.engagement h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.engagement p { font-size: 13.5px; line-height: 1.7; }

/* La lettre : le seul endroit du site qui parle comme une lettre. */
.lettre { max-width: 760px; margin-inline: auto; position: relative; }
.lettre p { font-size: 17px; line-height: 1.85; color: var(--texte-2); }
.lettre p + p { margin-top: 18px; }
.lettre .accroche { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 29px); font-style: italic; color: var(--texte); line-height: 1.4; }
.lettre-signature { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.lettre-signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: var(--ombre-1); }
.lettre-nom { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--texte); }
.lettre-role { font-size: 12.5px; color: var(--texte-3); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }

/* Les portes d'entrée : le tunnel rendu visible, du moins au plus engageant. */
.portes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.porte {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--bord); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px);
  background: var(--fond-2); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.porte::after {
  content: ''; position: absolute; inset: auto -40% -60% -40%; height: 160px;
  background: radial-gradient(ellipse at center, rgba(181, 137, 60, .35), transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.porte:hover { transform: translateY(-6px); border-color: rgba(217, 178, 106, .4); box-shadow: var(--ombre-3); }
.porte:hover::after { opacity: 1; }
.porte > * { position: relative; z-index: 1; }
.porte-temps { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); font-weight: 500; }
.porte h3 { font-size: 21px; }
.porte p { font-size: 14px; line-height: 1.7; }
.porte .btn { margin-top: auto; align-self: flex-start; }
.porte-num { position: absolute; top: 18px; right: 24px; font-family: var(--serif); font-size: 44px; font-weight: 900; color: var(--texte); opacity: .07; z-index: 0; }

/* L'aperçu du document remis après le diagnostic. */
.livrable { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 70px); align-items: center; }
.feuille {
  background: linear-gradient(170deg, #FBFAF6, #E9E7DF); color: var(--nuit);
  border-radius: 14px; padding: clamp(24px, 2.6vw, 34px); box-shadow: var(--ombre-3), var(--lueur);
  transform: rotate(-1.4deg); transition: transform .5s var(--ease);
  border: 1px solid rgba(27, 38, 34, .12);
}
.feuille:hover { transform: rotate(0deg) translateY(-6px); }
.feuille-entete { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(27, 38, 34, .14); padding-bottom: 12px; margin-bottom: 16px; }
.feuille-titre { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--nuit); }
.feuille-date { font-size: 11px; color: rgba(27, 38, 34, .45); letter-spacing: .08em; text-transform: uppercase; }
.feuille-axe { padding: 13px 0; border-bottom: 1px dashed rgba(27, 38, 34, .18); display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: baseline; }
.feuille-axe:last-of-type { border-bottom: 0; }
.feuille-axe b { font-family: var(--serif); color: var(--violet); font-size: 14px; }
.feuille-axe span { font-size: 13.5px; color: rgba(27, 38, 34, .78); line-height: 1.5; }
.feuille-axe i { font-style: normal; font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--nuit); white-space: nowrap; }
.feuille-pied { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(27, 38, 34, .14); font-size: 11.5px; color: rgba(27, 38, 34, .5); display: flex; justify-content: space-between; gap: 12px; }

/* Bandeau de preuve : des repères courts, alignés. */
.preuves { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; margin-top: 40px; }
.preuve { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--texte-2); }
.preuve::before { content: '\2713'; color: var(--accent); font-size: 14px; }

/* ── Écrans étroits ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grille { grid-template-columns: 1fr; }
  .diag { max-width: 580px; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre-carte.phare { grid-column: span 2; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .engagements { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-liens { display: none; }
  .burger { display: flex; }
  .nav-actions .btn { display: none; }
  .bento { grid-template-columns: 1fr; }
  .case--2, .case--3 { grid-column: auto; }
  .sombre-grille, .livrable { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .etape::after { display: none; }
  .offres, .portes { grid-template-columns: 1fr; }
  .offres > .offre, .offres > .offre--bande { grid-column: auto; }
  .offres > .offre--bande { display: flex; flex-direction: column; }
  .offres > .offre--bande ul { grid-template-columns: 1fr; }
  .portrait { grid-template-columns: 1fr; }
  .portrait-cadre { max-width: 360px; }
  .portrait-cadre::before { inset: 14px -14px -14px 14px; }
  .service-bloc { grid-template-columns: 1fr; }
  .exemples { grid-template-columns: 1fr 1fr; }
  .valeurs { grid-template-columns: 1fr 1fr; }
  .contact-grille { grid-template-columns: 1fr; }
  .face-a-face { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  h1 { font-size: clamp(38px, 11vw, 52px); }
  .etapes, .chiffres, .engagements { grid-template-columns: 1fr; }
  .chiffre-carte.phare { grid-column: auto; }
  .diag-duo { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px 34px; }
  .parcours li { grid-template-columns: 1fr; gap: 4px; }
  .souligne { white-space: normal; }
  .sous-cartes { grid-template-columns: 1fr; }
  .exemples, .valeurs { grid-template-columns: 1fr; }
  .feuille { transform: none; }
}


/* ═══ Démonstration avant / après ═════════════════════════════════════════
   Deux écrans dessinés en HTML, superposés, que la poignée découvre. Rien
   n'est une capture : tout est du texte, donc tout reste net et modifiable. */
.compa {
  position: relative; margin-top: 52px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--bord); box-shadow: var(--ombre-3), var(--lueur);
  user-select: none; touch-action: pan-y; --coupe: 50%;
  aspect-ratio: 16 / 9; min-height: 380px; background: var(--nuit-2);
}
.compa-face { position: absolute; inset: 0; }
.compa-apres { clip-path: inset(0 0 0 var(--coupe)); }
.compa-avant { clip-path: inset(0 calc(100% - var(--coupe)) 0 0); }
.compa-poignee {
  position: absolute; top: 0; bottom: 0; left: var(--coupe); width: 2px;
  background: linear-gradient(180deg, transparent, var(--violet-clair) 15%, var(--violet-clair) 85%, transparent);
  z-index: 5; transform: translateX(-1px);
}
.compa-bouton {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(217, 178, 106, .6);
  background: rgba(27, 38, 34, .85); backdrop-filter: blur(8px); color: var(--violet-clair);
  font-size: 17px; display: grid; place-items: center; cursor: ew-resize;
  box-shadow: 0 0 30px -6px rgba(181, 137, 60, .9);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.compa-bouton:hover { transform: translate(-50%, -50%) scale(1.08); }
.compa-etiquette {
  position: absolute; top: 18px; z-index: 4; font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px; font-weight: 500;
  background: rgba(27, 38, 34, .7); backdrop-filter: blur(6px);
}
.compa-etiquette--g { left: 18px; color: rgba(245, 244, 239, .55); border: 1px solid rgba(255, 255, 255, .12); }
.compa-etiquette--d { right: 18px; color: var(--violet-clair); border: 1px solid rgba(217, 178, 106, .4); }

/* Le cadre commun aux deux écrans */
.ecran { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 13px; }
.ecran--tableur { background: #E9E7E2; color: #2A2A28; }
.ecran--outil { background: linear-gradient(165deg, var(--nuit-3), var(--nuit)); color: var(--craie); }
.ecran-barre {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: #D8D5CE; border-bottom: 1px solid #C2BFB7; flex: none; flex-wrap: wrap;
}
.ecran-onglet { font-size: 11.5px; background: #F3F1EC; border: 1px solid #C2BFB7; border-bottom: 0; padding: 5px 11px; border-radius: 5px 5px 0 0; color: #3A3A36; }
.ecran-onglet--mort { background: #CFCCC4; color: #6E6B64; }
.ecran-note { margin-left: auto; font-size: 11px; color: #7A776F; }
.ecran-barre--outil { background: rgba(255, 255, 255, .04); border-bottom-color: var(--bord); }
.ecran-titre { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--craie); }
.ecran-chip { margin-left: auto; font-size: 11px; padding: 4px 11px; border-radius: 100px; background: rgba(181, 137, 60, .22); color: var(--violet-clair); border: 1px solid rgba(217, 178, 106, .3); }

/* Le tableur : volontairement dense, gris et bancal */
.tableur { flex: 1; overflow: hidden; font-family: var(--sans); }
.tableur-tete, .tableur-ligne { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr .9fr .8fr; }
.tableur-tete span { background: #D8D5CE; border: 1px solid #C2BFB7; padding: 4px 9px; font-size: 10.5px; color: #6E6B64; text-align: center; }
.tableur-ligne span { border: 1px solid #D3D0C9; padding: 8px 9px; font-size: 12px; color: #33322F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #F6F5F1; }
.tableur-ligne--pale span { color: #8A877F; }
.tableur .rouge { color: #A8331F; background: #F7E7E3; }
.ecran-pied { flex: none; padding: 11px 18px; background: #DFDCD5; border-top: 1px solid #C2BFB7; font-size: 11.5px; }
.ecran-alerte { color: #A8331F; }
.ecran-pied--outil { background: rgba(255, 255, 255, .03); border-top-color: var(--bord); display: flex; gap: 26px; color: var(--texte-2); }
.ecran-pied--outil b { color: var(--champagne); font-family: var(--serif); font-size: 15px; }

/* L'outil : aéré, hiérarchisé, une ligne par dossier */
.outil-liste { flex: 1; display: flex; flex-direction: column; }
.outil-ligne {
  display: grid; grid-template-columns: 10px 1.3fr 1.6fr auto; gap: 14px; align-items: center;
  padding: 15px 18px; border-bottom: 1px solid var(--bord); transition: background-color .3s;
}
.outil-ligne:hover { background: rgba(181, 137, 60, .08); }
.jalon { width: 8px; height: 8px; border-radius: 50%; }
.jalon--chaud { background: var(--violet-clair); box-shadow: 0 0 12px rgba(217, 178, 106, .9); }
.jalon--attente { background: var(--champagne); }
.jalon--ok { background: #6FA88A; }
.jalon--froid { background: rgba(245, 244, 239, .25); }
.outil-client { font-size: 13.5px; color: var(--craie); font-weight: 400; }
.outil-etat { font-size: 12.5px; color: var(--texte-2); }
.outil-action { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-clair); white-space: nowrap; }

@media (max-width: 820px) {
  .compa { aspect-ratio: auto; height: 460px; }
  .outil-ligne { grid-template-columns: 10px 1fr; gap: 8px; padding: 11px 14px; }
  .outil-etat, .outil-action { grid-column: 2; }
  .tableur-tete, .tableur-ligne { grid-template-columns: 1.3fr 1fr .8fr .8fr; }
  .tableur-tete span:last-child, .tableur-ligne span:last-child { display: none; }
  .ecran-pied--outil { flex-direction: column; gap: 4px; }
}

/* Le tableur doit remplir son écran : sans ça, un grand aplat gris reste vide
   sous les dernières lignes. On prolonge la grille de cellules en fond. */
.tableur {
  background-image:
    repeating-linear-gradient(to right, transparent 0 calc(20% - 1px), #D3D0C9 calc(20% - 1px) 20%),
    repeating-linear-gradient(to bottom, transparent 0 33px, #D3D0C9 33px 34px);
  background-color: #F6F5F1;
}


/* ═══ Dessins faits main ══════════════════════════════════════════════════ */

/* Le paraphe : deux tracés qui s'écrivent à l'entrée à l'écran. */
.paraphe { width: 190px; height: auto; color: var(--violet-clair); display: block; margin-bottom: 6px; }
.paraphe path { stroke-dasharray: 600; stroke-dashoffset: 600; }
.reveal.vu .paraphe path { animation: ecrire 1.8s var(--ease) .25s forwards; }
.reveal.vu .paraphe path:nth-child(2) { animation-delay: .75s; }
.reveal.vu .paraphe path:nth-child(3) { animation-delay: 1.5s; animation-duration: .9s; }
@keyframes ecrire { to { stroke-dashoffset: 0; } }

/* Le trait du hero : une respiration graphique derrière le titre, jamais
   devant le texte, et invisible pour les lecteurs d'écran. */
.trait-hero {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  pointer-events: none; opacity: .85;
}
.trait-hero path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ecrire 2.6s var(--ease) .5s forwards; }
.trait-hero path:nth-child(2) { animation-delay: .9s; }
.trait-hero circle { opacity: 0; animation: pop .6s var(--ease) forwards; }
.trait-hero circle:nth-of-type(1) { animation-delay: 1.9s; }
.trait-hero circle:nth-of-type(2) { animation-delay: 2.3s; }
.trait-hero circle:nth-of-type(3) { animation-delay: 2.6s; }
@media (max-width: 900px) { .trait-hero { opacity: .5; } }

/* Le trait ne doit pas traverser le texte : on l'efface progressivement à
   gauche, là où se trouvent le titre et le paragraphe. */
.trait-hero {
  opacity: .55;
  -webkit-mask-image: linear-gradient(105deg, transparent 22%, #000 62%);
  mask-image: linear-gradient(105deg, transparent 22%, #000 62%);
}


/* ═══ Comparateur, version 2 ══════════════════════════════════════════════
   L'écran de droite doit donner envie : des chiffres lisibles, des montants,
   et la preuve qu'une relance est partie sans que le dirigeant s'en occupe. */
.ecran--outil { background: linear-gradient(158deg, #251E33, #15111C 70%); }
.ecran-barre--outil { gap: 14px; padding: 13px 20px; }
.ecran-marque { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--craie); }
.ecran-jour { font-size: 11.5px; color: var(--texte-3); }
.ecran-bouton {
  margin-left: auto; font-size: 11.5px; padding: 6px 14px; border-radius: 100px; white-space: nowrap;
  background: linear-gradient(135deg, #245142, var(--nuit)); color: #FBFAF6;
  box-shadow: 0 8px 20px -10px rgba(181, 137, 60, .9);
}

.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px 6px; flex: none; }
.tuile {
  border: 1px solid var(--bord); border-radius: 14px; padding: 13px 15px;
  background: rgba(255, 255, 255, .035); display: flex; flex-direction: column; gap: 4px;
}
.tuile--phare { border-color: rgba(217, 178, 106, .38); background: rgba(181, 137, 60, .14); }
.tuile-val { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--champagne); line-height: 1; }
.tuile--phare .tuile-val { color: var(--violet-clair); }
.tuile-lib { font-size: 11px; color: var(--texte-3); line-height: 1.4; }

.outil-liste { flex: 1; display: flex; flex-direction: column; padding: 8px 8px 0; }
.outil-ligne {
  display: grid; grid-template-columns: 10px 1.15fr 1.5fr auto; gap: 14px; align-items: center;
  padding: 13px 12px; border-radius: 12px; border-bottom: 1px solid var(--bord);
  transition: background-color .3s;
}
.outil-ligne:last-child { border-bottom: 0; }
.outil-ligne:hover { background: rgba(181, 137, 60, .1); }
.outil-client { font-size: 13.5px; color: var(--craie); font-weight: 400; display: flex; flex-direction: column; gap: 2px; }
.outil-client em { font-style: normal; font-family: var(--serif); font-size: 13px; color: var(--champagne); }
.outil-etat { font-size: 12.5px; color: var(--texte-2); }
.outil-action { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-3); white-space: nowrap; }
.outil-action--forte {
  color: var(--violet-clair); border: 1px solid rgba(217, 178, 106, .35);
  padding: 5px 11px; border-radius: 100px; background: rgba(181, 137, 60, .12);
}

.ecran-pied--outil { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fil-actu { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--texte-2); }
.fil-actu i { width: 7px; height: 7px; border-radius: 50%; background: #6FA88A; box-shadow: 0 0 0 0 rgba(111, 168, 138, .7); animation: pulseVert 2.4s infinite; }
.ecran-note-outil { margin-left: auto; font-size: 11.5px; color: var(--texte-3); font-style: italic; }
@keyframes pulseVert {
  0% { box-shadow: 0 0 0 0 rgba(111, 168, 138, .6); }
  70% { box-shadow: 0 0 0 9px rgba(111, 168, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 168, 138, 0); }
}

/* La poignée devient plus lisible, avec une consigne au premier regard. */
.compa-bouton::after {
  content: 'Tirez'; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--violet-clair); white-space: nowrap; opacity: .9; transition: opacity .3s;
}
.compa.touche .compa-bouton::after { opacity: 0; }

@media (max-width: 820px) {
  .tuiles { grid-template-columns: 1fr 1fr; }
  .tuile:last-child { display: none; }
  .outil-ligne { grid-template-columns: 10px 1fr; gap: 6px; }
  .outil-etat, .outil-action { grid-column: 2; }
}

/* ═══ Photographies ═══════════════════════════════════════════════════════
   Les images sont traitées comme de la matière : cadrées, teintées vers le
   violet de la palette, et légèrement animées à l'entrée. Jamais posées
   telles quelles, pour qu'elles appartiennent au site plutôt qu'à un stock. */
.photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.06); }
.photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(23, 59, 48, .34), transparent 45%),
              linear-gradient(0deg, rgba(27, 38, 34, .62), transparent 55%);
  mix-blend-mode: multiply;
}
.photo--teinte img { filter: saturate(.62) contrast(1.08) brightness(.94); }
.photo-legende {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  font-size: 12px; color: rgba(245, 244, 239, .78); letter-spacing: .04em;
  display: flex; align-items: center; gap: 9px;
}
.photo-legende::before { content: ''; width: 22px; height: 1px; background: var(--violet-clair); flex: none; }

/* Le duo texte plus image de la section des problèmes. */
.tete-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.tete-photo .photo { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .tete-photo { grid-template-columns: 1fr; } }


/* Le bandeau : une image pleine largeur qui sert de respiration entre deux
   sections denses. Le texte est posé dessus, jamais à côté. */
.bandeau { position: relative; overflow: hidden; }
.bandeau img { width: 100%; height: clamp(320px, 46vh, 520px); object-fit: cover; object-position: center 62%; filter: saturate(.6) contrast(1.06); }
.bandeau::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27, 38, 34, .94) 12%, rgba(27, 38, 34, .55) 52%, rgba(27, 38, 34, .88)),
              linear-gradient(0deg, var(--nuit), transparent 38%),
              linear-gradient(180deg, var(--nuit), transparent 22%);
}
.bandeau-texte {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x); max-width: calc(var(--contenu) + 2 * 60px); margin-inline: auto;
}
.bandeau-phrase {
  font-family: var(--serif); font-size: clamp(24px, 3.1vw, 42px); line-height: 1.22;
  color: var(--craie); max-width: 20ch; letter-spacing: -.018em;
}
.bandeau-sous { margin-top: 14px; font-size: 14px; color: var(--texte-3); max-width: 44ch; }
@media (max-width: 620px) { .bandeau img { height: 300px; } }


/* ═══ Comparateur, version 3 ══════════════════════════════════════════════
   L'écran de droite est celui d'une entreprise qui existe : un nom, une
   semaine, des prénoms, des villes, des montants. Moins de violet, plus de
   matière, pour qu'on y reconnaisse un métier plutôt qu'un produit. */
.ecran--outil { background: linear-gradient(168deg, #1F4A3D, #10291F 65%); }
.ecran-barre--outil { gap: 12px; padding: 13px 20px; align-items: baseline; }
.ecran-marque { font-family: var(--serif); font-size: 15.5px; font-weight: 700; color: var(--craie); }
.ecran-semaine { font-size: 11.5px; color: var(--texte-3); }
.ecran-bouton {
  margin-left: auto; font-size: 11.5px; padding: 6px 14px; border-radius: 8px; white-space: nowrap;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--bord-fort); color: var(--craie);
}
.ecran-resume { padding: 14px 20px 4px; font-size: 13px; color: var(--texte-2); }
.ecran-resume b { color: var(--champagne); font-family: var(--serif); font-size: 15px; font-weight: 700; }

.affaires { flex: 1; display: flex; flex-direction: column; padding: 8px 20px 0; gap: 2px; }
.affaire { padding: 13px 0; border-bottom: 1px solid var(--bord); }
.affaire:last-child { border-bottom: 0; }
.affaire--pale { opacity: .62; }
.affaire-tete { display: flex; align-items: baseline; gap: 10px; }
.affaire-nom { font-size: 13.5px; color: var(--craie); font-weight: 400; }
.affaire-lieu { font-size: 11.5px; color: var(--texte-3); }
.affaire-montant { margin-left: auto; font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--champagne); }

/* Les jalons : une frise d'étapes, celle que l'artisan emploie à l'oral. */
.jalons { list-style: none; display: flex; gap: 0; margin: 9px 0 7px; padding: 0; }
.jalons li {
  flex: 1; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--texte-3); padding-top: 11px; position: relative; text-align: left;
}
.jalons li::before {
  content: ''; position: absolute; top: 0; left: 0; right: 4px; height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, .12);
}
.jalons li.fait { color: var(--texte-2); }
.jalons li.fait::before { background: rgba(217, 178, 106, .55); }
.jalons li.encours { color: var(--violet-clair); }
.jalons li.encours::before { background: var(--violet-clair); box-shadow: 0 0 12px rgba(217, 178, 106, .8); }
.affaire-note { font-size: 12.5px; color: var(--texte-2); line-height: 1.5; }
.affaire-note b { color: var(--craie); font-weight: 500; }

.journal { flex: none; padding: 12px 20px 14px; border-top: 1px solid var(--bord); background: rgba(255, 255, 255, .025); }
.journal-ligne { display: flex; align-items: baseline; gap: 9px; font-size: 12px; color: var(--texte-2); }
.journal-ligne + .journal-ligne { margin-top: 6px; }
.journal-ligne b { color: var(--texte-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.journal-ligne span { color: var(--texte-3); font-style: italic; }
.pastille { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); flex: none; align-self: center; }
.pastille--vert { background: #6FA88A; animation: pulseVert 2.6s infinite; }

/* Le glissement : plus rien ne doit retenir le pointeur. */
.compa { cursor: ew-resize; }
.compa * { user-select: none; -webkit-user-drag: none; }
.compa img { pointer-events: none; }

@media (max-width: 820px) {
  .affaire-lieu { display: none; }
  .jalons li { font-size: 8.5px; }
}

/* Le cadre suivait un rapport 16/9 qui laissait du vide sous l'outil :
   on le resserre pour que les deux écrans remplissent la hauteur. */
.compa { aspect-ratio: 16 / 10; min-height: 420px; }
@media (max-width: 820px) { .compa { aspect-ratio: auto; height: 520px; } }


/* ═══ Comparateur, version 4 ══════════════════════════════════════════════
   Une transition très courte suffit à adoucir le suivi ; au-delà, le retard
   donne l'impression que la poignée traîne derrière le doigt. */
.compa-face, .compa-poignee { transition: clip-path .07s linear, left .07s linear; }
.compa.montre .compa-face, .compa.montre .compa-poignee { transition: none; }
.compa.montre { animation: compaMontre 3s var(--ease) both; }
@keyframes compaMontre {
  0%   { --coupe: 50%; }
  35%  { --coupe: 16%; }
  75%  { --coupe: 80%; }
  100% { --coupe: 50%; }
}
/* La variable doit être déclarée pour pouvoir être animée. */
@property --coupe { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

/* Les affaires occupent toute la hauteur disponible plutôt que de laisser
   un vide sous la dernière. */
.affaires { justify-content: space-evenly; }
.jalons li.fait:last-child::before { background: rgba(111, 168, 138, .7); }

/* Le curseur dit ce qu'il faut faire : on attrape, on tire. */
.compa { cursor: grab; }
.compa.attrape { cursor: grabbing; }
.compa.attrape .compa-face, .compa.attrape .compa-poignee { transition: none; }
.compa-bouton { cursor: grab; }
.compa.attrape .compa-bouton { cursor: grabbing; transform: translate(-50%, -50%) scale(1.06); }


/* ═══ Les symptômes ═══════════════════════════════════════════════════════
   Une phrase par ligne, cochable. Pas de pavé, pas de pastille : le visiteur
   balaie la liste en dix secondes et sait s'il est concerné. */
.symptomes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 48px;
  background: var(--bord); border: 1px solid var(--bord); border-radius: 20px;
  overflow: hidden; box-shadow: var(--ombre-2);
}
.sympt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: var(--fond-2); border: 0; padding: 18px 22px; font: inherit; color: var(--texte-2);
  transition: background-color .25s, color .25s;
}
.sympt:hover { background: var(--fond-3); color: var(--texte); }
.sympt span { font-size: 15px; line-height: 1.5; }
.sympt-case {
  width: 19px; height: 19px; border-radius: 6px; border: 1px solid var(--bord-fort);
  flex: none; margin-top: 2px; display: grid; place-items: center;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.sympt[aria-pressed="true"] { color: var(--texte); background: var(--fond-3); }
.sympt[aria-pressed="true"] .sympt-case {
  background: linear-gradient(135deg, #245142, var(--nuit));
  border-color: transparent; transform: scale(1.06);
  box-shadow: 0 6px 16px -6px rgba(181, 137, 60, .9);
}
.sympt[aria-pressed="true"] .sympt-case::after { content: '\2713'; color: #FBFAF6; font-size: 12px; line-height: 1; }

.sympt-bilan {
  margin-top: 26px; text-align: center; font-size: 15.5px; color: var(--texte-2);
  min-height: 1.6em; transition: color .3s;
}
.sympt-bilan b { font-family: var(--serif); font-size: 19px; color: var(--accent-2); font-weight: 700; }
.sympt-suite { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; margin-top: 22px; animation: monte .5s var(--ease) both; }

@media (max-width: 760px) {
  .symptomes { grid-template-columns: 1fr; }
  .sympt { padding: 15px 18px; }
  .sympt span { font-size: 14.5px; }
}


/* ═══ Diagnostic : la parole du visiteur ══════════════════════════════════
   Aucune liste de choix ne couvre tous les métiers. Le champ libre existe
   pour que le sujet arrive dans les mots de celui qui le vit. */
.opt--autre { border-style: dashed; }
.diag-autre { margin-top: 10px; animation: monte .35s var(--ease) both; }
.diag-autre-champ {
  width: 100%; padding: 12px 14px; border: 1px solid var(--accent); border-radius: 12px;
  background: rgba(181, 137, 60, .08); color: var(--texte); font-size: 14px;
}
.diag-autre-champ::placeholder { color: var(--texte-3); }
.diag-autre-champ:focus { outline: none; box-shadow: 0 0 0 4px rgba(181, 137, 60, .14); }

.champ--texte textarea {
  width: 100%; padding: 22px 16px 10px; border: 1px solid var(--bord-fort); border-radius: 12px;
  background: rgba(255, 255, 255, .03); color: var(--texte); font-size: 14.5px; font-family: inherit;
  resize: vertical; min-height: 92px; line-height: 1.55;
  transition: border-color .25s, box-shadow .25s;
}
.clair .champ--texte textarea { background: rgba(27, 38, 34, .03); }
.champ--texte textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(181, 137, 60, .14); }
.champ--texte label { top: 14px; }
.champ--texte textarea:focus + label,
.champ--texte textarea:not(:placeholder-shown) + label { transform: translateY(-8px) scale(.76); color: var(--accent); }


/* ═══ L'écran « après », version 5 ════════════════════════════════════════
   Un logiciel complet plutôt qu'une liste : barre supérieure, navigation
   latérale, indicateurs, affaires, courbe et journal. Rien n'est une image,
   donc tout reste net et tout se modifie en une ligne. */
.ecran--outil { background: linear-gradient(162deg, #1F4A3D, #10291F 68%); }

.appli-haut {
  display: flex; align-items: center; gap: 12px; padding: 11px 18px; flex: none;
  border-bottom: 1px solid var(--bord); background: rgba(255, 255, 255, .035);
}
.appli-sceau {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, #245142, var(--nuit)); color: #FBFAF6;
  font-family: var(--serif); font-size: 12px; font-weight: 700; flex: none;
}
.appli-nom { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--craie); }
.appli-sep { width: 1px; height: 16px; background: var(--bord-fort); }
.appli-jour { font-size: 11.5px; color: var(--texte-3); }
.appli-bouton {
  margin-left: auto; font-size: 11.5px; padding: 6px 13px; border-radius: 8px; white-space: nowrap;
  background: rgba(181, 137, 60, .18); border: 1px solid rgba(217, 178, 106, .32); color: var(--violet-clair);
}
.appli-gens { display: flex; }
.appli-gens i {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 10px; font-weight: 500; color: var(--craie);
  background: #3A3050; border: 1.5px solid #1A1624; margin-left: -7px;
}
.appli-gens i:first-child { margin-left: 0; background: #4A3A6B; }

.appli-corps { flex: 1; display: flex; min-height: 0; }
.appli-cote {
  width: 132px; flex: none; border-right: 1px solid var(--bord); padding: 12px 0;
  display: flex; flex-direction: column; gap: 1px; background: rgba(0, 0, 0, .14);
}
.cote-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 12.5px;
  color: var(--texte-3); border-left: 2px solid transparent;
}
.cote-item.actif { color: var(--craie); background: rgba(181, 137, 60, .14); border-left-color: var(--violet-clair); }
.cote-pastille {
  margin-left: auto; font-size: 9.5px; min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--nuit); color: #FBFAF6; display: grid; place-items: center; font-weight: 500;
}
.cote-bas { margin-top: auto; padding: 10px 16px 0; font-size: 10.5px; color: var(--texte-3); border-top: 1px solid var(--bord); }

.appli-principal { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 14px 18px 0; }
.appli-bonjour { font-family: var(--serif); font-size: 16px; color: var(--craie); }
.appli-bonjour span { font-family: var(--sans); font-size: 12.5px; color: var(--texte-3); }

.appli-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 12px 0 6px; flex: none; }
.tuile { border: 1px solid var(--bord); border-radius: 12px; padding: 11px 13px; background: rgba(255, 255, 255, .035); display: flex; flex-direction: column; gap: 3px; }
.tuile-val { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--champagne); line-height: 1; }
.tuile-lib { font-size: 10.5px; color: var(--texte-3); line-height: 1.35; }
.tuile--courbe { justify-content: space-between; }
.courbe { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 4px; }
.courbe i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--violet-clair), rgba(181, 137, 60, .25));
  transform-origin: bottom; animation: pousse .8s var(--ease) both;
}
.courbe i:nth-child(2) { animation-delay: .08s; }
.courbe i:nth-child(3) { animation-delay: .16s; }
.courbe i:nth-child(4) { animation-delay: .24s; }
.courbe i:nth-child(5) { animation-delay: .32s; }
.courbe i:nth-child(6) { animation-delay: .4s; background: linear-gradient(180deg, var(--champagne), rgba(217, 199, 160, .3)); }
@keyframes pousse { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.affaires { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 0; padding: 0; }
.affaire { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--bord); align-items: flex-start; }
.affaire:last-child { border-bottom: 0; }
.affaire-sceau {
  width: 28px; height: 28px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 500; color: var(--violet-clair);
  background: rgba(181, 137, 60, .16); border: 1px solid rgba(217, 178, 106, .22);
}
.sceau--vert { color: #8FC0A9; background: rgba(111, 168, 138, .14); border-color: rgba(111, 168, 138, .28); }
.affaire-corps { flex: 1; min-width: 0; }
.affaire-note { font-size: 12px; margin-top: 2px; }

.jalons { margin: 7px 0 5px; }
.jalons li { font-size: 9px; padding-top: 9px; }
.jalons li.fait.solde::before { background: rgba(111, 168, 138, .8); }

.journal { flex: none; margin: 0 -18px; padding: 10px 18px 12px; border-top: 1px solid var(--bord); background: rgba(0, 0, 0, .18); }
.journal-ligne { font-size: 11.5px; }
.journal-ligne--neuve { animation: monte .6s var(--ease) 1.2s both; }
.pastille--violet { background: var(--violet-clair); }

@media (max-width: 900px) {
  .appli-cote { display: none; }
  .appli-tuiles { grid-template-columns: 1fr 1fr; }
  .tuile--courbe { display: none; }
  .appli-gens, .appli-jour, .appli-sep { display: none; }
}


/* ═══ Hero : la parole d'abord ════════════════════════════════════════════
   Une question en grand, un champ large, et une phrase qui s'écrit toute
   seule tant que le visiteur n'a rien tapé. Le classique titre à gauche plus
   encart à droite est exactement ce qui faisait « déjà vu ». */
.hero--parole { padding-block: clamp(120px, 15vh, 168px) clamp(56px, 7vw, 84px); }
.hero-parole { position: relative; z-index: 2; max-width: 920px; }
.hero--parole h1 { max-width: 16ch; animation: monte .9s var(--ease) .12s both; }
.hero--parole .lead { margin-top: 22px; font-size: 17.5px; max-width: 54ch; animation: monte .9s var(--ease) .26s both; }

.parole { margin-top: 34px; animation: monte .9s var(--ease) .4s both; }
.parole-boite {
  position: relative; display: flex; align-items: flex-end; gap: 12px;
  background: linear-gradient(165deg, var(--fond-3), var(--fond-2));
  border: 1px solid var(--bord-fort); border-radius: 18px; padding: 16px 16px 16px 20px;
  box-shadow: var(--ombre-3); transition: border-color .3s, box-shadow .3s;
}
.parole-boite:focus-within { border-color: var(--accent); box-shadow: var(--ombre-3), 0 0 0 4px rgba(181, 137, 60, .16); }
.parole-champ {
  flex: 1; background: none; border: 0; resize: none; color: var(--texte);
  font-family: inherit; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5;
  min-height: 56px; max-height: 160px; padding: 0; outline: none;
}
.parole-fantome {
  position: absolute; left: 20px; right: 76px; top: 16px; pointer-events: none;
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--texte-3);
}
.parole-fantome::after {
  content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  background: var(--accent); vertical-align: -.16em; animation: clignote 1.1s steps(1) infinite;
}
.parole-boite.ecrit .parole-fantome { display: none; }
@keyframes clignote { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.parole-envoi {
  width: 52px; height: 52px; border-radius: 14px; flex: none; border: 0; font-size: 20px;
  background: linear-gradient(140deg, #245142, var(--nuit)); color: #FBFAF6;
  box-shadow: 0 14px 30px -14px rgba(181, 137, 60, .95);
  transition: transform .25s var(--ease), box-shadow .3s, opacity .3s;
}
.parole-envoi:hover { transform: translateY(-2px); }
.parole-aide { margin-top: 11px; font-size: 12.5px; color: var(--texte-3); }

.parole-vite { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 22px; animation: monte .9s var(--ease) .52s both; }
.parole-vite-lib { font-size: 12.5px; color: var(--texte-3); margin-right: 4px; }
.vite {
  border: 1px solid var(--bord-fort); background: transparent; color: var(--texte-2);
  border-radius: 100px; padding: 7px 15px; font-size: 13px;
  transition: border-color .25s, color .25s, transform .25s var(--ease), background-color .25s;
}
.vite:hover { border-color: var(--accent); color: var(--texte); transform: translateY(-2px); background: rgba(181, 137, 60, .1); }

.hero--parole .hero-stats { margin-top: 52px; }

/* La section du diagnostic, désormais autonome. */
.diag-enveloppe { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.diag-args { list-style: none; display: grid; gap: 9px; margin-top: 22px; }
.diag-args li { display: flex; gap: 10px; font-size: 14px; color: var(--texte-2); line-height: 1.5; }
.diag-args li::before { content: '\2713'; color: var(--accent); flex: none; }
.diag-enveloppe .diag { animation: none; }

@media (max-width: 900px) {
  .diag-enveloppe { grid-template-columns: 1fr; }
  .parole-fantome { right: 70px; }
}
@media (max-width: 620px) {
  .parole-boite { padding: 14px; }
  .parole-fantome { left: 14px; right: 62px; top: 14px; }
  .parole-envoi { width: 46px; height: 46px; }
}

/* Le hero occupe maintenant toute la largeur : le trait doit s'effacer plus
   franchement derrière le texte et le champ. */
.hero--parole .trait-hero {
  opacity: .4;
  -webkit-mask-image: linear-gradient(100deg, transparent 46%, #000 78%);
  mask-image: linear-gradient(100deg, transparent 46%, #000 78%);
}


/* ═══ Le nom, en grand ════════════════════════════════════════════════════
   Le lettrage monte lettre par lettre à l'arrivée, puis un reflet le
   traverse de temps en temps. « ah » garde l'italique améthyste de la marque. */
.marque-geante {
  font-family: var(--serif); font-weight: 900; line-height: .86;
  font-size: clamp(58px, 11.5vw, 156px); letter-spacing: -.045em;
  margin-bottom: clamp(14px, 2vw, 26px); display: flex; flex-wrap: wrap;
}
.marque-geante span, .marque-geante em {
  display: inline-block; opacity: 0; transform: translateY(46px) rotate(4deg);
  animation: lettreMonte .95s var(--ease) forwards;
  color: var(--nuit);
}
.marque-geante em { font-style: italic; color: var(--violet-clair); }
.marque-geante span:nth-child(1) { animation-delay: .04s; }
.marque-geante span:nth-child(2) { animation-delay: .1s; }
.marque-geante span:nth-child(3) { animation-delay: .16s; }
.marque-geante span:nth-child(4) { animation-delay: .22s; }
.marque-geante span:nth-child(5) { animation-delay: .28s; }
.marque-geante span:nth-child(6) { animation-delay: .34s; }
.marque-geante em:nth-child(7) { animation-delay: .42s; }
.marque-geante em:nth-child(8) { animation-delay: .5s; }
@keyframes lettreMonte { to { opacity: 1; transform: none; } }

.hero--parole h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 20ch; }
.hero--parole .lead { margin-top: 18px; }

/* ═══ Le champ s'adresse à quelqu'un ══════════════════════════════════════
   Un champ large sur fond sombre ressemble à une invite d'IA. Le visage et
   la phrase au-dessus lèvent le doute avant même la première lettre. */
.parole-qui {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(181, 137, 60, .09); border: 1px solid rgba(217, 178, 106, .2);
}
.parole-qui img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--ombre-1); }
.parole-qui p { font-size: 13.5px; line-height: 1.55; color: var(--texte-2); }
.parole-qui b { color: var(--texte); font-weight: 600; }

.parole-envoi {
  width: auto; height: auto; padding: 15px 22px; border-radius: 14px;
  font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .parole-qui { align-items: flex-start; }
  .parole-boite { flex-direction: column; align-items: stretch; }
  .parole-envoi { width: 100%; justify-content: center; }
  .parole-fantome { right: 14px; }
}

/* ══ Réalisations ══════════════════════════════════════════════════════════
   Un portfolio de vrais écrans : chaque projet a sa vitrine (navigateur et
   téléphone), ses points forts et une bande de captures qu'on agrandit. */
.realis-tete h1 { margin-top: 18px; max-width: 14ch; }
.realis-tete .lead { margin-top: 22px; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.index-projets { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 30px; }
.index-projets li[hidden] { display: none; }
.index-carte { display: grid; gap: 6px; }
.index-image { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--fond-3); border: 1px solid var(--bord); }
.index-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.index-carte:hover .index-image img { transform: scale(1.04); }
.index-cat { font-size: 13px; color: var(--texte-3); margin-top: 6px; }
.index-carte b { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }

.cas[hidden] { display: none; }
.cas-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cas:nth-of-type(even) .cas-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cas:nth-of-type(even) .cas-texte { order: 2; }
.cas-texte h2 { margin-top: 18px; }
.cas-texte .lead { margin-top: 18px; }
.cas-points { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.cas-points li { padding-left: 26px; position: relative; color: var(--texte-2); }
.cas-points li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--accent-2); }
.cas-chiffres { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--bord); }
.cas-chiffres b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: var(--accent-2); }
.cas-chiffres span { font-size: 13.5px; color: var(--texte-2); }

.cas-vitrine { position: relative; padding-bottom: 40px; }
.cas-vitrine figure { margin: 0; }
.cas-vitrine .zoom, .cas-galerie .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.navigateur { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--bord-fort); box-shadow: 0 40px 80px -40px rgba(8, 20, 16, .55); }
.navigateur-barre { display: flex; gap: 6px; padding: 10px 14px; background: #E9E7DF; border-bottom: 1px solid rgba(27, 38, 34, .1); }
.navigateur-barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(27, 38, 34, .18); }
.navigateur img { width: 100%; height: auto; }
.telephone { position: absolute; right: -14px; bottom: 0; width: clamp(110px, 24%, 190px); border-radius: 26px; padding: 7px; background: #10291F; box-shadow: 0 30px 60px -24px rgba(8, 20, 16, .7); }
.telephone img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 20px; }
.cas:nth-of-type(even) .telephone { right: auto; left: -14px; }

.cas-galerie { list-style: none; display: flex; gap: 14px; overflow-x: auto; margin-top: clamp(36px, 5vw, 56px); padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.cas-galerie li { flex: none; width: 260px; scroll-snap-align: start; }
.vignette img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--bord); transition: transform .4s var(--ease); }
.vignette--haute img { object-position: center top; }
.vignette:hover img { transform: translateY(-3px); }
.vignette span { display: block; text-align: left; font-size: 13px; line-height: 1.45; color: var(--texte-2); margin-top: 8px; }

/* ---------- Réalisations, version vivante (2026-11-26) ----------
   Index en trois colonnes, barre des projets qui suit le défilement, diaporama dans le cadre navigateur,
   galerie à flèches. Les mouvements automatiques sont coupés par prefers-reduced-motion (plus bas et dans realisations.js). */
.index-projets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.index-image { position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.index-carte:hover .index-image, .index-carte:focus-visible .index-image { transform: translateY(-6px); box-shadow: 0 30px 54px -30px rgba(8, 20, 16, .5); }
.index-second { position: absolute; inset: 0; opacity: 0; transform: translateY(10%); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.index-carte:hover .index-second, .index-carte:focus-visible .index-second { opacity: 1; transform: none; }
.index-num { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 100px; background: rgba(23, 59, 48, .86); color: var(--craie); font-family: var(--serif); font-size: 13px; }
.index-voir { position: absolute; left: 12px; bottom: 12px; padding: 8px 15px; border-radius: 100px; background: var(--nuit); color: var(--craie); font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.index-carte:hover .index-voir, .index-carte:focus-visible .index-voir { opacity: 1; transform: none; }
.index-carte b { transition: color .3s; }
.index-carte:hover b { color: var(--accent); }

.realis-nav { position: fixed; inset: 74px 0 auto; z-index: 150; padding-inline: var(--pad-x); background: var(--craie); border-bottom: 1px solid var(--bord); box-shadow: 0 10px 24px -20px rgba(27, 38, 34, .4); opacity: 0; transform: translateY(-100%); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.realis-nav.visible { opacity: 1; transform: none; pointer-events: auto; }
.realis-nav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.realis-nav .wrap::-webkit-scrollbar { display: none; }
.realis-nav span { flex: none; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--texte-3); margin-right: 10px; }
.realis-nav a { flex: none; padding: 6px 13px; border-radius: 100px; font-size: 13.5px; color: var(--texte-2); white-space: nowrap; transition: background-color .3s, color .3s; }
.realis-nav a:hover { color: var(--texte); background: var(--craie-2); }
.realis-nav a[aria-current] { background: var(--nuit); color: var(--craie); }
.realis-nav a[hidden] { display: none; }
.cas { scroll-margin-top: calc(84px + var(--realis-nav-h, 46px)); }

.cas-rang { font-family: var(--serif); font-size: 15px; color: var(--texte-3); margin-bottom: 14px; }
.cas-rang b { font-weight: 400; font-size: 30px; color: var(--accent-2); }
.navigateur { transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.cas-vitrine:hover .navigateur { box-shadow: 0 50px 90px -40px rgba(8, 20, 16, .7); }
.navigateur-barre { align-items: center; }
.navigateur-adresse { flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: 100px; background: rgba(27, 38, 34, .07); font-size: 11.5px; color: rgba(27, 38, 34, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navigateur .ecran { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--craie-2); }
.navigateur .ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ecran-legende { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px; background: #F5F4EF; border-top: 1px solid rgba(27, 38, 34, .1); font-size: 13px; line-height: 1.4; color: rgba(27, 38, 34, .72); text-align: left; }
/* Le téléphone déborde sur le bas du cadre : la légende lui laisse la place, du côté où il se trouve. */
.cas-vitrine:has(.telephone) .ecran-legende { padding-right: calc(clamp(110px, 24%, 190px) + 4px); }
.cas:nth-of-type(even) .cas-vitrine:has(.telephone) .ecran-legende { padding-right: 14px; padding-left: calc(clamp(110px, 24%, 190px) + 4px); }
.ecran-points { display: flex; flex: none; gap: 6px; }
.ecran-points i { display: block; width: 7px; height: 7px; border-radius: 100px; background: rgba(27, 38, 34, .2); cursor: pointer; transition: width .4s var(--ease), background-color .3s; }
.ecran-points i.actif { width: 22px; background: #173B30; }
.en-lecture .ecran-points i.actif { background: linear-gradient(90deg, #B5893C 50%, #173B30 50%) 100% 0 / 200% 100%; animation: ecranAvance 4.2s linear infinite; }
@keyframes ecranAvance { to { background-position: 0 0; } }
.telephone { transition: transform .6s var(--ease); }
.cas-vitrine:hover .telephone { transform: translateY(-8px) rotate(-1.5deg); }
.cas:nth-of-type(even) .cas-vitrine:hover .telephone { transform: translateY(-8px) rotate(1.5deg); }

.cas-defile { margin-top: clamp(36px, 5vw, 56px); }
.cas-defile-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cas-defile-tete p { font-family: var(--serif); font-size: 18px; color: var(--texte); }
.cas-defile-tete p span { font-family: var(--sans); font-size: 13px; color: var(--texte-3); margin-left: 10px; }
.cas-fleches { display: flex; gap: 8px; }
.cas-fleches[hidden] { display: none; }
.cas-fleches button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bord-fort); background: transparent; color: var(--texte); font-size: 17px; cursor: pointer; transition: background-color .3s, color .3s, opacity .3s, transform .3s var(--ease); }
.cas-fleches button:hover:not(:disabled) { background: var(--accent-2); border-color: transparent; color: #173B30; transform: translateY(-2px); }
.cas-fleches button:disabled { opacity: .3; cursor: default; }
.cas-galerie { margin-top: 0; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.cas-galerie::-webkit-scrollbar { display: none; }
.cas-galerie.au-debut { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.cas-galerie.a-la-fin { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.cas-galerie.au-debut.a-la-fin { -webkit-mask-image: none; mask-image: none; }
.cas-galerie.glisse { scroll-snap-type: none; cursor: grabbing; }
.cas-galerie.glisse .zoom { pointer-events: none; }
.cas-galerie li { width: clamp(220px, 24vw, 300px); }
.vignette img { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.vignette:hover img { transform: translateY(-5px); box-shadow: 0 22px 36px -24px rgba(8, 20, 16, .6); }
@media (max-width: 900px) { .index-projets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .index-projets { grid-template-columns: minmax(0, 1fr); }
  .index-voir { opacity: 1; transform: none; }
  .realis-nav span { display: none; }
  .ecran-legende { font-size: 12.5px; }
  .cas-defile-tete p span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .en-lecture .ecran-points i.actif { animation: none; background: #173B30; }
  .navigateur, .telephone, .index-image, .index-second, .index-voir { transition: none; }
}

/* ---------- Réalisations : structure d'un projet (titre, récit + scène, résultats, écrans, pied) ---------- */
.cas-tete h2 { font-size: clamp(38px, 5.4vw, 78px); line-height: 1.02; max-width: 16ch; margin-top: 18px; }
.cas-tete .lead { margin-top: 22px; max-width: 58ch; }
.cas-plateau { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.cas:nth-of-type(even) .cas-plateau { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cas:nth-of-type(even) .cas-recit { order: 2; }
.cas-recit .cas-besoin { margin-top: 0; }
.cas-recit h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-top: 34px; }
.cas-recit .cas-points { margin-top: 16px; }
.cas-scene { margin: 0; }
.cas-scene > figcaption { margin-top: clamp(22px, 3vw, 40px); text-align: center; font-size: 13.5px; color: var(--texte-3); }
.cas > .wrap > .cas-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(44px, 6vw, 84px); padding: 0; border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.cas > .wrap > .cas-chiffres li { padding: clamp(20px, 2.6vw, 34px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--bord); }
.cas > .wrap > .cas-chiffres li:first-child { border-left: 0; padding-left: 0; }
.cas > .wrap > .cas-chiffres b { font-size: clamp(38px, 5vw, 68px); }
.cas > .wrap > .cas-chiffres span { display: block; margin-top: 8px; font-size: 14.5px; }
.cas-ecrans { margin-top: clamp(48px, 7vw, 96px); }
.cas-ecrans .cas-defile-tete { margin-bottom: clamp(20px, 3vw, 34px); }
.cas-defile-tete h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); }
.cas-defile-tete h3 span { font-family: var(--sans); font-size: 13.5px; color: var(--texte-3); margin-left: 12px; }
.cas-ecrans .cas-vitrine { max-width: 980px; margin-inline: auto; }
.cas-ecrans .cas-galerie { margin-top: clamp(26px, 3.4vw, 44px); }
.cas > .wrap > .cas-pied { margin-top: clamp(30px, 4vw, 52px); padding-top: 22px; border-top: 1px solid var(--bord); align-items: flex-start; }
.cas-liens { display: grid; gap: 6px; justify-items: end; text-align: right; }
.cas-liens .cas-articles { margin-top: 0; }
@media (max-width: 900px) {
  .cas-plateau, .cas:nth-of-type(even) .cas-plateau { grid-template-columns: minmax(0, 1fr); }
  .cas:nth-of-type(even) .cas-recit { order: 0; }
  .cas-liens { justify-items: start; text-align: left; }
}
@media (max-width: 620px) {
  .cas > .wrap > .cas-chiffres { grid-template-columns: minmax(0, 1fr); }
  .cas > .wrap > .cas-chiffres li { border-left: 0; border-top: 1px solid var(--bord); padding-left: 0; }
  .cas > .wrap > .cas-chiffres li:first-child { border-top: 0; }
  .cas-defile-tete h3 span { display: block; margin: 4px 0 0; }
}

/* ---------- Scènes : un plateau à plusieurs plans par projet ----------
   Toutes les tailles sont en cqw (centièmes de la largeur de la scène) : la scène se réduit d'un bloc sur téléphone.
   Le fond est le seul plan rogné : les éléments du premier plan débordent du cadre, c'est ce qui donne le relief.
   Placement par `translate` / `rotate`, l'entrée en scène utilise `transform` : les deux ne se marchent pas dessus. */
.scene { position: relative; aspect-ratio: 10 / 8; container-type: inline-size; font-family: var(--sans); color: #1B2622; line-height: 1.35; --mx: 0; --my: 0; }
.scene .plan--fond { position: absolute; inset: 0; border-radius: 4cqw; overflow: hidden; box-shadow: 0 7cqw 10cqw -7cqw rgba(6, 16, 12, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
.scene .plan--fond span { position: absolute; }
.scene > :not(.plan) { position: absolute; margin: 0; --p: 0; translate: calc(var(--mx) * var(--p) * 1px) calc(var(--my) * var(--p) * 1px); transition: translate .6s var(--ease); }
.scene [data-prof="1"] { --p: 5; }
.scene [data-prof="2"] { --p: 13; }
.scene [data-prof="3"] { --p: 24; }
.scene ul, .scene ol { list-style: none; margin: 0; padding: 0; }
/* Une scène a ses propres couleurs, que le bloc autour soit clair ou vert : les textes héritent de leur fiche,
   pas des rôles du site (sinon un texte clair se retrouve sur une fiche claire). */
.scene p, .scene li, .scene b, .scene span, .scene small { color: inherit; }
.scene b { font-weight: 700; }
.scenes-actives .scene .e { opacity: 0; }
.scenes-actives .scene.joue .e { animation: sceneEntre .7s var(--ease) var(--t, 0s) both; }
@keyframes sceneEntre { from { opacity: 0; transform: translateY(3cqw) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes sceneFlotte { 50% { transform: translateY(-1.6cqw); } }
@keyframes sceneReflet { to { background-position: 180% 0; } }
@keyframes sceneChoix { to { background: #173B30; border-color: #173B30; color: #F5F4EF; } }
@keyframes scenePouls { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
/* Fiches claires communes aux scènes. */
.scene .quiz, .scene .conseil, .scene .relance, .scene .gain, .scene .creneaux, .scene .msg--ia, .scene .bonplan, .scene .note-site, .scene .total {
  background: #FFFDF8; border-radius: 2.4cqw; padding: 2.4cqw 2.8cqw; font-size: 2.7cqw; box-shadow: 0 3.4cqw 5cqw -2.6cqw rgba(8, 20, 16, .5), 0 0 0 1px rgba(27, 38, 34, .06);
}
.scene .quiz b, .scene .conseil b, .scene .relance b, .scene .gain b, .scene .creneaux b, .scene .msg--ia b, .scene .bonplan b, .scene .note-site b, .scene .total b { display: block; font-size: 3cqw; margin-bottom: .8cqw; }
.scene .quiz ul, .scene .creneaux ul { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: 1.4cqw; }
.scene .quiz li, .scene .creneaux li { padding: 1cqw 2.2cqw; border-radius: 10cqw; border: 1px solid rgba(27, 38, 34, .22); font-size: 2.6cqw; }
.scene.joue .choisi { animation: sceneChoix .45s var(--ease) var(--tc, 1.6s) both; }
.scene .panier, .scene .confirme, .scene .stock { display: flex; align-items: center; gap: 1.4cqw; padding: 1.6cqw 2.8cqw; border-radius: 10cqw; background: #173B30; color: #F5F4EF; font-size: 2.7cqw; font-weight: 600; box-shadow: 0 3cqw 4.4cqw -2.2cqw rgba(8, 20, 16, .7); white-space: nowrap; }
.scene .panier i, .scene .confirme i, .scene .stock i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #D9B26A; box-shadow: 0 0 0 .9cqw rgba(217, 178, 106, .25); flex: none; }

/* Co-animateur IA : la mascotte détourée annonce la carte et son prix. */
.scene--live .plan--fond { background: linear-gradient(180deg, #151C2F 0 63%, #1E4A3A 63%); }
.scene--live .halo { inset: -10% 30% 40% -10%; background: radial-gradient(closest-side, rgba(255, 79, 123, .28), transparent); }
.scene--live .tapis { inset: 63% 0 auto 0; height: .5cqw; background: #B5893C; }
.scene--live .mascotte { left: 1%; top: 4%; width: 27cqw; filter: drop-shadow(0 3cqw 3cqw rgba(0, 0, 0, .55)); }
.scene--live .mascotte img, .scene--live .mascotte video { display: block; width: 100%; height: auto; animation: sceneFlotte 4s ease-in-out infinite; }
.scene--live .mascotte video { display: none; aspect-ratio: 326 / 470; }
.scene--live .mascotte.film-ok video { display: block; }
.scene--live .mascotte.film-ok img { display: none; }
.scene--live .plaque { left: 31%; top: 9%; padding: 1.6cqw 2.6cqw; border-radius: 1.8cqw; background: #17100F; border: .4cqw solid #FF4F7B; color: #fff; box-shadow: 0 3cqw 4cqw -2cqw rgba(0, 0, 0, .7); }
.scene--live .plaque b { display: block; font-size: 3.8cqw; line-height: 1.1; }
.scene--live .plaque span { font-size: 2.3cqw; color: #FF7C9C; }
.scene--live .prix { left: 31%; top: 25.5%; padding: .8cqw 3cqw; border-radius: 1.6cqw; background: #FF4F7B; color: #fff; font-weight: 800; font-size: 6.2cqw; line-height: 1.15; rotate: -2deg; box-shadow: 0 3cqw 4cqw -1.6cqw rgba(255, 79, 123, .6); }
.scene--live .bulle { left: 31%; top: 41%; width: 37cqw; padding: 2cqw 2.6cqw; border-radius: 2cqw; background: #FFF6E6; font-size: 3cqw; box-shadow: 0 3cqw 4cqw -2cqw rgba(0, 0, 0, .6); }
.scene--live .bulle::before { content: ''; position: absolute; left: -1.6cqw; top: 2.4cqw; border: 1.2cqw solid transparent; border-right-color: #FFF6E6; border-left: 0; }
.scene--live .bulle span { display: block; }
.scene--live .jauge { left: 4%; bottom: 7%; width: 40cqw; padding: 1.8cqw 2.2cqw; border-radius: 1.8cqw; background: #14110C; border: .35cqw solid #F2B63C; color: #fff; font-size: 2.3cqw; }
.scene--live .jauge b { color: #F2B63C; font-size: 2.2cqw; }
.scene--live .jauge span { display: block; height: 1cqw; margin: 1cqw 0; border-radius: 1cqw; background: rgba(255, 255, 255, .16); overflow: hidden; }
.scene--live .jauge i { display: block; height: 100%; width: 45%; background: #F2B63C; border-radius: inherit; }
.scene--live .carte-jeu { right: 5%; bottom: -9%; width: 31cqw; rotate: 7deg; border-radius: 2.4cqw; overflow: hidden; box-shadow: 0 5cqw 7cqw -3cqw rgba(0, 0, 0, .85), 0 0 4cqw rgba(255, 79, 123, .45); }
.scene--live .carte-jeu img { display: block; width: 100%; height: auto; }
.scene--live .carte-jeu::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%) -80% 0 / 250% 100% no-repeat; animation: sceneReflet 3.4s ease-in-out infinite; }
/* Le viseur occupe exactement la place de la carte : ses quatre coins l'encadrent. */
.scene--live .viseur { right: 5%; bottom: -9%; width: 31cqw; aspect-ratio: 63 / 88; rotate: 7deg; pointer-events: none; }
.scene--live .viseur i { position: absolute; width: 4cqw; height: 4cqw; border: .5cqw solid #7CF2C4; }
.scene--live .viseur i:nth-child(1) { left: -1.8cqw; top: -1.8cqw; border-right: 0; border-bottom: 0; }
.scene--live .viseur i:nth-child(2) { right: -1.8cqw; top: -1.8cqw; border-left: 0; border-bottom: 0; }
.scene--live .viseur i:nth-child(3) { left: -1.8cqw; bottom: -1.8cqw; border-right: 0; border-top: 0; }
.scene--live .viseur i:nth-child(4) { right: -1.8cqw; bottom: -1.8cqw; border-left: 0; border-top: 0; }
.scene--live .viseur span { position: absolute; right: 4cqw; top: -5.4cqw; padding: .8cqw 2cqw; border-radius: 10cqw; background: #7CF2C4; color: #0E2B20; font-size: 2.3cqw; font-weight: 700; white-space: nowrap; }

/* Boutique : le quiz conseille un modèle, le panier suit. */
.scene--deco .plan--fond { background: linear-gradient(160deg, #F3ECDF, #E3D7C4); }
.scene--deco .mur { inset: auto 0 0 0; height: 26%; background: linear-gradient(180deg, rgba(74, 53, 36, .0), rgba(74, 53, 36, .14)); }
.scene--deco .produit { left: 5%; top: 9%; width: 47cqw; aspect-ratio: 1; border-radius: 3.4cqw; background: radial-gradient(circle at 50% 42%, #FBF7EF, #E7DFD2); box-shadow: 0 5cqw 7cqw -4cqw rgba(74, 53, 36, .65); }
.scene--deco .ventilo { display: block; width: 100%; height: 100%; }
.scene--deco .pales { transform-origin: 0 0; animation: ventiloTourne 5s linear infinite; }
@keyframes ventiloTourne { to { transform: rotate(360deg); } }
.scene--deco .quiz { right: -4%; top: 6%; width: 47cqw; }
.scene--deco .choisi { --tc: 1.7s; }
.scene--deco .conseil { right: 3%; top: 41%; width: 43cqw; }
.scene--deco .conseil span { display: block; color: rgba(27, 38, 34, .7); }
.scene--deco .panier { left: 12%; bottom: 13%; }
.scene--deco .relance { right: 5%; bottom: -5%; width: 42cqw; background: #173B30; color: rgba(245, 244, 239, .78); }
.scene--deco .relance b { color: #D9B26A; }

/* Galerie de cartes : le cadre se remplit carte par carte. */
.scene--cartes .plan--fond { background: radial-gradient(120% 90% at 50% 0%, #1F2B3C, #0E131B); }
.scene--cartes .halo { inset: 10% 15% 30% 15%; background: radial-gradient(closest-side, rgba(217, 178, 106, .22), transparent); }
/* Le cadre modulaire : trois unités vissées côte à côte, comme le produit. Les cartes tombent dedans une à une,
   puis un reflet passe sur chacune. */
.scene--cartes .cadre-mod { left: 6%; top: 17%; width: 88cqw; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7cqw; rotate: -2.5deg; filter: drop-shadow(0 5cqw 4cqw rgba(0, 0, 0, .75)); }
.scene--cartes .unite { --cadre: #191A1D; --cadre-2: #2B2D32; --vis: #C98B4A; position: relative; padding: 3.2cqw 2.6cqw; border-radius: 1.6cqw; background:
    radial-gradient(circle at 1.9cqw 1.9cqw, var(--vis) 0 .55cqw, rgba(0, 0, 0, .55) .6cqw .85cqw, transparent .9cqw),
    radial-gradient(circle at calc(100% - 1.9cqw) 1.9cqw, var(--vis) 0 .55cqw, rgba(0, 0, 0, .55) .6cqw .85cqw, transparent .9cqw),
    radial-gradient(circle at 1.9cqw calc(100% - 1.9cqw), var(--vis) 0 .55cqw, rgba(0, 0, 0, .55) .6cqw .85cqw, transparent .9cqw),
    radial-gradient(circle at calc(100% - 1.9cqw) calc(100% - 1.9cqw), var(--vis) 0 .55cqw, rgba(0, 0, 0, .55) .6cqw .85cqw, transparent .9cqw),
    linear-gradient(145deg, var(--cadre-2), var(--cadre) 45%);
  box-shadow: inset 0 .3cqw 0 rgba(255, 255, 255, .14), inset 0 -.5cqw 1cqw rgba(0, 0, 0, .55); }
.scene--cartes .fenetre-carte { position: relative; z-index: 1; display: block; aspect-ratio: 63 / 88; border-radius: 1.1cqw; background: #0A0B0D; box-shadow: inset 0 0 0 .3cqw rgba(255, 255, 255, .07), inset 0 1cqw 2cqw rgba(0, 0, 0, .9); overflow: hidden; }
.scene--cartes .carte-reelle { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 1.1cqw; }
.scenes-actives .scene--cartes.joue .carte-reelle { animation: carteTombe .85s cubic-bezier(.2, .9, .25, 1.15) var(--t, 0s) both; }
@keyframes carteTombe { 0% { opacity: 0; transform: translateY(-110%) rotate(-9deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* Le reflet passe sur chaque carte une fois posée. */
.scene--cartes .fenetre-carte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) -80% 0 / 250% 100% no-repeat; animation: sceneReflet 3.6s ease-in-out infinite; mix-blend-mode: screen; }
.scene--cartes .unite:nth-child(2) .fenetre-carte::after { animation-delay: .5s; }
.scene--cartes .unite:nth-child(3) .fenetre-carte::after { animation-delay: 1s; }
.scene--cartes .etiquette { left: 6%; top: 4.5%; width: 28cqw; text-align: center; padding: 1cqw 0; border-radius: 10cqw; background: #F5F4EF; font-size: 2.6cqw; font-weight: 700; box-shadow: 0 2cqw 3cqw -1.4cqw rgba(0, 0, 0, .8); }
.scene--cartes .etiquette--fin { background: #D9B26A; }
.scene--cartes .stock { left: 5%; bottom: 5%; background: #F5F4EF; color: #1B2622; font-size: 2.4cqw; }
.scene--cartes .stock i { background: #2FB37E; box-shadow: 0 0 0 .9cqw rgba(47, 179, 126, .25); }
.scene--cartes .total { right: -3%; bottom: -4%; width: 33cqw; background: #D9B26A; }
.scene--cartes .total span { display: block; }

/* Fidélisation : la roue cadeau ramène la cliente, qui réserve dans la foulée. */
.scene--fidelite .plan--fond { background: linear-gradient(150deg, #F8EDE4, #EFD9CC); }
.scene--fidelite .halo { inset: -5% 45% 35% -10%; background: radial-gradient(closest-side, rgba(217, 178, 106, .4), transparent); }
.scene--fidelite .roue-boite { left: 5%; top: 9%; width: 46cqw; aspect-ratio: 1; }
.scene--fidelite .roue { position: absolute; inset: 0; border-radius: 50%; border: 1.6cqw solid #FFFDF8; background: conic-gradient(#173B30 0 60deg, #D9B26A 60deg 120deg, #F5F4EF 120deg 180deg, #C9705A 180deg 240deg, #2C5C4C 240deg 300deg, #EBD7AE 300deg 360deg); box-shadow: 0 5cqw 7cqw -3.5cqw rgba(74, 40, 30, .7); }
.scene--fidelite.joue .roue { animation: roueTourne 2.8s cubic-bezier(.12, .72, .12, 1) .5s both; }
@keyframes roueTourne { to { transform: rotate(1110deg); } }
.scene--fidelite .roue-fleche { position: absolute; left: 50%; top: -2.6cqw; margin-left: -2.4cqw; border: 2.4cqw solid transparent; border-top: 4.4cqw solid #173B30; border-bottom: 0; filter: drop-shadow(0 .6cqw .6cqw rgba(0, 0, 0, .35)); }
.scene--fidelite .roue-centre { position: absolute; inset: 35%; display: grid; place-items: center; border-radius: 50%; background: #FFFDF8; font-size: 2.6cqw; font-weight: 700; box-shadow: 0 1.4cqw 2cqw -1cqw rgba(0, 0, 0, .5); }
.scene--fidelite .gain { right: -4%; top: 12%; width: 45cqw; }
.scene--fidelite .gain b { color: #8E6A2C; }
.scene--fidelite .gain span { display: block; }
.scene--fidelite .creneaux { right: 4%; top: 43%; width: 44cqw; }
.scene--fidelite .choisi { --tc: 4.8s; }
.scene--fidelite .confirme { left: 9%; bottom: -3%; }

/* Conseiller voyage : une demande en une phrase, un itinéraire en retour. */
.scene--voyage .plan--fond { background: linear-gradient(170deg, #D3E6EE, #F6EBDD 70%); }
.scene--voyage .radar { right: 4%; bottom: 6%; width: 34cqw; aspect-ratio: 1; }
.scene--voyage .radar i { position: absolute; inset: 0; border-radius: 50%; border: .4cqw solid rgba(23, 59, 48, .35); animation: scenePouls 3s ease-out infinite; }
.scene--voyage .radar i:nth-child(2) { animation-delay: 1s; }
.scene--voyage .radar i:nth-child(3) { animation-delay: 2s; }
.scene--voyage .msg { padding: 2cqw 2.8cqw; border-radius: 3cqw; font-size: 3cqw; box-shadow: 0 3cqw 4.4cqw -2.4cqw rgba(8, 20, 16, .5); }
.scene--voyage .msg--moi { right: 5%; top: 8%; max-width: 58cqw; background: #173B30; color: #F5F4EF; border-bottom-right-radius: .8cqw; }
.scene--voyage .msg--moi span { display: block; }
.scene--voyage .msg--ia { left: 4%; top: 30%; width: 62cqw; border-bottom-left-radius: .8cqw; }
.scene--voyage .msg--ia li { margin-top: 1cqw; padding: 1.2cqw 2cqw; border-radius: 1.6cqw; background: #F1EDE3; font-size: 2.7cqw; }
.scene--voyage .attente { left: 4%; top: 30%; display: flex; gap: 1cqw; background: #FFFDF8; }
.scenes-actives .scene--voyage.joue .attente { animation: voyageAttente 1.3s var(--ease) var(--t) both; }
@keyframes voyageAttente { 0% { opacity: 0; transform: translateY(2cqw); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
html:not(.scenes-actives) .scene--voyage .attente { display: none; }
.scene--voyage .attente i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: rgba(27, 38, 34, .45); animation: sceneFlotte .9s ease-in-out infinite; }
.scene--voyage .attente i:nth-child(2) { animation-delay: .15s; }
.scene--voyage .attente i:nth-child(3) { animation-delay: .3s; }
.scene--voyage .bonplan { right: -4%; bottom: 5%; width: 44cqw; background: #D9B26A; padding-left: 7cqw; }
.scene--voyage .bonplan i { position: absolute; left: 2.6cqw; top: 3cqw; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #173B30; box-shadow: 0 0 0 1cqw rgba(23, 59, 48, .2); }

/* Sites vitrines : deux sites et leur version téléphone, en éventail. */
.scene--vitrines .plan--fond { background: linear-gradient(150deg, #E9E7DF, #D8D3C6); }
.scene--vitrines .halo { inset: 20% 10% 0 30%; background: radial-gradient(closest-side, rgba(23, 59, 48, .18), transparent); }
.scene--vitrines .mini-site { width: 62cqw; border-radius: 2cqw; overflow: hidden; background: #fff; box-shadow: 0 5cqw 7cqw -3.5cqw rgba(8, 20, 16, .7), 0 0 0 1px rgba(27, 38, 34, .12); transition: translate .6s var(--ease), rotate .6s var(--ease); }
.scene--vitrines .mini-site img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.scene--vitrines .mini-barre { display: flex; gap: 1cqw; padding: 1.4cqw 2cqw; background: #E9E7DF; }
.scene--vitrines .mini-barre i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: rgba(27, 38, 34, .2); }
.scene--vitrines .mini-site--1 { left: 3%; top: 8%; rotate: -4deg; }
.scene--vitrines .mini-site--2 { right: -3%; top: 34%; rotate: 3deg; }
.scene--vitrines:hover .mini-site--1 { rotate: -7deg; }
.scene--vitrines:hover .mini-site--2 { rotate: 5deg; }
.scene--vitrines .mini-tel { left: 9%; bottom: -8%; width: 21cqw; padding: 1cqw; border-radius: 4cqw; background: #10291F; box-shadow: 0 5cqw 7cqw -3cqw rgba(8, 20, 16, .85); }
.scene--vitrines .mini-tel img { display: block; width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 3.2cqw; }
.scene--vitrines .note-site { right: 2%; top: 5%; width: 36cqw; }
.scene--vitrines .note-site--2 { right: auto; top: auto; left: 34%; bottom: 2%; width: 34cqw; background: #173B30; color: rgba(245, 244, 239, .78); }
.scene--vitrines .note-site--2 b { color: #D9B26A; }
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene *::after { animation: none !important; }
}

.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.visionneuse::backdrop { background: rgba(8, 20, 16, .92); }
.visionneuse figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 72px 24px; gap: 14px; }
.visionneuse img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; object-fit: contain; }
.visionneuse figcaption { color: #F5F4EF; font-size: 15px; text-align: center; max-width: 70ch; }
.visionneuse button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245, 244, 239, .3); background: rgba(16, 41, 31, .8); color: #F5F4EF; font-size: 20px; cursor: pointer; }
.vis-prec { left: 14px; top: 50%; } .vis-suiv { right: 14px; top: 50%; } .vis-fermer { right: 14px; top: 14px; }

@media (max-width: 900px) {
  .cas-grille, .cas:nth-of-type(even) .cas-grille { grid-template-columns: 1fr; }
  .cas:nth-of-type(even) .cas-texte { order: 0; }
  .telephone { right: 0; width: 28%; }
  .cas:nth-of-type(even) .telephone { left: auto; right: 0; }
  .cas-galerie li { width: 210px; }
  .visionneuse figure { padding: 60px 12px 20px; }
  .vis-prec, .vis-suiv { top: auto; bottom: 14px; }
}
@media (max-width: 560px) {
  .index-projets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .index-carte b { font-size: 16px; }
}


/* ══ Direction Comptoir : finitions ═══════════════════════════════════════
   Les blocs verts sont posés comme des plaques de comptoir : en retrait des
   bords, coins arrondis. C'est la signature du site. */
.section.vert, .bandeau.vert {
  margin-inline: clamp(8px, 1.2vw, 18px);
  border-radius: clamp(26px, 3vw, 46px);
  overflow: hidden;
}
.section.vert + .section.vert { margin-top: clamp(8px, 1.2vw, 18px); }
.pied { margin: clamp(8px, 1.2vw, 18px); border-radius: clamp(26px, 3vw, 46px); }


/* Les trois repères du hero sur une ligne. */
.hero--parole .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; }
@media (max-width: 640px) { .hero--parole .hero-stats { grid-template-columns: 1fr 1fr; } }

/* La preuve dès l'arrivée : trois vrais écrans empilés, qui mènent aux réalisations. */
.hero--parole { position: relative; }
.hero-preuves { display: none; }
.page-tete .hero-preuves { top: 160px; right: clamp(64px, 6vw, 110px); }
@media (min-width: 1320px) {
  .hero-preuves {
    display: block; position: absolute; z-index: 3; width: 250px; height: 300px;
    top: 132px; right: clamp(36px, 3.4vw, 64px);
    animation: monte .9s var(--ease) .6s both;
  }
  .hero-preuves img {
    position: absolute; left: 0; top: 0; width: 240px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
    border-radius: 14px; border: 1px solid var(--bord-fort); background: #fff;
    box-shadow: 0 30px 60px -30px rgba(8, 20, 16, .55);
    transition: transform .6s var(--ease);
  }
  .hero-preuves img:nth-child(1) { transform: translate(-6px, 10px) rotate(-7deg); }
  .hero-preuves img:nth-child(2) { transform: translate(10px, 62px) rotate(2deg); }
  .hero-preuves img:nth-child(3) { transform: translate(24px, 116px) rotate(7deg); }
  .hero-preuves:hover img:nth-child(1), .hero-preuves:focus-visible img:nth-child(1) { transform: translate(-34px, 0) rotate(-11deg); }
  .hero-preuves:hover img:nth-child(2), .hero-preuves:focus-visible img:nth-child(2) { transform: translate(8px, 54px) rotate(0); }
  .hero-preuves:hover img:nth-child(3), .hero-preuves:focus-visible img:nth-child(3) { transform: translate(44px, 120px) rotate(11deg); }
  .hero-preuves span {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap;
    background: var(--nuit); color: var(--craie); font-size: 13.5px; font-weight: 500;
    padding: 10px 18px; border-radius: 100px; box-shadow: var(--ombre-2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-preuves, .hero-preuves img { animation: none; transition: none; }
}

/* Le défilé : deux rangées de vrais écrans qui glissent en sens inverse.
   Pause au survol ; chaque vignette mène au projet. */
section.defile { overflow: hidden; padding-inline: 0; }
.defile-tete { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-inline: var(--pad-x); margin-bottom: clamp(32px, 4vw, 52px); }
.defile-tete h2 { max-width: 16ch; }
.defile-piste {
  display: grid; gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.defile-rang { display: flex; gap: 18px; width: max-content; animation: defileRang 70s linear infinite; }
.defile-rang--inverse { animation-direction: reverse; animation-duration: 85s; }
.defile-piste:hover .defile-rang { animation-play-state: paused; }
@keyframes defileRang { to { transform: translateX(calc(-50% - 9px)); } }
.defile-vignette { position: relative; flex: none; width: clamp(220px, 22vw, 320px); border-radius: 14px; overflow: hidden; border: 1px solid var(--bord); background: #fff; }
.defile-vignette img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.defile-vignette span {
  position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 7px 12px; border-radius: 100px;
  background: var(--nuit); color: var(--craie); font-size: 12.5px; font-weight: 500;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: fit-content; max-width: calc(100% - 20px);
}
.defile-vignette:hover img { transform: scale(1.04); }
.defile-vignette:hover span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .defile-rang { animation: none; }
  .defile-piste { overflow-x: auto; }
}

/* L'échange du hero : la bulle envoyée, la réponse, puis les coordonnées. */
.parole-boite.secoue { animation: secoue .45s var(--ease); border-color: var(--accent-2); }
@keyframes secoue { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.parole-suite { margin-top: 26px; max-width: 920px; animation: monte .6s var(--ease) both; }
.parole-suite[hidden] { display: none; }
.parole-fil { display: grid; gap: 14px; }
.bulle-moi { justify-self: end; max-width: min(620px, 92%); display: grid; justify-items: end; gap: 6px; }
.bulle-texte {
  background: var(--nuit); color: var(--craie); padding: 16px 20px; border-radius: 22px 22px 6px 22px;
  font-size: 17px; line-height: 1.55; white-space: pre-wrap; box-shadow: var(--ombre-2);
  animation: bulleArrive .5s var(--ease) both;
}
.parole-modifier { background: none; border: 0; padding: 0; font-size: 13px; color: var(--texte-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.parole-modifier:hover { color: var(--texte); }
.parole-modifier[hidden] { display: none; }
.bulle-haris { display: flex; align-items: flex-end; gap: 10px; max-width: min(560px, 92%); animation: bulleArrive .5s var(--ease) .35s both; }
.bulle-haris img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.bulle-haris p { background: var(--fond-2); border: 1px solid var(--bord); padding: 14px 18px; border-radius: 22px 22px 22px 6px; font-size: 15.5px; color: var(--texte); }
.envoye .bulle-haris p { border-color: rgba(23, 59, 48, .35); background: rgba(23, 59, 48, .07); }
@keyframes bulleArrive { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.parole-coord { margin-top: 22px; padding: 22px; border: 1px solid var(--bord); border-radius: 22px; background: var(--fond-2); animation: monte .6s var(--ease) .6s both; }
.parole-coord[hidden] { display: none; }
.parole-coord-champs { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; }
.parole-coord-pied { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.parole-coord-pied .diag-legal { margin: 0; flex: 1 1 260px; }
.parole-erreur { margin-top: 12px; color: #A8331F; font-size: 14px; }
.parole-erreur[hidden] { display: none; }
form.parole[hidden], .parole-vite[hidden] { display: none; }
@media (max-width: 760px) { .parole-coord-champs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .parole-suite, .bulle-texte, .bulle-haris, .parole-coord, .parole-boite.secoue { animation: none; }
}


/* ══ Crédibilité : offres reliées aux réalisations, preuves, méthode ══════ */
.offre-delai { margin-top: 18px; font-size: 13.5px; color: var(--texte-2); display: flex; gap: 8px; align-items: baseline; }
.offre-delai::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none; transform: translateY(-1px); }
.offre-exemple { display: flex; gap: 12px; align-items: center; margin: 16px 0 20px; padding: 8px; border: 1px solid var(--bord); border-radius: 14px; background: var(--fond-2); transition: border-color .3s, transform .3s var(--ease); }
.offre-exemple:hover { border-color: var(--bord-fort); transform: translateY(-2px); }
.offre-exemple img { width: 84px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; flex: none; }
.offre-exemple span { font-size: 13.5px; line-height: 1.35; color: var(--texte); }
.offre-exemple small { display: block; font-size: 12px; color: var(--accent-2); margin-bottom: 2px; }
.engagements-offres { margin-top: clamp(36px, 4vw, 52px); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--bord); border-radius: 26px; background: var(--fond-2); }
.engagements-offres h3 { font-size: clamp(20px, 1.8vw, 24px); }
.engagements-offres ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 18px; }
.engagements-offres li { font-size: 14px; color: var(--texte-2); line-height: 1.55; }
.engagements-offres li b { display: block; color: var(--texte); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.engagements-offres > p { margin-top: 22px; font-size: 14.5px; color: var(--texte-2); }
.engagements-offres > p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.preuves-chiffres { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-inline: var(--pad-x); margin-bottom: clamp(32px, 4vw, 48px); }
.preuves-chiffres a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--bord); border-radius: 18px; background: var(--fond-2); transition: border-color .3s, transform .3s var(--ease); }
.preuves-chiffres a:hover { border-color: var(--bord-fort); transform: translateY(-3px); }
.preuves-chiffres b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: var(--accent-2); }
.preuves-chiffres span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--texte-2); }
@media (max-width: 860px) { .preuves-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cas-besoin { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--accent-2); background: var(--fond-2); border-radius: 0 12px 12px 0; font-size: 14.5px; color: var(--texte-2); }
.vert .cas-besoin { background: rgba(255, 255, 255, .05); }
.cas-besoin b { display: block; font-weight: 600; color: var(--texte); font-size: 13px; margin-bottom: 4px; }
.cas-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.cas-technos { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cas-technos li { font-size: 12.5px; padding: 4px 11px; border-radius: 100px; border: 1px solid var(--bord-fort); color: var(--texte-2); }
.cas-offre { font-size: 13.5px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.realis-resume { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 56px); margin-top: 32px; }
.realis-resume b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; color: var(--accent-2); }
.realis-resume span { font-size: 13.5px; color: var(--texte-2); }

.etapes-realis { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.etapes-realis li { counter-increment: etape; padding: 22px; border: 1px solid var(--bord); border-radius: 20px; background: var(--fond-2); font-size: 14px; color: var(--texte-2); line-height: 1.55; }
.etapes-realis li::before { content: counter(etape); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--nuit); color: var(--craie); font-size: 14px; margin-bottom: 14px; }
.etapes-realis b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--texte); margin-bottom: 6px; }
@media (max-width: 860px) { .etapes-realis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .etapes-realis { grid-template-columns: 1fr; } }

/* ── Articles ────────────────────────────────────────────────────────────── */
.articles-tete .filtres { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.articles-tete .filtres a[aria-current="page"] { background: var(--plein); color: var(--sur-plein); border-color: var(--plein); }
.articles-section { padding-top: 24px; }
.articles-liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.article-carte {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 24px 22px;
  background: var(--fond-2); border: 1px solid var(--bord); border-radius: 20px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.article-carte:hover { border-color: var(--bord-fort); transform: translateY(-3px); }
.article-carte b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--texte); }
.article-carte-theme { font-size: 12.5px; color: var(--champagne); }
.article-carte-extrait { font-size: 14.5px; line-height: 1.6; color: var(--texte-2); font-weight: 300; flex: 1; }
.article-carte-meta { font-size: 12.5px; color: var(--texte-3); }
.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }

.article-tete h1 { max-width: 22ch; font-size: clamp(34px, 4.2vw, 58px); }
.article-meta { margin-top: 22px; font-size: 14px; color: var(--texte-3); }
.article-meta a { color: var(--texte-2); text-decoration: underline; text-underline-offset: 3px; }
.article-grille { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); padding-block: 20px 80px; justify-content: center; }
.article-sommaire { position: sticky; top: 100px; align-self: start; display: grid; gap: 24px; font-size: 14px; }
.article-sommaire > p { color: var(--texte-3); font-size: 12.5px; margin-bottom: -12px; }
.article-sommaire ol { list-style: none; display: grid; gap: 9px; border-left: 1px solid var(--bord); padding-left: 16px; }
.article-sommaire ol a { color: var(--texte-2); line-height: 1.4; display: block; }
.article-sommaire ol a:hover { color: var(--texte); }
/* Le projet construit lié au thème de l'article, et les thèmes d'articles sous chaque réalisation. */
.article-projet { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: center; margin: 40px 0 28px; padding: 18px; border-radius: 16px; background: var(--fond-2); border: 1px solid var(--bord); }
.article-projet img { display: block; width: 100%; height: auto; border-radius: 10px; }
.article-projet small { display: block; color: var(--texte-3); font-size: 12px; }
.article-projet b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 4px 0 6px; }
.article-projet p { margin: 0 0 10px; color: var(--texte-2); font-size: 14.5px; }
.article-projet div > a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .article-projet { grid-template-columns: minmax(0, 1fr); } }
.cas-articles { margin-top: 14px; font-size: 14px; color: var(--texte-2); }
.cas-articles a { text-decoration: underline; text-underline-offset: 3px; }
.article-offre { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: var(--fond-2); border: 1px solid var(--bord); }
.article-offre small { color: var(--texte-3); font-size: 12px; }
.article-offre b { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.article-offre span { color: var(--texte-2); font-size: 13.5px; }
.article-offre a { margin-top: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.prose { font-size: 17.5px; line-height: 1.8; color: var(--texte-2); font-weight: 300; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.3vw, 32px); line-height: 1.2; color: var(--texte); margin-top: 2em; scroll-margin-top: 100px; }
.prose h3 { font-size: 19px; font-weight: 600; color: var(--texte); margin-top: 1.6em; }
.prose strong { font-weight: 600; color: var(--texte); }
.prose a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--champagne); }
.prose blockquote { border-left: 3px solid var(--champagne); padding-left: 18px; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.prose th { color: var(--texte); font-weight: 600; background: var(--fond-2); }
.article-faq { margin-top: 3em; }
.article-faq details { border-bottom: 1px solid var(--bord); padding: 16px 0; }
.article-faq summary { cursor: pointer; font-weight: 500; color: var(--texte); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.article-faq summary::after { content: '+'; color: var(--champagne); font-size: 22px; line-height: 1; }
.article-faq details[open] summary::after { content: '–'; }
.article-faq details p { margin-top: 10px; }
.article-auteur { margin-top: 3em; padding: 26px; border-radius: 20px; background: var(--fond-2); border: 1px solid var(--bord); display: grid; gap: 8px; font-size: 15.5px; }
.article-auteur b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--texte); }
.article-auteur a { font-weight: 500; }
.article-suite { padding-top: 0; }
.article-suite h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 24px; }
@media (max-width: 960px) {
  .article-grille { grid-template-columns: 1fr; }
  .article-sommaire { position: static; order: 2; }
  .article-sommaire ol { display: none; }
  .article-sommaire > p { display: none; }
}

/* ── Bandeau de mesure d'audience ────────────────────────────────────────── */
.consentement {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(380px, calc(100vw - 32px));
  background: var(--fond-2, #fff); color: var(--texte); border: 1px solid var(--bord-fort); border-radius: 18px;
  padding: 18px 18px 14px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .35); display: grid; gap: 12px; font-size: 13.5px; line-height: 1.5;
}
.consentement p { color: var(--texte-2); }
.consentement div { display: flex; gap: 8px; justify-content: flex-end; }
.consentement .btn { padding: 9px 18px; font-size: 13.5px; }
.consentement small { color: var(--texte-3); font-size: 11.5px; }

.accueil-articles .articles-liste:has(li:empty), .accueil-articles:not(:has(.article-carte)) { display: none; }
.accueil-articles-tout { margin-top: 28px; text-align: center; }

.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consentement small a { text-decoration: underline; }
.confidentialite { max-width: 760px; }

/* Pages « réponses » et glossaire : la réponse directe d'abord, le détail ensuite */
.reponses, .glossaire { max-width: 760px; }
.prose .reponse-courte { font-size: 19px; line-height: 1.65; font-weight: 400; color: var(--texte); border-left: 3px solid var(--champagne); padding-left: 18px; }
.prose .sources { font-size: 14.5px; line-height: 1.6; color: var(--texte-3); }
.prose .sources a { color: var(--texte-2); }
.sommaire-questions { padding: 22px 26px; border-radius: 20px; background: var(--fond-2); border: 1px solid var(--bord); font-size: 15.5px; }
.sommaire-questions ol { gap: .35em; }
.sommaire-questions a { text-decoration: none; }
.sommaire-questions a:hover { text-decoration: underline; }
.glossaire dt { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.25; color: var(--texte); margin-top: 1.7em; scroll-margin-top: 100px; }
.glossaire dd { margin: .45em 0 0; }
.article-maj { color: var(--texte-3); }

/* Page d'offre pour les commerçants (commercants.html) et son rappel sur l'accueil.
   Les blocs réutilisent les composants du site (offres, engagements, valeurs, bandeau, portrait, faq, reveal) ;
   seuls l'en-tête à deux colonnes, les cadres d'exemples et le formulaire ont des règles à eux. */
.commerce-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.commerce-tete h1 { max-width: 13ch; }
.commerce-preuves { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.commerce-ecrans { position: relative; margin: 0; animation: monte .9s var(--ease) .3s both; }
.commerce-ecrans .navigateur img { display: block; }
.commerce-ecrans .telephone { right: -8px; bottom: 30px; width: clamp(104px, 27%, 172px); transition: transform .6s var(--ease); }
.commerce-ecrans:hover .telephone { transform: translateY(-8px) rotate(-2deg); }
.commerce-ecrans .telephone img { aspect-ratio: 390 / 844; height: auto; display: block; }
.commerce-ecrans figcaption { margin-top: 16px; font-size: 12.5px; color: var(--texte-3); max-width: 62%; }
.commerce-regles { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.commerce-regles li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.65; color: var(--texte-2); font-weight: 300; }
.commerce-regles li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); }
.commerce-regles b { color: var(--texte); font-weight: 600; }
.service-bloc .lettre-signature p { font-size: 14px; line-height: 1.5; color: var(--texte-2); }
.service-bloc .lettre-signature b { color: var(--texte); font-weight: 600; }
.service-bloc .lettre-signature a { text-decoration: underline; text-underline-offset: 3px; }
/* Les mots du commerçant : la citation sert de titre à la carte */
.commerce-mots .engagement h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 21px; line-height: 1.25; }
/* Ce que vous recevez, en images : un écran d'ordinateur et deux téléphones, légendés « exemple » */
.commerce-apercus { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); margin-top: 56px; align-items: end; }
.commerce-apercus figure { margin: 0; }
.commerce-apercus .navigateur, .cadre-tel { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.commerce-apercus figure:hover .navigateur, .commerce-apercus figure:hover .cadre-tel { transform: translateY(-6px); }
.cadre-tel { border-radius: 30px; padding: 8px; background: #10291F; box-shadow: 0 30px 60px -28px rgba(8, 20, 16, .6); max-width: 250px; margin-inline: auto; }
.cadre-tel img { display: block; width: 100%; height: auto; border-radius: 23px; }
.commerce-apercus figcaption { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--texte-2); }
.commerce-apercus figcaption b { display: block; color: var(--texte); font-weight: 600; font-size: 15.5px; }
.commerce-apercus figcaption small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--texte-3); }
.offres--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offres--quatre > .offre { grid-column: auto; }
.offre-prix--texte { font-size: 27px; line-height: 1.15; }
.offre .offre-lien { font-size: 13.5px; color: var(--texte-2); text-decoration: underline; text-underline-offset: 3px; }
.commerce-etapes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.commerce-form { max-width: 780px; margin: 38px auto 0; text-align: left; display: grid; gap: 18px; }
.commerce-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.commerce-choix { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 15px; color: var(--texte); }
.commerce-choix label { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.commerce-choix input { width: 17px; height: 17px; accent-color: #B5893C; }
.commerce-form .btn { justify-self: center; }
.commerce-form .diag-legal { text-align: center; }
.commerce-form .diag-legal a { text-decoration: underline; }
.commerce-erreur { color: #F0B4A6; font-size: 14px; text-align: center; }
.commerce-erreur[hidden], .commerce-merci[hidden] { display: none; }
.commerce-merci { max-width: 620px; margin: 34px auto 0; padding: 22px 26px; border: 1px solid var(--bord-fort); border-radius: 20px; font-size: 16.5px; line-height: 1.6; color: var(--texte); }
.commerce-autre { margin-top: 22px; font-size: 14px; color: var(--texte-2); }
.commerce-autre a { color: var(--texte); text-decoration: underline; text-underline-offset: 3px; }
/* Sur téléphone : un bouton de rendez-vous qui reste à portée de pouce, une fois le haut de page passé */
.rdv-fixe { display: none; }
.passerelle { padding: clamp(28px, 4vw, 52px) var(--pad-x) 0; }
.passerelle-boite { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 3.2vw, 40px); border: 1px solid var(--bord-fort); border-radius: 26px; background: var(--fond-2); box-shadow: var(--ombre-1); }
.passerelle-boite h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 10px; }
.passerelle-boite p { margin-top: 10px; font-size: 15.5px; color: var(--texte-2); max-width: 58ch; }
.passerelle-boite .btn { flex: none; }
/* Questions et glossaire : encart « En bref » et accès rapide aux lettres */
.en-bref { padding: 22px 26px; border-radius: 20px; background: var(--fond-2); border: 1px solid var(--bord); }
.en-bref > b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--texte); margin-bottom: 8px; }
.en-bref ul { margin-top: 0; }
.glossaire-acces { display: flex; flex-wrap: wrap; gap: 8px; }
.glossaire-acces a { padding: 7px 14px; border-radius: 100px; border: 1px solid var(--bord-fort); font-size: 14px; text-decoration: none; transition: background-color .25s, color .25s; }
.glossaire-acces a:hover { background: var(--nuit); color: var(--craie); }
@media (max-width: 1180px) {
  .commerce-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offres--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Huit entrées au menu : elles restent sur une ligne jusqu'au passage au menu mobile (1080 px). */
.nav-liens a, .nav-actions .btn { white-space: nowrap; }
@media (max-width: 1320px) { .nav-liens { gap: 20px; } }
@media (max-width: 1180px) { .nav-liens { gap: 13px; } .nav-liens a { font-size: 13.5px; } }
@media (max-width: 980px) {
  .commerce-hero { grid-template-columns: 1fr; }
  .commerce-ecrans { max-width: 620px; }
  .commerce-apercus { grid-template-columns: 1fr 1fr; }
  .commerce-apercus figure:first-child { grid-column: 1 / -1; }
  .passerelle-boite { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .offres--quatre { grid-template-columns: 1fr; }
  .rdv-fixe {
    display: flex; align-items: center; justify-content: center; gap: 9px; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 55;
    padding: 15px 20px; border-radius: 100px; background: var(--nuit); color: var(--craie); font-size: 15px; font-weight: 500;
    box-shadow: 0 18px 40px -16px rgba(8, 20, 16, .7); transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .rdv-fixe.visible { transform: none; }
}
@media (max-width: 620px) {
  .commerce-champs, .commerce-etapes { grid-template-columns: 1fr; }
  .commerce-ecrans .telephone { right: 0; }
  .commerce-ecrans figcaption { max-width: 60%; }
  .commerce-choix { flex-direction: column; align-items: flex-start; }
  .commerce-choix label { align-items: flex-start; text-align: left; }
  .commerce-choix input { flex: none; margin-top: 3px; }
  .commerce-form .btn, .passerelle-boite .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-ecrans, .commerce-ecrans .telephone, .commerce-apercus .navigateur, .cadre-tel, .rdv-fixe { animation: none; transition: none; }
}

/* ═══ Sections vivantes : diagnostic en cartes, comparateur avant/après, bandeau graphique, maquette à onglets,
   schéma d'automatisation, bascules, entonnoir, simulateurs. JS : vivant.js. Tout respecte « réduire les animations ». ═══ */
.vis-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Diagnostic : trois pas visibles, des choix en cartes ─────────────── */
.diag-pas { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: -12px 0 24px; }
.diag-pas li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--texte-3); transition: color .3s; }
.diag-pas li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 12px; border: 1px solid var(--bord-fort); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.diag-pas li.encours { color: var(--texte); }
.diag-pas li.encours i { border-color: var(--accent); color: var(--accent); }
.diag-pas li.fait { color: var(--texte); }
.diag-pas li.fait i { background: var(--nuit); border-color: var(--nuit); color: var(--craie); transform: scale(1.06); }
.diag .diag-etape { padding: 16px 18px; border: 1px solid var(--bord); border-radius: 18px; background: rgba(255, 255, 255, .35); transition: border-color .3s, opacity .3s, background-color .3s; }
.diag .diag-etape + .diag-etape { margin-top: 12px; }
.diag .diag-etape.attente { opacity: .62; }
.diag .diag-etape.fait { border-color: rgba(181, 137, 60, .45); background: rgba(181, 137, 60, .06); }
.diag .diag-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.diag .opt { border-radius: 14px; padding: 12px 14px 12px 40px; min-height: 48px; text-align: left; font-size: 14px; line-height: 1.3; background: var(--fond-2); }
.diag .opt::after { content: ''; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 1.5px solid var(--bord-fort); transition: border-color .25s, background-color .25s; }
.diag .opt[aria-pressed="true"]::after { border-color: var(--champagne); background: var(--champagne) radial-gradient(circle, #10291F 0 3px, transparent 3.5px); }
.diag .diag-sortie { animation: monte .6s var(--ease) both; }

/* ── Bandeau graphique : une trame et un trait, à la place de la photo ── */
.bandeau--trame { min-height: clamp(300px, 44vh, 480px); background:
    radial-gradient(900px 420px at 82% 18%, rgba(217, 178, 106, .16), transparent 70%),
    radial-gradient(700px 500px at 8% 110%, rgba(36, 81, 66, .9), transparent 70%),
    linear-gradient(160deg, #173A30, var(--nuit) 62%); }
.bandeau--trame::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245, 244, 239, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 244, 239, .045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(100deg, transparent 22%, #000 78%); -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 78%); }
.bandeau--trame::after { display: none; }
.bandeau-trait { position: absolute; inset: 0; width: 100%; height: 100%; }
.bandeau-trait path { fill: none; stroke: url(#degBandeau); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.bandeau-trait circle { fill: #D9B26A; opacity: 0; }
.reveal.vu .bandeau-trait path { animation: ecrire 2.4s var(--ease) .2s forwards; }
.reveal.vu .bandeau-trait circle { animation: pop .6s var(--ease) 1.6s forwards; }
.bandeau--trame .bandeau-phrase { max-width: 22ch; font-size: clamp(26px, 3.4vw, 46px); }
.bandeau-notes { position: absolute; z-index: 2; right: clamp(24px, 7vw, 120px); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; width: min(320px, 30vw); }
.bandeau-note { padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); font-size: 13.5px; line-height: 1.45; color: rgba(245, 244, 239, .82); opacity: 0; transform: translateY(14px); }
.bandeau-note b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--champagne); }
.reveal.vu .bandeau-note { animation: monte .7s var(--ease) forwards; }
.reveal.vu .bandeau-note:nth-child(2) { animation-delay: .18s; }
.reveal.vu .bandeau-note:nth-child(3) { animation-delay: .36s; }
@media (max-width: 900px) { .bandeau-notes { display: none; } }

/* ── Comparateur avant / après ────────────────────────────────────────── */
.avap { position: relative; height: 560px; margin-top: 56px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -40px rgba(4, 12, 9, .9); --coupe: 50%; user-select: none; }
.avap-face { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.avap-avant { background: #ECE9E3; color: #2B2A27; clip-path: inset(0 calc(100% - var(--coupe)) 0 0); }
.avap-apres { background: linear-gradient(165deg, #1F4A3D, #0F271E 70%); color: var(--craie); clip-path: inset(0 0 0 var(--coupe)); }
.avap-etiquette { align-self: flex-start; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.avap-avant .avap-etiquette { background: #2B2A27; color: #F3F1EC; }
.avap-apres .avap-etiquette { align-self: flex-end; border: 1px solid rgba(217, 178, 106, .5); color: #EBD7AE; }
.avap-grille { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.fenetre { background: #F7F6F2; border: 1px solid #C9C6BE; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); }
.fenetre-titre { padding: 7px 11px; font-size: 11px; color: #5F5C55; background: #DDDAD3; border-bottom: 1px solid #C9C6BE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fenetre--tableur { grid-row: 1 / span 2; transform: rotate(-.6deg); }
.fenetre--carnet { transform: rotate(1.2deg); background: #FBF6DF; }
.fenetre--mails { transform: rotate(-.8deg); }
.mini-tableur { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr; font-size: 12px; }
.mini-tableur span { padding: 8px 9px; border-right: 1px solid #DAD7D0; border-bottom: 1px solid #DAD7D0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-tableur .t { background: #E6E3DC; color: #76736B; font-size: 10.5px; text-align: center; padding: 4px; }
.mini-tableur .r { color: #A8331F; background: #F7E7E3; }
.carnet-lignes { padding: 10px 14px; font-family: 'Segoe Print', 'Bradley Hand', cursive; font-size: 13px; line-height: 1.9; color: #3B3A33; background-image: repeating-linear-gradient(transparent 0 24px, rgba(60, 90, 140, .18) 24px 25px); flex: 1; }
.mails { list-style: none; font-size: 12px; }
.mails li { padding: 8px 11px; border-bottom: 1px solid #E2DFD8; display: flex; gap: 8px; white-space: nowrap; overflow: hidden; }
.mails b { font-weight: 600; color: #2B2A27; }
.mails span { color: #8A877F; overflow: hidden; text-overflow: ellipsis; }
.avap-alerte { align-self: flex-start; padding: 9px 14px; border-radius: 10px; background: #F7E7E3; border: 1px solid #E6BDB3; color: #A8331F; font-size: 12.5px; }
.outil-haut { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.outil-sceau { width: 30px; height: 30px; border-radius: 9px; background: rgba(217, 178, 106, .2); color: #EBD7AE; display: grid; place-items: center; font-family: var(--serif); font-size: 13px; }
.outil-nom-appli { font-family: var(--serif); font-size: 17px; }
.outil-jour { font-size: 12px; color: rgba(245, 244, 239, .55); }
.outil-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.outil-tuile { padding: 13px 14px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); display: grid; gap: 5px; }
.outil-tuile b { font-family: var(--serif); font-weight: 400; font-size: 23px; color: #EBD7AE; line-height: 1; }
.outil-tuile span { font-size: 11.5px; line-height: 1.4; color: rgba(245, 244, 239, .62); }
.outil-barres { display: flex; align-items: flex-end; gap: 5px; height: 30px; }
.outil-barres i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #D9B26A, rgba(217, 178, 106, .35)); }
.outil-affaires { list-style: none; display: grid; gap: 8px; flex: 1; min-height: 0; }
.outil-affaires li { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 11px 14px; border-radius: 13px; background: rgba(8, 20, 16, .35); border: 1px solid rgba(255, 255, 255, .08); }
.outil-affaires b { font-weight: 600; font-size: 13.5px; }
.outil-affaires i { font-style: normal; font-family: var(--serif); color: #EBD7AE; font-size: 15px; }
.outil-affaires span { grid-column: 1 / -1; font-size: 12px; color: rgba(245, 244, 239, .66); }
.outil-affaires em { font-style: normal; color: #EBD7AE; }
.outil-journal { font-size: 12px; color: rgba(245, 244, 239, .6); }
.outil-journal b { color: var(--craie); font-weight: 600; }
.avap-curseur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.avap-curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 560px; }
.avap-curseur::-moz-range-thumb { width: 56px; height: 560px; border: 0; }
.avap-trait { position: absolute; top: 0; bottom: 0; left: var(--coupe); width: 2px; margin-left: -1px; background: #D9B26A; z-index: 3; pointer-events: none; }
.avap-trait span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #10291F; border: 2px solid #D9B26A; color: #EBD7AE; display: grid; place-items: center; font-size: 18px; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .7); transition: transform .25s var(--ease); }
.avap:hover .avap-trait span { transform: scale(1.08); }
.avap-curseur:focus-visible ~ .avap-trait span { outline: 3px solid #F5F4EF; outline-offset: 3px; }
.avap-aide { margin-top: 16px; text-align: center; font-size: 13px; color: var(--texte-3); }
@media (max-width: 760px) {
  .avap { height: 600px; }
  .avap-face { padding: 16px; }
  .avap-plus { display: none; }
  .avap-grille { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .fenetre--tableur { grid-row: auto; }
  .fenetre--carnet { display: none; }
  .outil-tuiles { grid-template-columns: 1fr 1fr; }
  .outil-tuile--courbe, .outil-journal { display: none; }
  .avap-curseur::-webkit-slider-thumb { height: 600px; }
  .avap-curseur::-moz-range-thumb { height: 600px; }
}

/* ── Maquette à onglets ───────────────────────────────────────────────── */
.maquette { border-radius: 20px; overflow: hidden; border: 1px solid var(--bord-fort); background: linear-gradient(165deg, #1F4A3D, #0F271E 70%); color: var(--craie); box-shadow: var(--ombre-3); }
.maquette-haut { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.maquette-onglets { display: flex; gap: 6px; padding: 12px 14px 0; overflow-x: auto; scrollbar-width: none; }
.maquette-onglets button { flex: none; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-bottom: 0; border-radius: 12px 12px 0 0; background: transparent; color: rgba(245, 244, 239, .62); font-size: 13.5px; transition: background-color .25s, color .25s; }
.maquette-onglets button:hover { color: var(--craie); }
.maquette-onglets button[aria-selected="true"] { background: rgba(245, 244, 239, .96); color: #10291F; font-weight: 500; }
.maquette-panneau { margin: 0 14px 14px; padding: 18px; border-radius: 0 14px 14px 14px; background: rgba(245, 244, 239, .96); color: #1B2622; min-height: 250px; display: grid; gap: 12px; align-content: start; animation: monte .45s var(--ease) both; }
.maquette-panneau[hidden] { display: none; }
.maquette-ligne { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 13px; border-radius: 12px; background: #fff; border: 1px solid rgba(27, 38, 34, .1); font-size: 13.5px; }
.maquette-ligne span { grid-column: 1 / -1; font-size: 12px; color: rgba(27, 38, 34, .6); }
.pastille-etat { font-size: 11px; padding: 3px 10px; border-radius: 100px; background: rgba(181, 137, 60, .16); color: #7A5A1E; white-space: nowrap; }
.pastille-etat--ok { background: rgba(31, 74, 61, .14); color: #1F4A3D; }
.maquette-jalons { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 11.5px; text-align: center; color: rgba(27, 38, 34, .55); }
.maquette-jalons li::before { content: ''; display: block; height: 5px; border-radius: 5px; background: rgba(27, 38, 34, .14); margin-bottom: 7px; }
.maquette-jalons li.fait { color: #1B2622; }
.maquette-jalons li.fait::before { background: #1F4A3D; }
.maquette-jalons li.encours::before { background: #B5893C; }
.maquette-legende { padding: 0 18px 18px; font-size: 14px; line-height: 1.6; color: rgba(245, 244, 239, .72); }
.maquette-ligne b { color: #1B2622; }
.maquette-legende { color: rgba(245, 244, 239, .72); }
.maquette-legende b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--craie); margin-bottom: 4px; }

/* ── Schéma d'une automatisation ──────────────────────────────────────── */
.schema { position: relative; padding: clamp(20px, 2.6vw, 30px); border-radius: 20px; border: 1px solid var(--bord); background: var(--fond-2); box-shadow: var(--ombre-2); }
.schema-etapes { list-style: none; display: grid; gap: 0; position: relative; }
.schema-etapes::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--bord-fort); }
.schema-etapes::after { content: ''; position: absolute; left: 17px; top: 18px; width: 2px; height: 0; background: var(--champagne); }
.schema-etape { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 0 0 20px; opacity: .38; }
.schema-etape:last-child { padding-bottom: 0; }
.schema-etapes::before, .schema-etapes::after { z-index: 0; }
.schema-etape i { position: relative; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 13px; background: var(--fond-2); border: 2px solid var(--bord-fort); color: var(--texte-2); }
.schema-etape b { display: block; font-size: 15.5px; font-weight: 600; color: var(--texte); }
.schema-etape small { display: inline-block; margin-left: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.schema-etape p { font-size: 13.5px; line-height: 1.6; margin-top: 3px; }
.schema.joue .schema-etapes::after { animation: schemaTrait 4.2s linear forwards; }
.schema.joue .schema-etape { animation: schemaPas .5s var(--ease) forwards; animation-delay: calc(var(--n) * .9s); }
.schema.joue .schema-etape i { animation: schemaPoint .5s var(--ease) forwards; animation-delay: calc(var(--n) * .9s); }
@keyframes schemaTrait { to { height: calc(100% - 36px); } }
@keyframes schemaPas { to { opacity: 1; } }
@keyframes schemaPoint { to { background: var(--nuit); border-color: var(--nuit); color: var(--craie); } }
.schema-rejouer { margin-top: 18px; min-height: 44px; padding: 10px 18px; border-radius: 100px; border: 1px solid var(--bord-fort); background: transparent; font-size: 13.5px; color: var(--texte); transition: background-color .25s, color .25s; }
.schema-rejouer:hover { background: var(--nuit); color: var(--craie); }

/* ── Bascule « à la main » / « avec l'outil » ─────────────────────────── */
.duel { border-radius: 20px; border: 1px solid var(--bord); background: var(--fond-2); box-shadow: var(--ombre-2); overflow: hidden; }
.duel-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; background: rgba(27, 38, 34, .05); }
.duel-choix button { min-height: 46px; border: 0; border-radius: 13px; background: transparent; font-size: 14px; color: var(--texte-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.duel-choix button[aria-pressed="true"] { background: var(--nuit); color: var(--craie); box-shadow: var(--ombre-1); }
.duel-lignes { list-style: none; }
.duel-lignes li { display: grid; grid-template-columns: 130px 1fr; gap: 6px 18px; padding: 16px 20px; border-top: 1px solid var(--bord); align-items: start; }
.duel-lignes h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.duel-lignes p { font-size: 14px; line-height: 1.6; animation: monte .4s var(--ease) both; }
.duel[data-mode="main"] .duel-outil, .duel[data-mode="outil"] .duel-main { display: none; }
.duel-main { color: #8A3A2A; }
.duel-outil { color: var(--texte); }

/* ── Cartes à bascule ─────────────────────────────────────────────────── */
.volets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.volet { position: relative; min-height: 290px; padding: 0; border: 0; background: none; text-align: left; perspective: 1200px; cursor: pointer; border-radius: 22px; }
.volet-face { position: absolute; inset: 0; padding: clamp(22px, 2.4vw, 30px); border-radius: 22px; display: flex; flex-direction: column; gap: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s var(--ease), opacity .4s; }
.volet-recto { background: var(--fond-2); border: 1px solid var(--bord); box-shadow: var(--ombre-2); color: var(--texte-2); }
.volet-verso { background: linear-gradient(165deg, #1F4A3D, #0F271E 75%); color: rgba(245, 244, 239, .8); transform: rotateY(180deg); }
.volet[aria-pressed="true"] .volet-recto { transform: rotateY(-180deg); }
.volet[aria-pressed="true"] .volet-verso { transform: rotateY(0); }
.volet-num { font-family: var(--serif); font-size: 13px; color: var(--accent); }
.volet-verso .volet-num { color: #D9B26A; }
.volet-titre { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--texte); }
.volet-verso .volet-titre { color: var(--craie); }
.volet-texte { font-size: 14.5px; line-height: 1.65; }
.volet-geste { margin-top: auto; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.volet-verso .volet-geste { color: #D9B26A; }
.volet:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* ── Entonnoir ────────────────────────────────────────────────────────── */
.entonnoir { display: grid; gap: 18px; }
.entonnoir-niveaux { display: grid; gap: 8px; justify-items: center; }
.entonnoir-niveau { width: var(--l); min-height: 62px; border: 0; padding: 10px 18px; color: var(--craie); font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(180deg, #2A5A4A, #173A30); clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 22px 100%); transition: filter .25s, transform .3s var(--ease), background .3s; transform-origin: top; }
.reveal .entonnoir-niveau { transform: scaleX(.3); opacity: 0; }
.reveal.vu .entonnoir-niveau { animation: entonnoirOuvre .7s var(--ease) forwards; animation-delay: calc(var(--n) * .16s); }
@keyframes entonnoirOuvre { to { transform: none; opacity: 1; } }
.entonnoir-niveau b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: inherit; }
.entonnoir-niveau:hover { filter: brightness(1.15); }
.entonnoir-niveau[aria-pressed="true"] { background: linear-gradient(180deg, #C49A4E, #8E6A2C); color: #10291F; }
.entonnoir-niveau:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.entonnoir-detail { border-radius: 20px; border: 1px solid var(--bord); background: var(--fond-2); box-shadow: var(--ombre-2); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 14px; }
.entonnoir-detail[hidden] { display: none; }
.entonnoir-detail > p { font-size: 14.5px; line-height: 1.6; color: var(--texte); animation: monte .4s var(--ease) both; }
.entonnoir-detail h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0; }
.entonnoir-detail div p { font-size: 13.5px; line-height: 1.65; margin-top: 3px; }

/* ── Simulateurs ──────────────────────────────────────────────────────── */
.simulateur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(22px, 3vw, 44px); margin-top: 48px; padding: clamp(22px, 3vw, 38px); border-radius: 26px; border: 1px solid var(--bord); background: var(--fond-2); box-shadow: var(--ombre-2); }
.simulateur-champs { display: grid; gap: 22px; align-content: start; }
.simulateur label { display: grid; gap: 8px; font-size: 14.5px; color: var(--texte); }
.simulateur label span { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.simulateur output { font-family: var(--serif); font-size: 20px; color: var(--accent); white-space: nowrap; }
.simulateur input[type="range"] { width: 100%; height: 44px; accent-color: #1F4A3D; cursor: pointer; }
.simulateur input[type="number"] { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--bord-fort); background: transparent; color: var(--texte); font-size: 16px; }
.simulateur input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.simulateur small { font-size: 12.5px; color: var(--texte-3); line-height: 1.5; }
.simulateur-resultat { border-radius: 20px; padding: clamp(20px, 2.6vw, 30px); background: linear-gradient(165deg, #1F4A3D, #0F271E 75%); color: rgba(245, 244, 239, .78); display: grid; gap: 12px; align-content: center; }
.simulateur-resultat .simulateur-chiffre { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: #EBD7AE; font-variant-numeric: tabular-nums; }
.simulateur-resultat .simulateur-chiffre small { font-family: var(--sans); font-size: 15px; color: rgba(245, 244, 239, .7); margin-left: 8px; }
.simulateur-resultat .simulateur-formule { font-size: 13px; line-height: 1.6; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .18); font-variant-numeric: tabular-nums; }
.simulateur-resultat p { font-size: 14px; line-height: 1.6; color: rgba(245, 244, 239, .82); }
.simulateur-resultat strong { color: var(--craie); font-weight: 600; }

/* ── Citation entre deux sections ─────────────────────────────────────── */
.section--citation { padding-block: clamp(40px, 6vw, 80px); }

@media (max-width: 900px) {
  .volets { grid-template-columns: 1fr; }
  .volet { min-height: 240px; }
  .simulateur { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .diag-pas { gap: 4px; }
  .diag-pas li { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 11.5px; }
  .diag .diag-choix { grid-template-columns: 1fr 1fr; }
  .duel-lignes li { grid-template-columns: 1fr; }
  .entonnoir-niveau { width: max(var(--l), 62%); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .schema .schema-etape { opacity: 1; }
  .schema.joue .schema-etapes::after, .schema.joue .schema-etape, .schema.joue .schema-etape i, .reveal.vu .entonnoir-niveau, .reveal.vu .bandeau-trait path, .reveal.vu .bandeau-trait circle, .reveal.vu .bandeau-note, .maquette-panneau, .duel-lignes p, .entonnoir-detail > p, .diag .diag-sortie { animation: none; }
  .reveal .entonnoir-niveau { transform: none; opacity: 1; }
  .bandeau-trait path { stroke-dashoffset: 0; }
  .bandeau-trait circle, .bandeau-note { opacity: 1; transform: none; }
  .volet-face { transition: opacity .2s; }
  .volet-verso { transform: none; opacity: 0; }
  .volet[aria-pressed="true"] .volet-recto { transform: none; opacity: 0; }
  .volet[aria-pressed="true"] .volet-verso { opacity: 1; }
}

/* Badge Netlify masqué (demande de Haris) */
#nl-badge-frame{display:none!important}
