/* =========================================================================
   RH-France — Organisme de formation Qualiopi
   Design system 2026 · "Grotesque moderne"
   Space Grotesk + Onest · slate sombre / indigo / jaune signature
   ========================================================================= */

/* ----------------------------- Tokens ---------------------------------- */
:root {
  /* Encres slate */
  --ink: #0F172B;
  --ink-2: #16223C;
  --ink-3: #22324F;
  --slate: #566179;
  --slate-2: #93A0B8;

  /* Papier */
  --paper: #FFFFFF;
  --paper-2: #F4F7FB;
  --paper-3: #E9F0F8;
  --white: #FFFFFF;
  --line: #E5EAF2;
  --line-2: #D9E1EC;
  --line-strong: #C6D0E0;

  /* Accent — indigo (actions) */
  --blue: #4F46E5;
  --blue-600: #4338CA;
  --blue-700: #3A32A8;
  --blue-ink: #2C2A77;
  --blue-soft: #ECEBFD;
  --blue-glow: rgba(79, 70, 229, .28);
  --sky: #A5ABFF;

  /* Signature — jaune */
  --yellow: #FCD503;
  --yellow-2: #FFE24A;
  --yellow-soft: #FFF6C7;
  --yellow-ink: #5C4E00;

  /* Secondaires */
  --cyan: #1FA9CC;
  --green: #16A06B;
  --green-soft: #E1F5EC;
  --gold: #EAB308;

  /* Texte */
  --t-1: #0F172B;
  --t-2: #3D4861;
  --t-3: #6B7690;
  --t-inv: #EEF1F8;
  --t-inv-2: rgba(238, 241, 248, .66);

  /* Rayons — modernes, arrondis doux */
  --r-xs: 8px;
  --r-sm: 11px;
  --r-md: 15px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(15,23,43,.05), 0 1px 3px rgba(15,23,43,.04);
  --sh-md: 0 20px 44px -24px rgba(15,23,43,.24);
  --sh-lg: 0 44px 96px -42px rgba(15,23,43,.36);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 78px;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .5s;

  --z-header: 50;
  --z-menu: 60;
  --z-top: 70;
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--t-1);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-top);
  background: var(--ink); color: var(--t-inv); padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ----------------------------- Typography ------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; color: var(--t-1); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.05rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.68rem); }
h4 { font-size: 1.18rem; letter-spacing: -.02em; }
h5 { font-family: var(--font-body); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--t-1); }
p { color: var(--t-2); }
strong { color: var(--t-1); font-weight: 600; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--t-2); line-height: 1.6; max-width: 60ch; }

/* Surlignage signature (remplace l'italique) */
.accent { color: var(--ink); background-image: linear-gradient(104deg, var(--yellow) 0%, var(--yellow-2) 100%); background-repeat: no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .04em .16em; border-radius: 5px; }
.muted { color: var(--t-3); }

