/* ============================================================================
   SOUS-PAGES — feuille de style unique, trois habillages
   ----------------------------------------------------------------------------
   Toutes les pages secondaires d'un aperçu (pages/, produits/, simulateurs/)
   partagent CE vocabulaire de composants. L'habillage suit la direction
   d'origine du visiteur, portée par l'attribut html[data-dir] :

     data-dir="premium"     L'Élégante    : ampleur, dégradés doux, or/accent
     data-dir="local"       La Chaleureuse: rondeurs, proximité, téléphone
     data-dir="conversion"  L'Efficace    : arêtes nettes, CTA francs, rythme

   Les COULEURS viennent toujours de assets/brand-premium.css (variables --c-*),
   seul fichier réécrit par apply-brand pour les sous-pages : un client, une
   palette, trois interprétations. Les rôles reproduisent exactement le mappage
   que apply-brand applique aux trois CSS de variation (cf. cssJobs) :
     premium   : primary=marque, accent=accent, cream/paper=fonds
     local     : green=marque, terra=accent, sage/cream=fonds
     conversion: lime=accent foncé (AA), bg=paper, surface-2=cream

   Les POLICES sont celles de la variation correspondante, toutes vendorisées
   dans assets/fonts/ (aucun CDN).
   ============================================================================ */

/* Les jetons des sept directions vivent dans assets/directions.css, qui doit
   être chargé AVANT cette feuille. */

/* ---------------------------------------------------------------------------
   2. Socle
   --------------------------------------------------------------------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sp-font-body);
  font-size: var(--sp-body-size);
  line-height: var(--sp-body-lh);
  color: var(--sp-ink);
  background: var(--sp-page);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.display,
h1, h2, h3, h4 {
  font-family: var(--sp-font-display);
  font-weight: var(--sp-w-display);
  letter-spacing: var(--sp-track-display);
  line-height: 1.14;
  color: var(--sp-brand);
}

.wrap { max-width: var(--sp-wrap); margin: 0 auto; padding: 0 24px; width: 100%; }
.wrap-narrow { max-width: 820px; }

section { padding: clamp(44px, 7vw, 84px) 0; }
section.tight { padding: clamp(30px, 4.5vw, 54px) 0; }

.sp-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--sp-brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.sp-skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--sp-accent-ink); outline-offset: 2px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------------------------------------
   3. Boutons
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14.5px;
  border-radius: var(--sp-r-btn); padding: 11px 22px; border: 0; cursor: pointer;
  white-space: nowrap; text-align: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--sp-accent); color: var(--sp-on-accent); }
.btn-gold:hover { background: var(--sp-accent-ink); color: #fff; }
.btn-navy { background: var(--sp-brand); color: #fff; }
.btn-navy:hover { background: var(--sp-brand-deep); }
.btn-ghost { color: var(--sp-brand); border: 1px solid var(--sp-line-strong); background: transparent; }
.btn-ghost:hover { background: var(--sp-soft); border-color: var(--sp-accent); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }

html[data-dir='conversion'] .btn { font-weight: 700; letter-spacing: 0.01em; }
html[data-dir='conversion'] .btn-gold { box-shadow: 0 10px 24px -14px rgb(var(--c-accent-rgb) / 0.8); }
html[data-dir='local'] .btn { font-weight: 800; }

/* ---------------------------------------------------------------------------
   4. En-tête et pied de page
   --------------------------------------------------------------------------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--c-paper-rgb) / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sp-line);
}
html[data-dir='conversion'] header.site { background: rgb(255 255 255 / 0.92); }
header.site .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mono {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: var(--sp-brand); color: var(--sp-accent);
  font-family: var(--sp-font-display); font-weight: 800; font-size: 19px;
  display: inline-flex; align-items: center; justify-content: center;
}
html[data-dir='local'] .brand-mono { border-radius: 14px; }
html[data-dir='conversion'] .brand-mono { border-radius: 11px; background: linear-gradient(135deg, var(--sp-ink), var(--sp-accent)); color: #fff; }
.brand img.brand-logo { height: 38px; width: auto; max-width: 190px; object-fit: contain; }
.brandmark {
  font-family: var(--sp-font-display); font-weight: 800; font-size: 22px;
  color: var(--sp-brand); letter-spacing: 0.01em; white-space: nowrap;
}
.brandmark span { font-weight: 500; color: rgb(var(--sp-brand-rgb) / 0.55); }
.site-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 640px) { .site-actions .btn-ghost { display: none; } }
@media (max-width: 700px) {
  .brandmark { font-size: 17px; }
  .brand-mono { width: 33px; height: 33px; font-size: 16px; }
  .brand img.brand-logo { height: 32px; }
  header.site .btn { padding: 10px 16px; font-size: 13px; }
}

footer.site { background: var(--sp-brand-deep); color: rgb(255 255 255 / 0.75); padding: 44px 0 32px; }
footer.site .wrap { display: grid; gap: 18px; }
footer.site .brandline { display: flex; align-items: center; gap: 11px; }
footer.site .brand-mono { background: rgb(255 255 255 / 0.08); color: var(--sp-accent); }
footer.site .brandmark { color: #fff; }
footer.site .brandmark span { color: rgb(255 255 255 / 0.55); }
footer.site p.legal { font-size: 12.5px; color: rgb(255 255 255 / 0.5); max-width: 90ch; line-height: 1.6; }
footer.site .foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; }
footer.site .foot-links a { color: rgb(255 255 255 / 0.68); }
footer.site .foot-links a:hover { color: var(--sp-accent); }

/* ---------------------------------------------------------------------------
   5. Fil d'Ariane, hero, chapeau de section
   --------------------------------------------------------------------------- */

.crumbs {
  padding: 18px 0 0; font-size: 13.5px; color: var(--sp-faint);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--sp-accent-ink); }
.crumbs i { font-size: 12px; }
.crumbs b { color: var(--sp-brand); font-weight: 700; }

