/* Feuille de style du site www.irisplay.fr, reprise de la maquette validée (28/11/2026).
   Concept : le site montre des écrans. Fond clair et calme, le bleu IrisPlay réservé aux actions,
   et de vrais slides dans des cadres d'écran comme seul élément fort. Thème clair et sombre suivant le système. */
/* Police Inter (variable, 100 à 900) servie par le site : aucune requête vers un service de polices tiers. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/site/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/site/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff; --tint: #f3f5fc; --ink: #0c1230; --muted: #5b6488; --line: #e2e6f3;
  --brand: #0743f7; --brand-ink: #ffffff; --brand-soft: #e9efff;
  --deep: #0a1240; --deep-ink: #eef1ff; --deep-muted: #b8c0e6; --bezel: #10131c;
  --ok: #15803d; --warn: #b45309; --no: #b91c1c;
  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f22; --tint: #111734; --ink: #e9ecfa; --muted: #9ba4c8; --line: #232b50;
    --brand: #4d74ff; --brand-ink: #ffffff; --brand-soft: #18204a;
    --deep: #050819; --deep-ink: #e9ecfa; --deep-muted: #a9b2da; --bezel: #000000;
    --ok: #4ade80; --warn: #fbbf24; --no: #f87171;
    color-scheme: dark;
  }
}

*, *::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 16px/1.6 var(--f-body); }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@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: 600 15px/1 var(--f-body); padding: 13px 20px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.p { background: var(--brand); color: var(--brand-ink); }
.btn.p:hover { filter: brightness(1.08); }
.btn.s { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.s:hover { background: var(--tint); }
.btn.sm { padding: 9px 14px; font-size: 14px; }
.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: var(--bg); 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: 26px; width: auto; }
.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 a:hover, .nav a[aria-current], .nav .on > a { background: var(--tint); }
.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 #0a124066; }
.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); 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; }
  .site-h.open .nav { display: flex; }
  .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 .logo img { height: 21px; }
  .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: 24px; width: auto; filter: brightness(0) invert(1); 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: 600 13px/1 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.026em; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
p { margin: 0 0 12px; }
.lede { font-size: 19px; 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: #dfe6ff; }
.sec.d .eyebrow { color: #9fb4ff; }
.sec.b .eyebrow { color: #dfe6ff; }
.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.b .btn.p { background: #fff; color: #0743f7; }
.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: 0 24px 50px -24px #0a124066; 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)); }
.browser { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px #0a124055; }
.browser .bar { height: 30px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding-inline: 12px; background: var(--tint); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser .bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px #0a124066; }
.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 span::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 7px; }
.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; } }
@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); }
.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::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft); box-shadow: inset 0 0 0 5px var(--brand); }
.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); }
.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: 700 17px/1.2 var(--f-display); color: var(--brand); display: flex; align-items: center; gap: 10px; }
.step .num::before { counter-increment: st; content: counter(st); display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); }
.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: #4d74ff33; color: #c7d4ff; }
.sec.d .feat p { color: var(--deep-muted); }
.feat .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); 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); }
.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); 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; }
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 #0a124066; }
.sector .screen { padding: 5px; box-shadow: none; }
.sector .screen.portrait { width: 44%; }
.sector p { color: var(--muted); font-size: 14.5px; margin: 0; }
.sector .go { color: var(--brand); 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); 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); 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); 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); }
.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); 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 { text-align: center; }
.cta-band .lede { margin-inline: auto; }
.cta-band .cta { justify-content: center; margin-top: 28px; }

/* ── 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); 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); }
/* 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 #0743f740; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), #7c9bff); }
.sec:not(.t) .contact-card { background: var(--tint); }
.contact-card p { margin: 0; }
.contact-card a { color: var(--brand); 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); 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: #0743f7; --c2: #7c9bff; 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 #0c123066; }
.member:nth-child(5n+2) { --c1: #ea580c; --c2: #fbbf24; }
.member:nth-child(5n+3) { --c1: #059669; --c2: #6ee7b7; }
.member:nth-child(5n+4) { --c1: #7c3aed; --c2: #c4b5fd; }
.member:nth-child(5n+5) { --c1: #0f172a; --c2: #4d74ff; }
.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); 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); }
.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); }
.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); 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); 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; }
}
