/* Feuille commune d'APPOLO CMS. Elle n'emploie que les jetons du thème (--bg, --brand, --accent, --f-display, --r…),
   déclarés par Theme::css() dans l'en-tête de chaque page selon le préréglage et les Configuration › Apparence › Thème du site.
   Thème clair et sombre suivant l'appareil, ou forcé par les réglages. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body, 17px)/1.6 var(--f-body); }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; animation: none !important; } }
.in { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; }
.apercu { background: #fff3dc; color: #8a4b00; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* ── Boutons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font: var(--btn-fw, 800) 16px/1 var(--f-body); min-height: 48px; padding: 0 22px; border-radius: var(--r-btn, 999px); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.p { background: var(--accent); color: var(--accent-ink); }
.btn.p:hover { filter: brightness(1.05); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.s { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.s:hover { border-color: var(--brand-text); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ghost { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.ghost:hover { color: var(--ink); }

/* ── En-tête ─────────────────────────────────────────── */
.site-h { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 40; }
.site-h > .in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.site-h .logo img { height: 42px; width: auto; }
.logo, .logo:hover { text-decoration: none; color: inherit; }
.logo-texte { font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.site-f .logo-texte { display: block; margin-bottom: 12px; color: #fff; }
.nav { display: flex; gap: 4px; flex: 1; margin: 0; padding: 0; list-style: none; order: 2; }
.nav > li { position: relative; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font: 500 15px/1.4 var(--f-body); color: var(--ink); display: block; }
.nav > li > a { font-weight: 700; font-size: 16px; }
.nav a:hover, .nav a[aria-current], .nav .on > a { background: var(--tint); }
.nav > li > a[aria-current], .nav > .on > a { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.nav .has-sub > a::after { content: " ▾"; font-size: 11px; color: var(--muted); }
.nav .sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 320px; padding: 8px; margin: 0; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--ink) 30%, transparent); }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: grid; gap: 2px; }
@media (min-width: 961px) {
  /* Ordinateur : le sous-menu reste ouvert en traversant l'espace sous le lien (pont invisible),
     se ferme avec un court délai si la souris déborde, et un seul est ouvert à la fois. */
  .nav .sub { display: grid; gap: 2px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .25s; }
  .nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav:hover > li:not(:hover) > .sub { visibility: hidden; opacity: 0; transition-delay: 0s; }
}
.nav .sub a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 10px 12px; }
.nav .sub a > :not(.ic) { grid-column: 2; }
.nav .sub .ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; }
.nav .sub .ic .icone { width: 18px; height: 18px; margin: 0; }
.nav .sub small { color: var(--muted); font-size: 13px; font-weight: 400; }
.h-act { display: flex; gap: 14px; align-items: center; margin-left: auto; order: 3; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: transparent; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
.burger .b-fermer, .site-h.open .burger .b-ouvrir { display: none; }
.site-h.open .burger .b-fermer { display: inline; }
/* Liens de l'en-tête repris dans le menu mobile (Connexion). */
.nav .mobile-only { display: none; }
@media (max-width: 960px) {
  .site-h > .in { flex-wrap: wrap; gap: 12px; }
  .burger { display: inline-flex; }
  .h-act .ghost { display: none; }
  .nav { display: none; order: 4; flex: 1 0 100%; flex-direction: column; padding-bottom: 14px; }
  /* L'en-tête reste collé en haut : un menu plus haut que l'écran défile dans sa propre zone, sinon son bas reste hors d'atteinte. */
  .site-h.open .nav { display: flex; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .nav > li { flex-shrink: 0; }
  .nav .sub { position: static; display: grid; border: 0; box-shadow: none; min-width: 0; padding: 0 0 6px 8px; }
  .nav .has-sub > a::after { content: ""; }
  .nav .mobile-only { display: block; }
}
@media (max-width: 440px) {
  .site-h > .in { gap: 8px; min-height: 64px; }
  .site-h.open .nav { max-height: calc(100dvh - 64px); }
  .site-h .logo img { height: 27px; }
  .h-act { gap: 8px; }
  .h-act .btn.sm { padding-inline: 12px; font-size: 13px; }
}

/* ── Pied ────────────────────────────────────────────── */
.site-f { background: var(--deep); color: var(--deep-ink); }
.site-f .in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 56px 28px; }
.site-f h2 { font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin: 0 0 14px; }
.site-f ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.site-f a { text-decoration: none; opacity: .85; }
.site-f a:hover { opacity: 1; text-decoration: underline; }
.site-f .brand img { height: 44px; width: auto; margin-bottom: 14px; }
.site-f .brand p { font-size: 14px; opacity: .75; max-width: 34ch; margin: 0 0 6px; }
.site-f .social { display: flex; gap: 14px; margin-top: 14px; font-size: 14px; }
.site-f .legal { grid-column: 1 / -1; border-top: 1px solid #ffffff22; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; opacity: .75; }
@media (max-width: 820px) { .site-f .in { grid-template-columns: 1fr 1fr; } .site-f .brand { grid-column: 1 / -1; } }

/* ── Typo et sections ────────────────────────────────── */
.eyebrow { font: 800 13px/1.3 var(--f-label, var(--f-body)); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
h1 { font-weight: 900; font-size: clamp(36px, 5.6vw, 62px); line-height: 1.06; letter-spacing: -.03em; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 56ch; margin: 18px 0 0; }
.muted { color: var(--muted); }
.sec { padding-block: 88px; }
.sec.esp-compact { padding-block: 48px; }
.sec.esp-large { padding-block: 128px; }
.sec.t { background: var(--tint); }
.sec.d { background: var(--deep); color: var(--deep-ink); }
.sec.b { background: var(--brand); color: var(--brand-ink); }
.sec.d .lede, .sec.d .muted, .sec.b .lede, .sec.b .muted { color: var(--deep-muted); }
.sec.b .lede, .sec.b .muted { color: color-mix(in srgb, var(--brand-ink) 82%, var(--brand)); }
.sec.d .eyebrow { color: var(--accent); }
.sec.b .eyebrow { color: var(--accent); }
.sec.d .btn.s, .sec.b .btn.s { color: inherit; border-color: #ffffff40; }
.sec.d .btn.s:hover, .sec.b .btn.s:hover { background: #ffffff14; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.c { margin-inline: auto; text-align: center; }
.sec-head.c .lede { margin-inline: auto; }
.sec-head:last-child { margin-bottom: 0; }

/* ── Écrans, navigateur, captures (élément fort) ─────── */
.screen { background: var(--bezel); border-radius: 10px; padding: 8px; box-shadow: var(--shadow); position: relative; }
.screen img, .screen video, .screen .vide { border-radius: 3px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.screen.portrait { max-width: min(300px, 46vh); margin-inline: auto; }
.screen.portrait img, .screen.portrait .vide { aspect-ratio: 9 / 16; }
.screen .tag { position: absolute; left: 12px; bottom: -28px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.screen .tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.screen.with-tag { margin-bottom: 28px; }
.vide { background: linear-gradient(135deg, var(--brand), var(--deep)); }
/* Téléphone : le jeu tel que le joueur le voit (captures 390 × 844, cadrées sur le haut). */
.screen.phone { width: 100%; max-width: 250px; margin-inline: auto; border-radius: 38px; padding: 9px; }
.screen.phone img, .screen.phone .vide { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 30px; background: #fff; }
.screen.phone .tag { left: 50%; transform: translateX(-50%); }
.browser { background: var(--bezel); border-radius: 14px; padding: 0 6px 6px; box-shadow: var(--shadow); }
.browser .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding-inline: 8px; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; }
.browser .bar i + i { background: #ffbd2e; } .browser .bar i + i + i { background: #28c941; }
.browser .bar span { margin-left: 10px; font-size: 11.5px; color: var(--deep-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { border-radius: 8px; background: #fff; }
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--ink) 30%, transparent); }
.visuel img.plain { border-radius: var(--r); }

/* ── Hero ────────────────────────────────────────────── */
.sec.hero { padding-block: 72px 96px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero.sans-visuel .grid, .hero.centre .grid { grid-template-columns: minmax(0, 1fr); }
.hero.sans-visuel .grid > div:first-child { max-width: 760px; }
.hero.centre { text-align: center; }
.hero.centre .lede { margin-inline: auto; }
.hero.centre .cta, .hero.centre .proof { justify-content: center; }
.hero.centre .visuel { max-width: 900px; margin-inline: auto; width: 100%; }
.hero.visuel-gauche .grid > :first-child { order: 2; }
.sec.hero.sans-visuel { padding-block: 88px 24px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.proof { font-weight: 600; font-size: 15px; }
.proof span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.diffuse { position: relative; padding-bottom: 60px; }
.diffuse .browser { width: 88%; }
.diffuse .s1 { position: absolute; right: 0; bottom: 10px; width: 46%; }
.diffuse .s2 { position: absolute; left: 6%; bottom: -6px; width: 30%; }
.pulse { position: absolute; right: 21%; top: 46%; width: 66px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 14px); transform: rotate(32deg); animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 28px 0; } }
/* Hero « deux téléphones » : deux parties en cours, légèrement inclinées, sur des confettis. */
.scene { position: relative; min-height: 560px; display: flex; justify-content: center; align-items: center; }
.scene .screen.phone { position: absolute; width: 250px; }
.scene .t1 { transform: rotate(-5deg) translate(-70px, 10px); }
.scene .t2 { transform: rotate(4deg) translate(90px, -10px); z-index: 2; }
.scene .seul { transform: rotate(3deg); }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; width: 12px; height: 6px; border-radius: 2px; opacity: .9; }
@media (max-width: 900px) { .scene { min-height: 470px; } .scene .screen.phone { width: 210px; } .scene .t1 { transform: rotate(-5deg) translate(-56px, 0); } .scene .t2 { transform: rotate(4deg) translate(64px, -6px); } }
@media (max-width: 900px) { .hero .grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero.visuel-gauche .grid > :first-child { order: 0; } }

/* ── Réassurance ─────────────────────────────────────── */
.reass { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; }
.reass div { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.reass .icone { width: 22px; height: 22px; margin: 0; color: var(--brand-text); }
.sec.d .reass .icone, .sec.b .reass .icone { color: inherit; }

/* ── Texte + visuel ──────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li { padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.sec.d .checks li::before, .sec.b .checks li::before { background: var(--accent); }
.sec.d .checks li::after, .sec.b .checks li::after { border-color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; font-weight: 500; }
.sec.d .chips li, .sec.b .chips li { background: #ffffff10; border-color: #ffffff26; color: inherit; }
.price-hook { display: grid; justify-items: start; gap: 18px; padding: 32px 36px; border-radius: 18px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.price-hook .big { font: 800 56px/1 var(--f-display); letter-spacing: -.03em; color: var(--brand-text); }
.price-hook .big small { font: 500 16px/1.3 var(--f-body); color: var(--muted); display: block; letter-spacing: 0; margin-top: 6px; }
.price-hook p { color: var(--muted); margin: 0; }
.more { margin-top: 24px; }

/* ── Étapes ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; counter-reset: st; list-style: none; padding: 0; margin: 0; }
.step { display: grid; gap: 14px; align-content: start; }
.step .num { font: 800 17px/1.2 var(--f-display); color: inherit; display: flex; align-items: center; gap: 12px; }
.step .num::before { counter-increment: st; content: counter(st); display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 20px; }
.step img { border-radius: 10px; border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; }
.sec.d .step p, .sec.b .step p { color: inherit; opacity: .8; }

/* ── Grille de fonctions ─────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--bg); color: var(--ink); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.sec.t .feat { background: var(--tint); }
.sec.d .features { background: #ffffff1f; border-color: #ffffff1f; }
.sec.d .feat { background: #ffffff0a; color: var(--deep-ink); }
.sec.d .feat .ic { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.sec.d .feat p { color: var(--deep-muted); }
.feat .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; }
.feat .ic .icone { width: 20px; height: 20px; }
.feat h3 a { text-decoration: none; }
.feat h3 a:hover { color: var(--brand-text); }
.feat p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ── Capture annotée ─────────────────────────────────── */
.annot { position: relative; }
.annot .pt { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 700 14px/1 var(--f-body); display: grid; place-items: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 25%, transparent); }
.legendes { counter-reset: lg; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 28px; margin: 24px 0 0; }
.legendes li { display: flex; gap: 10px; }
.legendes li::before { counter-increment: lg; content: counter(lg); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font-weight: 700; font-size: 13px; }

/* ── Mur d'écrans ────────────────────────────────────── */
.wall { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: end; }
.wall:has(.screen.phone) { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: start; }
.wall .screen.phone { max-width: 230px; }
@media (max-width: 640px) { .wall:has(.screen.phone) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .wall .screen.phone { border-radius: 26px; padding: 6px; } .wall .screen.phone img { border-radius: 21px; } }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ── Cartes secteurs ─────────────────────────────────── */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sector { text-decoration: none; display: grid; gap: 14px; align-content: start; padding: 14px 14px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.sector:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--ink) 30%, transparent); }
.sector .screen { padding: 5px; box-shadow: none; }
.sector .screen.portrait { width: 44%; }
.sector .screen.phone { width: 64%; max-width: 200px; padding: 7px; border-radius: 30px; box-shadow: var(--shadow); }
.sector .screen.phone img { border-radius: 24px; }
.sector .go { font-weight: 800; }
.sector p { color: var(--muted); font-size: 14.5px; margin: 0; }
.sector .go { color: var(--brand-text); font-weight: 600; font-size: 14px; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: minmax(0, 1fr); } }

/* ── Chiffres clés ───────────────────────────────────── */
.figures { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.figures div { border-top: 2px solid var(--brand); padding-top: 18px; }
.figures b { display: block; font: 800 44px/1 var(--f-display); letter-spacing: -.03em; color: var(--brand-text); margin-bottom: 8px; }
.sec.d .figures b, .sec.b .figures b { color: inherit; }
.figures small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ── Tarifs ──────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 920px; margin-inline: auto; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 14px; align-content: start; background: var(--bg); color: var(--ink); }
.plan.hl { border-color: var(--brand-text); box-shadow: 0 0 0 3px var(--brand-soft); }
.plan .pr { font: 800 46px/1 var(--f-display); letter-spacing: -.03em; }
.plan .pr small { font: 500 15px var(--f-body); color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.plan .btn { justify-self: start; margin-top: 6px; }
.mods { max-width: 920px; margin-inline: auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sec-head + .mods { margin-top: 0; }
.mod { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 20px 26px; border-top: 1px solid var(--line); align-items: center; background: var(--bg); color: var(--ink); }
.mod:first-child { border-top: 0; }
.mod p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.mod .q { font-weight: 600; color: var(--brand-text); white-space: nowrap; text-decoration: none; }
@media (max-width: 560px) { .mod { grid-template-columns: minmax(0, 1fr); } }

/* ── Tableau comparatif ──────────────────────────────── */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); }
.compare table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--tint); font-size: 14px; }
.compare tbody th { font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .oui { color: var(--ok); font-weight: 700; }
.compare .non { color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: var(--bg); color: var(--ink); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ── Texte riche ─────────────────────────────────────── */
.prose { max-width: 760px; }
.prose.c { margin-inline: auto; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.prose a { color: var(--brand-text); }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; margin: 18px 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* ── Références, témoignage ──────────────────────────── */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.ref { border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; display: grid; grid-template-rows: 64px auto; gap: 10px; justify-items: center; text-align: center; background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.sec:not(.t) .ref { background: var(--tint); }
a.ref:hover { border-color: var(--brand-text); transform: translateY(-3px); }
.ref img { max-height: 64px; max-width: 160px; width: auto; height: auto; align-self: center; object-fit: contain; }
.ref b { align-self: center; font: 800 21px/1.15 var(--f-display); letter-spacing: -.01em; }
.ref span { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.quote { margin: 0 auto; max-width: 820px; text-align: center; }
.quote img { max-height: 44px; width: auto; margin: 0 auto 22px; }
.quote p { font: 600 clamp(21px, 2.6vw, 28px)/1.4 var(--f-display); letter-spacing: -.01em; margin: 0 0 18px; }
.quote footer { color: var(--muted); font-size: 15px; }
.quote footer b { color: var(--ink); }
.sec.d .quote footer b, .sec.b .quote footer b { color: inherit; }

/* ── Appel à l'action ────────────────────────────────── */
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
.sec .cta-band .lede { color: color-mix(in srgb, var(--accent-ink) 80%, var(--accent)); font-size: 18px; margin-top: 10px; }
.cta-band .cta { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
.cta-band .btn.p { background: var(--accent-ink); color: var(--accent); }
.cta-band .btn.s { border-color: color-mix(in srgb, var(--accent-ink) 25%, transparent); color: var(--accent-ink); }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .cta { grid-column: auto; grid-row: auto; margin-top: 18px; } }

/* ── Formulaires ─────────────────────────────────────── */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }
form.f { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--bg); color: var(--ink); }
@media (max-width: 560px) { form.f { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.fld { display: grid; gap: 6px; min-width: 0; align-content: start; }
.fld.w { grid-column: 1 / -1; }
.fld label { font-size: 14px; font-weight: 600; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 15px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.fld textarea { min-height: 96px; resize: vertical; }
.plus summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--brand-text); list-style: none; }
.plus summary::-webkit-details-marker { display: none; }
.plus summary::before { content: "+ "; }
.plus[open] summary::before { content: "− "; }
.plus summary span { color: var(--muted); font-weight: 400; }
.plus-in { display: grid; gap: 16px; margin-top: 12px; }
.consent { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.f .btn { grid-column: 1 / -1; justify-self: start; }
.next { display: grid; gap: 18px; margin-top: 28px; }
.next div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.next b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); }
/* Coordonnées : titre à gauche, carte à droite (une colonne sous 900 px). */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; }
.contact-split > .sec-head { margin-bottom: 0; }
.contact-card { position: relative; padding: 28px; border-radius: 20px; background: var(--bg); color: var(--ink); font-size: 15.5px; display: grid; gap: 18px; border: 1px solid var(--line); box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--ink) 25%, transparent); overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.sec:not(.t) .contact-card { background: var(--tint); }
.contact-card p { margin: 0; }
.contact-card a { color: var(--brand-text); font-weight: 600; }
.cc-nom { font: 700 20px var(--f-display); }
.cc-l { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; line-height: 1.45; }
.cc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; }
.cc-ic .icone { width: 20px; height: 20px; }
.cc-k { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cc-l a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }

/* ── Équipe ──────────────────────────────────────────── */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.team > .member { flex: 1 1 190px; max-width: 230px; }
.member { --c1: var(--brand); --c2: color-mix(in srgb, var(--brand) 45%, #fff); text-align: center; display: grid; gap: 10px; align-content: start; justify-items: center; padding: 28px 18px 24px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.sec.t .member { background: var(--bg); }
.member:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--ink) 30%, transparent); }
.member:nth-child(5n+2) { --c1: var(--accent); --c2: color-mix(in srgb, var(--accent) 45%, #fff); }
.member:nth-child(5n+3) { --c1: var(--deep); --c2: var(--brand); }
.member:nth-child(5n+4) { --c1: color-mix(in srgb, var(--brand) 60%, var(--accent)); --c2: var(--accent-soft); }
.member:nth-child(5n+5) { --c1: var(--ink); --c2: var(--accent); }
.member .av { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: grid; place-items: center; font: 700 38px var(--f-display); overflow: hidden; box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--line); }
.member .av img { width: 100%; height: 100%; object-fit: cover; }
.member b { font: 700 19px var(--f-display); }
.member .roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--muted); font-size: 14px; line-height: 1.35; }
@media (max-width: 640px) { .team { gap: 12px; } .team > .member { flex-basis: calc(50% - 6px); max-width: calc(50% - 6px); } .member { padding: 22px 12px 18px; } .member .av { width: 72px; height: 72px; font-size: 28px; } }