.hero { position: relative; overflow: clip; background: var(--sp-soft); border-bottom: 1px solid var(--sp-line); }
html[data-dir='conversion'] .hero { background: var(--sp-surface); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.4; pointer-events: none; }
html[data-dir='conversion'] .blob { display: none; }
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-top: clamp(30px, 5vw, 58px); padding-bottom: clamp(36px, 5vw, 64px);
}
.hero.hero-solo .wrap { grid-template-columns: 1fr; max-width: 900px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08;
  color: var(--sp-brand); margin: 12px 0 16px;
}
.hero .intro { font-size: clamp(1.02rem, 1.6vw, 1.13rem); color: var(--sp-muted); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.kick {
  font-size: 12.5px; font-weight: 800; letter-spacing: var(--sp-track-kick);
  text-transform: var(--sp-case-kick); color: var(--sp-accent-ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.kick i { font-size: 17px; }
html[data-dir='conversion'] .kick { border-left: 3px solid var(--sp-accent); padding-left: 10px; }

.bref { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.bref span {
  display: inline-flex; align-items: center; gap: 7px; background: var(--sp-surface);
  border: 1px solid var(--sp-line); border-radius: var(--sp-r-pill);
  padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--sp-brand);
}
.bref i { color: var(--sp-accent-ink); font-size: 15px; }

/* Navigation des sous-pages du SITE FINAL (28/08). Sur l'apercu, l'en-tete
   porte « Retour a l'apercu » : on revient a la variation comparee. Sur un site
   public, la meme place doit porter une vraie navigation, sinon un visiteur
   arrive de Google sur une fiche produit ne peut aller nulle part. */
/* Mega-menus repris de l'accueil (28/08). Ces quatre regles vivent dans un
   <style> inline de la page d'accueil : sans elles, les panneaux ne sont plus
   masques au repos et les trois se superposent. Portees ici pour que l'en-tete
   se comporte a l'identique sur les sous-pages. */
.has-mega > .mega { opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .has-mega > .mega { transition: none; } }

/* Page courante dans le menu repris de l'accueil (28/08) : « avec le repere
   pour savoir ou on en est dans la page », demande de Cyril. */
header a.est-ici { color: var(--sp-accent-ink) !important; font-weight: 700; }
header .navlink.est-ici { box-shadow: inset 0 -2px 0 var(--sp-accent); }

.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); }
.site-nav a {
  font-size: 14px; font-weight: 600; color: var(--sp-brand);
  text-decoration: none; white-space: nowrap; padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--sp-accent-ink); border-bottom-color: var(--sp-accent); }
@media (max-width: 900px) { .site-nav a:nth-child(n+4) { display: none; } }
@media (max-width: 640px) { .site-nav a:nth-child(n+3) { display: none; } }

.hero-media { position: relative; }
.hero-media .ph-frame {
  border-radius: var(--sp-r-lg); overflow: hidden; box-shadow: 0 24px 60px -28px rgb(var(--c-primary-deep-rgb) / 0.45);
  border: 1px solid var(--sp-line); aspect-ratio: 4/3; background: var(--sp-brand);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Visuel de tete quand aucune photo n'est declaree.
   REMPLACE l'ancien .icon-tile (aplat sombre + pictogramme de 96 px centre),
   retour de Ludivine Roux le 27/08 : « un truc noir avec un icone rose au
   milieu », « c'est degueulasse ». Le contraste violent et le picto centre
   faisaient lire un emplacement vide plutot qu'un parti pris.
   Ici : les neutres clairs de la marque, une forme organique teintee a
   l'accent, un lisere d'accent, et le sujet de la page nomme sur une
   pastille. Aucun pictogramme geant. Ne depend d'aucun fichier image, donc
   valable pour tout client. */
.hero-media .brand-tile {
  aspect-ratio: 4/3; border-radius: var(--sp-r-lg); position: relative; overflow: hidden;
  background:
    radial-gradient(125% 95% at 15% 5%, #fff 0%, var(--sp-soft) 55%, rgb(var(--c-primary-rgb) / 0.07) 100%);
  border: 1px solid var(--sp-line);
  border-left: 5px solid var(--sp-accent);
  display: flex; align-items: flex-end; padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 24px 60px -28px rgb(var(--c-primary-deep-rgb) / 0.28);
}
.hero-media .brand-tile::before {
  content: ""; position: absolute; right: -12%; bottom: -26%;
  width: 64%; height: 104%;
  border-radius: 52% 48% 43% 57% / 48% 40% 60% 52%;
  background: linear-gradient(140deg, rgb(var(--c-accent-rgb) / 0.20), rgb(var(--c-primary-rgb) / 0.10));
}
.hero-media .brand-tile::after {
  content: ""; position: absolute; left: 8%; top: 10%;
  width: 34%; height: 46%; border-radius: 50% 50% 46% 54% / 54% 46% 50% 50%;
  background: rgb(var(--c-accent-rgb) / 0.09);
}
.hero-media .brand-tile .bt-lab {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 999px; padding: 10px 16px;
  font-size: 13px; font-weight: 700; color: var(--sp-brand);
  box-shadow: 0 8px 22px -10px rgb(var(--c-primary-deep-rgb) / 0.45);
}
.hero-media .brand-tile .bt-lab i { font-size: 17px; color: var(--sp-accent-ink); }
@media (prefers-reduced-motion: reduce) { .hero-media .brand-tile { transition: none; } }
.hero-media .tag {
  position: absolute; left: 18px; bottom: 18px; background: rgb(var(--c-paper-rgb) / 0.94);
  backdrop-filter: blur(6px); border-radius: var(--sp-r-sm); padding: 10px 16px;
  font-size: 13px; font-weight: 700; color: var(--sp-brand);
  display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--sp-shadow-soft);
}
.hero-media .tag i { color: var(--sp-accent-ink); font-size: 16px; }

.sec-head { max-width: 660px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.15; color: var(--sp-brand); margin-top: 10px; }
.sec-head p { color: var(--sp-muted); margin-top: 10px; }
.sec-soft { background: var(--sp-soft); border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); }
.sec-dark { background: var(--sp-brand-deep); }
.sec-dark h2, .sec-dark h3, .sec-dark .kick { color: #fff; }
.sec-dark p { color: rgb(255 255 255 / 0.78); }

/* ---------------------------------------------------------------------------
   6. Cartes, grilles, listes
   --------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.gar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .gar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gar-grid { grid-template-columns: 1fr; } }

.gar, .card {
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-card); padding: 22px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.gar:hover, a.card:hover { transform: translateY(var(--sp-lift)); border-color: var(--sp-accent); box-shadow: var(--sp-shadow-card); }
.gar i, .card > i { font-size: 28px; color: var(--sp-accent-ink); }
.gar h3, .card h3 { font-size: 1.05rem; color: var(--sp-brand); margin: 12px 0 6px; }
.gar p, .card p { font-size: 14.5px; color: var(--sp-muted); }
html[data-dir='conversion'] .gar, html[data-dir='conversion'] .card { border-left: 3px solid var(--sp-line); }
html[data-dir='conversion'] .gar:hover, html[data-dir='conversion'] a.card:hover { border-left-color: var(--sp-accent); }

.opts {
  margin-top: 30px; background: var(--sp-soft); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-card); padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
}
.opts b { font-family: var(--sp-font-display); color: var(--sp-brand); font-size: 15px; margin-right: 6px; display: inline-flex; align-items: center; gap: 8px; }
.opts b i { color: var(--sp-accent-ink); font-size: 18px; }
.opts span {
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-pill); padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--sp-ink);
}

/* Liste à puces cochées, très utilisée dans les contenus */
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--sp-muted); }
.ticks li i { color: var(--sp-accent-ink); font-size: 17px; margin-top: 3px; flex: none; }
.ticks li b { color: var(--sp-brand); font-weight: 700; }

