/* =====================================================================
   Forma'scool — Feuille de styles principale
   Site statique, mobile-first, accessible.
   ===================================================================== */

/* ---------- Variables & thème ---------- */
:root {
  /* Couleurs de marque */
  --teal: #156D73;
  --teal-dark: #0F5358;
  --teal-700: #11595E;
  --coral: #F2785C;
  --coral-dark: #D85F44;
  --amber: #F4B740;
  --green: #3FA66A;
  --blue: #2C8FB3;
  --violet: #7C5CD6;

  /* Neutres */
  --ink: #1B2A2B;        /* texte principal */
  --ink-soft: #46585A;   /* texte secondaire */
  --muted: #5A6B6D;
  --line: #E3EAEA;       /* bordures */
  --bg: #FFFFFF;
  --bg-soft: #F5F9F9;    /* sections alternées */
  --bg-teal: #0F5358;

  /* Mise en page */
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(21, 109, 115, 0.10);
  --shadow-sm: 0 4px 14px rgba(21, 109, 115, 0.08);
  --gap: clamp(1rem, 3vw, 2rem);

  /* Typo */
  --font-head: "Poppins", "Segoe UI", system-ui, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, Arial, sans-serif;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

/* ---------- Accessibilité ---------- */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; color:#fff; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Conteneurs & sections ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--soft { background: var(--bg-soft); }
.section--teal { background: var(--bg-teal); color: #EAF4F4; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}
.section--teal .eyebrow { color: var(--amber); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section--teal .lead { color: #CFE6E6; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 18px rgba(242,120,92,0.35); }
.btn--primary:hover { background: var(--coral-dark); color:#fff; }
.btn--solid { background: var(--teal); color: #fff; }
.btn--solid:hover { background: var(--teal-dark); color:#fff; }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { background: #EAF4F4; color: var(--teal-dark); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; color: var(--teal);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-menu { display: none; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }

.nav-links a {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.4rem;
  border-radius: 8px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links a[aria-current="page"] { font-weight: 700; }

/* Menu mobile ouvert */
.nav-menu.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem clamp(1rem,4vw,2rem) 1.25rem;
}
.nav-menu.is-open .nav-links a { border-bottom: 1px solid var(--line); }
.nav-menu.is-open .nav-cta { margin-top: 0.8rem; }
.nav-cta .btn { width: 100%; justify-content: center; }

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; align-items: center; gap: 1.5rem; position: static; box-shadow: none; padding: 0; background: none; border: 0; }
  .nav-links { display: flex; }
  .nav-links a { padding: 0.5rem 0.7rem; border: 0 !important; }
  .nav-cta .btn { width: auto; padding: 0.6rem 1.2rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F5F9F9 0%, #FFFFFF 100%); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { margin: 0 0 1rem; }
.hero h1 .hl { color: var(--teal); }
.hero p.lead { margin-bottom: 1.6rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; color: var(--ink-soft); font-size: 0.95rem; }
.hero-badges .chip { display:inline-flex; align-items:center; gap:0.4rem; }
.hero-badges .dot { width:10px; height:10px; border-radius:50%; }
.hero-art {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(1.2rem,3vw,2rem); box-shadow: var(--shadow);
}
.hero-art .blob { position:absolute; inset:auto; border-radius:50%; filter: blur(2px); opacity:0.18; z-index:0; }
.hero-art ul { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.hero-art li { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0; }
.hero-art .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hero-art b { font-family: var(--font-head); }

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ---------- Carte ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.tag--cpf { background: #E7F3F0; color: var(--green); }
.tag--opco { background: #E9F2F6; color: var(--blue); }
.tag--amber { background: #FDF3DD; color: #B5841A; }
.card h3 { margin: 0 0 0.5rem; }
.card .meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.8rem; }
.card .meta strong { color: var(--ink); }
.card p { color: var(--ink-soft); }
.card .card-foot { margin-top: auto; padding-top: 1rem; display:flex; align-items:center; justify-content:space-between; gap:0.5rem; }
.price { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: 1.15rem; }
.card .accent-bar { height: 5px; border-radius: 999px; margin: -1.5rem -1.5rem 1.2rem; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }

/* Carte "feature" (pourquoi nous) */
.feature { text-align: left; }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 1rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Financement ---------- */
.fin-grid { display:grid; gap: var(--gap); grid-template-columns:1fr; }
@media (min-width:780px){ .fin-grid{ grid-template-columns:repeat(3,1fr);} }
.fin-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem; text-align:center; }
.fin-card .pill { display:inline-block; font-family:var(--font-head); font-weight:700; color:#fff; padding:0.35rem 0.9rem; border-radius:999px; margin-bottom:0.8rem; }

/* ---------- Bloc Qualiopi ---------- */
.qualiopi-block { display:grid; gap:clamp(1.5rem,4vw,2.5rem); align-items:center; grid-template-columns:1fr; }
@media (min-width:820px){ .qualiopi-block{ grid-template-columns: 220px 1fr; } }
.qualiopi-badge { background:#fff; border-radius:var(--radius); padding:1.2rem; box-shadow:var(--shadow-sm); }
.qualiopi-facts { list-style:none; padding:0; margin:0; display:grid; gap:0.6rem; }
.qualiopi-facts li { display:flex; gap:0.6rem; }
.qualiopi-facts svg { flex:0 0 auto; color:var(--green); margin-top:3px; }

/* ---------- Encart "à compléter" ---------- */
.pending {
  border: 1px dashed var(--amber);
  background: #FFFBF0;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: #8A6A12;
  font-size: 0.95rem;
}
.pending strong { color:#6E5410; }

/* ---------- Notice / info ---------- */
.notice {
  border-left: 4px solid var(--blue);
  background: #EFF6F9;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.notice.warn { border-left-color: var(--coral); background:#FDF1ED; }

/* ---------- Détail formation ---------- */
.spec-grid { display:grid; gap:1rem; grid-template-columns:1fr; margin: 1.5rem 0; }
@media (min-width:640px){ .spec-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .spec-grid{ grid-template-columns:repeat(3,1fr); } }
.spec { background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:1rem 1.1rem; }
.spec dt { font-family:var(--font-head); font-weight:600; font-size:0.78rem; letter-spacing:1px; text-transform:uppercase; color:var(--muted); margin-bottom:0.25rem; }
.spec dd { margin:0; font-weight:600; color:var(--ink); }

.steps { counter-reset: step; list-style:none; padding:0; display:grid; gap:1rem; }
.steps li { position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:1.1rem 1.2rem 1.1rem 3.4rem; }
.steps li::before { counter-increment: step; content: counter(step); position:absolute; left:1rem; top:1.1rem; width:1.8rem; height:1.8rem; border-radius:50%; background:var(--teal); color:#fff; font-family:var(--font-head); font-weight:700; display:grid; place-items:center; }

.check-list { list-style:none; padding:0; display:grid; gap:0.6rem; }
.check-list li { display:flex; gap:0.6rem; align-items:flex-start; margin:0; }
.check-list li::before { content:"✓"; color:var(--green); font-weight:800; flex:0 0 auto; }

/* ---------- Bandeau CTA ---------- */
.cta-banner { background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%); color:#fff; border-radius:var(--radius); padding:clamp(1.8rem,4vw,3rem); text-align:center; }
.cta-banner h2 { color:#fff; }
.cta-banner p { color:#CFE6E6; max-width:60ch; margin-inline:auto; }
.cta-banner .hero-cta { justify-content:center; }

/* ---------- Formulaire ---------- */
.form-grid { display:grid; gap:1rem; grid-template-columns:1fr; }
@media (min-width:640px){ .form-grid .col-2{ grid-template-columns:1fr 1fr; display:grid; gap:1rem; } }
.field { display:flex; flex-direction:column; gap:0.35rem; }
.field label { font-family:var(--font-head); font-weight:600; font-size:0.92rem; }
.field .req { color:var(--coral); }
.field input, .field textarea, .field select {
  font-family:var(--font-body); font-size:1rem; color:var(--ink);
  padding:0.75rem 0.9rem; border:1px solid var(--line); border-radius:10px; background:#fff; width:100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--teal); outline:3px solid rgba(21,109,115,0.18); outline-offset:0; }
.field textarea { min-height:140px; resize:vertical; }
.form-help { font-size:0.85rem; color:var(--muted); }

/* ---------- Bloc contact info ---------- */
.contact-list { list-style:none; padding:0; margin:0; display:grid; gap:1rem; }
.contact-list li { display:flex; gap:0.8rem; align-items:flex-start; margin:0; }
.contact-list .ic { flex:0 0 auto; width:42px; height:42px; border-radius:12px; background:#E7F1F1; color:var(--teal); display:grid; place-items:center; }
.contact-list a { font-weight:600; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C6D3D3; padding-block: clamp(2.5rem,5vw,3.5rem) 1.5rem; font-size:0.95rem; }
.site-footer a { color:#EAF4F4; }
.footer-grid { display:grid; gap:2rem; grid-template-columns:1fr; }
@media (min-width:680px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .footer-grid{ grid-template-columns:1.7fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color:#fff; font-size:1rem; margin:0 0 0.8rem; }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:0.5rem; }
.footer-logo { height:48px; width:auto; color:#EAF4F4; margin-bottom:0.9rem; }
.footer-mention { font-size:0.8rem; color:#849797; margin-top:0.8rem; }
.footer-org { font-style:normal; line-height:1.7; }
.footer-org strong { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.12); margin-top:2rem; padding-top:1.2rem; display:flex; flex-wrap:wrap; gap:0.5rem 1.5rem; justify-content:space-between; color:#9FB0B0; font-size:0.88rem; }
.footer-bottom a { color:#C6D3D3; }
.footer-qualiopi { display:flex; align-items:center; gap:0.8rem; background:rgba(255,255,255,0.06); border-radius:12px; padding:0.7rem 0.9rem; margin-top:1rem; }
.footer-qualiopi img { width:74px; height:auto; background:#fff; border-radius:8px; padding:4px; }
.footer-qualiopi span { font-size:0.82rem; color:#B7C6C6; }

/* ---------- Fil d'Ariane / en-tête de page ---------- */
.page-hero { background: linear-gradient(180deg,#F5F9F9, #fff); padding-block: clamp(2.2rem,5vw,3.5rem); border-bottom:1px solid var(--line); }
.breadcrumb { font-size:0.88rem; color:var(--muted); margin-bottom:0.8rem; }
.breadcrumb a { color:var(--muted); }
.breadcrumb [aria-current] { color:var(--ink); font-weight:600; }
.page-hero h1 { margin:0 0 0.6rem; }
.page-hero .lead { margin:0; max-width:62ch; }

/* ---------- Prose (pages légales) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top:2.2rem; }
.prose h3 { margin-top:1.6rem; }
.prose ul { padding-left:1.3rem; }

/* ---------- Divers ---------- */
.tinted { background: var(--bg-soft); }
.center { text-align:center; }
.mt-2 { margin-top:2rem; }
.color-bar { display:flex; height:6px; border-radius:999px; overflow:hidden; margin:0; }
.color-bar span { flex:1; }

/* =====================================================================
   ÉVOLUTION PREMIUM / TECH
   ===================================================================== */

/* ---------- Micro-animations à l'apparition ---------- */
body.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
body.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Hero premium : mesh + profondeur ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 12% 8%, rgba(63,166,106,0.16), transparent 60%),
    radial-gradient(55% 65% at 92% 0%, rgba(244,183,64,0.20), transparent 60%),
    radial-gradient(70% 80% at 80% 100%, rgba(44,143,179,0.16), transparent 60%),
    radial-gradient(50% 60% at 20% 100%, rgba(242,120,92,0.12), transparent 55%),
    linear-gradient(180deg, #F3FAFA 0%, #FFFFFF 70%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,109,115,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,109,115,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
          mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.5rem); line-height: 1.08; }
.hero h1 .hl {
  background: linear-gradient(110deg, var(--teal) 0%, var(--green) 55%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Carte hero en "verre" */
.hero-art {
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 24px 60px rgba(18,67,74,0.16), inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
}
.hero-art .blob { filter: blur(28px); opacity: 0.5; z-index: 0; }
.hero-art li {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-art li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- Bande de badges de confiance ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 1rem; }
.trust .tb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 0.95rem; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.trust .tb img { height: 30px; width: auto; }
.trust .tb .dot { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Chiffres-clés ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1;
  background: linear-gradient(120deg, var(--teal), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }
.stat.is-pending .num { font-size: 1.05rem; background: none; color: var(--amber); -webkit-text-fill-color: var(--amber); font-weight: 600; }

/* ---------- Section IA "tech" ---------- */
.section--tech {
  position: relative; overflow: hidden; color: #EAF4F4;
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(63,166,106,0.30), transparent 60%),
    radial-gradient(50% 80% at 10% 100%, rgba(44,143,179,0.34), transparent 60%),
    linear-gradient(135deg, #0E4A50 0%, #0B3338 100%);
}
.section--tech h2, .section--tech h3 { color: #fff; }
.section--tech .lead, .section--tech p { color: #C7E2E2; }
.section--tech .eyebrow { color: var(--amber); }
.tech-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; pointer-events: none; }
.section--tech .container { position: relative; z-index: 1; }

.ai-benefits { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.6rem; }
@media (min-width: 760px) { .ai-benefits { grid-template-columns: repeat(3, 1fr); } }
.glass-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: 1.4rem;
}
.glass-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #0E4A50; background: linear-gradient(135deg, var(--amber), var(--coral)); margin-bottom: 0.9rem; }
.glass-card h3 { font-size: 1.12rem; margin: 0 0 0.4rem; }
.glass-card p { margin: 0; font-size: 0.96rem; }

.ai-split { display: grid; gap: clamp(1.5rem,4vw,2.5rem); grid-template-columns: 1fr; margin-top: 2rem; align-items: start; }
@media (min-width: 880px) { .ai-split { grid-template-columns: 1fr 1fr; } }
.ai-usecases { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.ai-usecases li { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; }
.ai-usecases svg { flex: 0 0 auto; color: var(--amber); margin-top: 3px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.4rem; }
.tool-chips span {
  font-size: 0.85rem; font-weight: 600; color: #Dff0f0;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.8rem; border-radius: 999px;
}

/* ---------- Familles de formations ---------- */
.family { margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.family:last-child { margin-bottom: 0; }
.family-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; padding: 0.2rem 0 0.2rem 1rem; border-left: 6px solid var(--fam, var(--teal)); margin-bottom: 1.4rem; }
.family-head h3 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.family-head .fin-chip {
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: var(--fam, var(--teal)); padding: 0.32rem 0.8rem; border-radius: 999px;
}
.family-head .fin-sub { color: var(--muted); font-size: 0.95rem; }
.family--cpf { --fam: var(--green); }
.family--ecoles { --fam: var(--blue); }
.family--ia { --fam: var(--coral); }

.card.is-flagship { border-color: color-mix(in srgb, var(--fam, var(--teal)) 45%, var(--line)); box-shadow: 0 14px 34px rgba(18,67,74,0.12); }
.flag-ribbon {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--fam, var(--teal)); margin-bottom: 0.5rem;
}
.devis-card { background: var(--bg-soft); border: 1px dashed var(--line); }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.chip-list li { margin: 0; }
.chip-list span {
  display: inline-block; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.75rem;
}

/* ---------- Témoignages (placeholder) ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quote-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 0.6rem; }
.quote-card blockquote { margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.02rem; }
.quote-card .who { display: flex; align-items: center; gap: 0.7rem; }
.quote-card .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-card .who b { display: block; }
.quote-card .who span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Menu déroulant "Formations" ---------- */
.has-sub > .nav-trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0.7rem 0.4rem;
}
.has-sub > .nav-trigger .chev { transition: transform 0.2s ease; }
.has-sub.is-open > .nav-trigger .chev { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 0; }
.submenu .grp-label {
  font-family: var(--font-head); font-weight: 700; font-size: 0.7rem; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); padding: 0.6rem 0.6rem 0.2rem; display: flex; align-items: center; gap: 0.4rem;
}
.submenu .grp-label .tagdot { width: 8px; height: 8px; border-radius: 50%; }
.submenu a { display: block; padding: 0.45rem 0.7rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.submenu a small { display: block; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.submenu a:hover { background: var(--bg-soft); color: var(--teal); }

@media (min-width: 920px) {
  .has-sub { position: relative; }
  .has-sub > .submenu {
    position: absolute; top: 100%; left: 0; min-width: 340px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow); padding: 0.6rem;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .has-sub:hover > .submenu,
  .has-sub:focus-within > .submenu,
  .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 919px) {
  .has-sub > .nav-trigger { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .submenu { padding: 0.3rem 0 0.6rem; }
  .submenu .grp-label { padding-left: 0.2rem; }
}

/* ---------- Mise en page fiche (page formation) ---------- */
.layout { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.aside-card { position: static; }
@media (min-width: 980px) { .aside-card { position: sticky; top: 88px; } }
.aside-card .price-big { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--teal); line-height: 1; }
.aside-card .price-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.55rem; }
.aside-card ul li { display: flex; justify-content: space-between; gap: 0.6rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.5rem; margin: 0; font-size: 0.94rem; }
.aside-card ul li span:first-child { color: var(--muted); }
.aside-card ul li span:last-child { font-weight: 600; text-align: right; }

/* Fiche Qualiopi : libellés en gras */
.spec dd small { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; margin-top: 0.15rem; }

/* Bandeau certificat compact */
.cert-strip { display: grid; gap: 1.2rem; grid-template-columns: 1fr; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
@media (min-width: 720px) { .cert-strip { grid-template-columns: 120px 1fr auto; } }
.cert-strip img { width: 110px; height: auto; }
.cert-strip p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.cert-strip .btn { white-space: nowrap; }

/* Tableau simple (CGV, RI, indicateurs) */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
table.data th, table.data td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-head); color: var(--ink); background: var(--bg-soft); }
table.data caption { text-align: left; color: var(--muted); font-size: 0.88rem; margin-bottom: 0.5rem; }

/* Encart référent / contact pédagogique */
.mini-contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.95rem; }
.mini-contact a { font-weight: 600; }

.anchor-offset { scroll-margin-top: 90px; }

/* =====================================================================
   MÉGA-MENU
   ===================================================================== */
.submenu.mega { list-style: none; }
.mega-grid { display: grid; gap: 0.4rem; grid-template-columns: 1fr; }
.mega-card { display: block; padding: 0.65rem 0.8rem; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.mega-card:hover, .mega-card:focus-visible { background: var(--bg-soft); border-color: var(--line); color: var(--ink); }
.mega-card--feature { border-color: color-mix(in srgb, var(--coral) 35%, var(--line)); background: #FFF7F4; }
.mega-card--all { border: 1px dashed var(--line); }
.mega-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.45rem; vertical-align: middle; }
.mega-t { display: block; font-family: var(--font-head); font-weight: 600; }
.mega-t em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--coral); border: 1px solid currentColor; border-radius: 999px; padding: 0.05rem 0.45rem; margin-left: 0.35rem; }
.mega-t em.cpf { color: var(--green); }
.mega-d { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 0.1rem; }
.mega-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; margin-top: 0.7rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }

@media (min-width: 920px) {
  .has-sub > .submenu.mega { width: min(720px, 92vw); min-width: 0; padding: 1rem; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem; }
}
@media (min-width: 1100px) {
  .has-sub > .submenu.mega { width: 800px; }
}

/* =====================================================================
   NOTRE MÉTHODE (étapes)
   ===================================================================== */
.method-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; }
.method-step .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 0.9rem; font-size: 1.15rem; }
.method-step h3 { font-size: 1.12rem; margin: 0 0 0.35rem; }
.method-step p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* =====================================================================
   FAQ (accordéon natif, accessible)
   ===================================================================== */
.faq { display: grid; gap: 0.7rem; max-width: 840px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.15rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > p { margin: 0; padding: 1rem 0; color: var(--ink-soft); }
.faq details > p:first-of-type { padding-top: 1rem; }

/* Note "à confirmer" sous un chiffre-clé */
.stat .note { display: block; font-size: 0.72rem; color: #8A6A12; margin-top: 0.25rem; font-weight: 600; }

/* =====================================================================
   ████  STUDIO IA — couche design 2026 (tokens, dark mode, composants)
   Surcouche additive : modernise l'ensemble du site via la cascade,
   sans réécrire le HTML existant. Corrige aussi les contrastes WCAG.
   ===================================================================== */
:root {
  /* Marque — teal approfondi + UN accent corail maîtrisé */
  --teal: #0E5A60;
  --teal-dark: #0A4448;
  --teal-700: #0C4E53;
  --teal-ink: #0E5A60;          /* teal pour texte/liens sur fond clair */
  --coral: #EC6A4E;             /* accent décoratif (assourdi) */
  --coral-strong: #C2451F;      /* corail texte/bouton — WCAG AA sur blanc */
  --coral-dark: #A63A18;

  /* Neutres riches */
  --ink: #16252A;
  --ink-soft: #44585B;
  --muted: #5C6E70;
  --line: #E4ECEC;
  --bg: #FFFFFF;
  --bg-soft: #F4F8F8;

  /* Surfaces (themables en dark) */
  --surface: #FFFFFF;
  --surface-2: #F4F8F8;
  --surface-3: #ECF3F3;

  /* Rayons différenciés par niveau (fin de la pilule généralisée) */
  --r-btn: 12px;
  --r-card: 18px;
  --r-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;

  /* Élévation à 4 niveaux (contact net + ambiante douce) */
  --elev-1: 0 1px 2px rgba(11,63,68,.05), 0 2px 8px rgba(11,63,68,.06);
  --elev-2: 0 2px 4px rgba(11,63,68,.06), 0 10px 26px rgba(11,63,68,.08);
  --elev-3: 0 6px 14px rgba(11,63,68,.10), 0 22px 50px rgba(11,63,68,.12);
  --elev-4: 0 14px 32px rgba(11,63,68,.16), 0 44px 88px rgba(11,63,68,.18);
  --shadow: var(--elev-3);
  --shadow-sm: var(--elev-2);

  --brand-text: var(--teal-ink);
  color-scheme: light;
}

/* ---------- DARK MODE (expression de marque Studio IA) ---------- */
:root[data-theme="dark"] {
  --ink: #EAF4F4;
  --ink-soft: #B9D2D2;
  --muted: #8DA8A8;
  --line: rgba(255,255,255,0.12);
  --bg: #0B2A2E;
  --bg-soft: #0E3338;
  --surface: #11383D;
  --surface-2: #0E3035;
  --surface-3: #16454B;
  --brand-text: #74D2D2;
  --coral: #F2876C;
  --coral-strong: #FF9A7E;
  color-scheme: dark;
}

/* Surfaces des composants → token themable */
.card, .stat, .fin-card, .method-step, .quote-card, .spec,
.aside-card, .qualiopi-badge, .faq details, .notice,
.contact-list .ic, .nav-toggle {
  background-color: var(--surface);
}
.section--soft, .tinted { background: var(--bg-soft); }
.hero-art li { background: color-mix(in srgb, var(--surface) 78%, transparent); }
.chip-list span, .trust .tb { background: var(--surface); }

/* Liens & accents teal → token clair en dark */
a { color: var(--brand-text); }
a:hover { color: var(--brand-text); filter: saturate(1.1) brightness(1.05); }
.hero h1 .hl, .price, .aside-card .price-big, .nav-links a:hover,
.nav-links a[aria-current="page"], .price-sub + * { color: var(--brand-text); }
:root[data-theme="dark"] .hero h1 .hl {
  background: linear-gradient(110deg, #74D2D2, #8FE0B6 60%, #7FC5E6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .stat .num {
  background: linear-gradient(120deg, #74D2D2, #8FE0B6);
  -webkit-background-clip: text; background-clip: text;
}

/* En-tête en dark */
:root[data-theme="dark"] .site-header { background: rgba(11,42,46,0.86); }
:root[data-theme="dark"] .nav-links a { color: var(--ink); }
:root[data-theme="dark"] .has-sub > .nav-trigger { color: var(--ink); }
:root[data-theme="dark"] .has-sub > .submenu,
:root[data-theme="dark"] .nav-menu.is-open { background: var(--surface); }
:root[data-theme="dark"] .mega-card--feature { background: color-mix(in srgb, var(--coral) 14%, var(--surface)); }
:root[data-theme="dark"] .hero {
  background:
    radial-gradient(60% 70% at 12% 8%, rgba(63,166,106,0.14), transparent 60%),
    radial-gradient(55% 65% at 92% 0%, rgba(116,210,210,0.16), transparent 60%),
    radial-gradient(70% 80% at 80% 100%, rgba(44,143,179,0.16), transparent 60%),
    linear-gradient(180deg, #0B2A2E 0%, #0E3338 100%);
}
:root[data-theme="dark"] .hero-art {
  background: rgba(17,56,61,0.66);
  border-color: rgba(255,255,255,0.14);
}
:root[data-theme="dark"] .hero::after { opacity: .5; }

/* ---------- Boutons modernisés (rayon 12px + contraste AA) ---------- */
.btn { border-radius: var(--r-btn); }
.btn--primary { background: var(--coral-strong); color: #fff; box-shadow: 0 8px 20px rgba(194,69,31,0.28); }
.btn--primary:hover { background: var(--coral-dark); color: #fff; }
:root[data-theme="dark"] .btn--primary { background: #D8542C; color: #fff; }
:root[data-theme="dark"] .btn--primary:hover { background: #C2451F; }
.btn--ghost { color: var(--brand-text); border-color: currentColor; }
.btn--ghost:hover { background: var(--brand-text); color: var(--bg); }
.btn--solid { background: var(--teal); color: #fff; }
:root[data-theme="dark"] .btn--solid { background: #15616A; }
:root[data-theme="dark"] .btn--light { background: var(--surface-3); color: var(--ink); }

/* Cartes : rayon par niveau + élévation au survol */
.card, .stat, .fin-card, .method-step, .quote-card { border-radius: var(--r-card); }
.card:hover { box-shadow: var(--elev-3); }
.hero-art { border-radius: var(--r-lg); }

/* ---------- Eyebrow → micro-label « chip » moderne ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .76rem; letter-spacing: .3px; text-transform: none;
  color: var(--coral-strong);
  background: color-mix(in srgb, var(--coral) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral) 26%, transparent);
  padding: .32rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral-strong); flex: 0 0 auto;
}
.section--tech .eyebrow, .section--teal .eyebrow {
  color: #FFE0A3; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2);
}
.section--tech .eyebrow::before, .section--teal .eyebrow::before { background: var(--amber); }

/* Pending / amber : contraste corrigé */
.pending { color: #6E5410; }
.tag--amber { background: #FBEFD2; color: #8A6A12; }
.stat.is-pending { display: none; }   /* sécurité : jamais d'« À compléter » public */

/* =====================================================================
   THEME TOGGLE (clair / sombre)
   ===================================================================== */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 12px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--brand-text);
  transition: background .15s ease, transform .15s ease;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.header-actions { display: inline-flex; align-items: center; gap: .6rem; }

/* Bouton thème toujours visible dans la barre (mobile) */
.theme-toggle--bar { display: none; }
@media (max-width: 919px) {
  .nav .brand { margin-right: auto; }
  .theme-toggle--bar { display: inline-grid; margin-right: .15rem; }
  .nav-cta .theme-toggle { display: none; }  /* évite le doublon dans le menu ouvert */
}

/* Téléphone cliquable dans le header */
.nav-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; color: var(--brand-text);
  text-decoration: none; white-space: nowrap;
}
.nav-phone svg { width: 18px; height: 18px; }

/* =====================================================================
   BANDEAU LOGOS / OUTILS IA
   ===================================================================== */
.logos-band { border-block: 1px solid var(--line); background: var(--bg-soft); }
.logos-band .container { padding-block: clamp(1.4rem, 3vw, 2rem); }
.logos-band p { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 1rem; font-weight: 600; letter-spacing: .3px; }
.tool-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem .8rem; }
.tool-logos .tool {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
  box-shadow: var(--elev-1);
}
.tool-logos .tool .gem { width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto; background: linear-gradient(135deg, var(--teal), var(--coral)); }

/* =====================================================================
   BANDEAU RÉASSURANCE FINANCEMENT
   ===================================================================== */
.assurance-band {
  display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.6rem;
}
@media (min-width: 760px) { .assurance-band { grid-template-columns: repeat(3, 1fr); } }
.assurance-band .ab {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 1rem 1.1rem; box-shadow: var(--elev-1);
}
.assurance-band .ab svg { flex: 0 0 auto; color: var(--brand-text); margin-top: 2px; }
.assurance-band .ab b { font-family: var(--font-head); display: block; }
.assurance-band .ab span { color: var(--muted); font-size: .9rem; }

/* =====================================================================
   GRILLE BENTO (accueil — IA vedette en grand)
   ===================================================================== */
.bento { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento .card { margin: 0; }
.bento .card--xl { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .bento .card--xl { grid-column: span 2; grid-row: span 2; }
  .bento .card--xl h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
}
.bento .card--xl {
  position: relative; overflow: hidden; color: #EAF4F4;
  background:
    radial-gradient(70% 90% at 88% 0%, rgba(63,166,106,0.30), transparent 60%),
    radial-gradient(60% 80% at 6% 100%, rgba(44,143,179,0.30), transparent 60%),
    linear-gradient(135deg, #0E4A50 0%, #0B3338 100%);
  border-color: rgba(255,255,255,0.14);
}
.bento .card--xl h3, .bento .card--xl p { color: #EAF4F4; }
.bento .card--xl .price { color: #FFE0A3; }
.bento .card--xl .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.bento .card--xl .btn--ghost:hover { background: #fff; color: var(--teal); }

/* =====================================================================
   STICKY CTA MOBILE (devis + appel)
   ===================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem; padding: .6rem clamp(.8rem, 3vw, 1.2rem);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,63,68,.10);
}
.sticky-cta .btn { flex: 1; justify-content: center; padding: .8rem 1rem; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* =====================================================================
   BLOC « CE QUE VOUS SAUREZ FAIRE » (fiches formation)
   ===================================================================== */
.outcomes { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.3rem, 3vw, 2rem); }
.outcomes h3 { margin-top: 0; }
.outcomes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
@media (min-width: 680px) { .outcomes ul { grid-template-columns: 1fr 1fr; } }
.outcomes li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; }
.outcomes li svg { flex: 0 0 auto; color: var(--brand-text); margin-top: 3px; }

/* =====================================================================
   QUIZ IA (recommandeur de formation, 100% local)
   ===================================================================== */
.quiz {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--elev-2); max-width: 760px; margin-inline: auto;
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: quizfade .35s ease; }
@keyframes quizfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-progress { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-bottom: 1.4rem; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--coral)); transition: width .4s ease; }
.quiz h3 { margin-top: 0; }
.quiz-options { display: grid; gap: .7rem; margin-top: 1rem; }
.quiz-opt {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: .9rem 1.1rem; cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .15s ease, transform .12s ease, background .15s ease;
}
.quiz-opt:hover { transform: translateY(-2px); border-color: var(--brand-text); }
.quiz-opt .em { font-size: 1.4rem; flex: 0 0 auto; }
.quiz-result { text-align: center; }
.quiz-result .badge-reco {
  display: inline-block; font-family: var(--font-head); font-weight: 700; color: var(--brand-text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; margin-bottom: 1rem;
}
.quiz-back { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; margin-top: 1rem; text-decoration: underline; }

/* =====================================================================
   COMPTEURS ANIMÉS + AFFINAGES MOTION
   ===================================================================== */
.stat .num[data-count] { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .blob { animation: blobdrift 16s ease-in-out infinite alternate; }
  .bento .card--xl::after {
    content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 120%;
    background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent);
    pointer-events: none;
  }
}
@keyframes blobdrift { to { transform: translate(14px, -10px) scale(1.06); } }

/* Form: champ d'état (succès / erreur AJAX) */
.form-status { border-radius: var(--radius-sm); padding: .85rem 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.form-status--ok { background: #E7F3EE; color: #1C6B47; border: 1px solid #BFE3D2; }
.form-status--err { background: #FDF0EC; color: #A63A18; border: 1px solid #F4C7BB; }
:root[data-theme="dark"] .form-status--ok { background: rgba(63,166,106,.16); color: #9FE6C2; }
:root[data-theme="dark"] .form-status--err { background: rgba(242,120,92,.16); color: #F7B6A2; }

/* ===================== OUTIL OPCO (NAF → OPCO) ===================== */
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem,4vw,2.2rem); box-shadow: var(--elev-2); }
.opco-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.opco-form input { flex: 1 1 220px; font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); color: var(--ink); }
.opco-form input:focus { outline: 3px solid rgba(14,90,96,.18); border-color: var(--brand-text); }
#opco-result { margin-top: 1.2rem; }
.opco-msg { color: var(--muted); }
.opco-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.2rem 1.3rem; background: var(--surface-2); }
.opco-top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .4rem; font-size: .88rem; }
.opco-card h3 { margin: .2rem 0 .4rem; }
.opco-name { color: var(--brand-text); }
.opco-badge { font-weight: 700; font-size: .74rem; padding: .25rem .6rem; border-radius: 999px; }
.opco-badge.conf-ok { background: #E7F3EE; color: #1C6B47; }
.opco-badge.conf-mid { background: #FBEFD2; color: #8A6A12; }
.opco-badge.conf-low { background: #FDECE9; color: #A63A18; }
.opco-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .6rem; }
.opco-disclaimer { font-size: .82rem; color: var(--muted); margin: 0; border-top: 1px dashed var(--line); padding-top: .7rem; }
:root[data-theme="dark"] .opco-badge.conf-ok { background: rgba(63,166,106,.18); color: #9FE6C2; }
:root[data-theme="dark"] .opco-badge.conf-mid { background: rgba(244,183,64,.16); color: #F4CE7A; }
:root[data-theme="dark"] .opco-badge.conf-low { background: rgba(242,120,92,.16); color: #F7B6A2; }

/* ===================== CALCULATEUR ROI IA ===================== */
.roi-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; align-items: center; margin-top: 1rem; }
@media (min-width: 760px) { .roi-grid { grid-template-columns: 1.1fr .9fr; } }
.roi-fields { display: grid; gap: 1rem; }
.roi-fields label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: block; margin-bottom: .3rem; }
.roi-fields input { width: 100%; font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); color: var(--ink); }
.roi-out { text-align: center; background: linear-gradient(135deg, #0E4A50, #0B3338); color: #EAF4F4; border-radius: var(--r-card); padding: 1.6rem; }
.roi-out .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,6vw,2.8rem); line-height: 1; color: #FFE0A3; }
.roi-out .lbl { color: #C7E2E2; font-size: .9rem; margin-top: .3rem; }
.roi-out .sub { color: #9FC3C3; font-size: .82rem; margin-top: .8rem; }

/* ===================== PAGE « TROUVEZ VOTRE OPCO » ===================== */
.container.narrow { max-width: 820px; }
.opco-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1.4rem; }
.opco-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.opco-item h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--teal); }
.opco-item p { margin: 0 0 .7rem; font-size: .92rem; color: var(--ink-soft); }
.opco-item a { font-weight: 600; font-size: .88rem; }

/* ===================== BANDE PHOTOS « EN SITUATION » ===================== */
.photo-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.4rem; }
@media (min-width: 720px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-card img { display: block; width: 100%; height: 240px; object-fit: cover; }
.photo-card figcaption { padding: .8rem 1rem; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }

/* ===================== HERO PHOTO + FINANCEMENT COMPACT (accueil épuré) ===================== */
.hero-photo { display: flex; }
.hero-photo img { display: block; width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r-lg, 22px); box-shadow: var(--elev-3, 0 18px 44px rgba(0,0,0,.18)); }
.fin-compact { display: grid; grid-template-columns: 1fr; align-items: stretch; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: var(--r-card, 18px); overflow: hidden; box-shadow: var(--shadow-sm, 0 6px 18px rgba(0,0,0,.06)); }
@media (min-width: 760px) { .fin-compact { grid-template-columns: 1fr 1.15fr; } }
.fin-compact-media img { display: block; width: 100%; height: 100%; min-height: 240px; max-height: 360px; object-fit: cover; }
.fin-compact-body { padding: 1.6rem 1.8rem; }
.fin-compact-body h2 { margin-top: .2rem; }