/* ── Vidéo, galerie ──────────────────────────────────── */
.media-video video { width: 100%; border-radius: var(--r); }
.screen.media-video video { border-radius: 3px; }
.gal { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gal.n1 { grid-template-columns: minmax(0, 1fr); }
.gal img { width: 100%; }
.gal.carrousel { grid-auto-flow: column; grid-auto-columns: minmax(280px, 42%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.gal.carrousel figure { scroll-snap-align: start; }
@media (max-width: 640px) { .gal.carrousel { grid-auto-columns: 86%; } }

/* ── Page d'erreur ───────────────────────────────────── */
.err { text-align: center; max-width: 620px; margin-inline: auto; }
.err .code { font: 800 72px/1 var(--f-display); color: var(--brand-text); margin-bottom: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Formulaires : erreurs, cases à cocher, champ piège, confirmation sur place. */
.fld.err input, .fld.err select, .fld.err textarea { border-color: var(--no); }
.f .e { color: var(--no); font-size: 13px; display: block; }
.f-err { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--no); color: var(--no); font-size: 14px; }
fieldset.choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
fieldset.choix legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; width: 100%; }
fieldset.choix label { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.consent a { color: inherit; text-decoration: underline; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-ok { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--bg); }
.f-ok h3 { margin: 0 0 8px; }
.f-ok p { margin: 0; color: var(--muted); }

/* Guides : fil d'Ariane, en-tête d'article, cartes, filtres par catégorie. */
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.ariane a { color: inherit; }
.ariane a:hover { color: var(--brand-text); }
.guide-head h1 { font-size: clamp(32px, 4.4vw, 50px); }
.guide-head .chapo { font-size: 20px; line-height: 1.55; color: var(--ink); margin: 18px 0 0; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; margin: 20px 0 0; }
.guide-cover { margin: 32px 0 0; max-width: 760px; }
.guide-cover img { border-radius: var(--r); border: 1px solid var(--line); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .guides { grid-template-columns: minmax(0, 1fr); } }
.gcard { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); }
.gcard img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.gcard .eyebrow { margin: 4px 0 0; font-size: 12px; }
.gcard h3 { font-size: 20px; line-height: 1.25; }
.gcard h3 a { color: inherit; text-decoration: none; }
.gcard h3 a:hover { color: var(--brand-text); }
.gcard p { margin: 0; color: var(--muted); font-size: 15px; }
.gcard small { color: var(--muted); font-size: 13px; }
.guides-all { margin: 22px 0 0; }
.guides-all a { color: var(--brand-text); font-weight: 600; text-decoration: none; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; }
.cats a { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.cats a[aria-current] { background: var(--brand); border-color: var(--brand-text); color: var(--brand-ink); }
/* Deux blocs « Texte » qui se suivent sur le même fond se lisent comme un seul article. */
.sec.bloc-texte:not(.t):not(.d):not(.b) + .sec.bloc-texte:not(.t):not(.d):not(.b) { padding-top: 0; }
/* Deux sections claires qui se suivent (hors hero) : un seul espacement entre elles, pas deux. */
.sec:not(.t):not(.d):not(.b):not(.hero) + .sec:not(.t):not(.d):not(.b) { padding-top: 0; }
.sec.bloc-texte + .sec.bloc-texte .prose h2 { margin-top: 0; }

/* ── Mobile : pages plus courtes, captures lisibles, secteurs en carrousel ── */
@media (max-width: 640px) {
  .sec { padding-block: 56px; }
  .sec.esp-compact { padding-block: 36px; }
  .sec.esp-large { padding-block: 80px; }
  .sec.hero { padding-block: 36px 56px; }
  .sec.hero.sans-visuel { padding-block: 48px 16px; }
  .sec-head { margin-bottom: 28px; }
  .lede { font-size: 17px; }
  .hero h1 + .lede, .hero .lede { margin-top: 14px; }
  /* Captures de l'appli : recadrées sur leur point d'intérêt pour rester lisibles sur un téléphone. */
  .step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
  .sectors { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--gut, 16px)); padding-inline: var(--gut, 16px); scroll-padding-inline: var(--gut, 16px); }
  .sector { scroll-snap-align: start; }
  form.f .fld.demi { grid-column: auto; }
  form.f:has(.fld.demi) { grid-template-columns: 1fr 1fr; }
  form.f > :not(.demi) { grid-column: 1 / -1; }
}

/* Encart « Pendant la démo » à côté du formulaire. */
.next-t { margin: 28px 0 0; font-size: 1.05rem; }
.next-t + .next { margin-top: 14px; }
.next-l { margin: 20px 0 0; }
.next-l a { color: var(--brand-text); font-weight: 600; }
/* Même hauteur pour les champs texte, les listes et le mois : les rangées restent alignées. */
.fld input:not([type="checkbox"]):not([type="radio"]), .fld select { height: 46px; box-sizing: border-box; }

/* ── Variantes communes (L2 : fusion des blocs d'IrisPlay, Concours, OSCAR et Mon-GE) ─────────── */
.etiq { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font: 700 12.5px/1.3 var(--f-label, var(--f-body)); letter-spacing: .02em; vertical-align: middle; }
p + .etiq, .etiq:first-child { margin-bottom: 12px; }
h3 .etiq { margin: 0 0 0 6px; font-size: 11.5px; }
.sec.d .etiq, .sec.b .etiq { background: color-mix(in srgb, var(--accent) 22%, transparent); color: inherit; }
.emphase { font-style: normal; color: var(--brand-text); }
.sec.d .emphase, .sec.b .emphase { color: var(--accent); }
.mention { font-size: 13.5px; color: var(--muted); margin: 0; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.note p { margin: 0; }
.note.c { text-align: center; }
.sec.d .note, .sec.b .note, .sec.d .mention { color: var(--deep-muted); }
h2.t-moyen { font-size: clamp(24px, 2.8vw, 32px); }
h2.t-petit { font-size: clamp(21px, 2.2vw, 25px); }
.sous-visuel { margin-top: 40px; }
.sec-head + .cta, .features + .cta, .cards + .cta { margin-top: 32px; }

/* Fil d'Ariane du haut de page sans visuel */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Tableau d'exemple du haut de page (échéances d'OSCAR) */
.carnet { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow, 0 18px 40px -18px color-mix(in srgb, var(--ink) 35%, transparent)); padding: 8px 0; max-width: 480px; margin-inline: auto; width: 100%; }
.carnet-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 14px; border-bottom: 1px solid var(--line); }
.carnet-head span { font: 600 11px/1 var(--f-label, var(--f-body)); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ech { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.ech:last-of-type { border-bottom: 0; }
.ech .d { font: 600 13px/1 var(--f-label, var(--f-body)); color: var(--muted); }
.ech .w { display: grid; gap: 2px; min-width: 0; }
.ech .w span { font-size: 13px; color: var(--muted); }
.ech .st { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.ech .st.late { color: var(--no); background: color-mix(in srgb, var(--no) 12%, var(--bg)); }
.ech .st.soon { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--bg)); }
.ech .st.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--bg)); }
.carnet-foot { margin: 0; padding: 10px 20px 6px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* Grille de cartes : nombre de colonnes, cartes, étapes, profils */
.features.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; }
.sec:not(.t) .card { background: var(--tint); }
.sec.d .card, .sec.b .card { background: color-mix(in srgb, #fff 6%, transparent); border-color: color-mix(in srgb, #fff 14%, transparent); color: inherit; }
a.card { transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-3px); border-color: var(--brand-text); }
.card h3 { font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.sec.d .card p, .sec.b .card p { color: var(--deep-muted); }
.card .num { font: 700 13px/1 var(--f-label, var(--f-body)); color: var(--brand-text); letter-spacing: .06em; }
.cards.etapes .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 15px; }
.cards.profils .who { font: 700 12px/1.3 var(--f-label, var(--f-body)); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-text); }
.cards.profils .q { font: 700 20px/1.3 var(--f-display); color: var(--ink); }
.sec.d .cards.profils .q, .sec.b .cards.profils .q { color: inherit; }
@media (max-width: 1000px) { .cards.c3, .cards.c4, .features.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards.c2, .cards.c3, .cards.c4, .features.c2, .features.c4 { grid-template-columns: minmax(0, 1fr); } }