/* Tuiles de chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-card); padding: 20px 18px;
}
.stat b { display: block; font-family: var(--sp-font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--sp-brand); line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--sp-faint); }

/* Étapes numérotées */
.steps { display: grid; gap: 14px; counter-reset: sp-step; }
.steps.cols { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps.cols { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-card); padding: 22px 22px 22px 68px;
}
.step::before {
  counter-increment: sp-step; content: counter(sp-step, decimal-leading-zero);
  position: absolute; left: 20px; top: 20px;
  width: 34px; height: 34px; border-radius: var(--sp-r-pill);
  background: var(--sp-brand); color: var(--sp-accent);
  font-family: var(--sp-font-display); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
html[data-dir='conversion'] .step::before { border-radius: var(--sp-r-sm); background: var(--sp-accent); color: #fff; }
.step h3 { font-size: 1.05rem; color: var(--sp-brand); }
.step p { font-size: 14.5px; color: var(--sp-muted); margin-top: 6px; }

/* Encadré d'information / avertissement */
.callout {
  background: var(--sp-soft); border: 1px solid var(--sp-line);
  border-left: 4px solid var(--sp-accent); border-radius: var(--sp-r-sm);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; color: var(--sp-muted);
}
.callout i { color: var(--sp-accent-ink); font-size: 22px; flex: none; margin-top: 1px; }
.callout b { color: var(--sp-brand); }
.callout.warn { border-left-color: var(--sp-brand); }

/* ---------------------------------------------------------------------------
   7. Formules, bandeau simulateur, FAQ, produits liés
   --------------------------------------------------------------------------- */

.sec-formules { background: var(--sp-soft); border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); }
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .for-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.for {
  background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg);
  padding: 28px 26px; display: flex; flex-direction: column; position: relative;
}
.for.vedette { border: 2px solid var(--sp-accent); box-shadow: var(--sp-shadow-lift); }
.for .pill {
  position: absolute; top: -13px; left: 24px; background: var(--sp-accent); color: var(--sp-on-accent);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--sp-r-pill); padding: 5px 13px;
}
.for h3 { font-size: 1.35rem; color: var(--sp-brand); }
.for .tag { font-size: 13.5px; color: var(--sp-faint); margin: 4px 0 16px; }
.for ul { display: grid; gap: 10px; margin-bottom: 22px; }
.for li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.for li i { color: var(--sp-accent-ink); font-size: 17px; margin-top: 2px; flex: none; }
.for .btn { margin-top: auto; }
.for-note { margin-top: 22px; font-size: 13px; color: var(--sp-faint); display: flex; gap: 8px; align-items: flex-start; max-width: 72ch; }
.for-note i { flex: none; font-size: 15px; margin-top: 2px; color: var(--sp-accent-ink); }

.sim-band {
  background: linear-gradient(120deg, var(--sp-brand), var(--sp-brand-deep));
  border-radius: 20px; padding: clamp(26px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: clip;
}
html[data-dir='conversion'] .sim-band { border-radius: var(--sp-r-lg); }
.sim-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgb(var(--c-accent-rgb) / 0.16); filter: blur(10px);
}
.sim-band .txt { max-width: 58ch; position: relative; }
.sim-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff; display: flex; align-items: center; gap: 12px; }
.sim-band h2 i { color: var(--sp-accent); font-size: 30px; }
.sim-band p { color: rgb(255 255 255 / 0.8); margin-top: 8px; font-size: 15px; }
.sim-band .btn { position: relative; }

.faq-list { max-width: 820px; }
.faq-list details {
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-sm); margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 22px; font-weight: 700; font-family: var(--sp-font-display);
  color: var(--sp-brand); font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; color: var(--sp-accent-ink); font-size: 18px; transition: transform 0.25s; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 22px 18px; color: var(--sp-muted); font-size: 15px; max-width: 68ch; }
.faq-list .faq-a p + p { margin-top: 10px; }

.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .rel-grid { grid-template-columns: 1fr; } }
.rel {
  display: flex; align-items: center; gap: 16px; background: var(--sp-surface);
  border: 1px solid var(--sp-line); border-radius: var(--sp-r-card); padding: 16px 18px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.rel:hover { transform: translateY(var(--sp-lift)); border-color: var(--sp-accent); box-shadow: var(--sp-shadow-card); }
.rel .thumb {
  width: 64px; height: 64px; flex: none; border-radius: var(--sp-r-sm); overflow: hidden;
  background: var(--sp-soft); display: flex; align-items: center; justify-content: center;
}
.rel .thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel .thumb i { font-size: 30px; color: var(--sp-accent-ink); }
.rel h3 { font-size: 1rem; color: var(--sp-brand); }
.rel p { font-size: 13px; color: var(--sp-faint); margin-top: 2px; }
.rel .go { margin-left: auto; color: var(--sp-accent-ink); font-size: 18px; flex: none; }

/* ---------------------------------------------------------------------------
   8. Formulaires
   --------------------------------------------------------------------------- */

.sec-devis { background: var(--sp-soft); border-top: 1px solid var(--sp-line); }
.devis-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .devis-grid { grid-template-columns: 1fr; } }
.devis-side h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--sp-brand); margin-top: 10px; }
.devis-side p { color: var(--sp-muted); margin-top: 12px; max-width: 46ch; }
.devis-side .contacts { margin-top: 24px; display: grid; gap: 12px; }
.devis-side .contacts a { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; color: var(--sp-brand); }
.devis-side .contacts a:hover { color: var(--sp-accent-ink); }
.devis-side .contacts i { font-size: 20px; color: var(--sp-accent-ink); }