/* ----------------------------- Layout ---------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 800px; }

.section { padding-block: clamp(64px, 9vw, 122px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--ink { background: var(--ink); color: var(--t-inv); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--ink p, .section--ink .lead { color: var(--t-inv-2); }
.section--paper2 { background: var(--paper-2); }

.section-head { max-width: 750px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }

.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 34px; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em; color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 22px; height: 7px; border-radius: 3px; background: var(--yellow); }
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-dark::before { background: var(--yellow); }

/* ----------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .97rem; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-md);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -14px var(--blue-glow); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 18px 38px -14px var(--blue-glow); transform: translateY(-2px); }
.btn--accent { background: var(--yellow); color: var(--ink); }
.btn--accent:hover { background: var(--yellow-2); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--t-inv); }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--t-1); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.28); color: var(--t-inv); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn--lg { padding: 17px 28px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }

/* ----------------------------- Scroll progress ------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: calc(var(--z-top) + 5); background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); box-shadow: 0 0 12px var(--blue-glow); transition: width .1s linear; }

/* ----------------------------- Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(15,23,43,.5); }
.site-header.hide { transform: translateY(-100%); }

/* Topbar (bandeau utilitaire) */
.topbar { background: var(--ink); color: var(--t-inv-2); overflow: hidden; transition: height .35s var(--ease), opacity .3s var(--ease); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar-msg { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 500; color: var(--t-inv-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-msg svg { width: 15px; height: 15px; color: var(--yellow); flex-shrink: 0; animation: spinSlow 9s linear infinite; }
.topbar-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.topbar-right a { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 500; color: var(--t-inv-2); transition: color .18s var(--ease); }
.topbar-right a:hover { color: var(--yellow); }
.topbar-right svg { width: 14px; height: 14px; color: var(--yellow); }
.topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,.16); }
.site-header.scrolled .topbar { height: 0; opacity: 0; }
.site-header.scrolled .topbar .container { height: 0; }

.nav { display: flex; align-items: center; gap: 22px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.scrolled .nav { height: 64px; }
.brand-mark { transition: transform .35s var(--ease); }
.site-header.scrolled .brand-mark { transform: scale(.9); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -.03em; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: var(--r-sm); flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.04em;
}
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--t-3); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav-links > li > a, .nav-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 9px 12px; border-radius: var(--r-sm); font-size: .94rem; font-weight: 500; color: var(--t-2);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-links > li > a::after, .nav-trigger::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links > li > a:hover::after, .nav-item:hover .nav-trigger::after, .nav-links > li > a[aria-current]::after { transform: scaleX(1); }
.nav-links > li > a:hover, .nav-trigger:hover, .nav-item:hover .nav-trigger { color: var(--t-1); background: var(--paper-2); }
.nav-trigger svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-item { position: relative; }
.nav-item:hover .nav-trigger svg { transform: rotate(180deg); }
.nav-spacer { flex: 1; }
.nav-cta { flex-shrink: 0; }

/* Mega dropdown */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(560px, 86vw); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 14px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-link { display: flex; align-items: flex-start; gap: 13px; padding: 12px 12px; border-radius: var(--r-sm); transition: background-color .16s var(--ease); }
.mega-link:hover { background: var(--paper-2); }
.mega-ic { width: 36px; height: 36px; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.mega-ic svg { width: 19px; height: 19px; }
.mega-link b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--t-1); letter-spacing: -.02em; }
.mega-link span { font-size: .8rem; color: var(--t-3); line-height: 1.4; }
.mega-foot { margin-top: 8px; padding: 13px 15px; border-radius: var(--r-sm); background: var(--ink); color: var(--t-inv); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mega-foot span { font-size: .85rem; color: var(--t-inv-2); }
.mega-foot a { color: var(--yellow); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.mega-foot a svg { width: 16px; height: 16px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); place-items: center; color: var(--t-1); border: 1px solid var(--line-strong); }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: var(--z-menu);
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  background: var(--paper); padding: 22px var(--gutter) 40px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(100%); transition: transform .4s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu > ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a.m-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary svg { width: 20px; height: 20px; transition: transform .25s var(--ease); color: var(--blue); }
.m-group[open] summary svg { transform: rotate(45deg); }
.m-sub { display: flex; flex-direction: column; padding: 2px 0 14px; }
.m-sub a { padding: 9px 14px; color: var(--t-2); font-size: .98rem; border-radius: var(--r-xs); }
.m-sub a:hover { background: var(--paper-2); color: var(--t-1); }
.mobile-menu .btn { margin-top: 22px; }
.m-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--t-3); font-size: .9rem; }
.m-contact a { color: var(--t-1); font-weight: 600; }

/* ----------------------------- Hero ------------------------------------ */
.hero { position: relative; padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; background: var(--ink); color: var(--t-inv); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(80% 90% at 100% 0%, rgba(79,70,229,.34), transparent 58%);
}
.hero .container { position: relative; z-index: 2; }

/* Image de fond du hero — duotone + dégradé de lisibilité */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; filter: grayscale(1) brightness(.78) contrast(1.05); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, var(--ink) 6%, rgba(15,23,43,.84) 40%, rgba(44,42,119,.5) 100%), radial-gradient(70% 90% at 100% 0%, rgba(79,70,229,.3), transparent 60%); }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(34px, 5vw, 76px); align-items: end; }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--t-inv-2); margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--t-inv-2); }
.hero-trust svg { width: 18px; height: 18px; color: var(--yellow); flex-shrink: 0; }
.hero-trust strong { color: var(--white); }