/* Grille en liens texte (sans cadre) et en lignes séparées par un filet */
.liens-texte { display: grid; gap: 28px 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.liens-texte.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.liens-texte.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lt { display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.lt h3 { font-size: 20px; }
.lt h3 > span[aria-hidden] { display: inline-block; transition: transform .15s ease; }
a.lt:hover h3 { color: var(--brand-text); }
a.lt:hover h3 > span[aria-hidden] { transform: translateX(4px); }
.lt p { margin: 0; color: var(--muted); font-size: 15.5px; }
.sec.d .lt p, .sec.b .lt p { color: var(--deep-muted); }
.lignes { border-top: 1px solid var(--line); }
.ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 10rem; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.ligne h3 { font-size: 20px; }
.ligne p { margin: 0; color: var(--muted); }
.ligne .mention { font-size: 14px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ligne .bout { display: inline-flex; gap: 12px; align-items: center; justify-self: end; color: var(--muted); }
a.ligne:hover h3, a.ligne:hover .bout { color: var(--brand-text); }
.sec.d .lignes, .sec.d .ligne, .sec.b .lignes, .sec.b .ligne { border-color: color-mix(in srgb, #fff 14%, transparent); }
.sec.d .ligne p, .sec.b .ligne p { color: var(--deep-muted); }
@media (max-width: 1000px) { .liens-texte.c3, .liens-texte.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .liens-texte, .liens-texte.c2, .liens-texte.c3, .liens-texte.c4 { grid-template-columns: minmax(0, 1fr); } .ligne { grid-template-columns: minmax(0, 1fr); } .ligne .bout { justify-self: start; } }

/* Carte de diagnostic du haut de page : score sur 100 et points relevés */
.diag { background: var(--deep); color: var(--deep-ink); border-radius: calc(var(--r) + 6px); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; max-width: 440px; width: 100%; margin-inline: auto; box-shadow: var(--shadow); }
.diag-tete { display: flex; gap: 18px; align-items: center; }
.diag-tete svg { width: 96px; height: 96px; flex: none; }
.diag-tete .piste { fill: none; stroke: color-mix(in srgb, var(--deep-ink) 14%, transparent); stroke-width: 12; }
.diag-tete .jauge { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; }
.diag-tete text { fill: var(--deep-ink); font: 700 38px var(--f-display); }
.diag-tete div { display: grid; gap: 2px; }
.diag-tete b { font-size: 19px; }
.diag-tete span { color: var(--deep-muted); font-size: 14.5px; }
.diag-points { display: grid; gap: 10px; border-top: 1px solid color-mix(in srgb, var(--deep-ink) 14%, transparent); padding-top: 16px; font-size: 15px; }
.diag-points div { display: flex; justify-content: space-between; gap: 16px; }
.diag-points .v { font: 500 14px var(--f-label, var(--f-body)); white-space: nowrap; }
.diag-points .v.late { color: color-mix(in srgb, var(--no) 55%, var(--deep-ink)); }
.diag-points .v.soon { color: color-mix(in srgb, var(--warn) 60%, var(--deep-ink)); }
.diag-points .v.ok { color: color-mix(in srgb, var(--ok) 55%, var(--deep-ink)); }
.diag-note { margin: 0; color: var(--deep-muted); font-size: 13px; }
/* Page de résultat du diagnostic offert (DiagnosticController). */
.diag-page h1 { overflow-wrap: anywhere; margin-bottom: clamp(22px, 3vw, 36px); }
.diag-page > .in > .diag-note { color: var(--muted); margin-top: 18px; }
.diag-attente { display: flex; gap: 22px; align-items: flex-start; background: var(--tint); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: clamp(22px, 3vw, 34px); max-width: 760px; }
.diag-attente p { margin: 0 0 10px; }
.diag-attente .roue { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent); animation: diag-roue 0.9s linear infinite; }
@keyframes diag-roue { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .diag-attente .roue { animation-duration: 3s; } }
.diag-res { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.diag-res .diag { margin: 0; }
.diag-res h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 16px; }
.diag-prio { margin: 0; padding: 0; list-style: none; counter-reset: prio; display: grid; gap: 14px; }
.diag-prio li { counter-increment: prio; position: relative; padding: 0 0 14px 44px; border-bottom: 1px solid var(--line); }
.diag-prio li::before { content: counter(prio); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.diag-prio b { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.diag-prio p { margin: 6px 0 0; color: var(--muted); }
.diag-page .v { font: 500 13.5px var(--f-label, var(--f-body)); white-space: nowrap; }
.diag-page .v.late { color: var(--no); }
.diag-page .v.soon { color: color-mix(in srgb, var(--warn) 75%, var(--ink)); }
.diag-page .v.ok { color: var(--ok); }
.diag-page .diag .v.late, .diag-page .diag .v.soon, .diag-page .diag .v.ok { color: inherit; }
.diag-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); }
.diag-detail h3 { margin: 0 0 10px; font-size: 17px; }
.diag-detail ul { margin: 0; padding: 0; list-style: none; }
.diag-detail li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.diag-suite { margin-top: clamp(28px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); max-width: 760px; }
@media (max-width: 900px) { .diag-res, .diag-detail { grid-template-columns: minmax(0, 1fr); } }

/* Liens vers des pages : pastilles et cartes avec résumé */
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles a { display: inline-flex; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.pastilles a:hover { border-color: var(--brand-text); color: var(--brand-text); }
.sec.d .pastilles a, .sec.b .pastilles a { background: transparent; color: inherit; border-color: color-mix(in srgb, #fff 28%, transparent); }
.liens-bas { margin-top: 40px; display: grid; gap: 14px; }
.hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.hub a { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; }
.sec:not(.t) .hub a { background: var(--tint); }
.hub a:hover { border-color: var(--brand-text); }
.hub b::after { content: " →"; color: var(--brand-text); }
.hub span { color: var(--muted); font-size: 14.5px; }

/* Colonnes */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.cols .col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.cols .col.card { padding: 30px; }
.cols .col > * { margin: 0; }
.cols .col .prose p { margin: 0 0 10px; }
.cols .faq { margin: 0; max-width: none; }
.tbl-prix { overflow-x: auto; }
.tbl-prix table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl-prix th, .tbl-prix td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tbl-prix th { font: 600 12px/1.3 var(--f-label, var(--f-body)); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tbl-prix th:last-child, .tbl-prix td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }

/* Texte et visuel : rangées alternées */
.rangees { display: grid; gap: 72px; }
.sec-head + .rangees { margin-top: 0; }

/* Grille tarifaire : accroche et « sur devis » */
.plan .accroche { margin: -6px 0 0; color: var(--muted); }
.plan .pr.devis { font-size: 32px; }

/* Galerie : cadres d'appareils */
.gal.cadre-telephone { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); justify-items: center; }
.gal.cadre-telephone .screen.phone { width: 100%; max-width: 260px; }
.gal .browser, .gal .screen { width: 100%; }

/* Appel à l'action sobre ou boutons seuls */
.cta-sobre { text-align: center; max-width: 760px; margin-inline: auto; }
.cta-sobre .lede { margin-inline: auto; }
.cta-sobre .cta, .cta-seul .cta { justify-content: center; }
.cta-seul .cta { margin-top: 0; }

/* Logos des partenaires, en ligne */
.refs.partenaires { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.refs.partenaires .ref { border: 0; background: none !important; padding: 0; grid-template-rows: auto; }
.refs.partenaires .ref img { filter: grayscale(1); opacity: .75; transition: filter .15s ease, opacity .15s ease; }
.refs.partenaires a.ref:hover img { filter: none; opacity: 1; }
.refs.partenaires .ref span { display: none; }

/* Texte en encadré (Mon-GE) */
.prose.encadre { --ton: var(--brand); max-width: 820px; padding: 24px 28px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--ton) 30%, var(--line)); border-left: 4px solid var(--ton); background: color-mix(in srgb, var(--ton) 8%, var(--bg)); color: var(--ink); text-align: left; }
.prose.encadre.ton-succes { --ton: var(--ok); }
.prose.encadre.ton-attention { --ton: var(--warn); }
.prose.encadre.ton-neutre { --ton: var(--muted); }
.prose.encadre h2 { font-size: 21px; margin: 0 0 8px; }
.prose.encadre > :last-child { margin-bottom: 0; }
.sec.d .proof span, .sec.b .proof span { color: var(--deep-muted); }
.plans:has(> :nth-child(3)) { max-width: 1140px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Réalisations (portfolio, lot L4) */
.reals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.reals:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .reals, .reals:has(> :nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reals, .reals:has(> :nth-child(3)) { grid-template-columns: minmax(0, 1fr); } }
.rcard { display: grid; gap: 8px; align-content: start; color: var(--ink); }
.rcard-img { display: block; border-radius: var(--r); overflow: hidden; background: var(--tint); aspect-ratio: 4 / 3; margin-bottom: 8px; }
.rcard-img img, .rcard-img span { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rcard:hover .rcard-img img { transform: scale(1.03); }
.rcard .eyebrow { margin: 0; font-size: 12px; }
.rcard h3 { font-size: 22px; line-height: 1.2; }
.rcard h3 a { color: inherit; text-decoration: none; }
.rcard h3 a:hover { color: var(--brand-text); }
.rcard p { margin: 0; color: var(--muted); font-size: 15px; }
.rcard .rcard-client { color: var(--ink); font-weight: 600; font-size: 14px; }
.sec.d .rcard, .sec.b .rcard { color: inherit; }
.sec.d .rcard p, .sec.b .rcard p { color: var(--deep-muted); }
.real-titre { max-width: 820px; }
.real-head h1 { font-size: clamp(34px, 4.8vw, 56px); }
.real-head .chapo { font-size: 20px; line-height: 1.55; color: var(--ink); margin: 18px 0 0; }
.real-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.real-meta dt { font-family: var(--f-label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.real-meta dd { margin: 4px 0 0; font-weight: 600; }
.real-meta a { color: var(--brand-text); text-decoration: none; }
.real-cover { margin: 34px 0 0; }
.real-cover img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.real-fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 760px) { .real-fiche { grid-template-columns: minmax(0, 1fr); } }
.real-equipe { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.real-equipe li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.real-equipe span { color: var(--muted); font-size: 15px; }
.real-outils { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.real-outils li { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; }
.reals-all { margin: 26px 0 0; }
.reals-all a { color: var(--brand-text); font-weight: 600; text-decoration: none; }

/* Guides et réalisations : en-tête et textes sur toute la largeur ; les premiers textes à gauche d'un encadré
   « En bref » qui reste visible au défilement. */
.real-titre, .real-head .lede, .guide-head .lede { max-width: none; }
.guide-cover { max-width: none; }
.lecture .bloc-texte .prose:not(.encadre) { max-width: none; }
.lecture-grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.lecture-textes > .sec { padding-block: 0; }
.lecture-textes > .sec + .sec { margin-top: 44px; }
.lecture-textes .in { max-width: none; padding-inline: 0; }
.en-bref { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--tint); }
.en-bref-titre { font: 800 13px/1.3 var(--f-label, var(--f-body)); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 16px; }
.en-bref-liste { display: grid; gap: 16px; margin: 0; }
.en-bref-liste dt, .en-bref-sous { font-family: var(--f-label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.en-bref-liste dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.en-bref-liste a { color: var(--brand-text); text-decoration: none; }
.en-bref-sous { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.en-bref .real-outils, .en-bref .real-equipe { margin-top: 10px; }
@media (max-width: 960px) { .lecture-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; } .en-bref { position: static; } }