form.devis {
  background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg);
  padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; box-shadow: var(--sp-shadow-lift);
}
form.devis .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form.devis .row { grid-template-columns: 1fr; } }
form.devis label { font-size: 13px; font-weight: 700; color: var(--sp-brand); display: grid; gap: 6px; }
form.devis input, form.devis textarea, form.devis select {
  font-family: inherit; font-size: 15px; color: var(--sp-ink); background: var(--sp-page);
  border: 1px solid var(--sp-line-strong); border-radius: var(--sp-r-input); padding: 12px 14px; width: 100%;
}
form.devis input:focus, form.devis textarea:focus, form.devis select:focus {
  outline: 2px solid var(--sp-accent); outline-offset: 1px; border-color: var(--sp-accent);
}
form.devis textarea { min-height: 96px; resize: vertical; }
form.devis .choices { display: flex; flex-wrap: wrap; gap: 8px; }
form.devis .choices label {
  border: 1px solid var(--sp-line-strong); border-radius: var(--sp-r-pill);
  padding: 8px 15px; font-size: 13.5px; font-weight: 600; color: var(--sp-ink);
  cursor: pointer; background: var(--sp-page); display: inline-flex; align-items: center; gap: 7px;
}
form.devis .choices input { width: auto; }
form.devis .choices label:has(input:checked) { border-color: var(--sp-accent); background: var(--sp-soft); color: var(--sp-brand); }

.form-demo-note {
  background: var(--sp-soft); border: 1px solid var(--sp-accent); color: var(--sp-brand);
  border-radius: var(--sp-r-input); padding: 12px 14px; font-size: 13.5px; font-weight: 600;
}
.rgpd { font-size: 12px; color: var(--sp-faint); }

/* ---------------------------------------------------------------------------
   9. Contenu long (articles, guides, pages éditoriales)
   --------------------------------------------------------------------------- */

.prose { max-width: 72ch; font-size: 16.5px; color: var(--sp-muted); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--sp-brand); margin-top: 42px; }
.prose h3 { font-size: 1.12rem; color: var(--sp-brand); margin-top: 30px; }
.prose p { line-height: 1.75; }
.prose strong, .prose b { color: var(--sp-brand); font-weight: 700; }
.prose ul, .prose ol { display: grid; gap: 9px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--sp-accent);
}
.prose ol { counter-reset: sp-ol; }
.prose ol li { position: relative; padding-left: 30px; counter-increment: sp-ol; }
.prose ol li::before {
  content: counter(sp-ol) '.'; position: absolute; left: 0; top: 0;
  font-family: var(--sp-font-display); font-weight: 800; color: var(--sp-accent-ink);
}
.prose a { color: var(--sp-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 4px solid var(--sp-accent); background: var(--sp-soft);
  padding: 16px 20px; border-radius: 0 var(--sp-r-sm) var(--sp-r-sm) 0; color: var(--sp-brand);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--sp-line); padding: 11px 13px; text-align: left; }
.prose th { background: var(--sp-soft); color: var(--sp-brand); font-family: var(--sp-font-display); font-weight: 700; }
.prose figure { margin: 0; }
.prose figcaption { font-size: 13px; color: var(--sp-faint); margin-top: 8px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.toc {
  background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-card);
  padding: 20px 22px; position: sticky; top: 92px;
}
.toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sp-faint); }
.toc ul { display: grid; gap: 8px; margin-top: 12px; }
.toc a { font-size: 14px; color: var(--sp-muted); display: block; padding-left: 12px; border-left: 2px solid var(--sp-line); }
.toc a:hover { color: var(--sp-accent-ink); border-left-color: var(--sp-accent); }

.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 940px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.meta-line { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--sp-faint); }
.meta-line i { color: var(--sp-accent-ink); }

/* Cartes d'article */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .art-grid { grid-template-columns: 1fr; } }
.art {
  display: flex; flex-direction: column; background: var(--sp-surface);
  border: 1px solid var(--sp-line); border-radius: var(--sp-r-card); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.art:hover { transform: translateY(var(--sp-lift)); border-color: var(--sp-accent); box-shadow: var(--sp-shadow-card); }
/* Vignette d'article. Meme correction que le visuel de tete (27/08) : le
   degrade sombre + pictogramme faisait treize rectangles noirs sur la seule
   page blog. Fond clair de la marque, et une vraie photo des qu'elle existe. */
.art .art-top { aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #fff 0%, var(--sp-soft) 60%, rgb(var(--c-accent-rgb) / 0.10) 100%);
  display: flex; align-items: center; justify-content: center; }
.art .art-top::after { content: ""; position: absolute; right: -10%; bottom: -34%;
  width: 52%; height: 100%; border-radius: 52% 48% 43% 57% / 48% 40% 60% 52%;
  background: rgb(var(--c-accent-rgb) / 0.13); }
.art .art-top i { font-size: 46px; color: var(--sp-accent-ink); position: relative; }
.art .art-top.has-img { background: none; }
.art .art-top.has-img::after { display: none; }
.art .art-top img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art .art-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.art .art-cat { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sp-accent-ink); }
.art h3 { font-size: 1.06rem; color: var(--sp-brand); line-height: 1.25; }
.art p { font-size: 14px; color: var(--sp-muted); }
.art .art-foot { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--sp-faint); display: flex; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------------------
   10. Composants de pages transverses
   --------------------------------------------------------------------------- */

/* Filtres / onglets */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button {
  font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  border: 1px solid var(--sp-line-strong); background: var(--sp-surface); color: var(--sp-ink);
  border-radius: var(--sp-r-pill); padding: 9px 16px; transition: all 0.2s;
}
.filters button:hover { border-color: var(--sp-accent); }
.filters button[aria-pressed='true'] { background: var(--sp-brand); border-color: var(--sp-brand); color: #fff; }

/* Horaires jour par jour (standard « retours terrain ») */
.hours { display: grid; gap: 2px; max-width: 420px; }
.hours li {
  display: flex; justify-content: space-between; gap: 18px; padding: 9px 0;
  border-bottom: 1px solid var(--sp-line); font-size: 14.5px;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--sp-brand); font-weight: 700; }
.hours li span:last-child { color: var(--sp-muted); }
.hours li.today span:first-child::after {
  content: 'aujourd’hui'; margin-left: 8px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--sp-accent-ink);
}
.hours li.closed span:last-child { color: var(--sp-faint); }

/* Coordonnées cliquables */
.contact-list { display: grid; gap: 14px; }
.contact-list a, .contact-list span.ci {
  display: flex; align-items: flex-start; gap: 13px; font-size: 15px; color: var(--sp-ink);
}
.contact-list a:hover { color: var(--sp-accent-ink); }
.contact-list i { font-size: 21px; color: var(--sp-accent-ink); flex: none; margin-top: 1px; }
.contact-list b { display: block; color: var(--sp-brand); font-weight: 700; font-size: 13px; }

.map-frame {
  border-radius: var(--sp-r-card); overflow: hidden; border: 1px solid var(--sp-line);
  background: var(--sp-soft); aspect-ratio: 16/10;
}
.map-frame svg { width: 100%; height: 100%; display: block; }