/* Panneau hero */
.hero-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 28px;
}
.hero-card h3 { color: var(--white); font-size: 1.34rem; }
.hero-card .hc-sub { color: var(--t-inv-2); font-size: .92rem; margin-top: 5px; }
.hc-row { display: flex; flex-direction: column; gap: 0; margin-top: 22px; }
.hc-field { border-top: 1px solid rgba(255,255,255,.12); padding: 13px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.hc-field span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--t-inv-2); }
.hc-field b { color: var(--white); font-weight: 600; font-size: .98rem; text-align: right; }
.hero-card .btn { margin-top: 22px; }
.hc-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--yellow); margin-top: 16px; }
.hc-badge svg { width: 16px; height: 16px; }

/* ----------------------------- Partenaires ----------------------------- */
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 26px; }
.trust-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; }
.trust-lead { font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; color: var(--t-3); font-weight: 600; }
.trust-bar .marquee, .trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; width: auto; animation: none; }
.trust-bar span:not(.trust-lead) { display: inline-flex; align-items: center; gap: 9px; color: var(--t-2); font-size: .92rem; font-weight: 600; white-space: nowrap; }
.trust-bar span svg { width: 16px; height: 16px; color: var(--blue); }

/* ----------------------------- Stats ----------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { text-align: left; padding: 4px 28px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.7rem); letter-spacing: -.04em; color: var(--t-1); line-height: 1; }
.section--ink .stat-num { color: var(--white); }
.section--ink .stat-num em { color: var(--yellow); }
.stat-num em { font-style: normal; color: var(--blue); }
.stat-lbl { margin-top: 14px; color: var(--t-3); font-size: .92rem; max-width: 24ch; }
.section--ink .stat-lbl { color: var(--t-inv-2); }

/* ----------------------------- Cards / Grid ---------------------------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); transform: translateY(-3px); }
.card-ic { width: 50px; height: 50px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 20px; }
.card-ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .98rem; }
.card-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.card-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--t-2); }
.card-list svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.card-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); font-size: .93rem; }
.card-link::after { content: "→"; display: inline-block; transition: transform .25s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }
.card-link svg { display: none; }
.card-link.stretched::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--feature { border-color: var(--blue); overflow: hidden; }
.card--feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--yellow); z-index: 1; }
.card-tag { position: absolute; top: 26px; right: 28px; font-family: var(--font-body); font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); background: var(--yellow); padding: 4px 9px; border-radius: var(--r-full); }

/* ----------------------------- Visuels --------------------------------- */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: linear-gradient(150deg, var(--ph-a, #22324F), var(--ph-b, #0F172B));
}
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 90% at 82% 8%, rgba(255,255,255,.12), transparent 60%); }
.ph svg { position: absolute; right: 18px; bottom: 16px; width: 60px; height: 60px; color: rgba(255,255,255,.22); }
.ph-label { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: rgba(255,255,255,.96); font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.22; letter-spacing: -.02em; max-width: 74%; }
.ph--blue { --ph-a: #4F46E5; --ph-b: #2C2A77; }
.ph--cyan { --ph-a: #1FA9CC; --ph-b: #0B4D60; }
.ph--green { --ph-a: #16A06B; --ph-b: #0B5640; }
.ph--ink { --ph-a: #22324F; --ph-b: #0F172B; }
.ph--gold { --ph-a: #E6BD00; --ph-b: #7A6300; }
.split-media .media-img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------- Bento ----------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.bento-item { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--white); }
.bento-item.span-2 { grid-column: span 2; }
.bento-item.row-2 { grid-row: span 2; }
.bento-item.dark { background: var(--ink); color: var(--t-inv); border-color: var(--ink); }
.bento-item.dark h3, .bento-item.dark h4 { color: var(--white); }
.bento-item.dark p { color: var(--t-inv-2); }
.bento-item.accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.bento-item.accent h3, .bento-item.accent p { color: #fff; }
/* Icône dans le flux normal — jamais de chevauchement avec le texte, à toute taille d'écran */
.bento-ic { flex-shrink: 0; margin-bottom: 16px; width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.bento-item.dark .bento-ic { background: rgba(255,255,255,.07); color: var(--yellow); }
.bento-item.accent .bento-ic { background: rgba(255,255,255,.18); color: #fff; }
.bento-ic svg { width: 21px; height: 21px; }
.bento-item h3 { font-size: 1.32rem; } .bento-item p { font-size: .92rem; margin-top: 7px; }
.bento-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,4vw,3.2rem); letter-spacing: -.04em; line-height: 1; color: var(--yellow); }
.bento-item.accent .bento-big { color: var(--yellow); }

/* Carte bento avec photo de fond + voile de lisibilité */
.bento-photo { background: var(--ink); }
.bento-photo .bento-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bento-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(195deg, rgba(15,23,43,.35) 0%, rgba(15,23,43,.86) 70%, rgba(15,23,43,.96) 100%); }
.bento-photo .bento-ic, .bento-photo h3, .bento-photo h4, .bento-photo p { position: relative; z-index: 2; }

/* ----------------------------- Process — numéros grotesk --------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,2.6vw,30px); counter-reset: step; }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.section--ink .step { border-top-color: rgba(255,255,255,.18); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.04em; color: var(--blue);
  display: block; margin-bottom: 14px; line-height: 1;
}
.section--ink .step { border-top-color: var(--yellow); }
.section--ink .step::before { color: var(--yellow); }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .94rem; }

/* ----------------------------- Split / feature ------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.split--media-first .split-media { order: -1; }
.split-media { position: relative; aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.feature-list { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.feature-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.section--ink .feature-list li { border-top-color: rgba(255,255,255,.14); }
.section--ink .feature-list li:last-child { border-bottom-color: rgba(255,255,255,.14); }
.feature-ic { width: 42px; height: 42px; border-radius: var(--r-sm); flex-shrink: 0; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.section--ink .feature-ic { background: rgba(255,255,255,.07); color: var(--yellow); }
.feature-ic svg { width: 21px; height: 21px; }
.feature-list h4 { font-size: 1.08rem; margin-bottom: 4px; }
.feature-list p { font-size: .94rem; }

/* ----------------------------- Testimonials ---------------------------- */
.testimonial { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; }
.testimonial::before { content: ""; position: absolute; top: 0; left: 28px; width: 38px; height: 4px; background: var(--yellow); border-radius: 0 0 3px 3px; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 17px; height: 17px; color: var(--gold); }
.testimonial blockquote { font-family: var(--font-body); font-weight: 500; font-size: 1.12rem; line-height: 1.5; color: var(--t-1); flex: 1; letter-spacing: -.01em; }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.t-name { display: block; font-weight: 600; color: var(--t-1); font-size: .96rem; }
.t-role { display: block; color: var(--t-3); font-size: .85rem; }

/* ----------------------------- FAQ ------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.02em; cursor: pointer; list-style: none; color: var(--t-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 4px 26px; color: var(--t-2); font-size: 1rem; max-width: 64ch; }
.faq-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ----------------------------- CTA band -------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--t-inv); border-radius: var(--r-xl); padding: clamp(44px, 6vw, 80px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 130% at 50% -30%, rgba(79,70,229,.4), transparent 62%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: var(--t-inv-2); margin-inline: auto; margin-top: 18px; }
.cta-band .hero-actions { justify-content: center; }

/* ----------------------------- Page hero ------------------------------- */
.page-hero { position: relative; background: var(--ink); color: var(--t-inv); overflow: hidden; padding-top: clamp(40px,5vw,60px); padding-bottom: clamp(50px,6vw,82px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(79,70,229,.34), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--t-inv-2); margin-bottom: 26px; }
.crumb a { color: var(--t-inv-2); transition: color .15s; }
.crumb a:hover { color: var(--yellow); }
.crumb svg { width: 14px; height: 14px; opacity: .55; }
.crumb [aria-current] { color: var(--white); }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lead { color: var(--t-inv-2); margin-top: 22px; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero .detail-meta { margin-top: 28px; }

/* ----------------------------- Prose ----------------------------------- */
.prose { max-width: 740px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; font-size: clamp(1.6rem,2.6vw,2.1rem); }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--t-2); font-size: 1.04rem; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 4px; border-radius: 2px; background: var(--yellow); }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--t-1); }

/* Callout */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--yellow); }
.callout svg { width: 23px; height: 23px; color: var(--blue); flex-shrink: 0; }
.callout p { color: var(--t-2); font-size: .98rem; }
.callout strong { color: var(--t-1); }
.callout--green { border-left-color: var(--green); }
.callout--green svg { color: var(--green); }

