/* ==========================================================================
   POLICES AUTO-HÉBERGÉES — aucun appel à un domaine tiers.
   Plus Jakarta Sans en variable 400-800 : une seule famille, deux fichiers.
   ========================================================================== */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;
  font-display:swap;src:url('/fonts/plus-jakarta-sans-400-800-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
  U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;
  font-display:swap;src:url('/fonts/plus-jakarta-sans-400-800-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,
  U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
  U+2113,U+2C60-2C7F,U+A720-A7FF}


/* ==========================================================================
   PROXILAE — Système « Boucle »
   Le méandre de Moisson est la forme fondatrice : logo, filigrane, carte,
   et rayon des blocs (« le coin boucle »).
   Restyle le menu et le footer existants sans modifier leur HTML.
   ========================================================================== */

:root{
  --deep:#0E3B2E;
  --deep-2:#0A2C22;
  --lime:#C8F04A;
  --ink:#0F1411;
  --ink-2:#59615B;
  --ink-3:#6A706A;   /* 5,07:1 sur blanc · 4,58:1 sur --sub */
  --white:#FFFFFF;        /* toujours blanc : texte posé sur le vert */
  --fond:#FFFFFF;         /* fond de page, bascule en thème sombre */
  --vert-surface:#0E3B2E;
  --vert-surface-2:#0A2C22;
  --vert-texte:#0E3B2E;   /* s'éclaircit en thème sombre */
  --sur-lime:#0E3B2E;     /* texte posé sur le lime : jamais éclairci */
  --sub:#F1F4F1;
  --sub-2:#E6EBE5;
  --line:#E3E8E2;

  --sans:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  /* Les étiquettes de données : même famille, casse et approche différentes. */
  --mono:var(--sans);

  /* Le coin boucle : trois angles doux, un angle qui s'ouvre. */
  --boucle:26px 26px 26px 110px;
  --boucle-sm:20px 20px 20px 64px;
  --r:18px;

  --ease:cubic-bezier(.22,1,.36,1);
  --pad:clamp(20px,4vw,44px);
  --shell:1320px;
}

/* ==========================================================================
   THÈME SOMBRE — piloté par le panneau de préférences, ou par le réglage du
   système tant que l'utilisateur n'a rien choisi.
   ========================================================================== */
html[data-theme="sombre"]{
  --fond:#0E1512; --sub:#18211C; --sub-2:#212C25; --line:#2B362F;
  --ink:#EDF2EF; --ink-2:#B3BEB8; --ink-3:#93A099;
  --vert-surface:#123E31; --vert-surface-2:#0D3227; --vert-texte:#A6E5C3;
}
/* Pas de bascule automatique : le thème sombre est un choix explicite,
   fait dans le panneau de préférences. */


*{box-sizing:border-box}
html,body{margin:0;padding:0}
/* La racine suit le réglage du navigateur ET celui du panneau. */
html{scroll-behavior:smooth;font-size:calc(100% * var(--echelle, 1))}
[id]{scroll-margin-top:96px}   /* la navigation collante ne masque plus la cible */
img,svg{display:block;max-width:100%}

body{
  background:var(--fond);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
:focus-visible{outline:2px solid var(--vert-texte);outline-offset:3px;border-radius:6px}

.shell{max-width:var(--shell);margin:0 auto;padding:0 14px}
.in{padding-left:var(--pad);padding-right:var(--pad)}
/* Un enfant de grille a par défaut min-width:auto : il refuse de descendre
   sous sa largeur mini de contenu et fait déborder la page quand le texte
   est agrandi. On l'autorise à se contracter, et les mots longs à se couper. */
.hero > *,.hero-page > *,.vitrine > *,.eco > *,.cta > *,.resultat > *,
.offres > *,.etapes > *,.principes > *,.paliers > *,.methode > *,
.problemes > *,.services-metier > *,.trois > *,.grid2 > *,
.v4-footer-grid > *,.reperes > *,.chiffres > *,.fiche-pied > *{min-width:0}
h1,h2,h3,p,li,figcaption,blockquote,.lede,.dropdown-tag{overflow-wrap:break-word}
.statut{flex-wrap:wrap}

.mono{font-family:var(--mono);font-size:0.75rem;font-weight:600;letter-spacing:.06em;
  color:var(--ink-3);font-variant-numeric:tabular-nums}

/* Titres — un seul rythme sur tout le site */
h1{
  font-size:clamp(2.375rem,6vw,5.25rem);font-weight:800;line-height:.99;
  letter-spacing:-.048em;margin:0 0 26px;max-width:15ch;text-wrap:balance;
}
h1 em{font-style:normal;color:var(--vert-texte)}
h2{
  font-size:clamp(1.75rem,3.8vw,2.875rem);font-weight:800;line-height:1.02;
  letter-spacing:-.045em;margin:0;max-width:19ch;text-wrap:balance;
}
h2 em{font-style:normal;color:var(--vert-texte)}
.lede{max-width:56ch;font-size:1.0938rem;color:var(--ink-2);line-height:1.6;margin:0}

/* ==========================================================================
   BARRE DE PROGRESSION
   ========================================================================== */
.evitement{
  position:absolute;left:-9999px;top:0;z-index:210;
  background:var(--vert-surface);color:var(--white);font-weight:700;font-size:0.875rem;
  padding:14px 22px;border-radius:0 0 14px 0;
}
.evitement:focus{left:0}

.scroll-progress{
  position:fixed;top:0;left:0;height:2px;width:0;background:var(--lime);
  z-index:200;transition:width .12s linear;
}

/* ==========================================================================
   MENU — mêmes classes que le site actuel, nouvelle peau
   ========================================================================== */
.navbar{
  position:sticky;top:12px;z-index:120;
  max-width:var(--shell);margin:12px auto 0;padding:0 14px;
}
.navbar-container{
  display:flex;align-items:center;gap:18px;
  background:var(--sub);border-radius:999px;padding:9px 10px 9px 20px;
  transition:background .4s var(--ease),box-shadow .4s var(--ease);
}
.navbar.scrolled .navbar-container{
  background:rgba(241,244,241,.86);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  box-shadow:0 12px 34px -18px rgba(14,59,46,.4);
}
.navbar-logo{display:flex;align-items:center;flex:none}
.navbar-logo img{width:87px;height:auto}

.navbar-menu{display:flex;align-items:center;gap:2px;margin-left:auto}
.navbar-link{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 15px;border-radius:999px;
  font-size:0.875rem;font-weight:600;color:var(--ink-2);
  transition:background .35s var(--ease),color .35s var(--ease);
}
.navbar-link:hover,
.navbar-dropdown.is-open > .navbar-link{background:var(--fond);color:var(--vert-texte)}
.navbar-link svg{width:11px;height:11px;transition:transform .35s var(--ease)}
.navbar-dropdown.is-open .navbar-dropdown-btn svg{transform:rotate(180deg)}
.mobile-only{display:none}

.navbar-dropdown{position:relative}
.dropdown-panel{
  position:absolute;top:calc(100% + 12px);left:50%;
  transform:translateX(-50%) translateY(-8px);
  background:var(--fond);border-radius:24px;padding:14px;
  box-shadow:0 30px 70px -28px rgba(14,59,46,.42),0 0 0 1px var(--line);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
  width:max-content;max-width:min(92vw,760px);
}
.navbar-dropdown.is-open .dropdown-panel{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.dropdown-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.dropdown-grid--services{grid-template-columns:repeat(3,minmax(0,1fr))}
.dropdown-item{
  display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:14px;
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.dropdown-item:hover{background:var(--sub);transform:translateX(3px)}
.dropdown-icon{
  width:32px;height:32px;border-radius:10px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft,var(--sub));color:var(--accent,var(--vert-texte));
  transition:background .3s var(--ease);
}
.dropdown-icon svg{width:16px;height:16px}
.dropdown-item:hover .dropdown-icon{background:var(--accent,var(--vert-surface));color:var(--white)}
.dropdown-tag{font-size:0.875rem;font-weight:600;color:var(--ink);letter-spacing:-.015em}
.dropdown-footer{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-top:10px;padding:14px 14px 4px;border-top:1px solid var(--line);flex-wrap:wrap;
}
.dropdown-footer-text{font-size:0.8438rem;color:var(--ink-2)}
.dropdown-footer-cta{
  display:inline-flex;align-items:center;gap:7px;
  font-size:0.8438rem;font-weight:700;color:var(--vert-texte);
}
.dropdown-footer-cta svg{width:13px;height:13px;transition:transform .35s var(--ease)}
.dropdown-footer-cta:hover svg{transform:translateX(4px)}

.navbar-cta{
  display:inline-flex;align-items:center;gap:9px;flex:none;
  background:var(--vert-surface);color:var(--white);border-radius:999px;
  padding:11px 20px 11px 13px;font-size:0.8438rem;font-weight:700;
  transition:background .4s var(--ease),transform .3s var(--ease);
}
.navbar-cta:hover{background:var(--vert-surface-2);transform:translateY(-1px)}
.navbar-cta-arrow{
  width:26px;height:26px;border-radius:999px;background:var(--lime);color:var(--sur-lime);
  display:flex;align-items:center;justify-content:center;
}
.navbar-cta-arrow svg{width:12px;height:12px}
.navbar-mobile-toggle{display:none;width:40px;height:40px;border-radius:999px;background:var(--fond);
  flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:none}
.navbar-mobile-toggle span{display:block;width:16px;height:2px;background:var(--vert-surface);border-radius:2px;
  transition:transform .35s var(--ease),opacity .3s}
.navbar-mobile-toggle.is-open span:first-child{transform:translateY(3.5px) rotate(45deg)}
.navbar-mobile-toggle.is-open span:last-child{transform:translateY(-3.5px) rotate(-45deg)}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  border-radius:999px;padding:14px 24px;font-size:0.9062rem;font-weight:700;
  transition:background .4s var(--ease),transform .3s var(--ease),color .4s;
}
.btn svg{width:14px;height:14px;transition:transform .35s var(--ease)}
.btn:hover svg{transform:translateX(4px)}
.btn-1{background:var(--vert-surface);color:var(--white)}
.btn-1:hover{background:var(--vert-surface-2);transform:translateY(-2px)}
.btn-2{background:var(--sub);color:var(--ink)}
.btn-2:hover{background:var(--sub-2);transform:translateY(-2px)}
.btn-3{background:var(--lime);color:var(--sur-lime)}
.btn-3:hover{transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--white);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
.btn-ghost:hover{background:rgba(255,255,255,.1)}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  padding:clamp(46px,6vw,86px) 0 clamp(34px,4vw,54px);
  display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(30px,4vw,60px);align-items:center;
}
.statut{
  display:inline-flex;align-items:center;gap:9px;background:var(--sub);
  border-radius:999px;padding:8px 16px;margin:0 0 26px;
  font-family:var(--mono);font-size:0.7188rem;color:var(--vert-texte);
}
.statut i{
  width:7px;height:7px;border-radius:50%;background:var(--lime);flex:none;position:relative;
}
.statut i::after{
  content:"";position:absolute;inset:-4px;border-radius:50%;background:var(--lime);
  opacity:.4;animation:pouls 2.4s var(--ease) infinite;
}
@keyframes pouls{0%{transform:scale(.6);opacity:.5}100%{transform:scale(2);opacity:0}}

.portrait{position:relative;margin:0}
.portrait img{width:100%;height:clamp(300px,36vw,440px);object-fit:cover;border-radius:var(--boucle)}
.portrait figcaption{
  position:absolute;right:16px;bottom:16px;
  background:rgba(255,255,255,.93);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-radius:999px;padding:9px 16px;font-family:var(--mono);font-size:0.6875rem;color:var(--vert-texte);
}

/* ==========================================================================
   CITATION + CHIFFRES
   ========================================================================== */
.vitrine{
  display:grid;grid-template-columns:1.25fr .75fr;gap:12px;margin-top:12px;
}
.citation{
  background:var(--vert-surface);color:var(--white);border-radius:var(--boucle);
  padding:clamp(32px,4vw,52px) clamp(28px,3.4vw,44px);
  position:relative;overflow:hidden;
}
.citation blockquote{
  margin:0;font-size:clamp(1.1875rem,2.1vw,1.6875rem);font-weight:600;
  letter-spacing:-.03em;line-height:1.32;max-width:24ch;
}
.citation blockquote em{font-style:normal;color:var(--lime)}
.citation cite{
  display:block;margin-top:22px;font-style:normal;font-size:0.875rem;color:rgba(255,255,255,.66);
}
.citation cite b{color:var(--white);font-weight:700}
.citation .filigrane{position:absolute;right:-120px;bottom:-90px;width:420px;opacity:.1;pointer-events:none}
.chiffres{display:grid;gap:12px}
.chiffre{background:var(--sub);border-radius:var(--boucle-sm);padding:22px 24px}
.chiffre b{
  display:block;font-size:2.125rem;font-weight:800;letter-spacing:-.045em;line-height:1;color:var(--vert-texte);
  font-variant-numeric:tabular-nums;
}
.chiffre span{display:block;margin-top:8px;font-size:0.8125rem;color:var(--ink-2);line-height:1.45}

/* Méandres décoratifs sur fond clair — même geste que les filigranes verts. */
/* `clip` et non `hidden` : pas de conteneur de défilement créé. */
.sec,.hero,.hero-page{position:relative;overflow-x:clip}
.sec > *,.hero > *,.hero-page > *{position:relative;z-index:1}
.meandre-clair{
  position:absolute;pointer-events:none;z-index:0;width:min(54vw,720px);height:auto;
}
.meandre-clair path{fill:none;stroke:#DDE8DB;stroke-width:16;stroke-linecap:round}
.meandre-clair.a-droite{right:-70px;top:-40px}
.meandre-clair.a-gauche{left:-70px;bottom:-50px;transform:scaleX(-1)}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec{padding:clamp(56px,7vw,104px) 0 0}
.sec-tete{display:flex;justify-content:space-between;align-items:flex-end;gap:26px;flex-wrap:wrap;margin-bottom:34px}
.sec-tete .lede{max-width:40ch}

/* ==========================================================================
   LES CINQ MÉTIERS DE L'AGENCE (accueil)
   Chaque carte porte une animation qui figure le service.
   ========================================================================== */
.offres{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.offre{
  grid-column:span 2;background:var(--sub);border-radius:var(--boucle-sm);
  padding:26px 26px 28px;display:flex;flex-direction:column;gap:16px;
  transition:background .5s var(--ease),transform .5s var(--ease);
  position:relative;overflow:hidden;
}
.offre:nth-child(1),.offre:nth-child(2){grid-column:span 3}
.offre:hover{background:var(--sub-2);transform:translateY(-4px)}
.offre h3{font-size:1.3125rem;font-weight:800;letter-spacing:-.035em;margin:0}
.offre p{margin:0;font-size:0.9062rem;color:var(--ink-2);line-height:1.55;max-width:38ch}
.offre ul{list-style:none;margin:auto 0 0;padding:14px 0 0;display:flex;gap:6px;flex-wrap:wrap;
  border-top:1px solid var(--sub-2)}
.offre:hover ul{border-color:#D8DFD6}
.offre ul li{
  font-family:var(--mono);font-size:0.6562rem;color:var(--ink-2);
  background:var(--fond);border-radius:999px;padding:5px 11px;
}
.scene{
  height:130px;border-radius:14px;background:var(--fond);
  position:relative;overflow:hidden;flex:none;
}

/* — Scène 1 : identité visuelle. Le logo se trace, la palette se pose,
     la marque s'applique. Trois temps qui s'enchaînent. — */
.sc-id{display:flex;align-items:center;justify-content:center;gap:14px;padding:0 16px}
.sc-id .temps{
  display:flex;align-items:center;gap:8px;
  opacity:0;transform:translateY(10px);
}
.sc-id .temps{animation:id-suite 6s var(--ease) infinite}
.sc-id .t2{animation-delay:1.3s}
.sc-id .t3{animation-delay:2.6s}
@keyframes id-suite{
  0%{opacity:0;transform:translateY(10px)}
  10%,82%{opacity:1;transform:translateY(0)}
  92%,100%{opacity:0;transform:translateY(-6px)}
}
.sc-id .marque{width:44px;height:auto;flex:none}
.sc-id .marque path{stroke-dasharray:120;stroke-dashoffset:120;animation:id-trace 6s var(--ease) infinite}
@keyframes id-trace{0%,4%{stroke-dashoffset:120}18%,88%{stroke-dashoffset:0}100%{stroke-dashoffset:120}}
.sc-id .nom{font-size:1rem;font-weight:800;letter-spacing:-.04em;color:var(--vert-texte)}
.sc-id .t2{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}
.sc-id .t2 i{width:20px;height:20px;border-radius:7px;display:block}
.sc-id .t2 i:nth-child(1){background:var(--vert-surface)}
.sc-id .t2 i:nth-child(2){background:var(--lime)}
.sc-id .t2 i:nth-child(3){background:#7BA88E}
.sc-id .t2 i:nth-child(4){background:var(--ink)}
.sc-id .plaque{
  background:var(--vert-surface);border-radius:10px;padding:12px 14px;
  display:flex;align-items:center;gap:7px;
}
.sc-id .plaque svg{width:26px;height:auto}
.sc-id .plaque b{font-size:0.75rem;font-weight:800;color:var(--white);letter-spacing:-.03em}
.sc-id .fleche{color:var(--ink-3);font-size:0.8125rem}

/* — Scène 2 : création de site. La page défile dans le navigateur. — */
.sc-web{padding:12px}
.sc-web .fenetre{
  height:100%;border-radius:10px;background:var(--sub);
  display:flex;flex-direction:column;overflow:hidden;position:relative;
}
.sc-web .barre{
  display:flex;align-items:center;gap:5px;padding:7px 10px;background:var(--sub-2);flex:none;
}
.sc-web .barre i{width:5px;height:5px;border-radius:999px;background:#BFC9BD}
.sc-web .url{
  margin-left:5px;font-size:0.5rem;font-weight:600;color:var(--ink-3);
  background:var(--fond);border-radius:999px;padding:2px 8px;letter-spacing:.02em;
}
.sc-web .vue{flex:1;overflow:hidden;background:var(--fond)}
.sc-web .page{display:flex;flex-direction:column;gap:5px;padding:7px;animation:web-defile 8s var(--ease) infinite}
@keyframes web-defile{0%,8%{transform:translateY(0)}52%,60%{transform:translateY(-58%)}100%{transform:translateY(0)}}
.sc-web .bandeau{height:34px;border-radius:6px;background:var(--vert-surface);flex:none}
.sc-web .l{height:5px;border-radius:99px;background:var(--sub-2);flex:none}
.sc-web .l.l2{width:72%}
.sc-web .l.l3{width:54%}
.sc-web .tri{display:flex;gap:5px;flex:none}
.sc-web .tri span{flex:1;height:26px;border-radius:6px;background:var(--sub)}
.sc-web .tri span:nth-child(2){background:var(--lime)}
.sc-web .pied{height:20px;border-radius:6px;background:var(--sub-2);flex:none}
.sc-web .curseur-web{
  position:absolute;width:9px;height:9px;border-radius:999px;
  background:var(--vert-surface);box-shadow:0 0 0 3px rgba(14,59,46,.18);
  right:22%;top:34%;animation:web-curseur 8s var(--ease) infinite;
}
@keyframes web-curseur{
  0%,8%{transform:translate(0,0)}
  30%{transform:translate(-14px,18px)}
  56%{transform:translate(6px,34px)}
  100%{transform:translate(0,0)}
}

/* — Scène 3 : image de marque. Le classement remonte, les étoiles s'allument. — */
.sc-rang{padding:16px 18px;display:flex;flex-direction:column;justify-content:center;gap:7px}
.sc-rang .ligne{
  display:flex;align-items:center;gap:9px;padding:7px 11px;border-radius:9px;
  background:var(--sub);font-size:0.7188rem;font-weight:600;color:var(--ink-2);
  transition:transform .6s var(--ease);
}
.sc-rang .ligne .pos{font-family:var(--mono);font-size:0.625rem;color:var(--ink-3)}
.sc-rang .vous{background:var(--vert-surface);color:var(--white);animation:grimpe 4s var(--ease) infinite}
.sc-rang .vous .pos{color:var(--lime)}
.sc-rang .etoiles{margin-left:auto;letter-spacing:1px;color:var(--lime);font-size:0.5625rem}
@keyframes grimpe{
  0%,12%{transform:translateY(0)}
  38%,62%{transform:translateY(-72px)}
  88%,100%{transform:translateY(0)}
}
.sc-rang .a2{animation:descend-1 4s var(--ease) infinite}
.sc-rang .a3{animation:descend-2 4s var(--ease) infinite}
@keyframes descend-1{0%,12%{transform:translateY(0)}38%,62%{transform:translateY(36px)}88%,100%{transform:translateY(0)}}
@keyframes descend-2{0%,12%{transform:translateY(0)}38%,62%{transform:translateY(36px)}88%,100%{transform:translateY(0)}}

/* — Scène 4 : supports imprimés. L'affiche s'encre, le kakemono se déroule,
     l'enseigne se pose. — */
.sc-print{display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:0 16px 14px}
.sc-print .affiche{
  position:relative;width:62px;height:88px;border-radius:6px;background:var(--sub);
  overflow:hidden;flex:none;box-shadow:0 8px 18px -10px rgba(14,59,46,.5);
}
.sc-print .affiche .encre{
  position:absolute;inset:0;background:var(--vert-surface);
  transform:translateY(-100%);animation:encrer 4.4s var(--ease) infinite;
}
.sc-print .affiche .titre{
  position:absolute;left:8px;right:8px;bottom:10px;height:6px;border-radius:99px;
  background:var(--lime);opacity:0;animation:encre-titre 4.4s var(--ease) infinite;
}
@keyframes encrer{0%{transform:translateY(-100%)}30%,78%{transform:translateY(0)}100%{transform:translateY(-100%)}}
@keyframes encre-titre{0%,32%{opacity:0}42%,78%{opacity:1}100%{opacity:0}}
.sc-print .kakemono{
  width:26px;height:104px;border-radius:5px;background:var(--vert-surface);flex:none;
  transform-origin:top;transform:scaleY(0);
  animation:derouler 4.4s var(--ease) infinite;animation-delay:.35s;
}
@keyframes derouler{0%{transform:scaleY(0)}22%,80%{transform:scaleY(1)}100%{transform:scaleY(0)}}
.sc-print .enseigne{
  width:78px;height:34px;border-radius:6px;background:var(--lime);flex:none;
  align-self:center;opacity:0;transform:translateY(12px) rotate(-4deg);
  animation:poser 4.4s var(--ease) infinite;animation-delay:.7s;
  box-shadow:0 8px 18px -10px rgba(14,59,46,.6);
}
@keyframes poser{
  0%{opacity:0;transform:translateY(12px) rotate(-4deg)}
  20%,80%{opacity:1;transform:translateY(0) rotate(-4deg)}
  100%{opacity:0;transform:translateY(-6px) rotate(-4deg)}
}

/* — Scène 5 : outils sur mesure. Les interrupteurs basculent. — */
.sc-outil{padding:20px 22px;display:flex;flex-direction:column;justify-content:center;gap:11px}
.sc-outil .rang{display:flex;align-items:center;gap:10px}
.sc-outil .lbl{height:6px;border-radius:99px;background:var(--sub-2);flex:1}
.sc-outil .sw{
  width:30px;height:17px;border-radius:99px;background:var(--sub-2);flex:none;
  position:relative;animation:bascule 3.2s var(--ease) infinite;
}
.sc-outil .sw::after{
  content:"";position:absolute;top:2.5px;left:2.5px;width:12px;height:12px;border-radius:50%;
  background:var(--fond);box-shadow:0 1px 3px rgba(0,0,0,.2);
  animation:bascule-bille 3.2s var(--ease) infinite;
}
.sc-outil .rang:nth-child(2) .sw,.sc-outil .rang:nth-child(2) .sw::after{animation-delay:.22s}
.sc-outil .rang:nth-child(3) .sw,.sc-outil .rang:nth-child(3) .sw::after{animation-delay:.44s}
@keyframes bascule{0%,18%{background:var(--sub-2)}34%,82%{background:var(--vert-surface)}100%{background:var(--sub-2)}}
@keyframes bascule-bille{0%,18%{transform:translateX(0)}34%,82%{transform:translateX(13px)}100%{transform:translateX(0)}}

/* ==========================================================================
   ÉTAPES
   ========================================================================== */
.etapes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.etape{
  background:var(--sub);border-radius:var(--boucle-sm);padding:30px 28px 32px;
  display:flex;flex-direction:column;gap:10px;
  transition:background .5s var(--ease),transform .5s var(--ease);
}
.etape:hover{background:var(--sub-2);transform:translateY(-4px)}
.etape .n{
  font-variant-numeric:tabular-nums;
  width:36px;height:36px;border-radius:999px;background:var(--vert-surface);color:var(--lime);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.75rem;margin-bottom:12px;flex:none;
}
.etape h3{font-size:1.3125rem;font-weight:800;letter-spacing:-.035em;margin:0}
.etape p{margin:0;font-size:0.9062rem;color:var(--ink-2);line-height:1.6}
.etape .duree{
  margin-top:auto;padding-top:16px;font-family:var(--mono);font-size:0.6875rem;color:var(--vert-texte);
}

/* ==========================================================================
   TERRITOIRE — la carte de la boucle
   ========================================================================== */
.carte-zone{background:var(--sub);border-radius:var(--boucle);padding:clamp(18px,2.6vw,32px);margin-top:26px}
.carte svg{width:100%;height:auto;overflow:visible}
.carte .lit{fill:none;stroke:#CBD8CC;stroke-width:13;stroke-linecap:round;stroke-linejoin:round}
.carte .eau{
  fill:none;stroke:var(--vert-texte);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1000;stroke-dashoffset:1000;
}
.carte.revealed .eau{animation:couler 3.4s var(--ease) forwards}
@keyframes couler{to{stroke-dashoffset:0}}
.carte .pt{fill:var(--white);stroke:var(--vert-texte);stroke-width:2;transition:r .35s var(--ease),fill .35s var(--ease)}
.carte .pt-atelier{fill:var(--lime)}
.carte .hit{fill:transparent;cursor:pointer}
.carte .hit:hover + .pt,.carte .hit:focus + .pt{r:9;fill:var(--lime)}
.carte .lbl{font-family:var(--sans);font-size:14px;font-weight:700;fill:var(--vert-texte);letter-spacing:-.02em}
.carte .lbl-min{font-family:var(--mono);font-size:12px;font-weight:500;
  letter-spacing:.04em;fill:var(--ink-3)}
.carte .lbl-titre{font-size:23px;font-weight:800;letter-spacing:-.04em}
.carte .zone{fill:#DCE5DA;opacity:.55}
.carte-pied{display:flex;justify-content:space-between;align-items:baseline;gap:20px;flex-wrap:wrap;
  margin-top:16px;padding:0 6px}
#carte-legende{font-family:var(--mono);font-size:0.8125rem;font-weight:600;letter-spacing:.03em;
  color:var(--vert-texte);margin:0;font-variant-numeric:tabular-nums}
#carte-legende em{font-style:normal;color:var(--ink-3)}

.communes{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.communes a{
  font-family:var(--mono);font-size:0.7188rem;color:var(--ink-2);
  background:var(--fond);border-radius:999px;padding:7px 13px;
  display:inline-flex;align-items:center;min-height:24px;
  transition:background .35s var(--ease),color .35s var(--ease),transform .35s var(--ease);
}
.communes a:hover{background:var(--vert-surface);color:var(--white);transform:translateY(-2px)}
.communes a.ici{background:var(--vert-surface);color:var(--lime)}
.communes .plus{background:transparent;color:var(--ink-3)}

/* ==========================================================================
   PRINCIPES
   ========================================================================== */
.principes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.principe{background:var(--sub);border-radius:var(--boucle-sm);padding:30px 28px 32px}
.principe .n{font-family:var(--mono);font-size:0.7188rem;color:var(--ink-3);margin:0 0 16px}
.principe h3{font-size:1.25rem;font-weight:800;letter-spacing:-.035em;margin:0 0 9px}
.principe p{margin:0;font-size:0.9062rem;color:var(--ink-2);line-height:1.6}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{display:flex;flex-direction:column;gap:6px}
.faq details{
  background:var(--sub);border-radius:var(--r);overflow:hidden;
  transition:background .4s var(--ease);
}
.faq details[open]{background:var(--sub-2)}
.faq summary{
  list-style:none;cursor:pointer;padding:20px 24px;
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  font-size:1.0625rem;font-weight:700;letter-spacing:-.025em;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";width:11px;height:11px;flex:none;
  border-right:2px solid var(--vert-texte);border-bottom:2px solid var(--vert-texte);
  transform:rotate(45deg) translate(-2px,-2px);
  transition:transform .35s var(--ease);
}
.faq details[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.faq .rep{padding:0 24px 22px;font-size:0.9375rem;color:var(--ink-2);line-height:1.65;max-width:76ch}

/* ==========================================================================
   ÉCO
   ========================================================================== */
.eco{
  background:var(--vert-surface);color:var(--white);border-radius:var(--boucle);
  padding:clamp(38px,4.4vw,60px) var(--pad);margin-top:14px;
  display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(26px,3.4vw,54px);align-items:center;
  position:relative;overflow:hidden;
}
.eco .filigrane{position:absolute;right:-140px;top:-70px;width:480px;opacity:.09;pointer-events:none}
.eco > *{position:relative}
.eco h2{color:var(--white)}
.eco h2 em{color:var(--lime)}
.eco p{color:rgba(255,255,255,.72);font-size:0.9688rem;line-height:1.65;margin:18px 0 0;max-width:52ch}
.eco-preuves{display:flex;flex-direction:column;gap:10px}
.eco-preuve{
  background:rgba(255,255,255,.07);border-radius:var(--r);padding:18px 20px;
  font-size:0.875rem;color:rgba(255,255,255,.78);line-height:1.55;
}
.eco-preuve b{display:block;color:var(--lime);font-weight:700;font-size:0.9375rem;margin-bottom:4px}
.eco .lien-eco{
  display:inline-flex;align-items:center;gap:8px;margin-top:16px;
  font-size:0.875rem;font-weight:700;color:var(--lime);
}
.eco .lien-eco svg{width:13px;height:13px;transition:transform .35s var(--ease)}
.eco .lien-eco:hover svg{transform:translateX(4px)}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta{
  background:var(--lime);color:var(--sur-lime);border-radius:var(--boucle);
  padding:clamp(42px,5vw,68px) var(--pad);margin-top:14px;
  display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap;
  position:relative;overflow:hidden;
}
.cta .filigrane{position:absolute;left:-80px;bottom:-140px;width:460px;opacity:.16;pointer-events:none}
.cta > *{position:relative}
.cta p{margin:14px 0 0;font-size:0.9688rem;color:rgba(14,59,46,.72);max-width:52ch}
/* La signature du CTA : une tête et un prénom valent mieux qu'un bouton seul. */
.cta-droite{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.cta-signature{display:flex;align-items:center;gap:13px}
.cta-signature img{
  width:52px;height:52px;border-radius:999px;object-fit:cover;flex:none;
  box-shadow:0 0 0 2px var(--white),0 0 0 4px rgba(14,59,46,.22);
}
.cta-signature b{display:block;font-size:0.9375rem;font-weight:800;letter-spacing:-.02em}
.cta-signature span span{display:block;font-size:0.8125rem;color:rgba(14,59,46,.75);margin-top:1px}

.cta .btn-1{background:var(--vert-surface)}
.cta .btn-2{background:rgba(14,59,46,.1);color:var(--sur-lime)}
.cta .btn-2:hover{background:rgba(14,59,46,.17)}

/* ==========================================================================
   PIED DE PAGE — mêmes classes que le site actuel
   ========================================================================== */
.v4-footer{margin-top:clamp(50px,6vw,84px);padding:0 0 34px}
.v4-container{max-width:var(--shell);margin:0 auto;padding:0 var(--pad)}
.v4-footer-grid{
  display:grid;grid-template-columns:1.4fr .9fr 1.5fr .9fr;gap:36px;
  padding:44px 0 34px;border-top:1px solid var(--line);
}
.v4-footer-brand .v4-nav-logo img{width:97px;height:auto}
.v4-footer-tagline{margin:16px 0 0;font-size:0.9062rem;color:var(--ink-2);line-height:1.6;max-width:36ch}
.v4-footer-social{display:flex;gap:8px;margin-top:20px}
.v4-footer-social a{
  width:38px;height:38px;border-radius:999px;background:var(--sub);
  display:flex;align-items:center;justify-content:center;
  transition:background .35s var(--ease),transform .35s var(--ease);
}
.v4-footer-social a:hover{background:var(--sub-2);transform:translateY(-2px)}
.v4-footer-social img{width:18px;height:18px}
/* La colonne Services porte 14 liens : elle coule sur deux colonnes
   internes pour ne pas doubler la hauteur du pied de page. */
.v4-footer-grid > .v4-footer-col:nth-of-type(2){columns:9rem 2;column-gap:22px}
.v4-footer-grid > .v4-footer-col:nth-of-type(2) > summary{column-span:all}
.v4-footer-col a{break-inside:avoid}

.v4-footer-col summary{list-style:none;cursor:pointer}
.v4-footer-col summary::-webkit-details-marker{display:none}
.v4-footer-col h4{
  display:inline-block;margin:0 0 12px;font-size:0.6562rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
}
/* Les liens de plan de site sont secondaires : plus petits, plus clairs.
   Seule la colonne de marque reste au premier plan. */
.v4-footer-col a{
  display:block;padding:3.5px 0;font-size:0.8125rem;color:var(--ink-3);
  transition:color .3s var(--ease),transform .3s var(--ease);
}
.v4-footer-col a:hover{color:var(--vert-texte);transform:translateX(3px)}

/* Bandeau des villes : une ligne de queue longue, pas un bloc. */
.v4-footer-cities{
  border-top:1px solid var(--line);padding:18px 0 0;margin:0 0 20px;background:none;
}
.v4-footer-cities summary{list-style:none;cursor:pointer;margin-bottom:9px}
.v4-footer-cities summary::-webkit-details-marker{display:none}
.v4-footer-cities-label{
  font-size:0.6562rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
}
.v4-footer-cities-list{
  display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px;
  font-size:0.75rem;color:var(--ink-3);line-height:1.7;
}
.v4-footer-cities-list a{
  display:inline-flex;align-items:center;min-height:24px;
  transition:color .3s var(--ease);
}
.v4-footer-cities-list a:hover{color:var(--vert-texte)}
.v4-sep{color:var(--line)}

.v4-footer-bottom{
  display:flex;justify-content:space-between;align-items:center;gap:16px 26px;flex-wrap:wrap;
  padding-top:20px;border-top:1px solid var(--line);font-size:0.75rem;color:var(--ink-3);
}
.v4-footer-legal{display:flex;gap:16px;flex-wrap:wrap;font-size:0.75rem;color:var(--ink-3)}
.v4-footer-legal a:hover{color:var(--vert-texte)}

/* Badges écoconception */
.v4-footer-carbon{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding-top:16px;font-size:0.6875rem;color:var(--ink-3);
}
#wcb.carbonbadge{--b1:var(--vert-texte);--b2:var(--lime);font-size:0.8125rem!important}
#wcb #wcb_2{color:var(--ink-3)!important;font-family:var(--mono)!important;font-size:0.6562rem!important}
#wcb #wcb_g,#wcb #wcb_a{font-family:var(--sans)!important;font-size:0.75rem!important}
.v4-footer-eco{
  display:inline-flex;align-items:center;gap:10px;
  border-radius:999px;padding:5px 14px 5px 6px;
  transition:background .35s var(--ease);
}
.v4-footer-eco:hover{background:var(--sub-2)}
.v4-footer-eco img{width:auto;height:26px;border-radius:5px}
.v4-footer-eco span{font-size:0.6562rem;line-height:1.45;color:var(--ink-3)}

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.fil-ariane{display:flex;gap:8px;align-items:center;font-family:var(--mono);font-size:0.7188rem;
  color:var(--ink-3);padding:26px 0 0}
.fil-ariane a:hover{color:var(--vert-texte)}

/* Hero intérieur : le titre à gauche, une scène animée à droite. */
.hero-page{
  padding:clamp(30px,4vw,54px) 0 clamp(30px,4vw,50px);
  display:grid;grid-template-columns:1.06fr .94fr;gap:clamp(28px,4vw,56px);align-items:center;
}
.hero-page h1{font-size:clamp(2.125rem,5.2vw,4.25rem)}
.hero-page .lede{margin-top:0}

/* — Scène restaurant : le service tourne. — */
.sc-resto{
  background:var(--vert-surface);border-radius:var(--boucle-sm);padding:26px;color:var(--white);
  display:flex;flex-direction:column;gap:10px;min-height:360px;
}
.sc-resto .ardoise{
  background:rgba(255,255,255,.06);border-radius:var(--r);padding:20px 22px;
}
.sc-resto .ardoise h4{margin:0 0 3px;font-size:1.0625rem;font-weight:800;letter-spacing:-.03em}
.sc-resto .ardoise .sous{font-family:var(--mono);font-size:0.6875rem;color:var(--lime);margin:0 0 14px}
.sc-resto .ardoise ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.sc-resto .ardoise li{font-size:0.875rem;color:rgba(255,255,255,.8);display:flex;justify-content:space-between;gap:12px}
.sc-resto .notifs{display:flex;flex-direction:column;gap:8px;margin-top:auto}
.notif{
  display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.07);
  border-radius:14px;padding:12px 15px;
  opacity:0;transform:translateY(10px);
  animation:notif-entre .7s var(--ease) forwards;
}
.notif:nth-child(2){animation-delay:.85s}
.notif:nth-child(3){animation-delay:1.7s}
@keyframes notif-entre{to{opacity:1;transform:translateY(0)}}
/* L'attention passe par le liseré, jamais par l'opacité du texte. */
.notif::after{
  content:"";position:absolute;inset:0;border-radius:14px;pointer-events:none;
  box-shadow:inset 0 0 0 1.5px var(--lime);opacity:0;
  animation:notif-appel 5.4s var(--ease) infinite;
}
.notif{position:relative}
.notif:nth-child(2)::after{animation-delay:1.8s}
.notif:nth-child(3)::after{animation-delay:3.6s}
@keyframes notif-appel{0%,4%{opacity:0}10%,26%{opacity:1}34%,100%{opacity:0}}
.notif .ico{
  width:32px;height:32px;border-radius:999px;background:var(--lime);color:var(--vert-texte);flex:none;
  display:flex;align-items:center;justify-content:center;font-size:0.875rem;
}
.notif b{display:block;font-size:0.8438rem;font-weight:700}
.notif span{display:block;font-size:0.75rem;color:rgba(255,255,255,.6)}

/* Les places qui se remplissent, sous l'ardoise. */
.sc-resto .places{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  background:rgba(255,255,255,.07);border-radius:999px;padding:11px 18px;
}
.pt-place{
  width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.22);flex:none;
  animation:place-prise 5s var(--ease) infinite;
}
.pt-place.pris{background:var(--lime)}
.pt-place:nth-child(2){animation-delay:.3s}
.pt-place:nth-child(3){animation-delay:.6s}
.pt-place:nth-child(4){animation-delay:.9s}
@keyframes place-prise{0%,10%{transform:scale(1)}18%{transform:scale(1.5)}30%,100%{transform:scale(1)}}
.sc-resto .lbl-place{font-family:var(--mono);font-size:11px;color:var(--lime);margin-left:4px}
.sc-resto .qr{
  margin-left:auto;font-family:var(--mono);font-size:0.6562rem;color:rgba(255,255,255,.7);
}

/* ==========================================================================
   CARROUSEL (page ville) — cinq scènes : le territoire, puis les quatre
   leviers pour rayonner localement.
   ========================================================================== */
.carrousel{
  background:var(--vert-surface);color:var(--white);border-radius:var(--boucle-sm);
  padding:24px 24px 20px;display:flex;flex-direction:column;gap:16px;
}
.diapos{position:relative}
.diapo{
  position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;
  display:flex;flex-direction:column;gap:16px;
  transition:opacity .55s var(--ease),visibility .55s;
}
.diapo.est-active{position:relative;opacity:1;visibility:visible}
.diapo figcaption{display:block}
.diapo figcaption b{display:block;font-size:1.1875rem;font-weight:800;letter-spacing:-.03em}
.diapo figcaption span{
  display:block;margin-top:6px;font-size:0.8438rem;color:rgba(255,255,255,.66);line-height:1.55;
}
.plateau{
  background:rgba(255,255,255,.06);border-radius:var(--r);
  height:340px;position:relative;overflow:hidden;flex:none;
}
.carrousel-pied{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.12);padding-top:16px;
}
.carrousel-pied .devise{
  margin:0;font-family:var(--mono);font-size:0.6875rem;color:var(--lime);letter-spacing:.04em;
}
.commandes{display:flex;align-items:center;gap:14px}
.pause{
  display:inline-flex;align-items:center;gap:8px;min-height:24px;
  border-radius:999px;padding:6px 14px 6px 10px;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.82);
  font-size:0.75rem;font-weight:600;
  transition:background .35s var(--ease),color .35s var(--ease);
}
.pause:hover{background:rgba(255,255,255,.16);color:var(--white)}
.pause .ico{
  width:16px;height:16px;flex:none;border-radius:3px;position:relative;
  box-shadow:inset 0 0 0 1.5px currentColor;
}
.pause .ico::before,.pause .ico::after{
  content:"";position:absolute;top:4px;width:2px;height:8px;background:currentColor;
}
.pause .ico::before{left:4.5px}
.pause .ico::after{right:4.5px}
.pause[aria-pressed="true"] .ico::before{
  left:5px;width:0;height:0;background:none;top:3.5px;
  border-left:6px solid currentColor;border-top:4.5px solid transparent;
  border-bottom:4.5px solid transparent;
}
.pause[aria-pressed="true"] .ico::after{display:none}

.puces{display:flex;gap:7px}
.puces button{
  width:24px;height:24px;padding:0;background:none;position:relative;border-radius:999px;
}
/* Le bouton fait la taille de cible réglementaire ; le point, lui, reste fin. */
.puces button::before{
  content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.28);
  transition:background .35s var(--ease),width .45s var(--ease);
}
.puces button[aria-current="true"]::before{background:var(--lime);width:20px}

/* Scène 1 — le territoire : la vraie carte de la boucle, et six communes
   voisines qui remontent le fleuve jusqu'à Mousseaux. */
.sc-terr{padding:14px}
.sc-terr svg{width:100%;height:100%}
.sc-terr .lit-s{fill:none;stroke:rgba(255,255,255,.10);stroke-width:26;stroke-linecap:round;stroke-linejoin:round}
.sc-terr .eau-s{fill:none;stroke:rgba(255,255,255,.34);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.sc-terr .pt-s{fill:var(--vert-texte);stroke:rgba(255,255,255,.7);stroke-width:3}
.sc-terr .voyageur{fill:var(--lime)}
.sc-terr .ici-s{fill:var(--lime)}
.sc-terr .halo-s{fill:none;stroke:var(--lime);stroke-width:3;opacity:0}
.diapo.est-active .sc-terr .halo-s{animation:onde 2.6s var(--ease) 2}
@keyframes onde{0%{r:17;opacity:.8}100%{r:70;opacity:0}}
.sc-terr .lbl-s{
  font-family:var(--sans);font-size:34px;font-weight:600;fill:rgba(255,255,255,.75);
}
.sc-terr .fort-s{fill:var(--lime);font-size:42px;font-weight:800;letter-spacing:-.02em}

/* Scène 2 — le site se construit. */
.sc-site{padding:22px}
.sc-site .fenetre{
  height:100%;border-radius:12px;background:rgba(0,0,0,.22);
  display:flex;flex-direction:column;overflow:hidden;
}
.sc-site .barre{
  display:flex;align-items:center;gap:7px;padding:9px 12px;
  background:rgba(255,255,255,.06);
}
.sc-site .barre i{width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.2)}
.sc-site .url{
  margin-left:6px;font-family:var(--mono);font-size:0.5938rem;color:rgba(255,255,255,.5);
  background:rgba(0,0,0,.28);border-radius:999px;padding:3px 10px;
}
.sc-site .corps{flex:1;padding:14px;display:flex;flex-direction:column;gap:8px}
.sc-site .br{border-radius:5px;background:rgba(255,255,255,.09);overflow:hidden;position:relative}
.sc-site .br::after{
  content:"";position:absolute;inset:0;background:var(--lime);
  transform:scaleX(0);transform-origin:left;
}
.diapo.est-active .sc-site .br::after{animation:pousse 2.8s var(--ease) forwards}
.sc-site .br.t{height:26px}
.sc-site .br.t::after{background:rgba(255,255,255,.85)}
.sc-site .br.p{height:9px;width:78%}
.sc-site .br.p2{height:9px;width:56%}
.sc-site .cols{display:flex;gap:8px;flex:1}
.sc-site .cols .br{flex:1;height:auto}
.diapo.est-active .sc-site .br.p::after{animation-delay:.35s}
.diapo.est-active .sc-site .br.p2::after{animation-delay:.5s}
.diapo.est-active .sc-site .cols .br:nth-child(1)::after{animation-delay:.8s}
.diapo.est-active .sc-site .cols .br:nth-child(2)::after{animation-delay:.95s}
.diapo.est-active .sc-site .cols .br:nth-child(3)::after{animation-delay:1.1s}
@keyframes pousse{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Scène 3 — le logo se trace, la charte se pose. */
.sc-ident{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;padding:22px}
.sc-ident .bloc{
  background:rgba(0,0,0,.2);border-radius:12px;padding:16px;
  display:flex;flex-direction:column;justify-content:center;gap:12px;
}
.sc-ident .marque{display:flex;align-items:center;gap:10px}
.sc-ident .marque svg{width:52px;height:auto;flex:none}
.sc-ident .marque path{
  stroke-dasharray:120;stroke-dashoffset:120;
}
.diapo.est-active .sc-ident .marque path{animation:trace-logo 2.6s var(--ease) forwards}
@keyframes trace-logo{from{stroke-dashoffset:120}to{stroke-dashoffset:0}}
.sc-ident .marque b{font-size:1.1875rem;font-weight:800;letter-spacing:-.04em}
.sc-ident .specimen{
  font-size:3.5rem;font-weight:800;letter-spacing:-.05em;line-height:1;color:var(--lime);
}
.sc-ident .echelle{display:flex;gap:6px;align-items:baseline;color:rgba(255,255,255,.5);
  font-family:var(--mono);font-size:0.5938rem}
.sc-ident .nuancier{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.sc-ident .nuancier i{
  height:44px;border-radius:9px;display:block;opacity:0;transform:translateY(8px);
}
.diapo.est-active .sc-ident .nuancier i{animation:pose 2.6s var(--ease) forwards}
.sc-ident .nuancier i:nth-child(1){background:var(--vert-surface-2)}
.sc-ident .nuancier i:nth-child(2){background:var(--lime)}
.sc-ident .nuancier i:nth-child(3){background:#7BA88E}
.sc-ident .nuancier i:nth-child(4){background:#F1F4F1}
.diapo.est-active .sc-ident .nuancier i:nth-child(2){animation-delay:.12s}
.diapo.est-active .sc-ident .nuancier i:nth-child(3){animation-delay:.24s}
.diapo.est-active .sc-ident .nuancier i:nth-child(4){animation-delay:.36s}
@keyframes pose{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Scène 4 — les supports sortent de la pile. */
.sc-print2{display:flex;align-items:center;justify-content:center;gap:26px;padding:22px}
.sc-print2 .jeu{position:relative;width:150px;height:94px;flex:none}
.sc-print2 .jeu i{
  position:absolute;inset:0;border-radius:9px;display:block;
  box-shadow:0 10px 24px -12px rgba(0,0,0,.75);
}
.sc-print2 .jeu i:nth-child(1){background:#F1F4F1}
.sc-print2 .jeu i:nth-child(2){background:#7BA88E}
.sc-print2 .jeu i:nth-child(3){background:var(--lime)}
.diapo.est-active .sc-print2 .jeu i:nth-child(1){animation:eventail-g 2.8s var(--ease) forwards}
.diapo.est-active .sc-print2 .jeu i:nth-child(3){animation:eventail-d 2.8s var(--ease) forwards}
@keyframes eventail-g{from{transform:rotate(0) translate(0,0)}to{transform:rotate(-14deg) translate(-26px,-10px)}}
@keyframes eventail-d{from{transform:rotate(0) translate(0,0)}to{transform:rotate(14deg) translate(26px,10px)}}
.sc-print2 .liste{display:flex;flex-direction:column;gap:9px}
.sc-print2 .liste span{
  font-family:var(--mono);font-size:0.6562rem;color:rgba(255,255,255,.6);
  background:rgba(255,255,255,.07);border-radius:999px;padding:6px 13px;
  opacity:0;transform:translateX(-8px);
}
.diapo.est-active .sc-print2 .liste span{animation:pose-x 2.6s var(--ease) forwards}
.diapo.est-active .sc-print2 .liste span:nth-child(2){animation-delay:.15s}
.diapo.est-active .sc-print2 .liste span:nth-child(3){animation-delay:.3s}
.diapo.est-active .sc-print2 .liste span:nth-child(4){animation-delay:.45s}
@keyframes pose-x{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}

/* Scène 5 — la présence en ligne, trois cartes qui se relaient. */
.sc-ligne{padding:22px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.sc-ligne .fiche{
  background:rgba(0,0,0,.22);border-radius:12px;padding:14px 16px;
  display:flex;align-items:center;gap:13px;position:relative;
  transform:scale(.985);
  transition:transform .5s var(--ease);
}
.sc-ligne .fiche::after{
  content:"";position:absolute;inset:0;border-radius:12px;pointer-events:none;
  box-shadow:inset 0 0 0 1.5px var(--lime);opacity:0;
}
.diapo.est-active .sc-ligne .fiche::after{animation:relais 4.2s var(--ease) forwards}
.diapo.est-active .sc-ligne .fiche:nth-child(2)::after{animation-delay:1.4s}
.diapo.est-active .sc-ligne .fiche:nth-child(3)::after{animation-delay:2.8s}
@keyframes relais{0%{opacity:0}18%,64%{opacity:1}100%{opacity:0}}
.sc-ligne .ic{
  width:36px;height:36px;border-radius:10px;flex:none;background:rgba(200,240,74,.16);
  display:flex;align-items:center;justify-content:center;font-size:1rem;
}
.sc-ligne b{display:block;font-size:0.875rem;font-weight:700}
.sc-ligne small{display:block;font-size:0.7188rem;color:rgba(255,255,255,.66);margin-top:2px}
.sc-ligne .val{
  margin-left:auto;font-family:var(--mono);font-size:0.75rem;color:var(--lime);
  font-variant-numeric:tabular-nums;
}

/* — Fiche commune (page ville) — */
.fiche-ville{
  background:var(--vert-surface);color:var(--white);border-radius:var(--boucle);
  padding:30px 30px 26px;display:flex;flex-direction:column;gap:12px;min-height:340px;
}
.fiche-tete{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.fiche-nom{
  font-size:clamp(1.5rem,2.7vw,2.125rem);font-weight:800;letter-spacing:-.04em;margin:0 0 6px;
  color:var(--white);max-width:none;
}
.fiche-ville .rose{
  width:42px;height:42px;border-radius:999px;flex:none;
  border:1.5px solid rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.75rem;color:var(--lime);
  animation:rose-tourne 9s linear infinite;
}
@keyframes rose-tourne{to{transform:rotate(360deg)}}
.fiche-bloc{
  background:rgba(255,255,255,.07);border-radius:var(--r);padding:20px 22px;margin-top:auto;
}
.fiche-bloc p{margin:0;font-size:0.875rem;color:rgba(255,255,255,.72);line-height:1.6}
.fiche-bloc p:first-child{color:var(--white);margin-bottom:6px}
.fiche-bloc b{font-weight:700}
.fiche-bloc .ico{margin-right:6px}
.fiche-pied{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fiche-pied div{background:rgba(255,255,255,.07);border-radius:var(--r);padding:16px 20px}
.fiche-pied b{display:block;font-size:1.25rem;font-weight:800;letter-spacing:-.035em;color:var(--lime)}
.fiche-pied span{display:block;margin-top:4px;font-size:0.75rem;color:rgba(255,255,255,.6)}

/* — Scène SEO : le classement Google. — */
.sc-seo{
  background:var(--vert-surface);border-radius:var(--boucle-sm);padding:26px;color:var(--white);
  display:flex;flex-direction:column;gap:12px;min-height:360px;
}
.sc-seo .recherche{
  display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.08);
  border-radius:999px;padding:12px 18px;font-size:0.875rem;color:rgba(255,255,255,.85);
}
.sc-seo .recherche .curseur{
  display:inline-block;width:1.5px;height:15px;background:var(--lime);
  animation:clignote 1.1s steps(2) infinite;
}
@keyframes clignote{0%,49%{opacity:1}50%,100%{opacity:0}}
.serp{display:flex;flex-direction:column;gap:8px;overflow:hidden;border-radius:14px}
.serp .res{
  display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.06);
  border-radius:14px;padding:13px 16px;transition:transform .8s var(--ease);
}
.serp .res .rg{
  width:24px;height:24px;border-radius:999px;background:rgba(255,255,255,.12);flex:none;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.6875rem;
}
.serp .res b{font-size:0.875rem;font-weight:700}
.serp .res span{display:block;font-size:0.7188rem;color:rgba(255,255,255,.66);margin-top:2px}
.serp .vous{background:var(--lime);color:var(--sur-lime);animation:seo-monte 5s var(--ease) infinite}
.serp .vous .rg{background:var(--vert-surface);color:var(--lime)}
.serp .vous span{color:rgba(14,59,46,.82)}
.serp .c1{animation:seo-descend 5s var(--ease) infinite}
.serp .c2{animation:seo-descend 5s var(--ease) infinite}
@keyframes seo-monte{0%,14%{transform:translateY(0)}42%,70%{transform:translateY(-124px)}96%,100%{transform:translateY(0)}}
@keyframes seo-descend{0%,14%{transform:translateY(0)}42%,70%{transform:translateY(62px)}96%,100%{transform:translateY(0)}}
.sc-seo .gain{
  margin-top:auto;display:flex;align-items:baseline;gap:12px;
  background:rgba(255,255,255,.07);border-radius:var(--r);padding:16px 20px;
}
.sc-seo .gain b{font-size:1.75rem;font-weight:800;letter-spacing:-.04em;color:var(--lime);font-variant-numeric:tabular-nums}
.sc-seo .gain span{font-size:0.8125rem;color:rgba(255,255,255,.65)}

/* — Problèmes / paliers / méthode (page service) — */
.problemes{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.probleme{
  background:var(--sub);border-radius:var(--boucle-sm);padding:28px 26px 30px;
  transition:background .5s var(--ease),transform .5s var(--ease);
}
.probleme:hover{background:var(--sub-2);transform:translateY(-3px)}
.probleme h3{font-size:1.1875rem;font-weight:800;letter-spacing:-.03em;margin:0 0 9px}
.probleme p{margin:0;font-size:0.9062rem;color:var(--ink-2);line-height:1.6}

.paliers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start}
.palier{
  background:var(--sub);border-radius:var(--boucle-sm);padding:30px 28px 30px;
  display:flex;flex-direction:column;gap:14px;
  transition:transform .5s var(--ease),background .5s var(--ease);
}
.palier:hover{transform:translateY(-5px)}
.palier.mise-en-avant{background:var(--vert-surface);color:var(--white)}
.palier h3{font-size:1.5rem;font-weight:800;letter-spacing:-.04em;margin:0}
.palier .sous{margin:0;font-size:0.875rem;color:var(--ink-2)}
.palier.mise-en-avant .sous{color:rgba(255,255,255,.68)}
.palier ul{list-style:none;margin:0;padding:16px 0 0;display:flex;flex-direction:column;gap:10px;
  border-top:1px solid var(--sub-2)}
.palier.mise-en-avant ul{border-color:rgba(255,255,255,.14)}
.palier li{font-size:0.875rem;line-height:1.5;display:flex;gap:10px;color:var(--ink-2)}
.palier.mise-en-avant li{color:rgba(255,255,255,.8)}
.palier li::before{
  content:"";width:15px;height:15px;border-radius:999px;flex:none;margin-top:3px;
  background:var(--sub-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230E3B2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.palier.mise-en-avant li::before{
  background-color:var(--lime);
}
.palier .btn{margin-top:auto;justify-content:center}
.palier .note{font-family:var(--mono);font-size:0.6562rem;color:var(--ink-3);text-align:center;margin:0}
.palier.mise-en-avant .note{color:rgba(255,255,255,.68)}
.sous-paliers{margin:20px 0 0;font-size:0.9062rem;color:var(--ink-2);text-align:center}

/* La ligne d'argument sur le prix, un cran au-dessus du texte courant. */
.note-prix{
  margin:26px 0 0;padding:18px 24px;border-radius:var(--r);background:var(--sub);
  font-size:1rem;font-weight:600;letter-spacing:-.02em;color:var(--vert-texte);
  max-width:76ch;line-height:1.55;
}
.sous-paliers a{font-weight:700;color:var(--vert-texte);border-bottom:1px solid var(--lime)}

.methode{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.jalon{
  background:var(--sub);border-radius:var(--boucle-sm);padding:26px 24px 28px;
  display:flex;flex-direction:column;gap:9px;position:relative;
  transition:background .5s var(--ease),transform .5s var(--ease);
}
.jalon:hover{background:var(--sub-2);transform:translateY(-4px)}
.jalon .n{font-family:var(--mono);font-size:0.7188rem;color:var(--vert-texte);margin:0 0 8px}
.jalon h3{font-size:1.125rem;font-weight:800;letter-spacing:-.03em;margin:0}
.jalon p{margin:0;font-size:0.875rem;color:var(--ink-2);line-height:1.55}

/* — Page métier — */
.services-metier{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.service-metier{
  background:var(--sub);border-radius:var(--boucle-sm);padding:28px 26px 30px;
  display:flex;flex-direction:column;gap:9px;
  transition:background .5s var(--ease),transform .5s var(--ease);
}
.service-metier:hover{background:var(--vert-surface);transform:translateY(-5px)}
.service-metier:hover h3{color:var(--white)}
.service-metier:hover p{color:rgba(255,255,255,.72)}
.service-metier:hover .n{color:var(--lime)}
.service-metier .n{font-family:var(--mono);font-size:0.7188rem;color:var(--ink-3);margin:0 0 10px;transition:color .5s}
.service-metier h3{font-size:1.1875rem;font-weight:800;letter-spacing:-.03em;margin:0;transition:color .5s}
.service-metier p{margin:0;font-size:0.875rem;color:var(--ink-2);line-height:1.55;transition:color .5s}

.resultat{
  background:var(--vert-surface);color:var(--white);border-radius:var(--boucle);
  padding:clamp(38px,4.4vw,58px) var(--pad);margin-top:12px;
  display:flex;align-items:center;gap:clamp(24px,3vw,48px);flex-wrap:wrap;
  position:relative;overflow:hidden;
}
.resultat .filigrane{position:absolute;right:-120px;bottom:-100px;width:420px;opacity:.1;pointer-events:none}
.resultat > *{position:relative}
.resultat .grand{
  font-size:clamp(3.5rem,9vw,7.5rem);font-weight:800;letter-spacing:-.05em;line-height:.9;
  color:var(--lime);font-variant-numeric:tabular-nums;
}
.resultat p{margin:0;font-size:clamp(1.0625rem,2vw,1.4375rem);font-weight:600;letter-spacing:-.025em;max-width:20ch;line-height:1.3}

/* Nombre de colonnes, en classes pour rester reprenables en adaptatif. */
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-4{grid-template-columns:repeat(4,1fr)}
.cols-5{grid-template-columns:repeat(5,1fr)}

/* ==========================================================================
   RÉVÉLATION AU DÉFILEMENT — mêmes classes que le site actuel
   ========================================================================== */
.reveal{opacity:0;transform:translateY(40px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.revealed{opacity:1;transform:translateY(0)}
.reveal-left{opacity:0;transform:translateX(-40px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal-left.revealed{opacity:1;transform:translateX(0)}
.reveal-right{opacity:0;transform:translateX(40px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal-right.revealed{opacity:1;transform:translateX(0)}
.reveal-scale{opacity:0;transform:scale(.94);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal-scale.revealed{opacity:1;transform:scale(1)}
.stagger-children > *{opacity:0;transform:translateY(25px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.stagger-children.revealed > *{opacity:1;transform:translateY(0)}
.stagger-children.revealed > *:nth-child(1){transition-delay:.05s}
.stagger-children.revealed > *:nth-child(2){transition-delay:.1s}
.stagger-children.revealed > *:nth-child(3){transition-delay:.15s}
.stagger-children.revealed > *:nth-child(4){transition-delay:.2s}
.stagger-children.revealed > *:nth-child(5){transition-delay:.25s}
.stagger-children.revealed > *:nth-child(6){transition-delay:.3s}
.stagger-children.revealed > *:nth-child(7){transition-delay:.35s}
.stagger-children.revealed > *:nth-child(8){transition-delay:.4s}

/* Le hero est visible dès le chargement : il s'installe, il n'attend pas. */
.entree > *{opacity:0;transform:translateY(18px);animation:entree .9s var(--ease) forwards}
.entree > *:nth-child(1){animation-delay:.05s}
.entree > *:nth-child(2){animation-delay:.13s}
.entree > *:nth-child(3){animation-delay:.21s}
.entree > *:nth-child(4){animation-delay:.29s}
.entree > *:nth-child(5){animation-delay:.37s}
@keyframes entree{to{opacity:1;transform:translateY(0)}}

@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,.reveal-left,.reveal-right,.reveal-scale,.stagger-children > *,.entree > *{opacity:1;transform:none}
  .carte .eau{stroke-dashoffset:0}
}

/* ── État de repos des scènes ──────────────────────────────────────────────
   Beaucoup d'illustrations partent d'un état masqué — opacity:0, scaleY(0),
   trait non tracé — que l'animation vient révéler. Neutraliser l'animation
   sans rétablir cet état les laisserait purement et simplement invisibles. */
@media (prefers-reduced-motion:reduce){
  .notif,
    .sc-id .temps,
  .sc-print2 .liste span,
  .sc-ident .nuancier i,
  .sc-print .enseigne{opacity:1;transform:none}
  .sc-print .kakemono{transform:scaleY(1)}
  .sc-print .affiche .encre{transform:translateY(0)}
  .sc-print .affiche .titre{opacity:1}
  .sc-id .marque path,
  .sc-ident .marque path{stroke-dashoffset:0}
  .sc-web .br::after{transform:scaleX(1)}
  .sc-outil .sw{background:var(--vert-surface)}
  .sc-outil .sw::after{transform:translateX(13px)}
}





/* ==========================================================================
   ADAPTATIF
   ========================================================================== */
@media (max-width:1080px){
  .offres{grid-template-columns:repeat(2,1fr)}
  .offre,.offre:nth-child(1),.offre:nth-child(2){grid-column:span 1}
  .methode,.services-metier,.etapes{grid-template-columns:repeat(2,1fr)}
  .cols-3,.cols-4,.cols-5{grid-template-columns:repeat(2,1fr)}
  .v4-footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  :root{--boucle:22px 22px 22px 76px;--boucle-sm:18px 18px 18px 48px}
  .hero,.hero-page,.vitrine,.eco{grid-template-columns:1fr}
  .principes,.paliers,.problemes{grid-template-columns:1fr}
  .navbar-menu{
    position:absolute;top:calc(100% + 10px);left:14px;right:14px;
    flex-direction:column;align-items:stretch;gap:2px;
    background:var(--fond);border-radius:24px;padding:12px;
    box-shadow:0 30px 70px -28px rgba(14,59,46,.42),0 0 0 1px var(--line);
    opacity:0;visibility:hidden;transform:translateY(-8px);
    transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
    max-height:72vh;overflow-y:auto;
  }
  .navbar.menu-ouvert .navbar-menu{opacity:1;visibility:visible;transform:translateY(0)}
  .navbar-dropdown{display:none}
  .mobile-only{display:flex}
  .navbar-link{padding:13px 16px;font-size:0.9688rem}
  .navbar-mobile-toggle{display:flex}
  .navbar-cta{display:none}
  .navbar-menu{margin-left:0}
  .navbar-container{justify-content:space-between}
}
@media (max-width:680px){
  .offres,.methode,.services-metier,.etapes{grid-template-columns:1fr}
  .cols-3,.cols-4,.cols-5{grid-template-columns:1fr}
  .v4-footer-grid{grid-template-columns:1fr;gap:22px}
  .sec-tete{margin-bottom:26px}
}


/* ==========================================================================
   PROXILAE — Panneau de préférences d'affichage
   Ce n'est pas une surcouche qui prétendrait rendre le site accessible :
   c'est un réglage utilisateur qui agit sur les jetons du site lui-même.
   Chaque option prolonge un réglage système plutôt que de le contredire.
   ========================================================================== */

/* ── Le déclencheur ─────────────────────────────────────────────────────── */
.pref-bulle{
  position:fixed;left:20px;bottom:20px;z-index:180;
  width:56px;height:56px;border-radius:999px;
  background:var(--vert-surface);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 14px 34px -12px rgba(14,59,46,.55);
  transition:transform .35s var(--ease),background .35s var(--ease);
}
.pref-bulle:hover{transform:translateY(-2px);background:var(--vert-surface-2)}
.pref-bulle svg{width:26px;height:26px}
.pref-bulle[aria-expanded="true"]{background:var(--vert-surface-2)}

/* ── Le panneau ─────────────────────────────────────────────────────────── */
.pref-panneau{
  position:fixed;left:20px;bottom:88px;z-index:181;
  width:min(23rem,calc(100vw - 40px));
  max-height:min(34rem,calc(100vh - 120px));overflow-y:auto;
  background:var(--fond);color:var(--ink);
  border-radius:22px;padding:22px;
  box-shadow:0 30px 70px -26px rgba(14,59,46,.5),0 0 0 1px var(--line);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.pref-panneau.est-ouvert{opacity:1;visibility:visible;transform:translateY(0)}

.pref-tete{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:6px}
.pref-panneau h2{
  font-size:1.125rem;font-weight:800;letter-spacing:-.03em;margin:0;max-width:none;
}
.pref-intro{font-size:.8125rem;color:var(--ink-2);margin:0 0 18px;line-height:1.5}
.pref-fermer{
  width:32px;height:32px;border-radius:999px;background:var(--sub);color:var(--ink-2);
  display:flex;align-items:center;justify-content:center;flex:none;
  transition:background .3s var(--ease),color .3s var(--ease);
}
.pref-fermer:hover{background:var(--sub-2);color:var(--ink)}
.pref-fermer svg{width:14px;height:14px}

.pref-groupe{margin-bottom:20px}
.pref-groupe:last-of-type{margin-bottom:8px}
.pref-titre{
  font-size:.6875rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink-3);margin:0 0 10px;
}

/* Choix multiples : taille du texte, thème */
.pref-choix{display:flex;gap:6px;flex-wrap:wrap}
.pref-choix button{
  flex:1 1 auto;min-width:3.5rem;min-height:44px;
  border-radius:12px;background:var(--sub);color:var(--ink-2);
  font-size:.8125rem;font-weight:700;padding:8px 10px;
  transition:background .3s var(--ease),color .3s var(--ease);
}
.pref-choix button:hover{background:var(--sub-2);color:var(--ink)}
.pref-choix button[aria-pressed="true"]{background:var(--vert-surface);color:var(--white)}

/* Interrupteurs */
.pref-bascule{
  display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;
  min-height:44px;padding:8px 0;text-align:left;
  border-bottom:1px solid var(--line);
}
.pref-bascule:last-child{border-bottom:0}
.pref-bascule .lib{display:block;font-size:.875rem;font-weight:600;color:var(--ink)}
.pref-bascule .det{display:block;font-size:.75rem;color:var(--ink-2);margin-top:2px;line-height:1.45}
.pref-voyant{
  width:44px;height:26px;border-radius:999px;background:var(--sub-2);flex:none;position:relative;
  transition:background .3s var(--ease);
}
.pref-voyant::after{
  content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;
  background:var(--fond);box-shadow:0 1px 3px rgba(0,0,0,.3);
  transition:transform .3s var(--ease);
}
.pref-bascule[aria-pressed="true"] .pref-voyant{background:var(--vert-surface)}
.pref-bascule[aria-pressed="true"] .pref-voyant::after{transform:translateX(18px)}

.pref-pied{display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding-top:14px;border-top:1px solid var(--line);flex-wrap:wrap}
.pref-raz{
  min-height:44px;border-radius:999px;padding:8px 18px;background:var(--sub);
  font-size:.8125rem;font-weight:700;color:var(--ink);
  transition:background .3s var(--ease);
}
.pref-raz:hover{background:var(--sub-2)}
.pref-note{font-size:.6875rem;color:var(--ink-3);margin:0}

/* ==========================================================================
   EFFETS DES RÉGLAGES
   ========================================================================== */

/* Animations coupées — même traitement que le réglage système. */
html[data-anim="off"] *,
html[data-anim="off"] *::before,
html[data-anim="off"] *::after{
  animation-duration:.01ms!important;animation-iteration-count:1!important;
  transition-duration:.01ms!important;
}
html[data-anim="off"]{scroll-behavior:auto}
html[data-anim="off"] .carte .eau{stroke-dashoffset:0}
html[data-anim="off"] .reveal,
html[data-anim="off"] .reveal-left,
html[data-anim="off"] .reveal-right,
html[data-anim="off"] .reveal-scale,
html[data-anim="off"] .stagger-children > *,
html[data-anim="off"] .entree > *{opacity:1;transform:none}

/* Idem : rétablir l'état visible des illustrations. */
html[data-anim="off"] .notif,
html[data-anim="off"] html[data-anim="off"] .sc-id .temps,
html[data-anim="off"] .sc-print2 .liste span,
html[data-anim="off"] .sc-ident .nuancier i,
html[data-anim="off"] .sc-print .enseigne{opacity:1;transform:none}
html[data-anim="off"] .sc-print .kakemono{transform:scaleY(1)}
html[data-anim="off"] .sc-print .affiche .encre{transform:translateY(0)}
html[data-anim="off"] .sc-print .affiche .titre{opacity:1}
html[data-anim="off"] .sc-id .marque path,
html[data-anim="off"] .sc-ident .marque path{stroke-dashoffset:0}
html[data-anim="off"] .sc-web .br::after{transform:scaleX(1)}
html[data-anim="off"] .sc-outil .sw{background:var(--vert-surface)}
html[data-anim="off"] .sc-outil .sw::after{transform:translateX(13px)}

/* Contraste renforcé — on remonte les gris, on épaissit les traits,
   et on retire les fonds décoratifs qui bruitent la lecture. */
html[data-contraste="fort"]{
  --ink-2:var(--ink);
  --ink-3:#3F4744;
  --line:#8C9691;
}
html[data-theme="sombre"][data-contraste="fort"]{
  --ink-3:#D3DBD7;
  --line:#7D8A84;
}
html[data-contraste="fort"] .meandre-clair,
html[data-contraste="fort"] .filigrane{display:none}
html[data-contraste="fort"] main a:not(.btn):not(.pref-bulle){text-decoration:underline;text-underline-offset:2px}
html[data-contraste="fort"] :focus-visible{outline-width:3px}
html[data-contraste="fort"] .citation cite,
html[data-contraste="fort"] .trois p,
html[data-contraste="fort"] .eco p,
html[data-contraste="fort"] .serp .res:not(.vous) span,
html[data-contraste="fort"] .sc-ligne small,
html[data-contraste="fort"] .diapo figcaption span{color:rgba(255,255,255,.92)}
/* Le résultat mis en avant est sur fond lime : son texte doit foncer, pas blanchir. */
html[data-contraste="fort"] .serp .vous b,
html[data-contraste="fort"] .serp .vous span{color:#0A2C22}

html[data-contraste="fort"] .btn,
html[data-contraste="fort"] .navbar-cta{box-shadow:inset 0 0 0 2px currentColor}

/* Liens soulignés — utile bien au-delà du daltonisme : l'information ne doit
   jamais reposer sur la seule couleur. */
html[data-liens="souligne"] main a:not(.btn),
html[data-liens="souligne"] footer a{text-decoration:underline;text-underline-offset:2px}

/* Confort de lecture — interlignage, approche et césure, plus une police
   dessinée pour la basse vision. Le gain vient surtout de l'espacement. */
html[data-lecture="on"] body{
  font-family:'Atkinson Hyperlegible','Verdana',var(--sans);
  line-height:1.85;letter-spacing:.055em;word-spacing:.14em;
}
html[data-lecture="on"] h1,
html[data-lecture="on"] h2,
html[data-lecture="on"] h3,
html[data-lecture="on"] .pref-panneau h2{
  font-family:'Atkinson Hyperlegible','Verdana',var(--sans);
  letter-spacing:-.01em;line-height:1.25;
}
html[data-lecture="on"] p,
html[data-lecture="on"] li,
html[data-lecture="on"] .lede{max-width:62ch}
html[data-lecture="on"] main{hyphens:none;text-align:left}

@media (max-width:480px){
  .pref-panneau{left:12px;right:12px;width:auto;bottom:82px}
  .pref-bulle{left:14px;bottom:14px}
}
@media print{.pref-bulle,.pref-panneau{display:none}}


/* ==========================================================================
   PROXILAE — Système « Boucle » · blocs des pages intérieures
   Ce que la traduction du balisage v4 fait apparaître et que le système
   ne couvrait pas encore : l'accroche de page, les grilles de cartes, le
   maillage interne, et la boîte qui accueille l'illustration de hero.
   ========================================================================== */

/* ── Accroche de page ────────────────────────────────────────────────────── */
.sec-intro{padding-top:clamp(24px,3.4vw,40px)}
.lede-fort{
  max-width:74ch;font-size:clamp(1.125rem,1.9vw,1.375rem);font-weight:600;
  letter-spacing:-.025em;line-height:1.45;color:var(--ink);
}
.lede-fort em{font-style:normal;color:var(--vert-texte)}
.para{
  max-width:74ch;margin:18px 0 0;font-size:1rem;color:var(--ink-2);line-height:1.7;
}
.para strong{color:var(--ink);font-weight:700}
.para + .para{margin-top:14px}

/* ── Boîte de l'illustration de hero ─────────────────────────────────────── */
/* Les scènes de la v4 sont posées en absolu autour d'un centre : la boîte leur
   redonne un cadre stable dans la grille du hero. */
.scene-v4{
  display:flex;align-items:center;justify-content:center;
  min-width:0;position:relative;
}
.scene-v4 .hero-visual{width:100%;max-width:540px}

/* ── Grilles : le nombre de colonnes suit le nombre de cartes ────────────── */
.principes{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.methode{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.problemes{grid-template-columns:repeat(auto-fit,minmax(19rem,1fr))}
.services-metier{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.chiffres{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr))}

/* Le premier paragraphe d'une carte porte le propos, les suivants le détail. */
.principe p + p,.jalon p + p,.probleme p + p{margin-top:8px}

/* ── Étiquettes non cliquables (les univers couverts) ────────────────────── */
.communes-fixes span{
  font-family:var(--mono);font-size:0.7188rem;color:var(--ink-2);
  background:var(--sub);border-radius:999px;padding:7px 13px;
  display:inline-flex;align-items:center;min-height:24px;
}

/* ── Maillage interne ────────────────────────────────────────────────────── */
.sec-maillage .communes{margin-top:0}
.sec-maillage .communes a{background:var(--sub)}
.sec-maillage .communes a:hover{background:var(--vert-surface);color:var(--white)}

.liens{display:grid;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:12px}
.liens > *{min-width:0}
.lien-fiche{
  background:var(--sub);border-radius:var(--boucle-sm);padding:24px 24px 26px;
  display:flex;flex-direction:column;gap:8px;position:relative;
  transition:background .5s var(--ease),transform .5s var(--ease);
}
.lien-fiche:hover{background:var(--vert-surface);transform:translateY(-4px)}
.lien-fiche b{
  font-size:1.0625rem;font-weight:800;letter-spacing:-.03em;color:var(--ink);
  padding-right:26px;transition:color .5s var(--ease);
}
.lien-fiche span{
  font-size:0.875rem;color:var(--ink-2);line-height:1.55;transition:color .5s var(--ease);
}
.lien-fiche:hover b{color:var(--white)}
.lien-fiche:hover span{color:rgba(255,255,255,.72)}
/* La flèche est dessinée, jamais écrite : rien à annoncer au lecteur d'écran. */
.lien-fiche::after{
  content:"";position:absolute;top:26px;right:24px;width:9px;height:9px;
  border-top:2px solid var(--vert-texte);border-right:2px solid var(--vert-texte);
  transform:rotate(45deg);transition:transform .4s var(--ease),border-color .4s var(--ease);
}
.lien-fiche:hover::after{transform:rotate(45deg) translate(3px,-3px);border-color:var(--lime)}

/* ── Appel à l'action de fin de page ─────────────────────────────────────── */
.sec-appel{padding-top:clamp(56px,7vw,104px)}

/* ==========================================================================
   ILLUSTRATIONS DE HERO — la peau Boucle par-dessus les règles reprises.
   Les scènes gardent leur composition, elles changent de matière.
   ========================================================================== */
.hv-card{
  background:var(--fond)!important;
  border:1px solid var(--line)!important;
  border-radius:var(--boucle-sm)!important;
  box-shadow:0 18px 46px -22px rgba(14,59,46,.45)!important;
  /* Le flou d'arrière-plan coûte cher et n'apporte rien sur un aplat. */
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  color:var(--vert-texte)!important;
}
.hv-pill,.hv-notif{
  background:var(--fond)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 12px 30px -16px rgba(14,59,46,.4)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  color:var(--vert-texte)!important;
}
.hv-pill{font-family:var(--mono);font-size:0.7188rem;font-weight:600;letter-spacing:.03em}
.hv-notif{border-radius:14px!important}
.hv-stat-num{font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.hv-stat-label{font-family:var(--mono);font-size:0.6562rem;letter-spacing:.04em}
.hv-pill-dot{background:var(--lime)!important}

/* La carte du hero des pages ville : le coin boucle, comme partout ailleurs. */
.hv-leaflet-card{border-radius:var(--boucle)!important;overflow:hidden}
.hv-leaflet-name{font-weight:800;letter-spacing:-.03em}
.hv-leaflet-region,.hv-villemap-review-sub{font-family:var(--mono);font-size:0.6875rem}

/* ==========================================================================
   ADAPTATIF
   ========================================================================== */
@media (max-width:1080px){
  .hero-page{grid-template-columns:1fr;gap:34px}
  .scene-v4{order:2}
  .scene-v4 .hero-visual{margin:0 auto}
}
@media (max-width:720px){
  /* Les scènes de la v4 débordent de leur cadre par construction : sous cette
     largeur, elles coûtent plus qu'elles ne racontent. */
  .scene-v4{display:none}
  .liens{grid-template-columns:1fr}
}

/* ==========================================================================
   ANIMATIONS COUPÉES — les scènes partent masquées, il faut les rendre.
   Sans ce rappel, couper les animations efface l'illustration.
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  .hero-visual > *{opacity:1}
}
html[data-anim="off"] .hero-visual > *{opacity:1}
html[data-anim="off"] .hv-pill-dot,
html[data-anim="off"] .hv-seat-dot{opacity:1}

/* Contraste renforcé : les scènes décoratives bruitent la lecture. */
html[data-contraste="fort"] .scene-v4{display:none}

/* La FAQ accepte plusieurs paragraphes de réponse. */
.faq .rep p{margin:0 0 10px}
.faq .rep p:last-child{margin-bottom:0}

/* ── Carte des pages ville ───────────────────────────────────────────────── */
/* Les tuiles OpenStreetMap sont vives ; on les calme pour que le repère vert
   et le lime restent les seules couleurs qui parlent. */
.hv-leaflet-map .leaflet-tile{
  filter:grayscale(.82) contrast(.92) brightness(1.06) saturate(.7);
}
html[data-theme="sombre"] .hv-leaflet-map .leaflet-tile{
  filter:grayscale(.9) invert(.9) contrast(.85) brightness(1.05) hue-rotate(180deg);
}
.hv-leaflet-map .leaflet-control-attribution{
  font-family:var(--sans);font-size:9px;background:rgba(255,255,255,.72);
}

/* ==========================================================================
   SCÈNE GEO — la réponse d'un assistant, et la source qu'il cite.
   Tout l'enjeu de la page tient dans ce détail : le lien sous la réponse.
   ========================================================================== */
.sc-geo{
  background:var(--vert-surface);border-radius:var(--boucle-sm);padding:26px;
  color:var(--white);display:flex;flex-direction:column;gap:12px;min-height:380px;
}
.sc-geo .question{
  background:rgba(255,255,255,.07);border-radius:var(--r);padding:14px 18px;
  font-size:0.875rem;color:rgba(255,255,255,.9);align-self:flex-end;max-width:82%;
}
.sc-geo .reponse{
  background:rgba(255,255,255,.06);border-radius:var(--r);padding:18px 20px;
  display:flex;flex-direction:column;gap:10px;
}
.sc-geo .reponse .ligne{
  height:9px;border-radius:999px;background:rgba(255,255,255,.16);
  transform-origin:left;transform:scaleX(0);
  animation:geo-ecrit .5s var(--ease) forwards;
}
.sc-geo .reponse .ligne:nth-child(1){width:96%;animation-delay:.35s}
.sc-geo .reponse .ligne:nth-child(2){width:88%;animation-delay:.6s}
.sc-geo .reponse .ligne:nth-child(3){width:64%;animation-delay:.85s}
@keyframes geo-ecrit{to{transform:scaleX(1)}}

/* La citation : c'est elle qui fait venir quelqu'un. */
.sc-geo .source{
  display:flex;align-items:center;gap:11px;
  background:var(--lime);color:var(--sur-lime);border-radius:14px;padding:13px 16px;
  opacity:0;transform:translateY(8px);
  animation:geo-source .6s var(--ease) 1.25s forwards;
}
@keyframes geo-source{to{opacity:1;transform:translateY(0)}}
.sc-geo .source .num{
  width:22px;height:22px;border-radius:6px;background:rgba(14,59,46,.14);flex:none;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:0.6875rem;font-weight:700;
}
.sc-geo .source b{display:block;font-size:0.8438rem;font-weight:800;letter-spacing:-.02em}
.sc-geo .source span{display:block;font-size:0.75rem;color:rgba(14,59,46,.72)}

.sc-geo .pied{
  margin-top:auto;display:flex;gap:7px;flex-wrap:wrap;padding-top:6px;
}
.sc-geo .pied i{
  font-style:normal;font-family:var(--mono);font-size:0.6562rem;letter-spacing:.04em;
  background:rgba(255,255,255,.09);color:rgba(255,255,255,.72);
  border-radius:999px;padding:6px 11px;
}
.sc-geo .pied i.vif{background:var(--lime);color:var(--sur-lime);font-weight:700}

html[data-anim="off"] .sc-geo .reponse .ligne{transform:scaleX(1)}
html[data-anim="off"] .sc-geo .source{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .sc-geo .reponse .ligne{transform:scaleX(1)}
  .sc-geo .source{opacity:1;transform:none}
}

/* Le texte posé sur le bloc lime ne s'éclaircit jamais : en thème sombre,
   le vert de texte devient menthe et tombe à 1,09:1 sur le lime. */
.cta h2 em,.cta em,.cta b,.cta strong{color:var(--sur-lime)}

/* Panneaux des scènes remplis de vert : ils portent du texte clair, donc leur
   fond ne doit pas s'éclaircir en thème sombre. --vert-texte devient menthe et
   ferait tomber le blanc à 1,43:1 ; --vert-surface reste sombre des deux côtés. */
.hv-phone-follow,.hv-menu-head,.hv-portal-logo-icon,.hv-portal-hero-bar,
.hv-search-btn{background:var(--vert-surface)!important;color:var(--white)!important}
.hv-menu-head h3,.hv-menu-head span,.hv-portal-hero-bar *{color:var(--white)!important}

/* Le lime est un aplat, pas une encre. Posé en couleur de texte sur un fond
   clair il tombe à 1,31:1 — trois règles de la v4 l'utilisaient ainsi. */
.hv-std-eyebrow,.hv-billboard-headline em,.hv-ai-spark{color:var(--vert-texte)!important}

/* ==========================================================================
   REFLOW — 320 px avec le texte à 150 %
   `minmax(19rem,1fr)` ne descend jamais sous 19rem : à 150 %, cela fait 456 px
   dans une fenêtre de 320. `min(19rem,100%)` laisse la colonne se replier.
   ========================================================================== */
.principes{grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr))}
.methode{grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr))}
.problemes{grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr))}
.services-metier{grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr))}
.chiffres{grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr))}
.liens{grid-template-columns:repeat(auto-fit,minmax(min(17rem,100%),1fr))}

/* Le fil d'Ariane et les étapes du formulaire tenaient sur une seule ligne. */
.fil-ariane{flex-wrap:wrap;row-gap:4px}
.step{flex-wrap:wrap}

/* Les méandres décoratifs débordent par construction : la section les rogne. */
.sec,.sec-intro,.sec-appel,.sec-maillage,.vitrine,.hero,.hero-page{overflow-x:clip}

/* ==========================================================================
   CONTRÔLES DE FORMULAIRE
   Sans couleurs déclarées, un <select> garde le rendu par défaut du système —
   texte noir sur blanc — et devient illisible dès le thème sombre. Le site
   compte plusieurs formulaires : la règle vaut pour tous.
   ========================================================================== */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,textarea{
  background:var(--fond);color:var(--ink);
  border:1px solid var(--line);border-radius:12px;
  font-family:inherit;font-size:1rem;padding:11px 14px;min-height:44px;
}
input::placeholder,textarea::placeholder{color:var(--ink-3);opacity:1}
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--vert-texte);outline-offset:2px;
}
select{appearance:none;-webkit-appearance:none;padding-right:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236A706A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:11px}
label{color:var(--ink)}

/* Bouton secondaire des pages légales : le lime ne porte jamais d'encre claire. */
.btn-secondary{background:var(--sub);color:var(--ink);border:1px solid var(--line)}
.btn-secondary:hover{background:var(--sub-2)}

/* ==========================================================================
   MARGES LATÉRALES — un seul bord gauche
   `.shell` et `.in` posent chacun un padding horizontal. Sur un même élément
   (`class="shell in"`, comme dans les maquettes) le second l'emporte : le
   contenu tombe à 84 px. Imbriqués — `.shell > .in`, ce que produit la
   traduction — les deux s'additionnent et le contenu part à 98 px.
   `.sec` masquait le problème en remettant son padding latéral à zéro.
   ========================================================================== */
/* `.sec` neutralise déjà son padding latéral, `.sec-appel` et le hero n'ont
   pas d'`.in` imbriqué : seule l'accroche de page cumulait les deux. La
   variante « shell sec-intro in » — les deux classes sur le même élément —
   est exclue, sinon c'est `.in` qu'on annulerait. */
.sec-intro:not(.in){padding-left:0;padding-right:0}

/* ==========================================================================
   PALIERS
   ========================================================================== */
/* `align-items:start` laissait chaque carte à la hauteur de son contenu :
   les boutons et les mentions ne s'alignaient plus d'une colonne à l'autre. */
.paliers{align-items:stretch}
.palier .note{margin-top:12px}

/* Le bouton secondaire a le fond de la carte : sur un `.palier`, il devenait
   invisible. Il se détache par un contour, sans voler la vedette au palier
   mis en avant. */
.palier .btn-2{
  background:var(--fond);color:var(--ink);
  box-shadow:inset 0 0 0 1.5px var(--line);
}
.palier .btn-2:hover{background:var(--sub-2);box-shadow:inset 0 0 0 1.5px var(--vert-texte)}
/* Même problème partout où un bouton secondaire est posé sur une surface douce. */
.probleme .btn-2,.principe .btn-2,.jalon .btn-2,.offre .btn-2,.etape .btn-2{
  background:var(--fond);box-shadow:inset 0 0 0 1.5px var(--line);
}

/* Le hero vit dans `<div class="shell"><header class="hero-page in">` : sans
   ça, le padding du `.shell` s'ajoute à celui de `.in` et le titre repart à
   98 px au lieu de 84. */
.shell:has(> .hero),.shell:has(> .hero-page){padding-left:0;padding-right:0}

/* ==========================================================================
   ALIGNEMENT DU HERO
   `.hero` et `.hero-page` posaient leur padding en raccourci, ce qui remettait
   le padding latéral de `.in` à zéro : le titre de page partait 30 px à gauche
   de toutes les sections en dessous. Un seul bord gauche sur toute la page.
   ========================================================================== */
.hero,.hero-page{
  padding-top:clamp(30px,4vw,54px);
  padding-bottom:clamp(30px,4vw,50px);
  padding-left:var(--pad);padding-right:var(--pad);
}
.hero{padding-top:clamp(46px,6vw,86px);padding-bottom:clamp(34px,4vw,54px)}

/* L'alignement retire 88 px de largeur au hero : la colonne de titre les
   reprend sur la scène, qui n'en avait pas besoin (elle plafonne à 540 px). */
@media (min-width:901px){.hero-page{grid-template-columns:1.2fr .8fr}}

/* L'étiquette posée sur la carte garde un fond blanc translucide dans les deux
   thèmes (elle flotte sur les tuiles, pas sur la page) : son texte ne doit donc
   pas basculer avec le thème, sinon menthe sur blanc à 1,42:1. */
.hv-leaflet-overlay,.hv-leaflet-compass{background:rgba(255,255,255,.96)!important}
.hv-leaflet-overlay *,.hv-leaflet-compass *,
.hv-leaflet-name,.hv-leaflet-region{color:#0E3B2E!important}
.hv-leaflet-region{color:#59615B!important}

/* ── Inventaire à puces (les supports imprimés) ──────────────────────────── */
/* Un inventaire, pas une pastille : l'icône à gauche, le nom puis la
   description au-dessous. Les intitulés sont trop longs pour un rond. */
.puce-item{
  display:grid;grid-template-columns:36px 1fr;column-gap:14px;row-gap:2px;
  background:var(--fond);border-radius:var(--r);padding:14px 18px;
  align-items:start;
}
.puce-item .ico{
  grid-row:span 2;width:36px;height:36px;border-radius:12px;flex:none;
  background:var(--sub-2);color:var(--vert-texte);
  display:flex;align-items:center;justify-content:center;
}
.puce-item .ico svg{width:19px;height:19px}
.puce-item h3{margin:0;font-size:0.9375rem;font-weight:800;letter-spacing:-.02em}
.puce-item p{margin:0;font-size:0.8438rem;color:var(--ink-2);line-height:1.5}
.principe > .puce-item{margin-top:8px}
/* Une grille de puces reste lisible quel que soit le nombre d'éléments. */
.principe > div:has(> .puce-item){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(20rem,100%),1fr));
  gap:10px;margin-top:16px;
}

/* Les listes reprises gardent les puces du système. */
.principe ul,.jalon ul{list-style:none;margin:14px 0 0;padding:0;
  display:flex;flex-direction:column;gap:9px}
.principe li,.jalon li{
  font-size:0.875rem;line-height:1.5;color:var(--ink-2);display:flex;gap:10px;
}
.principe li::before,.jalon li::before{
  content:"";width:15px;height:15px;border-radius:999px;flex:none;margin-top:3px;
  background:var(--sub-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230E3B2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Exergue de section : un <span> seul avant le titre. Il annonce, il ne crie
   pas — même traitement que les repères du système. */
.sec .in > div > span:first-child,
.sec .in > span:first-child{
  display:block;font-family:var(--mono);font-size:0.7188rem;font-weight:600;
  letter-spacing:.06em;color:var(--ink-3);margin-bottom:10px;
}
/* Chapeau portant un numéro : le numéro se pose au-dessus du titre. */
.sec-tete .n{
  font-family:var(--mono);font-size:0.7188rem;color:var(--vert-texte);margin:0 0 8px;
}

/* Les pastilles étaient pensées pour le bloc gris de la carte : sur fond blanc
   leur fond blanc les rendait invisibles. Le rapport s'inverse selon la surface. */
.communes a,.communes-fixes span{background:var(--sub)}
.communes a:hover{background:var(--vert-surface);color:var(--white)}
.carte-zone .communes a,.principe .communes a,.palier .communes a{background:var(--fond)}
/* La commune courante garde son aplat vert : sans ça elle hérite du fond blanc
   ci-dessus et son texte lime tombe à 1,31:1. */
.communes a.ici,.carte-zone .communes a.ici{background:var(--vert-surface);color:var(--lime)}

/* ==========================================================================
   TABLEAUX
   Quelques pages en contiennent (les mesures d'empreinte, les comparatifs).
   Ils n'avaient plus aucune règle : colonnes collées, en-têtes invisibles.
   ========================================================================== */
.sec table{
  width:100%;border-collapse:collapse;margin-top:22px;font-size:0.9062rem;
  text-align:left;
}
.sec table th,.sec table td{
  padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top;
  line-height:1.55;
}
.sec table th{
  font-weight:800;letter-spacing:-.01em;color:var(--ink);
  background:var(--sub);
}
.sec table thead th:first-child{border-top-left-radius:12px}
.sec table thead th:last-child{border-top-right-radius:12px}
.sec table td{color:var(--ink-2)}
.sec table td strong,.sec table td b{color:var(--ink);font-variant-numeric:tabular-nums}
.sec table tbody tr:last-child td{border-bottom:0}
/* Un tableau large défile dans sa propre boîte, jamais la page. */
.sec table{display:block;overflow-x:auto;white-space:normal}
@media (min-width:700px){.sec table{display:table}}

/* ==========================================================================
   COMPATIBILITÉ — jetons hérités de l'ancienne feuille
   Quelques styles en ligne et blocs <style> appellent encore les variables de
   `styles.css`. Non définies, elles ne résolvent rien : un `padding:
   var(--space-lg)` devient un padding nul, et la mise en page se tasse.
   Elles sont redirigées vers l'échelle du système plutôt que supprimées une à
   une dans le balisage.
   ========================================================================== */
:root{
  --space-xs:6px; --space-sm:12px; --space-md:20px;
  --space-lg:32px; --space-xl:52px; --space-xxl:80px;
  --radius-sm:10px; --radius-md:14px; --radius-lg:22px; --radius-full:999px;
  --black:var(--ink); --green-light:var(--sub); --cream-dark:var(--sub-2);
  --cyan:var(--vert-texte);
  --font-body:var(--sans);
}

/* Listes en texte courant : la puce du système plutôt que celle du navigateur. */
.sec .in > ul,.sec .in > div > ul,.para + ul,.lede + ul{
  list-style:none;margin:18px 0 0;padding:0;
  display:flex;flex-direction:column;gap:10px;max-width:74ch;
}
.sec .in > ul > li,.sec .in > div > ul > li,.para + ul > li,.lede + ul > li{
  position:relative;padding-left:26px;font-size:1rem;color:var(--ink-2);line-height:1.65;
}
.sec .in > ul > li::before,.sec .in > div > ul > li::before,
.para + ul > li::before,.lede + ul > li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:7px;height:7px;border-radius:999px;background:var(--lime);
  box-shadow:0 0 0 3px var(--sub);
}
.sec .in > ul strong,.sec .in > div > ul strong{color:var(--ink)}

/* ==========================================================================
   MENU MOBILE
   Dans le panneau déroulant, ces liens ne sont plus des entrées discrètes
   d'une barre : ils sont la navigation principale. Ils prennent l'encre
   pleine, un filet les sépare, et la prise de rendez-vous redevient un
   bouton — sur mobile elle était noyée parmi les autres liens.
   ========================================================================== */
@media (max-width:900px){
  .navbar-menu{padding:10px;gap:0}

  .navbar-menu .navbar-link{
    color:var(--ink);font-size:1rem;font-weight:700;
    padding:15px 14px;border-radius:14px;
  }
  .navbar-menu .navbar-link:hover,
  .navbar-menu .navbar-link:focus-visible{background:var(--sub);color:var(--vert-texte)}

  /* Les sous-menus masqués cassent l'adjacence : on vise chaque lien sauf le
     premier et le bouton final. Le filet est dessiné en pseudo-élément pour
     ne pas déformer la pastille au survol. */
  .navbar-menu > a.navbar-link:not(:first-of-type):not([data-nav="rdv-mobile"]){position:relative}
  .navbar-menu > a.navbar-link:not(:first-of-type):not([data-nav="rdv-mobile"])::before{
    content:"";position:absolute;top:0;left:14px;right:14px;height:1px;background:var(--line);
  }

  .navbar-menu > a[data-nav="rdv-mobile"]{
    margin-top:10px;justify-content:center;
    background:var(--vert-surface);color:var(--white);
    border-radius:999px;padding:15px 20px;
  }
  .navbar-menu > a[data-nav="rdv-mobile"]:hover,
  .navbar-menu > a[data-nav="rdv-mobile"]:focus-visible{
    background:var(--vert-surface-2);color:var(--white);
  }
}



/* ==========================================================================
   ILLUSTRATIONS DE HERO — reprises de la v4, retendues sur la palette Boucle.
   Les jetons de l'ancienne feuille sont redirigés ici, une seule fois.
   ========================================================================== */
.hero-visual,.scene-v4{
  --green:var(--vert-texte);
  --gray:var(--ink-2);
  --cream:#FFFFFF;
  --yellow:var(--lime);
  --font-display:var(--sans);
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  /* L'accent unique de la DA remplace l'arc-en-ciel de la v4. */
  --srv-accent:var(--vert-texte)!important;
  --ville-accent:var(--vert-texte)!important;
  --pin-color:var(--vert-texte)!important;
}


.hero-visual{
    position: relative;
    width: min(100%, 540px);
    min-height: 480px;
    perspective: 1200px;
}
.hero-visual > *{
    opacity: 0;
}
.hv-card{
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(14,59,46,0.1);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(14,59,46,0.1);
    backdrop-filter: blur(12px);
    padding: 20px;
    color: var(--green);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hv-card:hover{
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 22px 56px rgba(14,59,46,0.16);
}
.hv-pill{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14,59,46,0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: var(--green);
    backdrop-filter: blur(8px);
    transition: transform 0.3s var(--ease);
}
.hv-pill:hover{
    transform: translateY(-2px) scale(1.04) !important;
}
.hv-pill-dot{
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--lime);
    animation: storyBlink 2s ease-in-out infinite, badgeDotPulse 2s ease-in-out infinite;
}
.hv-stat{
    text-align: center;
    padding: 16px 20px;
}
.hv-stat-num{
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--green);
}
.hv-stat-label{
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray);
    margin-top: 4px;
}
.hero-visual-commerce{
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-phone{
    position: relative;
    width: 220px;
    height: 400px;
    background: var(--ink);
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18), inset 0 0 0 2px rgba(255,255,255,0.08);
    transform-style: preserve-3d;
    animation: hvTiltIn 1s var(--ease-out) 0.3s both, hvFloatSlow 8s ease-in-out 1.5s infinite;
    z-index: 2;
}
.hv-phone-notch{
    width: 80px;
    height: 20px;
    background: var(--ink);
    border-radius: 0 0 16px 16px;
    margin: -12px auto 8px;
    position: relative;
    z-index: 2;
}
.hv-phone-screen{
    background: var(--fond);
    border-radius: 22px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hv-phone-header{
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.hv-phone-avatar{
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--vert-surface-2));
}
.hv-phone-handle{
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
}
.hv-phone-follow{
    padding: 4px 12px;
    background: var(--green);
    color: var(--fond);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
}
.hv-insta-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    flex: 1;
}
.hv-insta-item{
    aspect-ratio: 1;
    position: relative;
}
.hv-insta-item::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
}
.hv-insta-stats{
    padding: 10px 14px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    font-size: 0.65rem;
    color: var(--ink-2);
}
.hv-insta-stats strong{
    display: block;
    font-size: 0.85rem;
    color: var(--ink);
}
.hv-review{
    position: absolute;
    top: 40px;
    left: -50px;
    z-index: 3;
    animation: hvSlideRight 0.8s var(--ease-out) 0.7s both, hvFloatAlt 7s ease-in-out 2s infinite;
}
.hv-review .hv-card{
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hv-review-stars{
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.hv-review-score{
    font-size: 0.9rem;
    font-weight: 700;
}
.hv-review-count{
    font-size: 0.74rem;
    color: var(--gray);
}
.hv-commerce-stat-1{
    position: absolute;
    bottom: 60px;
    left: -30px;
    z-index: 3;
    animation: hvSlideRight 0.7s var(--ease-out) 1s both, hvFloatSlow 9s ease-in-out 2.2s infinite;
}
.hv-commerce-stat-2{
    position: absolute;
    bottom: 140px;
    right: -20px;
    z-index: 3;
    animation: hvSlideLeft 0.7s var(--ease-out) 1.2s both, hvFloatAlt 8s ease-in-out 2.5s infinite;
}
.hv-commerce-promo{
    position: absolute;
    top: 170px;
    right: -40px;
    z-index: 4;
    background: rgba(255, 178, 194, 0.95) !important;
    color: #50212a !important;
    animation: hvPopIn 0.6s var(--ease-spring) 1.4s both, hvFloatSlow 7s ease-in-out 2.5s infinite;
}
.hero-visual-restaurant{
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-menu{
    position: relative;
    z-index: 2;
    animation: hvSlideUp 0.9s var(--ease-out) 0.3s both, hvFloatSlow 8s ease-in-out 1.5s infinite;
}
.hv-menu .hv-card{
    width: 280px;
    padding: 0;
    overflow: hidden;
}
.hv-menu-head{
    background: var(--green);
    color: var(--cream);
    padding: 20px 24px 16px;
}
.hv-menu-head h3{
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
}
.hv-menu-head span{
    font-size: 0.75rem;
    opacity: 0.7;
}
.hv-menu-body{
    padding: 16px 24px 20px;
}
.hv-menu-row{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(14,59,46,0.12);
    font-size: 0.85rem;
}
.hv-menu-row:last-child{
    border: none;
}
.hv-menu-dish{
    font-weight: 500;
}
.hv-menu-price{
    font-weight: 700;
    white-space: nowrap;
    margin-left: 12px;
}
.hv-menu-formula{
    text-align: center;
    padding: 12px;
    margin-top: 4px;
    background: rgba(14,59,46,0.04);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
.hv-notif-stack{
    position: absolute;
    top: 30px;
    right: -60px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hv-notif{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14,59,46,0.08);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    animation: hvNotifSlide 0.7s var(--ease-out) 0.8s both;
    transition: transform 0.3s var(--ease);
}
.hv-notif:hover{
    transform: translateX(-4px) scale(1.02);
}
.hv-notif:nth-child(2){ animation-delay: 1.1s; }
.hv-notif:nth-child(3){ animation-delay: 1.4s; }
.hv-notif-icon{
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hv-notif-icon.green{ background: rgba(14,59,46,0.08); }
.hv-notif-icon.yellow{ background: rgba(232, 212, 77, 0.2); }
.hv-notif-icon.pink{ background: rgba(255, 178, 194, 0.3); }
.hv-notif-text strong{
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
}
.hv-notif-text span{
    font-size: 0.72rem;
    color: var(--gray);
}
.hv-qr{
    position: absolute;
    bottom: 40px;
    right: -30px;
    z-index: 3;
    animation: hvSlideLeft 0.7s var(--ease-out) 1.5s both, hvFloatAlt 9s ease-in-out 2.5s infinite;
}
.hv-qr .hv-card{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
}
.hv-qr-grid{
    width: 44px; height: 44px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.hv-qr-grid span{
    background: var(--green);
    opacity: 0.8;
}
.hv-qr-grid span:nth-child(2n){
    opacity: 0.2;
}
.hv-qr-grid span:nth-child(3n){
    opacity: 0.5;
}
.hv-qr-label{
    font-size: 0.78rem;
    font-weight: 600;
}
.hv-qr-sub{
    font-size: 0.68rem;
    color: var(--gray);
}
.hv-seats{
    position: absolute;
    bottom: 120px;
    left: -40px;
    z-index: 3;
    animation: hvSlideRight 0.7s var(--ease-out) 1.2s both, hvFloatSlow 8s ease-in-out 2.2s infinite;
}
.hv-seats .hv-pill{
    gap: 6px;
}
.hv-seat-dot{
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.3;
    animation: storyBlink 2.5s ease-in-out infinite;
}
.hv-seat-dot:nth-child(2){ animation-delay: 0.3s; }
.hv-seat-dot:nth-child(3){ animation-delay: 0.6s; }
.hv-seat-dot:nth-child(4){ animation-delay: 0.9s; }
.hv-seat-dot.filled{ opacity: 1; background: var(--lime); }
.hero-visual-asso{
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-asso-hub{
    position: relative;
    z-index: 2;
    animation: hvSlideUp 0.9s var(--ease-out) 0.3s both, hvFloatSlow 8s ease-in-out 1.5s infinite;
}
.hv-asso-hub .hv-card{
    width: 300px;
    padding: 0;
    overflow: hidden;
}
.hv-asso-hub-header{
    background: linear-gradient(135deg, #9b87f5, #7c3aed);
    padding: 18px 22px;
    color: var(--fond);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hv-asso-hub-header h3{
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
}
.hv-asso-hub-header span{
    font-size: 0.7rem;
    opacity: 0.8;
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 100px;
}
.hv-asso-hub-body{
    padding: 16px 18px;
}
.hv-asso-types{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
.hv-asso-type{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--sub);
    border-radius: 10px;
    border: 1px solid rgba(156, 135, 245, 0.1);
    transition: all 0.3s ease;
}
.hv-asso-type:hover{
    background: var(--sub-2);
    transform: translateY(-2px);
}
.hv-asso-type-icon{
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.hv-asso-type-name{
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green);
}
.hv-asso-type-count{
    font-size: 0.6rem;
    color: var(--gray);
}
.hv-asso-feed{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hv-asso-feed-item{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(14,59,46,0.03);
    border-radius: 8px;
    font-size: 0.72rem;
}
.hv-asso-feed-dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hv-asso-feed-item:nth-child(1) .hv-asso-feed-dot{ background: #9b87f5; }
.hv-asso-feed-item:nth-child(2) .hv-asso-feed-dot{ background: var(--lime); }
.hv-asso-feed-item:nth-child(3) .hv-asso-feed-dot{ background: #f59e0b; }
.hv-asso-feed-text{
    flex: 1;
    color: var(--green);
}
.hv-asso-feed-text strong{
    font-weight: 600;
}
.hv-asso-feed-time{
    font-size: 0.62rem;
    color: var(--gray);
    white-space: nowrap;
}
.hv-members{
    position: absolute;
    top: 20px;
    right: -55px;
    z-index: 3;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.8s both, hvFloatAlt 7s ease-in-out 2s infinite;
}
.hv-members .hv-card{
    text-align: center;
    padding: 18px 22px;
}
.hv-members-avatars{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.hv-members-avatars span{
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--fond);
    margin-left: -8px;
}
.hv-members-avatars span:first-child{ margin-left: 0; }
.hv-members-avatars span:nth-child(1){ background: linear-gradient(135deg, #c4b5fd, #9b87f5); z-index: 4; }
.hv-members-avatars span:nth-child(2){ background: linear-gradient(135deg, #b8e0d2, #7ac6ac); z-index: 3; }
.hv-members-avatars span:nth-child(3){ background: linear-gradient(135deg, #ffd8be, #f4b183); z-index: 2; }
.hv-members-avatars span:nth-child(4){ background: linear-gradient(135deg, #ffe59a, #f1ca4b); z-index: 1; }
.hv-members-plus{
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(14,59,46,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green);
    margin-left: -8px;
}
.hv-asso-event-notif{
    position: absolute;
    bottom: 80px;
    left: -50px;
    z-index: 3;
    animation: hvSlideRight 0.7s var(--ease-out) 1.1s both, hvFloatSlow 8s ease-in-out 2.2s infinite;
}
.hv-asso-event-notif .hv-card{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.hv-asso-event-notif .hv-notif-icon{
    width: 36px; height: 36px;
    background: rgba(196, 181, 253, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.hv-asso-event-notif strong{
    display: block;
    font-size: 0.78rem;
    color: var(--green);
}
.hv-asso-event-notif span{
    font-size: 0.68rem;
    color: var(--gray);
}
.hv-asso-volunteer{
    position: absolute;
    bottom: 20px;
    right: -30px;
    z-index: 3;
    animation: hvPopIn 0.6s var(--ease-spring) 1.4s both, hvFloatAlt 7s ease-in-out 2.5s infinite;
}
.hv-asso-volunteer .hv-pill{
    background: rgba(184, 224, 210, 0.92);
    color: var(--vert-texte);
}
.hero-visual-municipal{
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-browser{
    position: relative;
    width: 420px;
    z-index: 2;
    animation: hvSlideUp 0.9s var(--ease-out) 0.3s both, hvFloatSlow 9s ease-in-out 1.5s infinite;
}
.hv-browser-frame{
    background: var(--ink);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}
.hv-browser-bar{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #252830;
}
.hv-browser-dots{
    display: flex;
    gap: 6px;
}
.hv-browser-dots span{
    width: 10px; height: 10px;
    border-radius: 50%;
}
.hv-browser-dots span:nth-child(1){ background: #ff5f57; }
.hv-browser-dots span:nth-child(2){ background: #ffbd2e; }
.hv-browser-dots span:nth-child(3){ background: #28ca41; }
.hv-browser-url{
    flex: 1;
    padding: 6px 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hv-browser-url::before{
    content: '🔒';
    font-size: 0.6rem;
}
.hv-browser-body{
    background: #f8f9fb;
    padding: 20px;
    min-height: 260px;
}
.hv-portal-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.hv-portal-logo{
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hv-portal-logo-icon{
    width: 24px; height: 24px;
    background: var(--green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-portal-logo-icon svg{
    width: 14px; height: 14px;
    color: var(--fond);
}
.hv-portal-nav{
    display: flex;
    gap: 12px;
    font-size: 0.68rem;
    color: var(--gray);
}
.hv-portal-nav span:first-child{
    color: var(--green);
    font-weight: 600;
}
.hv-portal-hero-bar{
    background: var(--green);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--fond);
    margin-bottom: 14px;
}
.hv-portal-hero-bar h4{
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.hv-portal-hero-bar p{
    font-size: 0.68rem;
    opacity: 0.7;
}
.hv-portal-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.hv-portal-card{
    background: var(--fond);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid var(--line);
}
.hv-portal-card-icon{
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.hv-portal-card h5{
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.hv-portal-card p{
    font-size: 0.6rem;
    color: var(--gray);
}
.hv-municipal-notifs{
    position: absolute;
    top: 10px;
    left: -60px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hv-municipal-notif-item{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(245, 237, 227, 0.95);
    border: 1px solid rgba(14,59,46,0.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    transition: transform 0.3s var(--ease);
}
.hv-municipal-notif-item:hover{
    transform: translateX(-4px) scale(1.02);
}
.hv-municipal-notif-item:nth-child(1){
    animation: hvSlideRight 0.7s var(--ease-out) 0.8s both, hvFloatAlt 7s ease-in-out 2s infinite;
}
.hv-municipal-notif-item:nth-child(2){
    animation: hvSlideRight 0.7s var(--ease-out) 1.1s both, hvFloatSlow 8s ease-in-out 2.3s infinite;
}
.hv-municipal-notif-item:nth-child(3){
    animation: hvSlideRight 0.7s var(--ease-out) 1.4s both, hvFloatAlt 9s ease-in-out 2.6s infinite;
}
.hv-municipal-notif-icon{
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.hv-municipal-notif-text strong{
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
}
.hv-municipal-notif-text span{
    font-size: 0.65rem;
    color: var(--gray);
}
.hv-municipal-stat{
    position: absolute;
    bottom: 30px;
    right: -40px;
    z-index: 3;
    animation: hvSlideLeft 0.7s var(--ease-out) 1.5s both, hvFloatSlow 8s ease-in-out 2.3s infinite;
}
.page-hero-glass .hv-card{
    background: rgba(245, 237, 227, 0.1);
    border-color: rgba(245, 237, 227, 0.15);
    color: var(--cream);
}
.page-hero-glass .hv-card:hover{
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3);
}
.page-hero-glass .hv-stat-num{ color: var(--cream); }
.page-hero-glass .hv-stat-label{ color: rgba(245, 237, 227, 0.6); }
.page-hero-glass .hv-municipal-notif-item{
    background: rgba(245, 237, 227, 0.1);
    border-color: rgba(245, 237, 227, 0.12);
}
.page-hero-glass .hv-municipal-notif-text strong{ color: var(--cream); }
.page-hero-glass .hv-municipal-notif-text span{ color: rgba(245, 237, 227, 0.6); }
.page-hero-glass .hv-browser-body{ background: #1e2330; }
.page-hero-glass .hv-portal-card{ background: rgba(245, 237, 227, 0.06); border-color: rgba(245, 237, 227, 0.1); }
.page-hero-glass .hv-portal-card h5{ color: var(--cream); }
.page-hero-glass .hv-portal-card p{ color: rgba(245, 237, 227, 0.5); }
.page-hero-glass .hv-portal-logo{ color: var(--cream); }
.page-hero-glass .hv-portal-nav{ color: rgba(245, 237, 227, 0.5); }
.page-hero-glass .hv-portal-nav span:first-child{ color: var(--cream); }
.hero-visual-artisan{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.hv-search{
    width: 100%;
    max-width: 420px;
    z-index: 3;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s both;
}
.hv-search-bar{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--fond);
    border-radius: 999px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--line);
}
.hv-search-icon{
    width: 20px; height: 20px;
    color: var(--gray);
    flex-shrink: 0;
}
.hv-search-text{
    font-size: 0.92rem;
    color: var(--green);
    font-weight: 500;
    flex: 1;
}
.hv-search-text .hv-search-cursor{
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--green);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: hvBlink 1s step-end infinite;
}
.hv-search-btn{
    padding: 8px 18px;
    background: var(--green);
    color: var(--fond);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.hv-portfolio{
    position: relative;
    width: 100%;
    max-width: 420px;
    z-index: 2;
    animation: hvSlideUp 0.9s var(--ease-out) 0.5s both;
}
.hv-portfolio-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    border-radius: 20px;
    overflow: hidden;
}
.hv-portfolio-item{
    aspect-ratio: 1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease);
}
.hv-portfolio-item:hover{
    transform: scale(1.05);
    z-index: 2;
}
.hv-portfolio-item:nth-child(1){ background: linear-gradient(135deg, var(--lime), #d4b83a); }
.hv-portfolio-item:nth-child(2){ background: linear-gradient(135deg, #f4e7c8, #e8d8a8); grid-row: span 2; border-radius: 12px; }
.hv-portfolio-item:nth-child(3){ background: linear-gradient(135deg, #b8e0d2, #7ac6ac); }
.hv-portfolio-item:nth-child(4){ background: linear-gradient(135deg, #ffd8be, #f4b183); }
.hv-portfolio-item:nth-child(5){ background: linear-gradient(135deg, #c4b5fd, #9b87f5); }
.hv-portfolio-label{
    position: absolute;
    bottom: 6px;
    left: 6px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--fond);
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.hv-artisan-rating{
    position: absolute;
    top: 80px;
    right: -10px;
    z-index: 4;
    animation: hvSlideLeft 0.7s var(--ease-out) 0.9s both, hvFloatAlt 8s ease-in-out 2s infinite;
}
.hv-artisan-rating .hv-card{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}
.hv-artisan-rating .hv-review-stars{
    color: #f59e0b;
    font-size: 0.85rem;
}
.hv-artisan-quote{
    position: absolute;
    bottom: 30px;
    left: -10px;
    z-index: 4;
    animation: hvSlideRight 0.7s var(--ease-out) 1.1s both, hvFloatSlow 7s ease-in-out 2.3s infinite;
}
.hero-visual-print{
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
}
.hv-print-stack{
    position: relative;
    width: 340px;
    height: 420px;
    transform-style: preserve-3d;
    
    opacity: 1;
}
.hv-bizcard{
    position: absolute;
    width: 260px;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    bottom: 60px;
    left: 0;
    z-index: 3;
    animation: hvTiltIn 0.9s var(--ease-out) 0.3s both, hvFloatSlow 8s ease-in-out 1.5s infinite;
}
.hv-bizcard-front{
    width: 100%; height: 100%;
    background: var(--fond);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.hv-bizcard-logo{
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--green);
    margin-bottom: 4px;
}
.hv-bizcard-tagline{
    font-size: 0.7rem;
    color: var(--gray);
    margin-bottom: 14px;
}
.hv-bizcard-info{
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.68rem;
    color: var(--ink-2);
}
.hv-bizcard-accent{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--yellow));
}
.hv-flyer{
    position: absolute;
    width: 200px;
    height: 270px;
    top: 0;
    right: 0;
    z-index: 2;
    animation: hvSlideLeft 0.9s var(--ease-out) 0.6s both, hvFloatAlt 9s ease-in-out 1.8s infinite;
    transform-origin: center;
}
.hv-flyer-inner{
    width: 100%; height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
    background: var(--fond);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}
.hv-flyer-img{
    height: 50%;
    background: linear-gradient(135deg, var(--green), var(--vert-surface-2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hv-flyer-img::after{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(232,212,77,0.3), transparent 60%);
}
.hv-flyer-img-text,
.hv-flyer-tag{
    color: var(--fond);
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    z-index: 1;
}
.hv-flyer-body{
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hv-flyer-title{
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 4px;
}
.hv-flyer-desc,
.hv-flyer-text{
    font-size: 0.68rem;
    color: var(--gray);
    line-height: 1.4;
}
.hv-flyer-badge{
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--yellow);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
}
.hv-goodies{
    position: absolute;
    bottom: 0;
    right: 30px;
    z-index: 4;
    animation: hvPopIn 0.6s var(--ease-spring) 1s both, hvFloatSlow 7s ease-in-out 2s infinite;
}
.hv-goodies-card{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14,59,46,0.08);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}
.hv-goodies-swatches{
    display: flex;
    gap: 4px;
}
.hv-goodies-swatches span{
    width: 18px; height: 18px;
    border-radius: 50%;
}
.hv-goodies-swatches span:nth-child(1){ background: var(--green); }
.hv-goodies-swatches span:nth-child(2){ background: var(--yellow); }
.hv-goodies-swatches span:nth-child(3){ background: #FFB2C2; }
.hv-goodies-label{
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
}
.hv-print-format{
    position: absolute;
    top: 80px;
    left: -10px;
    z-index: 4;
    animation: hvSlideRight 0.6s var(--ease-out) 1.3s both, hvFloatAlt 8s ease-in-out 2.3s infinite;
}
@media (max-width: 768px){
.hero-visual{
        width: 100%;
        min-height: 400px;
        transform: scale(0.85);
        transform-origin: center;
    }
.hv-browser{ width: 340px; }
.hv-review{ left: -20px; }
.hv-commerce-stat-1{ left: -10px; }
.hv-commerce-stat-2{ right: 0; }
.hv-commerce-promo{ right: -10px; }
.hv-notif-stack{ right: -30px; }
.hv-qr{ right: -10px; }
.hv-seats{ left: -20px; }
.hv-members{ right: -20px; }
.hv-asso-event-notif{ left: -20px; }
.hv-asso-volunteer{ right: -10px; }
.hv-municipal-notifs{ left: -25px; }
.hv-municipal-stat{ right: -10px; }
.hv-print-stack{ width: 300px; height: 380px; }
.hv-bizcard{ width: 220px; height: 140px; }
.hv-flyer{ width: 170px; height: 230px; }
}
.hero-visual-srv{
    --srv-accent: #1B3A5C;
    display: block;
    width: min(100%, 540px);
    height: 480px;
    position: relative;
    perspective: 1200px;
}
.hero-visual-srv > *{ opacity: 0; }
.hero-visual-srv .hv-card,
.hero-visual-lieux .hv-card{ color: var(--srv-accent, var(--green)); }
.hv-browser-card{
    position: absolute; left: 0; top: 40px;
    width: 340px;
    background: var(--fond);
    border-radius: 14px;
    box-shadow: 0 22px 58px rgba(0,0,0,0.14);
    overflow: hidden;
    animation: hvSlideUp 0.8s var(--ease-out) 0.15s forwards, hvFloatSlow 9s ease-in-out 1.2s infinite;
}
.hv-browser-bar{
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px;
    background: #F3F4F6;
    border-bottom: 1px solid var(--line);
}
.hv-browser-dot{ width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; }
.hv-browser-dot:nth-child(1){ background: #ff6058; }
.hv-browser-dot:nth-child(2){ background: #ffbd2e; }
.hv-browser-dot:nth-child(3){ background: #27c93f; }
.hv-browser-url{
    flex: 1; padding: 4px 12px; margin-left: 8px;
    background: var(--fond); border-radius: 999px;
    font-size: 0.7rem; color: var(--ink-2);
    border: 1px solid var(--line);
}
.hv-browser-lock{ font-size: 0.7rem; }
.hv-browser-body{ padding: 18px; background: var(--fond); }
.hv-browser-hero{
    height: 90px; border-radius: 10px;
    background: linear-gradient(135deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 50%, var(--fond)));
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.hv-browser-hero::after{
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 60%);
}
.hv-browser-lines{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.hv-browser-lines span{
    height: 6px; border-radius: 3px;
    background: var(--line);
}
.hv-browser-cta{
    width: 100px; height: 28px;
    background: var(--srv-accent);
    border-radius: 6px;
}
.hv-site-mobile{
    position: absolute; right: 0; top: 130px;
    width: 110px; height: 200px;
    border-radius: 18px;
    background: var(--ink);
    padding: 6px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    animation: hvSlideLeft 0.8s var(--ease-out) 0.45s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-site-mobile-screen{
    width: 100%; height: 100%;
    background: var(--fond);
    border-radius: 14px;
    padding: 10px 8px;
    display: flex; flex-direction: column; gap: 6px;
}
.hv-site-mobile-bar{
    height: 6px; border-radius: 3px;
    background: var(--srv-accent);
    width: 45%;
}
.hv-site-mobile-img{
    height: 80px; border-radius: 8px;
    background: linear-gradient(135deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 60%, var(--fond)));
}
.hv-site-mobile-line{ height: 4px; border-radius: 2px; background: var(--line); }
.hv-perf-badge{
    position: absolute; left: -10px; bottom: 30px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.75s forwards, hvFloatSlow 8s ease-in-out 1.5s infinite;
}
.hv-perf{ display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.hv-perf-ring{
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--fond); font-weight: 800; font-size: 0.95rem;
    background: conic-gradient(#27c93f 0 88%, rgba(0,0,0,0.08) 88% 100%);
    position: relative;
}
.hv-perf-ring::before{ content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--fond); }
.hv-perf-ring span{ position: relative; color: var(--ink); }
.hv-perf strong{ display: block; font-size: 0.85rem; color: var(--ink); }
.hv-perf span:last-child{ font-size: 0.7rem; color: var(--ink-2); }
.hv-tech-pill{
    position: absolute; right: -10px; top: 0;
    animation: hvSlideLeft 0.6s var(--ease-out) 1.05s forwards, hvFloatAlt 7s ease-in-out 2s infinite;
}
.hv-gbp-card{
    position: absolute; left: 0; top: 20px;
    width: 320px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.15s forwards, hvFloatSlow 9s ease-in-out 1.3s infinite;
}
.hv-gbp-photos{
    display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 4px; margin: -20px -20px 16px;
    border-radius: 20px 20px 0 0; overflow: hidden;
    height: 130px;
}
.hv-gbp-photo{
    background: linear-gradient(135deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 50%, var(--fond)));
}
.hv-gbp-photo.p1{ grid-row: 1 / span 2; background: linear-gradient(135deg, #2D8A4E, #1D8A4E); }
.hv-gbp-photo.p2{ background: linear-gradient(135deg, #FFB2C2, #ff8fa3); }
.hv-gbp-photo.p3{ background: linear-gradient(135deg, #FFD8BE, #f4b183); }
.hv-gbp-photo.p4{ background: linear-gradient(135deg, #C4B5FD, #9b87f5); }
.hv-gbp-name{ font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); }
.hv-gbp-rating{ display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 0.82rem; }
.hv-gbp-rating .hv-review-stars{ color: #F4B400; font-size: 0.85rem; }
.hv-gbp-rating strong{ color: var(--ink); }
.hv-gbp-reviews{ color: var(--ink-2); }
.hv-gbp-meta{ display: flex; flex-direction: column; gap: 4px; font-size: 0.75rem; color: var(--ink-2); margin-bottom: 12px; }
.hv-gbp-open{ color: #2D8A4E; font-weight: 600; }
.hv-gbp-actions{ display: flex; gap: 8px; }
.hv-gbp-btn{
    flex: 1; text-align: center; padding: 8px 12px;
    background: var(--srv-accent); color: var(--fond);
    border-radius: 8px; font-size: 0.78rem; font-weight: 600;
}
.hv-gbp-btn.ghost{ background: transparent; color: var(--srv-accent); border: 1px solid currentColor; }
.hv-gbp-map{
    position: absolute; right: 0; bottom: 60px;
    width: 160px; height: 120px;
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 18px 44px rgba(0,0,0,0.12);
    animation: hvSlideLeft 0.8s var(--ease-out) 0.45s forwards, hvFloatAlt 8s ease-in-out 1.6s infinite;
}
.hv-gbp-map svg{ width: 100%; height: 100%; display: block; }
.hv-gbp-pin{
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
    width: 22px; height: 22px;
}
.hv-gbp-pin::before{
    content: ''; position: absolute; inset: 0;
    background: #EA4335;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    transform: rotate(45deg);
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 6px 16px rgba(234,67,53,0.4);
}
.hv-gbp-pin span{
    position: absolute; left: 50%; top: 50%;
    width: 8px; height: 8px; border-radius: 50%; background: var(--fond);
    transform: translate(-50%, -60%);
}
.hv-gbp-stat{
    position: absolute; left: -10px; bottom: 10px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.85s forwards, hvFloatSlow 8s ease-in-out 1.5s infinite;
}
.hv-phone-social{
    position: absolute; left: 50%; top: 20px;
    transform: translateX(-50%);
    width: 230px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.3s infinite;
}
.hv-phone-social .hv-phone-screen{ padding: 14px; }
.hv-stories{ display: flex; gap: 8px; margin-bottom: 14px; }
.hv-story{
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    padding: 2px; position: relative;
}
.hv-story::before{
    content: ''; position: absolute; inset: 2px;
    background: var(--fond); border-radius: 50%; padding: 2px;
}
.hv-story::after{
    content: ''; position: absolute; inset: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB2C2, #FFD8BE);
}
.hv-story.s2::after{ background: linear-gradient(135deg, #B8E0D2, #FFD8BE); }
.hv-story.s3::after{ background: linear-gradient(135deg, #C4B5FD, #FFB2C2); }
.hv-story.s4::after{ background: linear-gradient(135deg, #FFD8BE, #FFB2C2); }
.hv-post-img{
    height: 110px; border-radius: 10px;
    background: linear-gradient(135deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 50%, #FFB2C2));
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}
.hv-post-img::after{
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.3), transparent 50%);
}
.hv-post-actions{ display: flex; gap: 12px; font-size: 1.1rem; margin-bottom: 4px; }
.hv-heart{ color: #ed4956; animation: hvHeartbeat 1.6s ease-in-out infinite; }
.hv-post-likes{ font-size: 0.72rem; color: var(--ink); }
.hv-post-likes strong{ font-weight: 700; }
.hv-tabbar{
    display: flex; gap: 18px; justify-content: center;
    margin-top: 8px; padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.hv-tabbar span{
    width: 14px; height: 14px; border-radius: 3px;
    background: #C7C7C7;
}
.hv-tabbar span.active{ background: var(--srv-accent); }
.hv-burst{
    position: absolute; left: 20px; bottom: 100px;
    pointer-events: none;
    animation: hvPopIn 0.5s var(--ease-spring) 1.2s forwards;
}
.hv-burst-heart{
    position: absolute;
    font-size: 1.4rem;
    color: #ed4956;
    animation: hvHeartFloat 3.2s ease-in-out infinite;
}
.hv-burst-heart-2{ left: -18px; top: -10px; font-size: 1rem; animation-delay: 0.6s; }
.hv-burst-heart-3{ left: 14px; top: 6px; font-size: 0.85rem; animation-delay: 1.2s; }
.hv-dm{
    position: absolute; right: -10px; top: 60px;
    width: 200px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.65s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-dm .hv-card{ padding: 14px 16px; }
.hv-dm strong{ display: block; font-size: 0.9rem; color: var(--srv-accent); }
.hv-dm span{ font-size: 0.72rem; color: var(--ink-2); }
.hv-social-pill{
    position: absolute; left: -10px; bottom: 20px;
    animation: hvSlideRight 0.6s var(--ease-out) 1s forwards, hvFloatSlow 7s ease-in-out 2s infinite;
}
.hv-viewfinder{
    position: absolute; left: 30px; top: 30px;
    width: 380px; height: 280px;
    background: linear-gradient(135deg, #2A2A2A, #0F0F0F);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.25);
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
    overflow: hidden;
}
.hv-vf-frame{
    position: absolute; inset: 24px;
    border: 1px solid rgba(255,255,255,0.15);
}
.hv-vf-bracket{
    position: absolute; width: 24px; height: 24px;
    border: 2px solid var(--fond);
}
.hv-vf-bracket.br-tl{ top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.hv-vf-bracket.br-tr{ top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.hv-vf-bracket.br-bl{ bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.hv-vf-bracket.br-br{ bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.hv-vf-center{
    position: absolute; left: 50%; top: 50%;
    width: 36px; height: 36px;
    border: 2px solid rgba(255,255,255,0.85);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.hv-vf-center::before, .hv-vf-center::after{
    content: ''; position: absolute; background: var(--fond);
}
.hv-vf-center::before{ left: 50%; top: -8px; bottom: -8px; width: 1px; transform: translateX(-50%); }
.hv-vf-center::after{ top: 50%; left: -8px; right: -8px; height: 1px; transform: translateY(-50%); }
.hv-vf-meta{
    position: absolute; bottom: 12px; left: 24px; right: 24px;
    display: flex; gap: 14px;
    font-size: 0.7rem;
    color: var(--fond); font-family: monospace;
}
.hv-vf-rec{ color: #ff3b30; margin-left: auto; animation: hvBlink 1.4s ease-in-out infinite; }
.hv-vf-subject{
    position: absolute; left: 50%; top: 50%;
    width: 120px; height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, #B8956B, #6F4F2A);
    transform: translate(-50%, -50%);
    opacity: 0.6;
    box-shadow: 0 0 80px rgba(201,168,44,0.25);
}
.hv-filmstrip{
    position: absolute; left: -10px; bottom: 30px;
    display: flex; gap: 4px;
    padding: 8px;
    background: var(--ink);
    border-radius: 8px;
    animation: hvSlideRight 0.7s var(--ease-out) 0.55s forwards, hvFloatAlt 8s ease-in-out 1.6s infinite;
}
.hv-filmstrip span{
    width: 38px; height: 50px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--lime), #8B7820);
}
.hv-filmstrip span:nth-child(2){ background: linear-gradient(135deg, #B8E0D2, #5FA38B); }
.hv-filmstrip span:nth-child(3){ background: linear-gradient(135deg, #FFB2C2, #C97E8D); }
.hv-filmstrip span:nth-child(4){ background: linear-gradient(135deg, #FFD8BE, #B85A2C); }
.hv-filmstrip span:nth-child(5){ background: linear-gradient(135deg, #C4B5FD, #7250AB); }
.hv-play{
    position: absolute; right: -20px; bottom: 50px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.9s forwards, hvFloatSlow 7s ease-in-out 1.8s infinite;
}
.hv-play-card{ display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.hv-play-icon{
    width: 36px; height: 36px;
    background: var(--srv-accent);
    border-radius: 50%;
    color: var(--fond);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; padding-left: 2px;
}
.hv-play strong{ display: block; font-size: 0.85rem; color: var(--ink); }
.hv-play span:last-child{ font-size: 0.7rem; color: var(--ink-2); }
.hv-clap-pill{
    position: absolute; left: 0; bottom: 0;
    animation: hvSlideUp 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.1s infinite;
}
.hv-ads-dash{
    position: absolute; left: 0; top: 30px;
    width: 350px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
}
.hv-ads-header{
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hv-ads-header strong{ font-size: 0.95rem; color: var(--ink); }
.hv-ads-live{ font-size: 0.72rem; color: #2D8A4E; font-weight: 600; }
.hv-ads-stats{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin-bottom: 16px;
}
.hv-ads-stats > div{ text-align: center; }
.hv-ads-num{ display: block; font-size: 1.15rem; font-weight: 800; color: var(--srv-accent); }
.hv-ads-lbl{ font-size: 0.65rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.05em; }
.hv-ads-chart{
    display: flex; align-items: flex-end; gap: 6px;
    height: 80px;
}
.hv-ads-chart span{
    flex: 1; background: linear-gradient(to top, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 70%, var(--fond)));
    border-radius: 4px 4px 0 0;
    height: var(--h, 50%);
    animation: hvBarGrow 0.8s var(--ease-out) calc(0.6s + var(--i, 0) * 0.06s) backwards;
}
.hv-ads-chart span:nth-child(1){ --i: 1; }
.hv-ads-chart span:nth-child(2){ --i: 2; }
.hv-ads-chart span:nth-child(3){ --i: 3; }
.hv-ads-chart span:nth-child(4){ --i: 4; }
.hv-ads-chart span:nth-child(5){ --i: 5; }
.hv-ads-chart span:nth-child(6){ --i: 6; }
.hv-ads-chart span:nth-child(7){ --i: 7; }
.hv-target-cone{
    position: absolute; right: 20px; bottom: 60px;
    width: 130px; height: 130px;
    animation: hvPopIn 0.7s var(--ease-spring) 0.7s forwards;
}
.hv-target-ring{
    position: absolute; left: 50%; top: 50%;
    border-radius: 50%;
    border: 2px solid var(--srv-accent);
    transform: translate(-50%, -50%);
    opacity: 0.35;
    animation: hvRadarPulse 3s ease-out infinite;
}
.hv-target-ring.r1{ width: 30px; height: 30px; opacity: 0.8; animation-delay: 0s; }
.hv-target-ring.r2{ width: 70px; height: 70px; animation-delay: 0.6s; }
.hv-target-ring.r3{ width: 120px; height: 120px; animation-delay: 1.2s; }
.hv-target-pin{
    position: absolute; left: 50%; top: 50%;
    width: 12px; height: 12px;
    transform: translate(-50%, -50%);
    background: var(--srv-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--fond), 0 4px 12px rgba(0,0,0,0.18);
}
.hv-ads-roi{
    position: absolute; left: -10px; bottom: 20px;
    animation: hvPopIn 0.6s var(--ease-spring) 1s forwards, hvFloatSlow 7s ease-in-out 2s infinite;
}
.hv-geo-pill{
    position: absolute; right: -10px; top: 0;
    animation: hvSlideLeft 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
}
.hv-serp{
    position: absolute; left: 0; top: 20px;
    width: 360px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.3s infinite;
}
.hv-serp-search{
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--sub);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--ink-2);
    margin-bottom: 14px;
}
.hv-serp-search svg{ color: var(--srv-accent); }
.hv-serp-localpack{ display: flex; flex-direction: column; gap: 8px; }
.hv-serp-result{
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
}
.hv-serp-result.featured{
    background: color-mix(in srgb, var(--srv-accent) 8%, var(--fond));
    border-color: var(--srv-accent);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--srv-accent) 14%, transparent);
}
.hv-serp-rank{
    width: 28px; height: 28px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--srv-accent);
    color: var(--fond);
    font-weight: 800; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
}
.hv-serp-result strong{ display: block; font-size: 0.85rem; color: var(--ink); }
.hv-serp-result span{ font-size: 0.72rem; color: var(--ink-2); }
.hv-serp-result .dim{ color: var(--ink-3); }
.hv-serp-result.featured strong{ color: var(--srv-accent); }
.hv-rank-arrow{
    position: absolute; right: -10px; bottom: 70px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.85s forwards, hvFloatSlow 8s ease-in-out 1.6s infinite;
}
.hv-rank-arrow .hv-stat-num{ color: #2D8A4E; }
.hv-keyword-pill{
    position: absolute; left: -10px; bottom: 10px;
    animation: hvSlideRight 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.1s infinite;
}
.hv-brand-grid{
    position: absolute; left: 0; top: 30px;
    width: 360px;
    display: grid;
    grid-template-columns: 130px 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
}
.hv-logo-tile{
    grid-row: 1 / span 2;
    text-align: center;
    padding: 22px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    justify-content: center;
}
.hv-logo-mark{
    width: 70px; height: 70px;
    background: var(--srv-accent);
    border-radius: 20px;
    color: var(--fond);
    font-family: var(--font-display);
    font-size: 2.6rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--srv-accent) 35%, transparent);
}
.hv-logo-tile span{ font-size: 0.7rem; color: var(--ink-2); }
.hv-palette .hv-card{ padding: 14px 16px; }
.hv-palette-title{ display: block; font-size: 0.82rem; color: var(--ink); margin-bottom: 8px; }
.hv-swatches{ display: flex; gap: 6px; margin-bottom: 8px; }
.hv-swatches .sw{
    width: 28px; height: 28px; border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.hv-swatches .c1{ background: var(--srv-accent); }
.hv-swatches .c2{ background: var(--ink); }
.hv-swatches .c3{ background: #F4ECE0; }
.hv-swatches .c4{ background: var(--lime); }
.hv-palette-codes{ display: flex; gap: 8px; font-size: 0.65rem; color: var(--ink-2); font-family: monospace; }
.hv-typo .hv-card{ display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.hv-typo-display{
    font-family: var(--font-display);
    font-size: 1.8rem; font-style: italic;
    color: var(--srv-accent);
    line-height: 1;
}
.hv-typo-name{ display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.hv-typo-sub{ font-size: 0.7rem; color: var(--ink-2); }
.hv-brand-card{
    position: absolute; right: 0; bottom: 60px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.55s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-bizcard-mini{
    width: 220px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
}
.hv-bizcard-mini-logo{
    width: 38px; height: 38px;
    background: var(--srv-accent);
    color: var(--fond);
    border-radius: 10px;
    font-family: var(--font-display); font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
}
.hv-bizcard-mini strong{ display: block; font-size: 0.85rem; color: var(--ink); }
.hv-bizcard-mini span{ font-size: 0.7rem; color: var(--ink-2); }
.hv-bizcard-mini-accent{
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--srv-accent), var(--lime));
}
.hv-brand-pill{
    position: absolute; right: -10px; top: 0;
    animation: hvSlideLeft 0.6s var(--ease-out) 1s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
}
.hv-news{
    position: absolute; left: 0; top: 20px;
    width: 320px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
}
.hv-news .hv-card{ padding: 18px 20px; }
.hv-news-masthead{
    display: flex; justify-content: space-between; align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--srv-accent);
    margin-bottom: 12px;
}
.hv-news-masthead strong{ font-family: var(--font-display); font-size: 1.3rem; color: var(--srv-accent); }
.hv-news-masthead span{ font-size: 0.65rem; color: var(--ink-2); }
.hv-news-headline{
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--ink); line-height: 1.25; margin-bottom: 6px;
}
.hv-news-byline{ font-size: 0.7rem; color: var(--ink-2); font-style: italic; margin-bottom: 10px; }
.hv-news-photo{
    height: 90px; border-radius: 8px;
    background: linear-gradient(135deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 55%, var(--lime)));
    margin-bottom: 12px;
}
.hv-news-lines{ display: flex; flex-direction: column; gap: 5px; }
.hv-news-lines span{ height: 5px; border-radius: 3px; background: var(--line); }
.hv-quote{
    position: absolute; right: -10px; bottom: 60px;
    width: 220px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.6s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-quote .hv-card{ padding: 18px 18px 16px; position: relative; }
.hv-quote-mark{
    position: absolute; left: 12px; top: 4px;
    font-family: var(--font-display); font-size: 3rem;
    color: var(--srv-accent); opacity: 0.25; line-height: 1;
}
.hv-quote-text{
    margin: 0 0 8px; padding-left: 8px;
    font-style: italic; font-size: 0.88rem; color: var(--ink); line-height: 1.4;
}
.hv-quote-src{ font-size: 0.7rem; color: var(--ink-2); padding-left: 8px; }
.hv-press-pill{
    position: absolute; left: -10px; bottom: 10px;
    animation: hvSlideRight 0.6s var(--ease-out) 1.1s forwards, hvFloatSlow 7s ease-in-out 2.1s infinite;
}
.hv-billboard{
    position: absolute; left: 20px; top: 30px;
    width: 260px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.3s infinite;
}
.hv-billboard-frame{
    width: 100%; height: 160px;
    background: linear-gradient(135deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 60%, var(--ink)));
    border: 4px solid #2A2A2A;
    border-radius: 8px;
    padding: 18px 22px;
    color: var(--fond);
    box-shadow: 0 22px 50px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
.hv-billboard-frame::after{
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    animation: hvShine 4s ease-in-out infinite;
}
.hv-billboard-creative{
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 12px; height: 100%;
    justify-content: space-between;
}
.hv-billboard-headline{
    font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1;
}
.hv-billboard-headline em{ font-style: italic; color: var(--lime); }
.hv-billboard-cta{
    display: inline-flex; align-self: flex-start;
    padding: 6px 14px;
    background: var(--fond); color: var(--srv-accent);
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 700;
}
.hv-billboard-leg{
    position: absolute; left: 36px; bottom: -90px;
    width: 6px; height: 90px;
    background: #2A2A2A;
}
.hv-billboard-leg.right{ left: auto; right: 36px; }
.hv-abribus{
    position: absolute; right: 0; top: 100px;
    width: 100px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.55s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-abribus-roof{
    width: 100%; height: 14px;
    background: var(--ink);
    border-radius: 4px 4px 0 0;
}
.hv-abribus-panel{
    width: 80%; margin: 0 auto;
    background: var(--fond);
    border-radius: 6px;
    padding: 14px 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    display: flex; flex-direction: column; gap: 8px;
    height: 130px;
}
.hv-abribus-tag{
    display: inline-block; padding: 4px 8px;
    background: var(--srv-accent); color: var(--fond);
    border-radius: 4px; font-size: 0.65rem; font-weight: 700;
    align-self: flex-start;
}
.hv-abribus-line{ height: 4px; border-radius: 2px; background: var(--line); }
.hv-skyline{
    position: absolute; left: 0; right: 0; bottom: 20px;
    display: flex; align-items: flex-end; justify-content: center;
    gap: 4px;
    opacity: 0.18;
    pointer-events: none;
    animation: hvSlideUp 0.8s var(--ease-out) 0.7s forwards;
}
.hv-skyline span{
    background: var(--srv-accent);
    border-radius: 2px 2px 0 0;
    width: 18px;
}
.hv-skyline .b1{ height: 30px; }
.hv-skyline .b2{ height: 50px; width: 28px; }
.hv-skyline .b3{ height: 70px; }
.hv-skyline .b4{ height: 40px; width: 22px; }
.hv-skyline .b5{ height: 85px; width: 24px; }
.hv-skyline .b6{ height: 35px; }
.hv-skyline .b7{ height: 55px; width: 30px; }
.hv-trafic{
    position: absolute; left: -10px; bottom: 60px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.95s forwards, hvFloatSlow 7s ease-in-out 1.9s infinite;
}
.hv-ooh-pill{
    position: absolute; right: -10px; bottom: 0;
    animation: hvSlideLeft 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
}
.hv-ticket{
    position: absolute; left: 0; top: 30px;
    width: 320px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
}
.hv-ticket-card{
    display: flex;
    padding: 0;
    overflow: hidden;
    background: var(--fond);
}
.hv-ticket-stub{
    flex: 1; padding: 20px;
    display: flex; flex-direction: column; gap: 6px;
}
.hv-ticket-eyebrow{
    font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--srv-accent); font-weight: 700;
}
.hv-ticket-title{ font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.hv-ticket-date{ font-size: 0.82rem; color: var(--ink); font-weight: 600; }
.hv-ticket-loc{ font-size: 0.72rem; color: var(--ink-2); }
.hv-ticket-side{
    width: 110px;
    background: color-mix(in srgb, var(--srv-accent) 8%, var(--fond));
    border-left: 2px dashed color-mix(in srgb, var(--srv-accent) 30%, var(--fond));
    padding: 16px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    position: relative;
}
.hv-ticket-side::before, .hv-ticket-side::after{
    content: ''; position: absolute; left: -8px;
    width: 16px; height: 16px;
    background: var(--cream, #EFF6F1);
    border-radius: 50%;
}
.hv-ticket-side::before{ top: -8px; }
.hv-ticket-side::after{ bottom: -8px; }
.hv-ticket-qr{
    display: grid; grid-template-columns: repeat(3, 14px); gap: 2px;
}
.hv-ticket-qr span{
    width: 14px; height: 14px;
    background: var(--srv-accent);
    border-radius: 2px;
}
.hv-ticket-qr span:nth-child(2),
.hv-ticket-qr span:nth-child(4),
.hv-ticket-qr span:nth-child(6),
.hv-ticket-qr span:nth-child(8){ background: transparent; }
.hv-ticket-code{
    font-family: monospace; font-size: 0.7rem;
    color: var(--srv-accent); font-weight: 700;
}
.hv-countdown{
    position: absolute; right: -10px; top: 20px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.5s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-countdown-card{ display: flex; gap: 16px; padding: 14px 18px; }
.hv-countdown-card > div{ text-align: center; }
.hv-countdown-card strong{
    display: block;
    font-family: var(--font-display); font-size: 1.6rem;
    color: var(--srv-accent); line-height: 1;
}
.hv-countdown-card span{
    font-size: 0.6rem; color: var(--ink-2);
    text-transform: uppercase; letter-spacing: 0.08em;
}
.hv-capacity{
    position: absolute; right: -10px; bottom: 40px;
    width: 220px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.7s forwards, hvFloatSlow 7s ease-in-out 1.9s infinite;
}
.hv-capacity .hv-card{ padding: 14px 16px; }
.hv-capacity-head{
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 8px;
}
.hv-capacity-head strong{ font-size: 0.85rem; color: var(--ink); }
.hv-capacity-head span{ font-size: 0.72rem; color: var(--srv-accent); font-weight: 700; }
.hv-capacity-bar{
    height: 8px; background: rgba(0,0,0,0.06);
    border-radius: 4px; overflow: hidden;
    margin-bottom: 6px;
}
.hv-capacity-bar span{
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 60%, var(--lime)));
    border-radius: 4px;
    animation: hvCapacityFill 1.4s var(--ease-out) 0.9s backwards;
}
.hv-capacity-sub{ font-size: 0.7rem; color: var(--ink-2); }
.hv-event-pill{
    position: absolute; left: -10px; bottom: 0;
    animation: hvSlideRight 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
}
.hv-status{
    position: absolute; left: 0; top: 20px;
    width: 340px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.3s infinite;
}
.hv-status-head{
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hv-status-head strong{ font-size: 0.95rem; color: var(--ink); }
.hv-status-ok{ color: #2D8A4E; font-size: 1.2rem; animation: hvBlink 2.4s ease-in-out infinite; }
.hv-status-list{ display: flex; flex-direction: column; gap: 8px; }
.hv-status-row{
    display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
    font-size: 0.82rem;
}
.hv-status-dot{ width: 10px; height: 10px; border-radius: 50%; }
.hv-status-dot.ok{ background: #2D8A4E; box-shadow: 0 0 8px rgba(45,138,78,0.4); }
.hv-status-dot.warn{ background: #F4B400; box-shadow: 0 0 8px rgba(244,180,0,0.4); }
.hv-status-name{ color: var(--ink); }
.hv-status-meta{ font-size: 0.7rem; color: var(--ink-2); font-family: monospace; }
.hv-terminal{
    position: absolute; right: -10px; top: 70px;
    width: 220px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.55s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-terminal-card{
    background: var(--ink) !important;
    color: #C9F2D6 !important;
    padding: 14px 16px;
    font-family: monospace;
    border-radius: 12px;
}
.hv-terminal-card .hv-term-dots{
    display: flex; gap: 6px; margin-bottom: 10px;
}
.hv-terminal-card .hv-term-dots span{
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--ink-2);
}
.hv-terminal-card .hv-term-dots span:nth-child(1){ background: #ff6058; }
.hv-terminal-card .hv-term-dots span:nth-child(2){ background: #ffbd2e; }
.hv-terminal-card .hv-term-dots span:nth-child(3){ background: #27c93f; }
.hv-terminal-card code{
    font-size: 0.7rem; line-height: 1.6;
    color: #C9F2D6;
}
.hv-term-cmd{ color: #9AE6B4; }
.hv-term-out{ color: #C9F2D6; }
.hv-term-cursor{
    display: inline-block; width: 6px; height: 10px;
    background: #C9F2D6; margin-left: 2px;
    animation: hvBlink 1s steps(1) infinite;
}
.hv-uptime{
    position: absolute; right: -10px; bottom: 30px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.9s forwards, hvFloatSlow 7s ease-in-out 2s infinite;
}
.hv-it-pill{
    position: absolute; left: -10px; bottom: 0;
    animation: hvSlideRight 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.1s infinite;
}
.hv-roadmap{
    position: absolute; left: 0; top: 20px;
    width: 330px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
}
.hv-roadmap-title{ display: block; font-size: 0.95rem; color: var(--ink); margin-bottom: 16px; }
.hv-roadmap-steps{
    display: flex; flex-direction: column; gap: 14px;
    position: relative;
    padding-left: 22px;
}
.hv-roadmap-steps::before{
    content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--srv-accent), color-mix(in srgb, var(--srv-accent) 30%, transparent));
}
.hv-roadmap-step{
    position: relative;
    display: flex; gap: 12px;
    opacity: 0.4;
}
.hv-roadmap-step.done, .hv-roadmap-step.active{ opacity: 1; }
.hv-step-dot{
    position: absolute; left: -22px; top: 4px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--fond);
    border: 2px solid var(--srv-accent);
}
.hv-roadmap-step.done .hv-step-dot{ background: var(--srv-accent); }
.hv-roadmap-step.done .hv-step-dot::after{
    content: '✓'; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -55%);
    color: var(--fond); font-size: 0.7rem; font-weight: 700;
}
.hv-roadmap-step.active .hv-step-dot{
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--srv-accent) 20%, transparent);
    animation: hvBlink 1.8s ease-in-out infinite;
}
.hv-roadmap-step > div strong{ display: block; font-size: 0.88rem; color: var(--ink); }
.hv-roadmap-step > div span{ font-size: 0.72rem; color: var(--ink-2); }
.hv-notepad{
    position: absolute; right: -10px; bottom: 50px;
    width: 200px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.6s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
    transform: rotate(2deg);
}
.hv-notepad-card{
    padding: 18px 16px 14px;
    background: #FFFDF0 !important;
    border-color: #F4E6A1 !important;
    position: relative;
}
.hv-notepad-clip{
    position: absolute; left: 50%; top: -10px;
    transform: translateX(-50%);
    width: 60px; height: 16px;
    background: var(--lime);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.hv-notepad-card strong{ display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 8px; }
.hv-notepad-card ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.hv-notepad-card li{ font-size: 0.78rem; color: var(--ink-2); }
.hv-conseil-pill{
    position: absolute; left: -10px; bottom: 0;
    animation: hvSlideRight 0.6s var(--ease-out) 1.1s forwards, hvFloatSlow 7s ease-in-out 2s infinite;
}
.hv-ai-chat{
    position: absolute; left: 0; top: 30px;
    width: 320px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
}
.hv-ai-chat .hv-card{ padding: 18px 18px 14px; }
.hv-ai-head{
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 12px; margin-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hv-ai-avatar{
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--srv-accent), var(--lime));
    border-radius: 10px;
    color: var(--fond); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.hv-ai-head strong{ flex: 1; font-size: 0.88rem; color: var(--ink); }
.hv-ai-status{ font-size: 0.65rem; color: #2D8A4E; font-weight: 600; }
.hv-ai-msg{
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.82rem; line-height: 1.4;
    margin-bottom: 8px;
    max-width: 86%;
}
.hv-ai-msg.user{
    background: color-mix(in srgb, var(--srv-accent) 12%, var(--fond));
    color: var(--ink);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}
.hv-ai-msg.bot{
    background: #F4F6F9;
    color: var(--ink);
    border-bottom-left-radius: 4px;
}
.hv-ai-list{ display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hv-ai-list span{
    height: 8px; border-radius: 4px;
    background: rgba(0,0,0,0.08);
}
.hv-ai-list span:nth-child(1){ width: 80%; }
.hv-ai-list span:nth-child(2){ width: 60%; }
.hv-ai-list span:nth-child(3){ width: 70%; }
.hv-ai-typing{
    display: inline-flex; gap: 4px;
    padding: 8px 12px;
    background: #F4F6F9;
    border-radius: 14px;
}
.hv-ai-typing span{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--srv-accent);
    animation: hvTyping 1.4s ease-in-out infinite;
}
.hv-ai-typing span:nth-child(2){ animation-delay: 0.2s; }
.hv-ai-typing span:nth-child(3){ animation-delay: 0.4s; }
.hv-ai-spark{
    position: absolute;
    font-size: 1.4rem;
    color: var(--srv-accent);
    pointer-events: none;
    animation: hvSparkle 4s ease-in-out infinite;
}
.hv-ai-spark.s1{ right: 30px; top: 10px; animation-delay: 0s; font-size: 1.8rem; }
.hv-ai-spark.s2{ right: 80px; top: 60px; animation-delay: 1s; color: var(--lime); }
.hv-ai-spark.s3{ right: 10px; bottom: 130px; animation-delay: 2s; font-size: 1.2rem; }
.hv-ai-time{
    position: absolute; right: -10px; bottom: 30px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.9s forwards, hvFloatSlow 7s ease-in-out 2s infinite;
}
.hv-ai-pill{
    position: absolute; left: -10px; bottom: 0;
    animation: hvSlideRight 0.6s var(--ease-out) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
}
.hero-visual-lieux{
    --srv-accent: #8E5572;
    display: block;
    width: min(100%, 540px);
    height: 480px;
    position: relative;
}
.hero-visual-lieux > *{ opacity: 0; }
.hv-save-the-date{
    position: absolute; left: 0; top: 30px;
    width: 250px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.2s forwards, hvFloatSlow 9s ease-in-out 1.4s infinite;
    transform: rotate(-3deg);
}
.hv-save-the-date .hv-card{
    padding: 24px 22px;
    background: #FFFDF7;
    border-color: #F4E6A1;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hv-std-eyebrow{
    display: block;
    font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--lime); font-weight: 700;
    margin-bottom: 10px;
}
.hv-std-names{
    display: block;
    font-family: var(--font-display); font-style: italic;
    font-size: 1.6rem; color: #8E5572; line-height: 1.1;
    margin-bottom: 8px;
}
.hv-std-date{ display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 4px; }
.hv-std-place{ display: block; font-size: 0.75rem; color: var(--ink-2); font-style: italic; }
.hv-std-floral{
    position: absolute;
    width: 60px; height: 60px;
    background: radial-gradient(circle at 30% 30%, #FFB2C2, transparent 65%);
    opacity: 0.4;
}
.hv-std-floral.l1{ top: -10px; left: -10px; }
.hv-std-floral.l2{ bottom: -10px; right: -10px; background: radial-gradient(circle at 70% 70%, #B8E0D2, transparent 65%); }
.hv-cal-bookings{
    position: absolute; right: -10px; top: 20px;
    width: 200px;
    animation: hvSlideLeft 0.8s var(--ease-out) 0.55s forwards, hvFloatAlt 8s ease-in-out 1.8s infinite;
}
.hv-cal-bookings .hv-card{ padding: 16px 18px; }
.hv-cal-bookings strong{ display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 10px; }
.hv-cal-grid{
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    margin-bottom: 10px;
}
.hv-cal-grid span{
    aspect-ratio: 1;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}
.hv-cal-grid span.b{
    background: #8E5572;
    box-shadow: 0 4px 10px rgba(142,85,114,0.25);
}
.hv-cal-legend{
    display: flex; align-items: center; gap: 6px;
    font-size: 0.7rem; color: var(--ink-2);
}
.hv-cal-legend .dot{ width: 8px; height: 8px; background: #8E5572; border-radius: 50%; }
.hv-venue-photos{
    position: absolute; left: 30px; bottom: 30px;
    display: flex; gap: 8px;
    animation: hvSlideUp 0.8s var(--ease-out) 0.75s forwards, hvFloatSlow 8s ease-in-out 1.6s infinite;
}
.hv-venue-photo{
    width: 80px; height: 100px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.hv-venue-photo.v1{ background: linear-gradient(135deg, #8E5572, #C97E8D); transform: rotate(-2deg); }
.hv-venue-photo.v2{ background: linear-gradient(135deg, #B8E0D2, #5FA38B); }
.hv-venue-photo.v3{ background: linear-gradient(135deg, #FFD8BE, var(--lime)); transform: rotate(3deg); }
.hv-lieux-pill{
    position: absolute; right: 0; bottom: 30px;
    animation: hvPopIn 0.6s var(--ease-spring) 1.1s forwards, hvFloatAlt 7s ease-in-out 2.1s infinite;
}
.hero-visual-ville{
    --ville-accent: var(--vert-texte);
    display: block;
    width: min(100%, 540px);
    height: 480px;
    position: relative;
}
.hero-visual-ville > *{ opacity: 0; }
.hero-visual-ville .hv-card{ color: var(--ville-accent); }
.hv-map-wrap{
    position: absolute; left: 0; right: 0; top: 20px;
    height: 360px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.18);
    background: var(--fond);
    animation: hvSlideUp 0.9s var(--ease-out) 0.15s forwards, hvFloatSlow 11s ease-in-out 1.5s infinite;
    transform-style: preserve-3d;
}
.hv-map{
    position: relative;
    width: 100%; height: 100%;
}
.hv-map-svg{
    display: block;
    width: 100%; height: 100%;
}
.hv-map-river{ animation: hvRiverFlow 14s linear infinite; stroke-dasharray: 600; stroke-dashoffset: 0; }
.hv-map-pin-soft{ animation: hvPinSoft 4s ease-in-out infinite; }
.hv-map-pin-soft:nth-child(even){ animation-delay: 1.5s; }
.hv-map-marker{
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    pointer-events: none;
}
.hv-map-marker-pulse{
    position: absolute; left: 50%; top: 50%;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--ville-accent) 60%, transparent);
    transform: translate(-50%, -50%);
    animation: hvMapPulse 2.4s ease-out infinite;
}
.hv-map-marker-pulse.delay{ animation-delay: 1.2s; }
.hv-map-marker-pin{
    position: absolute; left: 50%; top: 50%;
    width: 36px; height: 36px;
    background: var(--ville-accent);
    color: var(--fond);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--ville-accent) 50%, transparent), 0 0 0 4px var(--fond);
    transform: translate(-50%, -50%);
    animation: hvMapBounce 2.4s ease-in-out infinite;
    z-index: 2;
}
.hv-map-marker-label{
    position: absolute; left: 50%; top: 100%;
    transform: translate(-50%, 12px);
    padding: 6px 14px;
    background: var(--fond);
    border-radius: 999px;
    font-size: 0.82rem; font-weight: 700;
    color: var(--ville-accent);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    white-space: nowrap;
    z-index: 3;
}
.hv-map-marker-label::before{
    content: ''; position: absolute; left: 50%; top: -6px;
    transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: var(--fond);
    border-radius: 2px;
}
.hv-map-radar{
    position: absolute; left: 50%; top: 50%;
    border: 1px dashed color-mix(in srgb, var(--ville-accent) 40%, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hv-map-radar.r1{ width: 180px; height: 180px; animation: hvRadarRotate 22s linear infinite; }
.hv-map-radar.r2{ width: 280px; height: 280px; animation: hvRadarRotate 30s linear infinite reverse; opacity: 0.6; }
.hv-map-review{
    position: absolute; left: -10px; bottom: 30px;
    width: 230px;
    animation: hvSlideRight 0.8s var(--ease-out) 0.7s forwards, hvFloatAlt 9s ease-in-out 2s infinite;
}
.hv-map-review .hv-card{ padding: 12px 16px; }
.hv-map-review .hv-review-stars{ display: block; color: #F4B400; font-size: 0.92rem; margin-bottom: 4px; }
.hv-map-review strong{ display: block; font-size: 0.85rem; color: var(--ink); }
.hv-map-review-sub{ font-size: 0.7rem; color: var(--ink-2); }
.hv-map-distance{
    position: absolute; right: -10px; bottom: 60px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.95s forwards, hvFloatSlow 7s ease-in-out 1.9s infinite;
}
.hv-map-distance .hv-stat-num{ color: var(--ville-accent); }
.hv-map-pill{
    position: absolute; right: 0; top: -10px;
    animation: hvSlideLeft 0.6s var(--ease-out) 1.05s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
}
.hv-map-pill .hv-pill{
    background: var(--ville-accent);
    color: var(--fond);
    border-color: transparent;
}
.hv-map-pill .hv-pill-dot{ background: var(--fond); }
.hv-map-wrap:hover .hv-map-marker-pin{ transform: translate(-50%, -50%) translateY(-10px) scale(1.05); transition: transform 0.4s var(--ease-spring); }
.hv-map-wrap:hover .hv-map-marker-label{ transform: translate(-50%, 18px) scale(1.05); transition: transform 0.4s var(--ease-spring); }
@media (max-width: 900px){
.hero-visual-srv, .hero-visual-lieux, .hero-visual-ville{
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
}
@media (max-width: 768px){
.hero-visual-srv, .hero-visual-lieux, .hero-visual-ville{
        transform: scale(0.78);
        transform-origin: top center;
        height: 420px;
    }
.hv-perf-badge, .hv-tech-pill, .hv-site-mobile,
    .hv-gbp-map, .hv-gbp-stat,
    .hv-burst, .hv-dm, .hv-social-pill,
    .hv-filmstrip, .hv-play, .hv-clap-pill,
    .hv-target-cone, .hv-ads-roi, .hv-geo-pill,
    .hv-rank-arrow, .hv-keyword-pill,
    .hv-brand-card, .hv-brand-pill,
    .hv-quote, .hv-press-pill,
    .hv-abribus, .hv-skyline, .hv-trafic, .hv-ooh-pill,
    .hv-countdown, .hv-capacity, .hv-event-pill,
    .hv-terminal, .hv-uptime, .hv-it-pill,
    .hv-notepad, .hv-conseil-pill,
    .hv-ai-spark, .hv-ai-time, .hv-ai-pill,
    .hv-cal-bookings, .hv-venue-photos, .hv-lieux-pill,
    .hv-map-review, .hv-map-distance, .hv-map-pill{
        transform: scale(0.95);
    }
}
@media (prefers-reduced-motion: reduce){
.hero-visual-srv *, .hero-visual-lieux *, .hero-visual-ville *{
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
.hero-visual-villemap{
    --ville-accent: var(--vert-texte);
    display: block;
    width: min(100%, 540px);
    height: 480px;
    position: relative;
}
.hero-visual-villemap > *{ opacity: 0; }
.hero-visual-villemap .hv-card{ color: var(--ville-accent); }
.hv-leaflet-card{
    position: absolute; inset: 20px 0 80px 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.04);
    background: #E4E7EB;
    animation: hvSlideUp 0.9s var(--ease-out) 0.15s forwards, hvFloatSlow 12s ease-in-out 1.5s infinite;
    transform-style: preserve-3d;
}
.hv-leaflet-map{
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #E4E7EB, #C9D2DA);
    position: relative;
    z-index: 1;
}
.hv-leaflet-overlay{
    position: absolute; left: 16px; top: 16px;
    z-index: 400;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: flex; flex-direction: column; gap: 2px;
    pointer-events: none;
}
.hv-leaflet-name{
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ville-accent);
    line-height: 1.1;
}
.hv-leaflet-region{
    font-size: 0.7rem;
    color: var(--ink-2);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hv-leaflet-compass{
    position: absolute; right: 14px; top: 14px;
    z-index: 400;
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    color: var(--ville-accent);
    font-weight: 800;
    font-size: 0.72rem;
    pointer-events: none;
}
.hv-leaflet-compass::before{
    content: '';
    position: absolute; left: 50%; top: 4px;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid var(--ville-accent);
    transform: translateX(-50%);
}
.hv-leaflet-pin-wrap{
    background: transparent !important;
    border: none !important;
    pointer-events: none;
    position: relative;
}
.hv-leaflet-pin-wrap .hv-pin-pulse{
    position: absolute;
    left: 70px; bottom: 10px;
    transform: translate(-50%, 0);
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--pin-color, var(--vert-texte));
    opacity: 0.5;
    animation: hvPinPulse 2.2s ease-out infinite;
}
.hv-leaflet-pin-wrap .hv-pin-pulse--delay{ animation-delay: 1.1s; }
.hv-leaflet-pin-wrap .hv-pin-body{
    position: absolute;
    left: 70px; bottom: 10px;
    transform: translate(-50%, 0);
    width: 34px; height: 34px;
    background: var(--pin-color, var(--vert-texte));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--pin-color, var(--vert-texte)) 50%, transparent),
                0 0 0 4px var(--fond);
    animation: hvPinBounce 2.2s ease-in-out infinite;
}
.hv-leaflet-pin-wrap .hv-pin-label{
    position: absolute;
    left: 70px; bottom: -16px;
    transform: translateX(-50%);
    padding: 5px 12px;
    background: var(--fond);
    border-radius: 999px;
    color: var(--pin-color, var(--vert-texte));
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.hv-leaflet-pin-wrap .hv-pin-label::before{
    content: '';
    position: absolute; left: 50%; top: -5px;
    width: 8px; height: 8px;
    background: var(--fond);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
}
.hv-leaflet-map .leaflet-tile-pane{
    filter: saturate(0.92) contrast(0.97);
}
.hv-leaflet-map .leaflet-control-attribution{
    background: rgba(255,255,255,0.85) !important;
    font-size: 9px !important;
    color: var(--ink-2) !important;
    padding: 0 6px !important;
    border-radius: 6px 0 0 0;
}
.hv-leaflet-map .leaflet-control-attribution a{
    color: var(--ville-accent) !important;
}
.hv-villemap-review{
    position: absolute; left: -10px; bottom: 30px;
    width: 240px;
    animation: hvSlideRight 0.8s var(--ease-out) 0.7s forwards, hvFloatAlt 9s ease-in-out 2s infinite;
    z-index: 5;
}
.hv-villemap-review .hv-card{ padding: 12px 16px; }
.hv-villemap-review .hv-review-stars{ display: block; color: #F4B400; font-size: 0.92rem; margin-bottom: 4px; }
.hv-villemap-review strong{ display: block; font-size: 0.85rem; color: var(--ink); }
.hv-villemap-review-sub{ font-size: 0.7rem; color: var(--ink-2); }
.hv-villemap-coords{
    position: absolute; right: -10px; bottom: 60px;
    animation: hvPopIn 0.6s var(--ease-spring) 0.95s forwards, hvFloatSlow 8s ease-in-out 1.9s infinite;
    z-index: 5;
}
.hv-villemap-coords-card{
    padding: 12px 16px;
    display: flex; flex-direction: column; gap: 2px;
}
.hv-villemap-coord-label{
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ville-accent);
    font-weight: 700;
}
.hv-villemap-coord-value{
    font-size: 0.82rem;
    font-family: monospace;
    color: var(--ink);
    font-weight: 600;
}
.hv-villemap-pill{
    position: absolute; right: 0; top: -10px;
    animation: hvSlideLeft 0.6s var(--ease-out) 1.05s forwards, hvFloatAlt 7s ease-in-out 2.2s infinite;
    z-index: 5;
}
.hv-villemap-pill .hv-pill{
    background: var(--ville-accent);
    color: var(--fond);
    border-color: transparent;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--ville-accent) 40%, transparent);
}
.hv-villemap-pill .hv-pill-dot{ background: var(--fond); }
@media (max-width: 900px){
.hero-visual-villemap{ width: 100%; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 768px){
.hero-visual-villemap{ transform: scale(0.85); transform-origin: top center; height: 440px; }
.hv-villemap-review, .hv-villemap-coords, .hv-villemap-pill{ transform: scale(0.95); }
}
@media (prefers-reduced-motion: reduce){
.hero-visual-villemap *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@keyframes hvSlideUp{
    from { opacity: 0; transform: translateY(40px) scale(0.92); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes hvSlideLeft{
    from { opacity: 0; transform: translateX(40px) scale(0.9); filter: blur(6px); }
    to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes hvSlideRight{
    from { opacity: 0; transform: translateX(-40px) scale(0.9); filter: blur(6px); }
    to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes hvPopIn{
    from { opacity: 0; transform: scale(0.6); filter: blur(8px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes hvTiltIn{
    from { opacity: 0; transform: rotateY(20deg) rotateX(10deg) translateZ(-60px) scale(0.85); }
    to { opacity: 1; transform: rotateY(-3deg) rotateX(2deg) translateZ(0) scale(1); }
}
@keyframes hvFloatSlow{
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}
@keyframes hvFloatAlt{
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-0.4deg); }
}
@keyframes hvNotifSlide{
    from { opacity: 0; transform: translateX(80px) scale(0.8); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes hvBlink{
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes storyBlink{
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}
@keyframes badgeDotPulse{
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
    }
}
@keyframes hvHeartbeat{
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.18); }
}
@keyframes hvHeartFloat{
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    20% { transform: translateY(-10px) scale(1); opacity: 1; }
    80% { transform: translateY(-40px) scale(1); opacity: 0.8; }
    100% { transform: translateY(-60px) scale(0.8); opacity: 0; }
}
@keyframes hvBlink{ 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes hvBarGrow{ from { height: 0; opacity: 0; } to { height: var(--h, 50%); opacity: 1; } }
@keyframes hvRadarPulse{
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.6); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}
@keyframes hvShine{ 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
@keyframes hvCapacityFill{ from { width: 0 !important; } }
@keyframes hvTyping{
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}
@keyframes hvSparkle{
    0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}
@keyframes hvRiverFlow{ to { stroke-dashoffset: -600; } }
@keyframes hvPinSoft{ 0%, 100% { opacity: 0.35; r: 4; } 50% { opacity: 0.7; r: 5; } }
@keyframes hvMapPulse{
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}
@keyframes hvMapBounce{
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-6px); }
}
@keyframes hvRadarRotate{ to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hvPinPulse{
    0% { transform: translate(-50%, 0) scale(0.3); opacity: 0.75; }
    100% { transform: translate(-50%, 0) scale(1.6); opacity: 0; }
}
@keyframes hvPinBounce{
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, -6px); }
}

/* Six cartes (services des pages villes) : 3 + 3, puis 2 + 2 + 2, puis une
   colonne, au lieu de 5 + 1 avec une carte orpheline vers 1280 px. */
.methode:has(> :nth-child(6):last-child){grid-template-columns:repeat(auto-fit,minmax(min(20rem,100%),1fr))}

/* ==========================================================================
   STUDIO — allègement du 2026-10-24
   Les pages étaient jugées trop chargées : on ne savait plus quoi lire.
     · des titres plus mesurés (h1 jusqu'à 58 px au lieu de 84) ;
     · des en-têtes de section qui se lisent de haut en bas, plus en zigzag ;
     · des apparitions au défilement plus discrètes ;
     · des blocs légers à la place des grilles de cartes : le repli, la ligne
       d'interlocuteur, les étapes en fil, les engagements en ligne, les
       liens en pilules et les deux pôles du studio sur l'accueil.
   Assemblée en dernier dans /boucle.css : elle a le dernier mot sans
   !important. /maquettes.css, chargée après, garde la main sur ses composants.
   ========================================================================== */

/* — Titres : la hiérarchie sans le volume — */
h1{font-size:clamp(2.125rem,4.1vw,3.625rem);line-height:1.04;letter-spacing:-.04em;margin-bottom:22px;max-width:18ch}
.hero-page h1{font-size:clamp(1.875rem,3.4vw,3rem);max-width:21ch}
.hero-page .lede + .actions{margin-top:28px}
h2{font-size:clamp(1.625rem,2.7vw,2.375rem);line-height:1.08;letter-spacing:-.036em;max-width:26ch}

/* — En-têtes de section : le titre, puis le chapeau dessous, lus d'un trait — */
.sec-tete{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;margin-bottom:clamp(24px,3vw,34px)}
.sec-tete .lede{max-width:62ch}

/* — Apparitions au défilement : présentes sans se faire remarquer — */
.reveal{transform:translateY(14px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal-left{transform:translateX(-14px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal-right{transform:translateX(14px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal-scale{transform:scale(.985);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.stagger-children > *{transform:translateY(10px);transition:opacity .5s var(--ease),transform .5s var(--ease)}

/* — Repli : le détail reste dans la page (et pour les moteurs), sans
     s'imposer à la lecture. Un « + » qui tourne en « × » à l'ouverture. — */
.repli{margin-top:18px;max-width:62ch}
.repli > summary{
  display:inline-flex;align-items:center;gap:10px;cursor:pointer;list-style:none;
  font-weight:700;font-size:0.9375rem;line-height:1.4;color:var(--vert-texte);padding:4px 0;
}
.repli > summary::-webkit-details-marker{display:none}
.repli > summary::before{
  content:"+";flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;
  background:var(--sub);color:var(--vert-texte);font-size:1.0625rem;font-weight:700;line-height:1;
  transition:transform .35s var(--ease),background-color .35s var(--ease),color .35s var(--ease);
}
.repli > summary:hover::before{background:var(--lime);color:var(--sur-lime)}
.repli[open] > summary::before{transform:rotate(45deg)}
.repli > div{padding:10px 0 4px 34px;font-size:0.9375rem;line-height:1.65;color:var(--ink-2)}
.repli > div > p{margin:0}
.repli > div > p + p{margin-top:10px}
.repli h4{margin:18px 0 8px;font-size:0.9375rem;font-weight:800;color:var(--ink)}
.repli > div > h4:first-child{margin-top:6px}
.repli[open] > div{animation:repli-ouvre .45s var(--ease)}
@keyframes repli-ouvre{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* Un repli pleine largeur, pour un tableau */
.repli--large{max-width:none}
.repli--large > div{padding-left:0}

/* — L'interlocuteur, sous les boutons du héros : une ligne au lieu d'un bloc — */
.interlocuteur{display:flex;align-items:center;gap:12px;margin:22px 0 0;font-size:0.875rem;line-height:1.45;color:var(--ink-2)}
.interlocuteur img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;
  box-shadow:0 0 0 2px var(--fond),0 0 0 4px var(--lime)}
.interlocuteur b{color:var(--ink);font-weight:700}
.interlocuteur a{color:var(--ink);font-weight:700;border-bottom:1.5px solid var(--lime)}
.interlocuteur a:hover{border-color:var(--vert-texte)}

/* — Étapes en fil : des numéros reliés par un trait, sans cartes — */
.fil-etapes{list-style:none;margin:0;padding:0;counter-reset:fil;display:grid;gap:0}
.fil-etapes > li{counter-increment:fil;position:relative;padding:0 0 22px 46px;min-width:0}
.fil-etapes > li::before{
  content:counter(fil);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;background:var(--vert-surface);color:var(--lime);font-weight:800;font-size:0.8125rem;
}
.fil-etapes > li::after{content:"";position:absolute;left:14px;top:36px;bottom:6px;width:2px;border-radius:2px;background:var(--line)}
.fil-etapes > li:last-child{padding-bottom:0}
.fil-etapes > li:last-child::after{content:none}
.fil-etapes .quand{display:block;font-size:0.8125rem;font-weight:700;color:var(--vert-texte)}
.fil-etapes b{display:block;margin-top:3px;font-size:1.0312rem;font-weight:800;letter-spacing:-.02em;line-height:1.3;color:var(--ink)}
.fil-etapes p{margin:4px 0 0;font-size:0.9062rem;line-height:1.55;color:var(--ink-2);max-width:46ch}
/* En ligne sur grand écran : le trait relie les numéros de gauche à droite */
@media (min-width:900px){
  .fil-etapes--ligne{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
  .fil-etapes--ligne > li{padding:48px 0 0}
  .fil-etapes--ligne > li::after{left:42px;right:-16px;top:14px;bottom:auto;width:auto;height:2px}
}

/* — Engagements : une ligne sobre au lieu de quatre pavés sombres.
     « .sec .in > ul » met les listes de section en texte courant : on reprend la main. — */
.engagements,.sec .in > ul.engagements,.sec .in > div > ul.engagements{
  list-style:none;margin:clamp(30px,4vw,44px) 0 0;padding:24px 0 0;border-top:1.5px solid var(--line);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(13.5rem,100%),1fr));gap:18px 28px;max-width:none;
}
.engagements > li,.sec .in > ul.engagements > li,.sec .in > div > ul.engagements > li{
  display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:0;
  font-size:0.875rem;line-height:1.5;color:var(--ink-2);
}
.sec .in > ul.engagements > li::before,.sec .in > div > ul.engagements > li::before{content:none}
.engagements > li > span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:var(--sur-lime)}
.engagements > li > span svg{width:15px;height:15px}
.engagements b{display:block;color:var(--ink);font-size:0.9375rem;font-weight:800;letter-spacing:-.01em;line-height:1.35}
.engagements a{color:var(--ink);font-weight:700;border-bottom:1.5px solid var(--lime)}
.engagements a:hover{border-color:var(--vert-texte)}

/* — Liens en pilules : une rangée de chemins, au lieu d'une grille de cartes — */
.liens-pilules{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.sec .in > ul.liens-pilules,.sec .in > div > ul.liens-pilules{margin:0;flex-direction:row;gap:6px;max-width:none}
.sec .in > ul.liens-pilules > li,.sec .in > div > ul.liens-pilules > li{padding:0}
.sec .in > ul.liens-pilules > li::before,.sec .in > div > ul.liens-pilules > li::before{content:none}
.liens-pilules a{
  display:inline-block;padding:7px 14px;border-radius:999px;background:var(--fond);
  font-size:0.8125rem;font-weight:700;line-height:1.4;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line);
  transition:background .3s var(--ease),color .3s var(--ease),box-shadow .3s var(--ease);
}
.liens-pilules a:hover{background:var(--vert-surface);color:var(--white);box-shadow:none}
.pilules-titre{margin:0 0 10px;font-size:0.875rem;font-weight:700;color:var(--ink-2)}

/* — Les deux pôles du studio (accueil) : création d'un côté, outils de l'autre — */
.poles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pole{display:flex;flex-direction:column;min-width:0;background:var(--sub);border-radius:var(--boucle);overflow:hidden}
.pole-visuel{margin:0;aspect-ratio:16/10;overflow:hidden;background:var(--sub-2)}
.pole-visuel img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.pole:hover .pole-visuel img{transform:scale(1.025)}
.pole-corps{flex:1;display:flex;flex-direction:column;gap:12px;padding:clamp(24px,3vw,38px) clamp(22px,3vw,38px) clamp(28px,3.4vw,42px)}
.pole-n{margin:0;font-size:0.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--vert-texte)}
.pole h3{margin:0;font-size:clamp(1.375rem,2.2vw,1.75rem);font-weight:800;letter-spacing:-.035em;line-height:1.12;text-wrap:balance}
.pole-corps > p{margin:0;font-size:1rem;line-height:1.6;color:var(--ink-2);max-width:50ch}
.pole .liens-pilules{margin-top:4px}
.pole-voir{margin:auto 0 0;padding-top:8px;font-size:0.875rem;line-height:1.6;color:var(--ink-2)}
.pole-voir a{color:var(--ink);font-weight:700;border-bottom:1.5px solid var(--lime)}
.pole-voir a:hover{border-color:var(--vert-texte)}
.pole--sombre{background:var(--vert-surface);color:var(--white)}
.pole--sombre .pole-visuel{background:var(--vert-surface-2)}
.pole--sombre .pole-n{color:var(--lime)}
.pole--sombre h3{color:var(--white)}
.pole--sombre .pole-corps > p,.pole--sombre .pole-voir{color:rgba(255,255,255,.8)}
.pole--sombre .pole-voir a{color:var(--white)}
.pole--sombre .pole-voir a:hover{border-color:var(--white)}
.pole--sombre .liens-pilules a{background:rgba(255,255,255,.08);color:var(--white);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.18)}
.pole--sombre .liens-pilules a:hover{background:var(--lime);color:var(--sur-lime);box-shadow:none}
.poles-suite{margin:22px 0 0;display:flex;justify-content:flex-start}
@media (max-width:860px){.poles{grid-template-columns:minmax(0,1fr)}}

/* ==========================================================================
   UN SEUL TITRE — 2026-11-12
   Plus de surtitre en petites capitales au-dessus des titres : les repères
   qui restent (étapes, intitulés de liste) sont en casse normale, voir aussi
   /maquettes.css. Le détail des exemples se replie sous leur paragraphe.
   ========================================================================== */
.realisation-texte .repli{margin-top:14px}
.realisation-texte .repli + .lien-suite,.realisation-texte .repli + .actions{margin-top:16px}
.facon .repli{margin-top:14px;max-width:none}
.facon .repli > div{padding-left:0}
.cadre .repli{margin-top:12px}
/* Le repli dans la carte sombre « Je m'occupe de tout » */
.facon--pleine .repli > summary{color:var(--white)}
.facon--pleine .repli > summary::before{background:rgba(255,255,255,.12);color:var(--lime)}
.facon--pleine .repli > div{color:rgba(255,255,255,.8)}