/* Équipe */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team {
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-card); padding: 22px; text-align: center;
}
.team .ava {
  width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden;
  background: var(--sp-soft); display: flex; align-items: center; justify-content: center;
}
.team .ava img { width: 100%; height: 100%; object-fit: cover; }
.team h3 { font-size: 1.05rem; color: var(--sp-brand); }
.team .role { font-size: 13px; color: var(--sp-accent-ink); font-weight: 700; margin-top: 3px; }
.team p { font-size: 14px; color: var(--sp-muted); margin-top: 9px; }

/* Mur de logos (partenaires) */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-wall li {
  background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-sm);
  min-height: 84px; display: flex; align-items: center; justify-content: center;
  padding: 14px; text-align: center;
}
.logo-wall img { max-height: 40px; width: auto; object-fit: contain; }
.logo-wall span { font-family: var(--sp-font-display); font-weight: 700; font-size: 14px; color: var(--sp-brand); }

/* Lexique */
.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.alpha a, .alpha button {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--sp-line); border-radius: var(--sp-r-sm); background: var(--sp-surface);
  font-family: var(--sp-font-display); font-weight: 700; font-size: 14px; color: var(--sp-brand);
  cursor: pointer;
}
.alpha a:hover, .alpha button:hover { border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.alpha .off { opacity: 0.35; pointer-events: none; }
.lex-group { margin-bottom: 34px; }
.lex-group > h2 {
  font-size: 1.6rem; color: var(--sp-accent-ink); border-bottom: 2px solid var(--sp-line);
  padding-bottom: 8px; margin-bottom: 16px;
}
.lex-list { display: grid; gap: 12px; }
.lex {
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-card); padding: 18px 20px;
}
.lex h3 { font-size: 1.02rem; color: var(--sp-brand); }
.lex p { font-size: 14.5px; color: var(--sp-muted); margin-top: 6px; }
.lex .lex-src { font-size: 12.5px; color: var(--sp-faint); margin-top: 8px; display: flex; gap: 7px; align-items: flex-start; }
.lex .lex-src i { color: var(--sp-accent-ink); font-size: 14px; margin-top: 2px; flex: none; }

/* Liste de documents / offres d'emploi */
.rowlist { display: grid; gap: 12px; }
.rowitem {
  display: flex; align-items: center; gap: 16px; background: var(--sp-surface);
  border: 1px solid var(--sp-line); border-radius: var(--sp-r-card); padding: 18px 20px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
a.rowitem:hover { border-color: var(--sp-accent); box-shadow: var(--sp-shadow-card); transform: translateY(var(--sp-lift)); }
.rowitem > i { font-size: 26px; color: var(--sp-accent-ink); flex: none; }
.rowitem .rowtxt { flex: 1; min-width: 0; }
.rowitem h3 { font-size: 1.02rem; color: var(--sp-brand); }
.rowitem p { font-size: 14px; color: var(--sp-muted); margin-top: 3px; }
.rowitem .rowmeta { font-size: 12.5px; color: var(--sp-faint); white-space: nowrap; }

/* Bandeau d'appel à l'action */
.cta-band {
  background: var(--sp-soft); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg);
  padding: clamp(24px, 4vw, 38px); display: flex; align-items: center;
  justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); color: var(--sp-brand); }
.cta-band p { color: var(--sp-muted); margin-top: 6px; max-width: 60ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quiz / parcours pas à pas (bilan d'assurance) */
.quiz { background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); overflow: hidden; box-shadow: var(--sp-shadow-lift); }
.quiz-bar { height: 5px; background: var(--sp-soft); }
.quiz-bar > span { display: block; height: 100%; background: var(--sp-accent); width: 0; transition: width 0.4s var(--sp-ease, cubic-bezier(0.2, 0.7, 0.2, 1)); }
.quiz-body { padding: clamp(24px, 4vw, 38px); }
.quiz-step { display: none; }
.quiz-step.on { display: block; }
.quiz-step > .kick { margin-bottom: 10px; }
.quiz-step h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); color: var(--sp-brand); }
.quiz-step > p { color: var(--sp-muted); margin-top: 8px; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (max-width: 620px) { .quiz-opts { grid-template-columns: 1fr; } }
.quiz-opt {
  display: flex; align-items: center; gap: 13px; text-align: left; cursor: pointer;
  font-family: inherit; font-size: 15px; color: var(--sp-ink);
  background: var(--sp-page); border: 1.5px solid var(--sp-line-strong);
  border-radius: var(--sp-r-card); padding: 16px 18px; transition: all 0.2s; width: 100%;
}
.quiz-opt:hover { border-color: var(--sp-accent); background: var(--sp-soft); }
.quiz-opt[aria-pressed='true'] { border-color: var(--sp-accent); background: var(--sp-soft); box-shadow: inset 0 0 0 1px var(--sp-accent); }
.quiz-opt i { font-size: 24px; color: var(--sp-accent-ink); flex: none; }
.quiz-opt b { display: block; font-family: var(--sp-font-display); font-size: 15px; color: var(--sp-brand); }
.quiz-opt small { display: block; font-size: 13px; color: var(--sp-faint); margin-top: 2px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.quiz-res { display: grid; gap: 14px; margin-top: 22px; }
.quiz-res .rescard {
  background: var(--sp-page); border: 1px solid var(--sp-line);
  border-left: 4px solid var(--sp-accent); border-radius: var(--sp-r-sm); padding: 18px 20px;
}
.quiz-res .rescard h3 { font-size: 1.05rem; color: var(--sp-brand); display: flex; align-items: center; gap: 10px; }
.quiz-res .rescard h3 i { color: var(--sp-accent-ink); font-size: 20px; }
.quiz-res .rescard p { font-size: 14.5px; color: var(--sp-muted); margin-top: 7px; }
.quiz-res .rescard.prio { border-left-color: var(--sp-brand); background: var(--sp-soft); }

/* Calculateur (simulateurs) */
.calc { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(22px, 4vw, 44px); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-form { background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); padding: clamp(22px, 3vw, 30px); display: grid; gap: 16px; }
.calc-out {
  background: linear-gradient(135deg, var(--sp-brand), var(--sp-brand-deep)); color: #fff;
  border-radius: var(--sp-r-lg); padding: clamp(22px, 3vw, 30px); position: sticky; top: 92px;
}
@media (max-width: 900px) { .calc-out { position: static; } }
.calc-out .big { font-family: var(--sp-font-display); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--sp-accent); line-height: 1.05; }
.calc-out .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: rgb(255 255 255 / 0.6); }
.calc-out ul { display: grid; gap: 9px; margin-top: 18px; }
.calc-out li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: rgb(255 255 255 / 0.82); border-bottom: 1px solid rgb(255 255 255 / 0.12); padding-bottom: 8px; }
.calc-note { font-size: 12.5px; color: rgb(255 255 255 / 0.6); margin-top: 16px; line-height: 1.55; }