/* ----------------------------- Programme ------------------------------- */
.program { display: flex; flex-direction: column; counter-reset: mod; }
.program-item { display: grid; grid-template-columns: 70px 1fr; gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.program-item:last-child { border-bottom: 1px solid var(--line); }
.program-num { counter-increment: mod; }
.program-num::before { content: counter(mod, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; letter-spacing: -.05em; color: var(--blue); line-height: .9; }
.program-item h4 { margin-bottom: 6px; font-size: 1.24rem; }
.program-item p { font-size: .98rem; }
.program-dur { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--t-3); }
.program-dur svg { width: 14px; height: 14px; color: var(--cyan); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2.2vw,22px); align-items: start; }
.price-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column; transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.price-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.price-card.featured { border-color: var(--blue); overflow: hidden; }
.price-card.featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--yellow); z-index: 1; }
.price-card .badge-pop { position: absolute; top: 24px; right: 24px; font-family: var(--font-body); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 4px 9px; border-radius: var(--r-full); }
.price-name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.03em; }
.price-val { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; letter-spacing: -.04em; margin-top: 14px; line-height: 1; }
.price-val small { font-size: .9rem; font-weight: 500; color: var(--t-3); letter-spacing: 0; font-family: var(--font-body); }
.price-sub { color: var(--t-3); font-size: .9rem; margin-top: 8px; }
.price-card .card-list { margin-top: 24px; flex: 1; }
.price-card .btn { margin-top: 26px; }