/* ---------------------------------------------------------------------------
   11. Bandeau prototype + barre d'appel mobile
   --------------------------------------------------------------------------- */

.proto-bar {
  background: var(--sp-brand); color: #fff; font-size: 13px; text-align: center;
  padding: 9px 18px; line-height: 1.45;
}
.proto-bar b { color: var(--sp-accent); font-weight: 700; }

.sticky-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  background: rgb(255 255 255 / 0.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--sp-line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
}
.sticky-call .btn { flex: 1; }
@media (max-width: 720px) {
  html[data-dir='local'] .sticky-call,
  html[data-dir='conversion'] .sticky-call { display: flex; }
  html[data-dir='local'] body,
  html[data-dir='conversion'] body { padding-bottom: 72px; }
}

/* Barre de progression de lecture (conversion) */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--sp-accent); z-index: 70; }
html[data-dir='premium'] #progress, html[data-dir='local'] #progress { display: none; }

/* ---------------------------------------------------------------------------
   12. Utilitaires
   --------------------------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--sp-muted); }
.faint { color: var(--sp-faint); font-size: 13px; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  header.site, footer.site, .sticky-call, #progress, .proto-bar { display: none !important; }
  body { background: #fff; }
}

/* ============================================================================
   13. PERSONNALITÉ STRUCTURELLE DES TROIS HABILLAGES
   ----------------------------------------------------------------------------
   Critère de validation de docs/design-dna.md : « une variation est réussie si,
   EN NIVEAUX DE GRIS, on reconnaît immédiatement laquelle des trois c'est ».
   Les jetons de couleur ne suffisent donc pas : ce bloc porte la grammaire de
   mise en page (densité, formes, rythme, traitement des tuiles) qui distingue
   les trois même sans couleur.
   ============================================================================ */

/* ---- Premium · le musée : basse densité, grandes respirations, cadres fins -- */

html[data-dir='premium'] section { padding: clamp(56px, 8vw, 112px) 0; }
html[data-dir='premium'] section.tight { padding: clamp(38px, 5vw, 68px) 0; }
html[data-dir='premium'] .hero .wrap { padding-top: clamp(44px, 6vw, 78px); padding-bottom: clamp(50px, 6vw, 84px); }
html[data-dir='premium'] .sec-head { margin-bottom: clamp(34px, 5vw, 56px); }
html[data-dir='premium'] .sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
html[data-dir='premium'] .gar,
html[data-dir='premium'] .card { padding: 30px 28px; }
html[data-dir='premium'] .gar-grid,
html[data-dir='premium'] .grid-3 { gap: 22px; }
html[data-dir='premium'] .gar h3,
html[data-dir='premium'] .card h3 { margin-top: 18px; font-size: 1.12rem; }
html[data-dir='premium'] .gar:hover,
html[data-dir='premium'] a.card:hover { transition-duration: 0.45s; }
html[data-dir='premium'] .prose { font-size: 17px; }
html[data-dir='premium'] .prose > * + * { margin-top: 22px; }
html[data-dir='premium'] .prose h2 { margin-top: 54px; }
html[data-dir='premium'] .stats { gap: 22px; }
html[data-dir='premium'] .stat { padding: 28px 24px; }

/* ---- Locale · la boutique de quartier : rondeurs, blocs pleins, proximité --- */

html[data-dir='local'] section { padding: clamp(40px, 6vw, 78px) 0; }
html[data-dir='local'] section.tight { padding: clamp(28px, 4vw, 50px) 0; }
/* Alternance de fonds : la respiration vient du rythme, pas de l'espace. */
html[data-dir='local'] main > section:nth-of-type(even):not(.sec-soft):not(.sec-dark) { background: var(--sp-surface); }
/* Tuiles pleines, sans cadre, portées par une pastille d'icône. */
html[data-dir='local'] .gar,
html[data-dir='local'] .card,
html[data-dir='local'] .step,
html[data-dir='local'] .stat,
html[data-dir='local'] .team,
html[data-dir='local'] .rowitem,
html[data-dir='local'] .lex,
html[data-dir='local'] .art {
  border-color: transparent;
  box-shadow: 0 14px 30px -20px rgb(var(--c-primary-rgb) / 0.35);
}
html[data-dir='local'] .gar > i,
html[data-dir='local'] .card > i,
html[data-dir='local'] .rowitem > i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--sp-soft); color: var(--sp-brand); font-size: 26px;
}
html[data-dir='local'] .gar:hover,
html[data-dir='local'] a.card:hover { transform: translateY(-4px) rotate(-0.4deg); border-color: transparent; }
html[data-dir='local'] .faq-list details { border-color: transparent; box-shadow: 0 12px 26px -20px rgb(var(--c-primary-rgb) / 0.3); }
html[data-dir='local'] .bref span { border-color: transparent; box-shadow: 0 10px 22px -16px rgb(var(--c-primary-rgb) / 0.35); }
html[data-dir='local'] .hero { background: linear-gradient(180deg, var(--sp-soft), var(--sp-page)); }
html[data-dir='local'] .hero h1 { font-size: clamp(1.95rem, 4.1vw, 2.9rem); }
html[data-dir='local'] .hero-media .ph-frame,
html[data-dir='local'] .hero-media .icon-tile { border-radius: 28px; }
/* Le téléphone est un élément de décor autant qu'un moyen de contact. */
html[data-dir='local'] .site-tel { display: inline-flex; }
html[data-dir='local'] .cta-band { border-color: transparent; box-shadow: 0 18px 40px -26px rgb(var(--c-primary-rgb) / 0.35); }

/* ---- Conversion · la landing SaaS : haute densité, angles nets, cadence ----- */