/* ----------------------------- Contact form ---------------------------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px,3vw,42px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--t-1); margin-bottom: 8px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--paper-2); font: inherit; font-size: .98rem; color: var(--t-1); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--t-3); margin-bottom: 18px; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.form-note { font-size: .82rem; color: var(--t-3); margin-top: 14px; text-align: center; }

.contact-aside { display: flex; flex-direction: column; gap: 0; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item:last-of-type { border-bottom: 1px solid var(--line); }
.contact-item .feature-ic { background: var(--ink); color: var(--yellow); }
.contact-item h4 { font-size: 1.04rem; margin-bottom: 4px; }
.contact-item a, .contact-item p { color: var(--t-2); font-size: .95rem; }
.contact-item a { color: var(--blue); font-weight: 600; }

/* ----------------------------- Financeurs ------------------------------ */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.logo-cell { aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); color: var(--t-2); text-align: center; padding: 20px; transition: color .2s, border-color .2s; }
.logo-cell:hover { color: var(--blue); border-color: var(--line-strong); }
.logo-cell-img { width: 100%; height: 96px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-cell-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.logo-cell-name { font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: -.01em; line-height: 1.3; }
@media (max-width: 760px) {
  .logo-cell-img { height: 80px; }
}

/* Chips */
.detail-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--r-full); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: var(--t-inv); font-weight: 500; }
.chip svg { width: 15px; height: 15px; color: var(--yellow); }
.chip--light { background: var(--white); border-color: var(--line); color: var(--t-2); }
.chip--light svg { color: var(--blue); }

/* Qualiopi */
.qualiopi { display: inline-flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); margin-top: 24px; }
.qualiopi-mark { width: 44px; height: 44px; border-radius: var(--r-sm); flex-shrink: 0; display: grid; place-items: center; background: var(--blue); color: #fff; }
.qualiopi-mark svg { width: 23px; height: 23px; }
.qualiopi b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.02em; color: var(--t-1); }
.qualiopi span { font-size: .82rem; color: var(--t-3); }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: var(--r-full); background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--t-2); transition: all .18s var(--ease); }
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill svg { width: 15px; height: 15px; color: var(--blue); }