html[data-dir='conversion'] section { padding: clamp(32px, 4.6vw, 64px) 0; }
html[data-dir='conversion'] section.tight { padding: clamp(22px, 3vw, 40px) 0; }
html[data-dir='conversion'] main > section + section { border-top: 1px solid var(--sp-line); }
html[data-dir='conversion'] .sec-head { margin-bottom: clamp(20px, 3vw, 32px); max-width: 640px; }
html[data-dir='conversion'] .sec-head h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
html[data-dir='conversion'] .hero .wrap { padding-top: clamp(26px, 3.6vw, 46px); padding-bottom: clamp(28px, 3.6vw, 48px); }
html[data-dir='conversion'] .hero h1 { font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1.04; }
/* Tuiles compactes 4-up, bord franc, l'appel à l'action se révèle au survol. */
html[data-dir='conversion'] .gar-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { html[data-dir='conversion'] .gar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { html[data-dir='conversion'] .gar-grid { grid-template-columns: 1fr; } }
html[data-dir='conversion'] .gar,
html[data-dir='conversion'] .card { padding: 18px 18px 18px 20px; box-shadow: none; }
html[data-dir='conversion'] .gar h3,
html[data-dir='conversion'] .card h3 { margin: 10px 0 5px; font-size: 1rem; }
html[data-dir='conversion'] .gar p,
html[data-dir='conversion'] .card p { font-size: 13.8px; }
html[data-dir='conversion'] .gar > i,
html[data-dir='conversion'] .card > i { font-size: 22px; }
html[data-dir='conversion'] a.card::after {
  content: 'Voir \203A'; display: block; margin-top: 12px;
  font-family: var(--sp-font-display); font-weight: 700; font-size: 13px;
  color: var(--sp-accent-ink); opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
html[data-dir='conversion'] a.card:hover::after { opacity: 1; transform: none; }
html[data-dir='conversion'] .stats { gap: 1px; background: var(--sp-line); border: 1px solid var(--sp-line); border-radius: var(--sp-r-card); overflow: hidden; }
html[data-dir='conversion'] .stat { border: 0; border-radius: 0; padding: 22px 20px; }
html[data-dir='conversion'] .stat b { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--sp-accent-ink); }
html[data-dir='conversion'] .steps.cols { gap: 12px; }
html[data-dir='conversion'] .step { padding: 18px 18px 18px 62px; }
html[data-dir='conversion'] .faq-list details { border-radius: var(--sp-r-sm); }
html[data-dir='conversion'] .faq-list summary { padding: 15px 18px; font-size: 0.98rem; }
html[data-dir='conversion'] .prose { font-size: 15.6px; }
html[data-dir='conversion'] .prose > * + * { margin-top: 15px; }
html[data-dir='conversion'] .prose h2 { margin-top: 34px; }
/* Le pied de chaque section rappelle l'action : cadence de landing. */
html[data-dir='conversion'] .cta-band { border-left: 4px solid var(--sp-accent); }
html[data-dir='conversion'] .art-grid { gap: 12px; }
html[data-dir='conversion'] .art .art-top { aspect-ratio: 21/9; }

/* Téléphone d'en-tête : masqué par défaut, affiché sur l'habillage Chaleureuse. */
.site-tel {
  display: none; align-items: center; gap: 8px; font-weight: 800;
  font-family: var(--sp-font-display); font-size: 15px; color: var(--sp-brand);
  white-space: nowrap;
}
.site-tel i { color: var(--sp-accent-ink); font-size: 19px; }
.site-tel:hover { color: var(--sp-accent-ink); }
@media (max-width: 900px) { html[data-dir='local'] .site-tel { display: none; } }

/* ============================================================================
   14. LES QUATRE DIRECTIONS ISSUES DE LA PLANCHE (validées avec Marie, 25/07)
   ----------------------------------------------------------------------------
   Bento, Suisse, Précision et Dossier rejoignent Élégante, Chaleureuse et
   Efficace comme directions de production. Même principe que les trois
   premières : les couleurs viennent des variables --c-* réécrites par
   apply-brand, seule leur INTERPRÉTATION change. Le critère de design-dna.md
   vaut pour les sept : reconnaissables en niveaux de gris.
   ============================================================================ */

/* ---- Bento · le tableau de bord : fond sombre, tuiles pleines, densité ----- */

html[data-dir='bento'] section { padding: clamp(38px, 5.4vw, 74px) 0; }
html[data-dir='bento'] header.site,
html[data-dir='bento'] .hero { background: var(--sp-page); }
html[data-dir='bento'] .sec-soft { background: rgb(var(--c-primary-rgb) / 0.2); }
html[data-dir='bento'] .gar-grid { gap: 14px; }
html[data-dir='bento'] .gar,
html[data-dir='bento'] .card,
html[data-dir='bento'] .step,
html[data-dir='bento'] .stat,
html[data-dir='bento'] .team,
html[data-dir='bento'] .rowitem,
html[data-dir='bento'] .lex,
html[data-dir='bento'] .art,
html[data-dir='bento'] .faq-list details,
html[data-dir='bento'] form.devis,
html[data-dir='bento'] .toc { background: var(--sp-surface); border-color: var(--sp-line); }
html[data-dir='bento'] .bref span,
html[data-dir='bento'] .opts span { background: rgb(255 255 255 / 0.07); border-color: var(--sp-line); color: var(--sp-ink); }
html[data-dir='bento'] .btn-ghost { color: var(--sp-ink); border-color: var(--sp-line-strong); }
html[data-dir='bento'] .btn-navy { background: rgb(255 255 255 / 0.1); color: #fff; }
html[data-dir='bento'] .btn-navy:hover { background: rgb(255 255 255 / 0.16); }
html[data-dir='bento'] .hero-media .icon-tile,
html[data-dir='bento'] .sim-band,
html[data-dir='bento'] .calc-out { background: linear-gradient(140deg, rgb(var(--c-primary-rgb) / 0.6), var(--c-primary-deep)); }
html[data-dir='bento'] .prose a,
html[data-dir='bento'] .contact-list i,
html[data-dir='bento'] .gar > i { color: var(--sp-accent); }
html[data-dir='bento'] form.devis input,
html[data-dir='bento'] form.devis textarea,
html[data-dir='bento'] form.devis select,
html[data-dir='bento'] .field input,
html[data-dir='bento'] .field select { background: rgb(0 0 0 / 0.25); color: var(--sp-ink); border-color: var(--sp-line-strong); }
html[data-dir='bento'] footer.site { background: rgb(0 0 0 / 0.35); border-top: 1px solid var(--sp-line); }
html[data-dir='bento'] .sticky-call { background: rgb(var(--c-primary-deep-rgb) / 0.96); border-top-color: var(--sp-line); }

/* ---- Suisse · la grille : filets, alignement, sections numérotées ---------- */

html[data-dir='swiss'] section { padding: clamp(40px, 5.6vw, 78px) 0; border-bottom: 1px solid var(--sp-line); }
html[data-dir='swiss'] .gar,
html[data-dir='swiss'] .card,
html[data-dir='swiss'] .step,
html[data-dir='swiss'] .stat,
html[data-dir='swiss'] .rel,
html[data-dir='swiss'] .art,
html[data-dir='swiss'] .team,
html[data-dir='swiss'] .lex { box-shadow: none; }
html[data-dir='swiss'] .gar:hover,
html[data-dir='swiss'] a.card:hover,
html[data-dir='swiss'] .rel:hover,
html[data-dir='swiss'] .art:hover { transform: none; border-color: var(--sp-brand); box-shadow: none; }
/* Chapeau de section indexé, signature de la direction */
html[data-dir='swiss'] .sec-head { border-top: 2px solid var(--sp-brand); padding-top: 14px; counter-increment: sp-sec; }
html[data-dir='swiss'] .sec-head h2::before {
  content: counter(sp-sec, decimal-leading-zero) ' / ';
  color: var(--sp-accent-ink); font-weight: 700;
}
html[data-dir='swiss'] main { counter-reset: sp-sec; }
html[data-dir='swiss'] .kick { font-weight: 700; }
html[data-dir='swiss'] .hero { background: var(--sp-page); border-bottom: 2px solid var(--sp-brand); }
html[data-dir='swiss'] .hero h1 { letter-spacing: -0.035em; }
html[data-dir='swiss'] .stats { border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); }
html[data-dir='swiss'] .stat { border: 0; border-right: 1px solid var(--sp-line); border-radius: 0; }
html[data-dir='swiss'] .stat:last-child { border-right: 0; }

/* ---- Précision · la fiche technique : monospace, encadrés, index ---------- */

html[data-dir='precision'] section { padding: clamp(34px, 4.8vw, 66px) 0; }
/* Le monospace porte les métadonnées : intertitres, index, libellés, notes. */
html[data-dir='precision'] .kick,
html[data-dir='precision'] .crumbs,
html[data-dir='precision'] .faint,
html[data-dir='precision'] .meta-line,
html[data-dir='precision'] .rowitem .rowmeta,
html[data-dir='precision'] .stat span,
html[data-dir='precision'] .art .art-cat,
html[data-dir='precision'] .for .pill,
html[data-dir='precision'] .bref span,
html[data-dir='precision'] .opts span,
html[data-dir='precision'] form.devis label,
html[data-dir='precision'] .hours { font-family: var(--sp-font-mono); font-size: 12.5px; letter-spacing: 0.02em; }
html[data-dir='precision'] .kick::before { content: '// '; opacity: 0.6; }
html[data-dir='precision'] .gar,
html[data-dir='precision'] .card,
html[data-dir='precision'] .step,
html[data-dir='precision'] .stat,
html[data-dir='precision'] .team,
html[data-dir='precision'] .lex,
html[data-dir='precision'] .art,
html[data-dir='precision'] .rowitem,
html[data-dir='precision'] .faq-list details,
html[data-dir='precision'] form.devis { border: 1px solid var(--sp-line-strong); box-shadow: none; }
html[data-dir='precision'] .gar:hover,
html[data-dir='precision'] a.card:hover { transform: none; background: var(--sp-soft); box-shadow: none; }
html[data-dir='precision'] .stats { gap: 0; border: 1px solid var(--sp-line-strong); }
html[data-dir='precision'] .stat { border: 0; border-right: 1px solid var(--sp-line-strong); border-radius: 0; }
html[data-dir='precision'] .stat:last-child { border-right: 0; }
html[data-dir='precision'] .stat b { font-family: var(--sp-font-display); }
html[data-dir='precision'] .hero { background: var(--sp-surface); }
html[data-dir='precision'] .step::before { border-radius: 2px; background: var(--sp-brand); color: #fff; font-family: var(--sp-font-mono); }

/* ---- Dossier · le papier : ivoire, sérif, lettrine ------------------------ */

html[data-dir='dossier'] section { padding: clamp(44px, 6.4vw, 88px) 0; }
html[data-dir='dossier'] .hero { background: var(--sp-page); border-bottom: 1px solid var(--sp-line); }
html[data-dir='dossier'] .hero h1 { font-weight: 500; }
/* L'italique de la sérif porte l'accent, à la place d'une couleur. */
html[data-dir='dossier'] .hero h1 em,
html[data-dir='dossier'] .sec-head h2 em { font-style: italic; color: var(--sp-accent); }
html[data-dir='dossier'] .kick { font-family: var(--sp-font-body); font-weight: 700; font-size: 11.5px; }
html[data-dir='dossier'] .gar,
html[data-dir='dossier'] .card,
html[data-dir='dossier'] .step,
html[data-dir='dossier'] .stat,
html[data-dir='dossier'] .team,
html[data-dir='dossier'] .lex,
html[data-dir='dossier'] .art,
html[data-dir='dossier'] .rowitem,
html[data-dir='dossier'] .faq-list details,
html[data-dir='dossier'] form.devis { background: var(--sp-surface); box-shadow: none; }
html[data-dir='dossier'] .gar:hover,
html[data-dir='dossier'] a.card:hover { transform: none; border-color: var(--sp-accent); box-shadow: none; }
html[data-dir='dossier'] .stats { border-top: 1px solid var(--sp-brand); border-bottom: 1px solid var(--sp-brand); }
html[data-dir='dossier'] .stat { border: 0; border-right: 1px solid var(--sp-line); border-radius: 0; background: transparent; }
html[data-dir='dossier'] .stat:last-child { border-right: 0; }
html[data-dir='dossier'] .stat b { font-weight: 500; }
html[data-dir='dossier'] .step::before { font-family: var(--sp-font-display); font-weight: 500; background: transparent; color: var(--sp-accent); border: 1px solid var(--sp-line-strong); }
/* Lettrine sur le premier paragraphe d'un texte long : signature de la direction. */
html[data-dir='dossier'] .prose > p:first-of-type::first-letter {
  float: left; font-family: var(--sp-font-display); font-weight: 500;
  font-size: 3.4em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--sp-accent);
}
html[data-dir='dossier'] .prose { font-size: 17px; }

/* La tuile d'illustration du hero reprend le fond de la direction : un aplat
   marine sur du papier ivoire ou sur une grille blanche ferait tache. */
html[data-dir='dossier'] .hero-media .icon-tile {
  background: var(--sp-soft); border: 1px solid var(--sp-line-strong);
}
html[data-dir='dossier'] .hero-media .icon-tile i { color: var(--sp-accent); }
html[data-dir='precision'] .hero-media .icon-tile {
  background: var(--sp-soft); border: 1px solid var(--sp-line-strong); border-radius: var(--sp-r-card);
}
html[data-dir='precision'] .hero-media .icon-tile i { color: var(--sp-accent); }
html[data-dir='swiss'] .hero-media .icon-tile { border-radius: var(--sp-r-card); }
html[data-dir='dossier'] .hero-media .ph-frame,
html[data-dir='precision'] .hero-media .ph-frame,
html[data-dir='swiss'] .hero-media .ph-frame { box-shadow: none; border-radius: var(--sp-r-card); }
html[data-dir='dossier'] .sim-band,
html[data-dir='precision'] .sim-band { background: var(--sp-brand); }
html[data-dir='dossier'] .calc-out,
html[data-dir='precision'] .calc-out { background: var(--sp-brand); }