/* ----------------------------- Footer ---------------------------------- */
.site-footer { background: var(--ink); color: var(--t-inv); padding-top: clamp(60px,7vw,88px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(28px,4vw,48px); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; color: var(--white); }
.footer-tag { color: var(--t-inv-2); font-size: .94rem; margin-top: 18px; max-width: 38ch; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; color: var(--t-inv-2); font-size: .92rem; }
.footer-contact a:hover { color: var(--yellow); }
.footer-contact svg { width: 17px; height: 17px; color: var(--yellow); flex-shrink: 0; }
.footer-col h5 { color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--t-inv-2); font-size: .93rem; transition: color .15s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { margin-top: clamp(44px,5vw,64px); border-top: 1px solid rgba(255,255,255,.1); padding-block: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-bottom, .footer-bottom a { color: var(--t-inv-2); font-size: .86rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); color: var(--t-inv-2); transition: all .2s var(--ease); }
.footer-social a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.footer-social svg { width: 18px; height: 18px; }

/* ----------------------------- Back to top ----------------------------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-top); width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--ink); color: var(--yellow); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink-3); }
.to-top svg { width: 22px; height: 22px; }

/* Barre d'appel mobile */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.call-bar .btn { flex: 1; }

/* ----------------------------- Reveal ---------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(2px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--scale { transform: scale(.92); }
.reveal--up-lg { transform: translateY(48px); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
/* Stagger automatique dans les grilles */
.grid > *:nth-child(2), .price-grid > *:nth-child(2), .steps > *:nth-child(2) { transition-delay: .07s; }
.grid > *:nth-child(3), .price-grid > *:nth-child(3), .steps > *:nth-child(3) { transition-delay: .14s; }
.grid > *:nth-child(4), .steps > *:nth-child(4) { transition-delay: .21s; }

/* ----------------------------- Keyframes ------------------------------- */
@keyframes enterUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes enterScale { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes aurora { 0% { transform: translate(0,0) scale(1); opacity: .9; } 50% { transform: translate(-4%, 3%) scale(1.12); opacity: 1; } 100% { transform: translate(3%, -2%) scale(1.05); opacity: .85; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-18deg); } 60%,100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
@keyframes bob { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ---- Hero : entrée échelonnée + aurore animée ---- */
.hero::before { animation: aurora 16s ease-in-out infinite alternate; }
.hero .eyebrow { animation: enterUp .7s var(--ease) both; }
.hero h1 { animation: enterUp .85s .1s var(--ease) both; }
.hero .lead { animation: enterUp .85s .22s var(--ease) both; }
.hero-actions { animation: enterUp .85s .34s var(--ease) both; }
.hero-trust { animation: enterUp .85s .46s var(--ease) both; }
.hero-card { animation: enterScale 1s .4s var(--ease) both, floaty 7s 1.6s ease-in-out infinite; }
.hero .accent { display: inline-block; animation: enterScale .8s .5s var(--ease) both; }

/* ---- Boutons : reflet animé ---- */
.btn--primary, .btn--accent { position: relative; overflow: hidden; }
.btn--primary::after, .btn--accent::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); transform: translateX(-130%) skewX(-18deg); }
.btn--primary:hover::after, .btn--accent:hover::after { animation: shine .9s var(--ease); }

/* ---- Hover micro-interactions ---- */
.card-ic, .feature-ic, .bento-ic, .mega-ic { transition: transform .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.card:hover .card-ic { transform: translateY(-3px) rotate(-5deg) scale(1.08); }
.feature-list li:hover .feature-ic { transform: rotate(-6deg) scale(1.08); }
.mega-link:hover .mega-ic { transform: scale(1.1) rotate(-4deg); }
.bento-item { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease); }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.bento-item.dark:hover, .bento-item.accent:hover { border-color: transparent; }
.bento-item:hover .bento-ic { transform: scale(1.12) rotate(-5deg); }
.testimonial { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.logo-cell, .chip--light, .qualiopi { transition: transform .25s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease); }
.logo-cell:hover, .qualiopi:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.contact-item .feature-ic, .footer-social a { transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.footer-social a:hover { transform: translateY(-3px) rotate(-4deg); }
.pill { transition: transform .2s var(--ease), border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.faq summary:hover { color: var(--blue); }

/* ---- Blob flottant CTA ---- */
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(252,213,3,.18), transparent 70%); animation: floaty 9s ease-in-out infinite; pointer-events: none; }

/* ---- Stat : barre animée ---- */
.stat { position: relative; }
.stat-num { transition: transform .3s var(--ease); }
.stat:hover .stat-num { transform: translateY(-2px); }

@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-card, .cta-band::after, .topbar-msg svg { animation: none !important; }
  .hero .eyebrow, .hero h1, .hero .lead, .hero-actions, .hero-trust, .hero-card, .hero .accent { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ----------------------------- Responsive ------------------------------ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; align-items: stretch; }
  .hero-card { max-width: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item.span-2 { grid-column: span 2; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat { padding: 4px 22px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split--media-first .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .call-bar { display: flex; }
  body { padding-bottom: 72px; }
  .to-top { bottom: 84px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .field-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-item { min-height: 168px; }
  .bento-item.span-2, .bento-item.row-2 { grid-column: auto; grid-row: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .program-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
}
