/* ==========================================================================
   Landing — Yassir Larabi · "Votre département IA. Sans recruter."
   Implémentation fidèle de design-source/Landing Yassir Larabi.dc.html
   ========================================================================== */

/* ---------- Polices auto-hébergées (fontes variables, sous-ensemble latin, licence OFL : assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/baloo2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/quicksand.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #04202B;
  --bg-deep: #03151D;
  --navy: #052430;
  --navy-2: #062A38;
  --card: #0B3849;
  --card-alt: #0A3849;

  --ink: #EAF6F9;
  --muted: #B6D2DB;
  --muted-2: #A9C6D0;
  --muted-3: #8FB0BC;
  --list: #C9DEE6;
  --pale: #BFE8F2;

  --cyan: #4FCBE0;
  --cyan-2: #3FC5DE;
  --cyan-deep: #0F7E9E;
  --cyan-light: #8FE2F0;
  --cyan-box: #7FD8E8;
  --grad: linear-gradient(180deg, #3FC5DE 0%, #0F7E9E 100%);

  --font-display: 'Baloo 2', 'Quicksand', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-card: 0 16px 40px rgba(0, 10, 15, .35);
  --shadow-card-sm: 0 12px 30px rgba(0, 10, 15, .35);
  --shadow-cta: 0 12px 28px rgba(15, 126, 158, .38);

  --container: 1160px;
  --section-x: 24px;

  /* Intro : instant où le hero commence à entrer (maquette : 1.3s). Le splash s'efface à --intro − .25s,
     la nav entre à --intro − .1s. Réduire cette valeur raccourcit toute l'intro d'un bloc. */
  --intro: 1.15s; /* maquette : 1.3s — à 1.15s le fondu du splash démarre (.9s) pile à la fin de l'entrée du mark : même chorégraphie, hero 150 ms plus tôt */

  color-scheme: dark; /* ascenseurs, overscroll et contrôles natifs assortis au fond sombre */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.75 0 0 0 0 0.92 0 0 0 0 0.96 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--font-body);
  color: var(--ink);
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
/* Toucher : pas de surbrillance rectangulaire native, retour de pression discret (les :hover sont dans @media (hover: hover)) */
a, button, .faq__item { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active { transform: translateY(1px); filter: brightness(.94); }
  .faq__item:active { background: #0D4051; }
}

img, svg, iframe { max-width: 100%; }
button { font: inherit; color: inherit; }

/* :where() = spécificité nulle → l'arrondi 999px des pills (.btn, .skip-link) reste prioritaire */
:where(a, button):focus-visible {
  outline: 3px solid var(--cyan-box);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 400;
  background: var(--ink); color: var(--navy);
  padding: 10px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 16px; color: var(--navy); }

/* ---------- Keyframes ---------- */
@keyframes pulseGlow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-16px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes splashMark {
  from { opacity: 0; transform: translateY(16px) scale(.96); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes dotPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes splashSub { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes splashFade { to { opacity: 0; visibility: hidden; } }

/* Entrée en scène (hero) : --d = délai, --dur = durée */
.rise { animation: riseIn var(--dur, .8s) var(--ease-out) var(--d, 0s) both; }
/* Délais dans l'ordre des enfants de .hero__inner, relatifs à --intro — en CSS (pas en style inline) pour la CSP stricte de vercel.json */
.hero__inner > :nth-child(1) { --d: var(--intro); }
.hero__inner > :nth-child(2) { --d: calc(var(--intro) + .1s); }
.hero__inner > :nth-child(3) { --d: calc(var(--intro) + .2s); --dur: .9s; }
.hero__inner > :nth-child(4) { --d: calc(var(--intro) + .35s); --dur: .9s; }
.hero__inner > :nth-child(5) { --d: calc(var(--intro) + .48s); --dur: .9s; }
.hero__inner > :nth-child(6) { --d: calc(var(--intro) + .58s); --dur: .9s; }
.hero__inner > :nth-child(7) { --d: calc(var(--intro) + .7s); --dur: 1s; }

/* Titre = élément LCP. Chrome ignore pour le LCP tout élément peint à opacité exactement 0, et l'animation d'opacité
   (compositeur) ne déclenche aucun repaint : avec riseIn, le h1 n'était enregistré qu'à la fin de son animation
   (LCP ≈ FCP + 2,4 s). Partir de .01 est visuellement identique (le splash opaque le couvre) et donne LCP = FCP. */
@keyframes riseInTitle {
  from { opacity: .01; transform: translateY(26px) scale(.985); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero__title.rise { animation-name: riseInTitle; }

/* Carte vidéo (le plus grand élément animé) : même entrée sans le flou — un filter animé est calculé sur le thread
   principal à chaque image, ce qui coûte cher sur une carte de 1080px ; invisible à l'œil sur ce fond sombre. */
@keyframes riseInFlat {
  from { opacity: 0; transform: translateY(26px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.hero__video.rise { animation-name: riseInFlat; }

/* Animation terminée (main.js pose .is-in) : on la retire. État final identique ; libère les calques du compositeur
   (filter/transform figés par fill-mode) et force un repaint qui rend les autres éléments animés visibles pour le LCP. */
.rise.is-in, .nav.is-in { animation: none; }

/* Visites suivantes dans la même session (splash.js pose html.no-splash) : pas de splash, intro quasi immédiate */
html.no-splash { --intro: .1s; }
html.no-splash .splash { display: none; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #03151D, #052430);
  animation: splashFade .8s cubic-bezier(.65, 0, .35, 1) calc(var(--intro) - .25s) both;
}
.splash__inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: splashMark .9s var(--ease-out) both;
}
.splash__mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 7vw, 76px); color: var(--ink); line-height: 1;
}
.splash__dot {
  display: inline-block; color: var(--cyan-2);
  animation: dotPop .5s cubic-bezier(.34, 1.56, .64, 1) .4s both;
}
.splash__sub {
  font-size: 15px; font-weight: 600; letter-spacing: .4px; color: var(--muted-3);
  animation: splashSub .6s ease-out .5s both;
}

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); /* encoche iPhone en paysage */
}
.nav {
  animation: navIn .8s var(--ease-out) calc(var(--intro) - .1s) both;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; max-width: 1324px;
  background: rgba(5, 34, 45, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 999px; padding: 12px 14px 12px 30px;
  border: 1px solid rgba(63, 197, 222, .22);
  box-shadow: 0 12px 36px rgba(0, 10, 15, .5);
}
.nav__logo {
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  color: var(--ink); line-height: 1;
}
.nav__logo span { color: var(--cyan); }
.nav__links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 17px; }
.nav__links a { color: var(--ink); transition: color .2s; }
.btn--nav__short { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: normal;
  border-radius: 999px; text-align: center;
  transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn--primary {
  color: #fff; background: var(--grad);
  padding: 16px 38px; box-shadow: var(--shadow-cta);
}
.btn--light {
  color: var(--navy); background: var(--ink);
  padding: 17px 36px; box-shadow: 0 12px 28px rgba(0, 10, 15, .45);
}
.btn--outline {
  color: var(--ink); border: 2px solid rgba(234, 246, 249, .65);
  padding: 15px 34px; background: rgba(6, 42, 56, .35);
}
.btn--nav {
  font-size: 18px; color: #fff; background: var(--grad);
  padding: 13px 28px; box-shadow: 0 8px 20px rgba(15, 126, 158, .35);
}
.btn__ring { display: inline-block; width: 10px; height: 10px; border: 3px solid #fff; border-radius: 50%; }
.btn--xl { font-size: 20px; padding: 18px 44px; box-shadow: 0 14px 32px rgba(15, 126, 158, .40); }

/* ---------- Survol : pointeurs fins uniquement (sur écran tactile, un :hover resterait « collé » après un tap) ---------- */
@media (hover: hover) {
  a:hover { color: var(--cyan-light); }
  .nav__logo:hover { color: var(--ink); }
  .nav__links a:hover { color: var(--cyan); }
  .btn--primary:hover { color: #fff; transform: translateY(-1px); }
  .btn--light:hover { background: #fff; color: var(--navy); transform: translateY(-1px); }
  .btn--outline:hover { background: var(--ink); color: var(--navy); }
  .btn--nav:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 126, 158, .45); }
  .btn--linkedin:hover { border-color: var(--cyan-2); color: var(--cyan-2); }
  .footer__links a:hover { color: var(--cyan-2); }
  .footer__legal a:hover { color: var(--cyan-2); }
}

/* ---------- Zones de tap ≥ 44px pour les petits liens texte (invisible : ne change aucun pixel) ---------- */
.nav__logo, .footer__links a, .footer__legal a { position: relative; }
.nav__logo::before { content: ""; position: absolute; inset: -9px -8px; }
.footer__links a::before, .footer__legal a::before { content: ""; position: absolute; inset: -13px -4px; }

/* ---------- Page & halo de fond ---------- */
.page { position: relative; z-index: 0; }
.page__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 720px at 76% 1%, rgba(23, 124, 155, .22) 0%, rgba(23, 124, 155, 0) 64%),
    radial-gradient(820px 620px at -6% 12%, rgba(63, 197, 222, .07) 0%, rgba(63, 197, 222, 0) 60%),
    radial-gradient(920px 700px at 106% 28%, rgba(15, 126, 158, .10) 0%, rgba(15, 126, 158, 0) 62%),
    radial-gradient(820px 640px at 8% 45%, rgba(63, 197, 222, .06) 0%, rgba(63, 197, 222, 0) 60%),
    radial-gradient(960px 760px at 96% 62%, rgba(23, 124, 155, .10) 0%, rgba(23, 124, 155, 0) 62%),
    radial-gradient(880px 700px at 2% 79%, rgba(15, 126, 158, .08) 0%, rgba(15, 126, 158, 0) 62%),
    radial-gradient(1150px 820px at 55% 100%, rgba(15, 126, 158, .13) 0%, rgba(15, 126, 158, 0) 66%),
    linear-gradient(180deg, #03151D 0%, #052430 10%, #04202B 50%, #052532 85%, #03181F 100%);
}

/* ---------- Primitives de section ---------- */
.section { padding: 110px var(--section-x); }
.container { max-width: var(--container); margin: 0 auto; }
.text-center { text-align: center; }
.accent { color: var(--cyan); }

.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.2vw, 50px); line-height: normal; margin: 0;
}
.h2, .stats__title, .problem__closing, .footer__cta-title { text-wrap: balance; } /* amélioration progressive : lignes équilibrées */
.h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }
.lead {
  font-size: clamp(18px, 2vw, 22px); font-weight: 500; color: var(--muted);
  margin: 16px 0 60px;
}

.grid { display: grid; gap: 30px; text-align: left; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--quotes { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 26px; }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }

.card {
  background: var(--card); border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.card ul {
  margin: 0; padding-left: 22px;
  font-size: 17px; font-weight: 600; line-height: 1.9; color: var(--list);
}

/* ---------- S1 Hero ---------- */
.hero { padding: 170px var(--section-x) 0; text-align: center; }
.hero__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(191, 232, 242, .5); border-radius: 999px;
  padding: 9px 22px; font-weight: 700; font-size: 16px;
  background: rgba(6, 42, 56, .5); color: var(--ink);
}
.badge__dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(180deg, #3FC5DE, #0F7E9E);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.hero__proof {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 18px; font-weight: 700; color: var(--ink);
}
.hero__sep { color: var(--cyan); }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(46px, 6.4vw, 80px); line-height: 1.08;
  margin: 6px 0 0; letter-spacing: -0.5px;
}
.hero__boxed {
  display: inline-block; border: 3px solid var(--cyan-box); border-radius: 30px;
  padding: 0 30px 8px; margin-top: 14px;
}
.hero__lead {
  font-size: clamp(18px, 2vw, 21px); font-weight: 500; line-height: 1.55;
  color: var(--muted); max-width: 720px; margin: 8px 0 0;
}
.hero__ctas { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.hero__note { font-size: 15px; font-weight: 600; color: var(--muted-3); margin: 2px 0 0; }
.hero__video { width: 100%; max-width: 1080px; margin-top: 34px; }
.video-card {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 10, 15, .55);
  background: var(--navy-2); border: 1px solid rgba(63, 197, 222, .25);
}
.video-card__ratio { position: relative; aspect-ratio: 16 / 9; }
.video-card__ratio iframe { border: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---------- S2 Preuves flash ---------- */
.stats { padding: 96px var(--section-x) 60px; }
.stats__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px); color: var(--cyan); margin: 0 0 58px;
}
.stats__row { display: flex; justify-content: center; align-items: center; gap: 34px; flex-wrap: wrap; }
.stat {
  width: 344px; max-width: 100%;
  background: var(--card-alt); border: 2px solid rgba(191, 232, 242, .4);
  border-radius: 22px; padding: 36px 30px;
  box-shadow: 0 16px 36px rgba(0, 10, 15, .4);
}
.stat--left { transform: rotate(-6deg); }
.stat--right { transform: rotate(6deg); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; }
.stat__num small { font-size: 24px; font-weight: 800; }
.stat__label { font-weight: 600; font-size: 16px; color: var(--muted); margin-top: 10px; }
.stat--hero {
  width: 368px; border: none;
  background: var(--grad); padding: 46px 34px;
  box-shadow: 0 22px 48px rgba(15, 126, 158, .40);
}
.stat--hero .stat__num { font-size: 54px; color: #fff; }
.stat--hero .stat__label { font-weight: 700; font-size: 17px; color: rgba(255, 255, 255, .92); }

/* ---------- S3 Problème ---------- */
.problem__sub {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; color: var(--muted);
  margin: 18px 0 54px;
}
.quote {
  margin: 0; background: var(--card); border-radius: 18px;
  padding: 30px 30px 26px; box-shadow: var(--shadow-card-sm);
}
.quote__mark { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--cyan); }
.quote p { font-size: 18px; font-weight: 600; font-style: italic; line-height: 1.55; margin: 6px 0 0; }
.problem__closing {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.35;
  max-width: 900px; margin: 60px auto 0;
}

/* ---------- S4 Méthode ---------- */
.method { padding: 110px var(--section-x) 90px; }
.benefits { display: flex; justify-content: center; gap: 70px; flex-wrap: wrap; margin-bottom: 90px; }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.benefit svg { width: 96px; height: 96px; }
.benefit__pill {
  background: rgba(63, 197, 222, .13); border: 1px solid rgba(63, 197, 222, .4);
  color: var(--pale); font-weight: 700; font-size: 17px;
  border-radius: 12px; padding: 12px 26px;
}
.method__card { padding: 22px 22px 34px; }
.method__card .h3 { font-size: 25px; margin: 8px 8px 12px; }
.method__card ul { margin: 0 8px; }
.method__card--featured {
  position: relative;
  box-shadow: 0 0 0 3px var(--cyan), 0 16px 40px rgba(15, 126, 158, .20);
}
.method__badge {
  position: absolute; top: -16px; right: 22px;
  background: linear-gradient(180deg, #3FC5DE, #0F7E9E); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 6px 18px;
}
.method__para { font-size: 17px; font-weight: 600; color: var(--muted); max-width: 760px; margin: 44px auto 0; }
.method .btn--primary { margin-top: 36px; }

/* ---------- S5 Ce que je construis ---------- */
.build { padding: 40px var(--section-x) 110px; }
.build__card { padding: 34px 32px; }
.build__card .h3 { font-size: 24px; margin: 0 0 6px; }
.build__sub { font-size: 16px; font-weight: 600; color: var(--cyan); margin: 0 0 16px; }
.build__result {
  font-size: 16px; font-weight: 700; margin: 18px 0 0;
  border-top: 2px solid rgba(191, 232, 242, .16); padding-top: 16px;
}

/* ---------- S6 Preuves ---------- */
.proof .h2 { margin-bottom: 54px; }
.proof__video {
  max-width: 860px; margin: 0 auto; position: relative; aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: radial-gradient(80% 90% at 50% 20%, #0C4254 0%, #062A38 70%);
  box-shadow: 0 26px 60px rgba(0, 10, 15, .55);
  display: flex; align-items: center; justify-content: center;
}
.proof__video-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.play {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(180deg, #3FC5DE, #0F7E9E);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(63, 197, 222, .14);
}
.play__tri {
  display: inline-block; width: 0; height: 0; margin-left: 6px;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; letter-spacing: 2px;
}
.proof__video-label { color: rgba(255, 255, 255, .55); text-transform: uppercase; padding: 0 16px; text-align: center; }
.cases { max-width: 860px; margin: 30px auto 0; gap: 26px; }
.case {
  border: 2px dashed rgba(191, 232, 242, .3); border-radius: 20px;
  padding: 30px; background: rgba(255, 255, 255, .04);
}
.case__tag { color: var(--cyan); }
.case .h3 { font-size: 21px; margin: 10px 0 8px; }
.case p { font-size: 16px; font-weight: 600; color: var(--muted-2); margin: 0; line-height: 1.6; }
.proof .btn--primary { margin-top: 48px; }

/* ---------- S7 Process ---------- */
.process .h2 { margin-bottom: 16px; }
.process .lead { margin: 0 0 60px; }
.step { background: var(--card); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow-card-sm); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--cyan); line-height: 1; }
.step .h3 { font-size: 21px; margin: 14px 0 8px; }
.step p { font-size: 16px; font-weight: 600; color: var(--muted-2); margin: 0; line-height: 1.6; }

/* ---------- S8 Offre ---------- */
.offer { padding: 40px var(--section-x) 110px; }
.offer__sub {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px); margin: 10px 0 54px; text-align: center;
}
.offer__card {
  background: linear-gradient(135deg, #0B3E52 0%, #0E4658 100%);
  border: 1px solid rgba(63, 197, 222, .25); border-radius: 28px;
  padding: clamp(34px, 5vw, 60px);
  display: grid; grid-template-columns: 1fr 1fr; /* 2 colonnes ≥ 805px (colonnes ≥ 320px comme la maquette), 1 colonne en dessous */
  gap: clamp(34px, 4vw, 60px);
  color: #fff; box-shadow: 0 30px 70px rgba(0, 10, 15, .5);
}
.offer__eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0; color: rgba(255, 255, 255, .75); }
.offer__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); margin: 2px 0 18px; }
.offer__desc { font-size: 17px; font-weight: 500; line-height: 1.65; color: rgba(255, 255, 255, .85); margin: 0 0 24px; }
.checklist { display: flex; flex-direction: column; gap: 12px; font-size: 17px; font-weight: 600; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .check { color: var(--cyan-2); font-weight: 800; }
.offer__col--2 { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: clamp(0px, 4vw, 60px); }
.offer .btn--light { margin-top: 34px; padding: 16px 40px; box-shadow: none; }
.offer__note { font-size: 15px; font-weight: 600; font-style: italic; color: rgba(255, 255, 255, .65); margin: 30px 0 0; }

/* ---------- S9 Qui je suis ---------- */
.about__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(34px, 5vw, 70px); align-items: center;
}
.about__portrait { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.about__portrait img {
  width: 100%; height: auto; border-radius: 32px; display: block;
  box-shadow: 0 26px 60px rgba(0, 10, 15, .55);
}
.about__badge {
  position: absolute; bottom: 26px; right: -16px;
  background: #FAFDFE; color: var(--navy-2); border-radius: 999px; padding: 12px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  box-shadow: 0 14px 32px rgba(0, 10, 15, .5);
}
.about .h2 { font-size: clamp(32px, 4.2vw, 48px); margin: 0 0 22px; }
.about__intro { font-size: 18px; font-weight: 600; line-height: 1.65; margin: 0 0 18px; }
.about__facts { font-size: 17px; font-weight: 600; line-height: 1.9; color: var(--list); margin: 0; padding: 0; list-style: none; }
.about__facts li::before { content: "→ "; }
.about__closing { font-size: 18px; font-weight: 600; line-height: 1.65; margin: 22px 0 0; }
.about .btn--primary { margin-top: 32px; }

/* ---------- S10 FAQ ---------- */
.faq .h2 { margin-bottom: 54px; }
.faq__grid {
  /* 400px mini par colonne → 2 colonnes seulement quand l'embed Calendly garde ≥ 330px de large */
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(34px, 4vw, 56px); align-items: start;
}
.faq .h3 { font-size: 28px; margin: 0 0 24px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  background: var(--card); border-radius: 14px; padding: 22px 26px;
  box-shadow: 0 10px 26px rgba(0, 10, 15, .35); cursor: pointer;
}
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; margin: 0; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer;
}
.faq__q-text {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: normal;
  color: var(--ink); transition: color .2s;
}
.faq__item.is-open .faq__q-text { color: var(--cyan); }
.faq__symbol {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: normal;
  color: var(--cyan); flex-shrink: 0;
}
.faq__symbol::before { content: "+"; }
.faq__item.is-open .faq__symbol::before { content: "✕"; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq__a-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .28s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a-inner { visibility: visible; transition-delay: 0s; }
.faq__a p { font-size: 16px; font-weight: 600; color: var(--muted-2); line-height: 1.65; margin: 14px 0 0; }

.booking {
  background: linear-gradient(160deg, #0B3E52, #0E4658);
  border: 1px solid rgba(63, 197, 222, .25); border-radius: 22px;
  padding: 36px 34px; color: #fff; box-shadow: 0 22px 50px rgba(0, 10, 15, .5);
}
.booking__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.booking .checklist { gap: 10px; margin: 20px 0 26px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.booking .checklist .check { font-weight: 600; }
/* Téléphone (ou sans JS) : bouton vers Calendly ; ≥ 641px : main.js injecte le widget inline et pose .has-embed */
.booking__cta { width: 100%; margin: 0; }
.booking__embed { display: none; border-radius: 14px; overflow: hidden; background: #fff; }
.booking.has-embed .booking__cta { display: none; }
.booking.has-embed .booking__embed { display: block; }
.booking__embed iframe { display: block; border: none; width: 100%; height: 700px; } /* 700px = hauteur native du widget Calendly (600px dans la maquette → widget rogné) */

/* ---------- S11 CTA final + footer ---------- */
.footer { padding: 20px var(--section-x) 28px; }
.footer__card {
  position: relative; overflow: hidden;
  max-width: calc(1360px + 2 * clamp(28px, 5vw, 64px)); margin: 0 auto;
  background: linear-gradient(160deg, #0A3A4C 0%, #10586E 100%);
  border: 1px solid rgba(63, 197, 222, .2); border-radius: 30px;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 64px); color: #fff;
}
.footer__watermark {
  position: absolute; bottom: -90px; left: -16px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(160px, 24vw, 330px); line-height: 1;
  color: rgba(255, 255, 255, .05); pointer-events: none; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.footer__top {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.footer__logo span { color: var(--cyan-2); }
.btn--linkedin {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 10px 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; color: #fff;
  transition: border-color .2s, color .2s;
}
.footer__cta { position: relative; text-align: center; padding: clamp(36px, 5vw, 64px) 0; }
.footer__cta-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.2; margin: 0;
}
.footer__cta-title span { color: var(--cyan-2); }
.footer__cta .btn { margin-top: 34px; }
.footer__tagline { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .6); margin: 18px 0 0; }
.footer__bottom {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px;
}
.footer__links { display: flex; gap: 26px; font-weight: 600; font-size: 15px; flex-wrap: wrap; }
.footer__links a { color: rgba(255, 255, 255, .75); transition: color .2s; }
.footer__legal {
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .55);
}
.footer__legal a { color: rgba(255, 255, 255, .75); text-decoration: underline; transition: color .2s; }

/* ---------- Pages secondaires (mentions légales, 404) ---------- */
.simple { max-width: 800px; margin: 0 auto; padding: 150px var(--section-x) 80px; }
.simple h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 48px); margin: 0 0 22px; }
.simple h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 36px 0 10px; }
.simple p, .simple li { font-size: 17px; font-weight: 500; line-height: 1.65; color: var(--list); }
.simple ul { padding-left: 22px; margin: 0; }
.simple a { text-decoration: underline; }
.simple a.btn { text-decoration: none; margin-top: 28px; }
.simple .todo { background: rgba(63, 197, 222, .12); border: 1px dashed rgba(63, 197, 222, .55); border-radius: 8px; padding: 1px 8px; color: var(--pale); font-weight: 700; }
.simple--center { text-align: center; padding-top: 200px; }
.simple__footer { text-align: center; font-size: 14px; color: var(--muted-3); padding: 0 var(--section-x) 40px; }

/* ---------- Responsive ---------- */
/* 981–1171px : les trois cartes stats tiennent sur une ligne (1124px requis au-delà) */
@media (min-width: 981px) and (max-width: 1171px) {
  .stats__row { gap: 24px; }
  .stat, .stat--hero { flex: 1 1 0; width: auto; min-width: 0; }
  .stat { padding: 32px 22px; }
  .stat--hero { padding: 40px 24px; }
  .stat__num { font-size: 42px; }
  .stat--hero .stat__num { font-size: 48px; }
}

@media (max-width: 980px) {
  .nav { padding: 10px 10px 10px 22px; gap: 14px; }
  .nav__links { display: none; }
  .btn--nav { font-size: 16px; padding: 11px 18px; white-space: nowrap; }
  .btn--nav__full { display: none; }
  .btn--nav__short { display: inline; }
  .stats__row { flex-direction: column; }
  .stat, .stat--hero { width: 344px; }
}

@media (max-width: 720px) {
  .hero__proof { flex-direction: column; gap: 6px; }
  .hero__sep { display: none; }
}

@media (max-width: 883px) {
  /* Tablette : les 3 bénéfices ne tiennent pas sur une ligne → une rangée icône + pastille par bénéfice */
  .benefits { flex-direction: column; align-items: stretch; gap: 14px; max-width: 360px; margin: 0 auto 60px; }
  .benefit { flex-direction: row; align-items: center; gap: 14px; text-align: left; }
  .benefit svg { width: 56px; height: 56px; flex-shrink: 0; }
  .benefit__pill { flex: 1; font-size: 16px; padding: 12px 18px; }
}

@media (min-width: 805px) and (max-width: 900px) {
  .offer__title { font-size: 28px; } /* évite « AI Manager mensuel » sur 2 lignes (colonnes étroites) */
}

@media (max-width: 804px) {
  .offer__card { grid-template-columns: 1fr; }
  .offer__col--2 {
    border-left: 0; padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .14); padding-top: clamp(34px, 4vw, 60px);
  }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 96px; }
  .section, .method, .build, .offer { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 118px; }
  .hero__inner { gap: 20px; }
  .hero__title { font-size: clamp(34px, 11vw, 46px); }
  .hero__boxed { padding: 0 18px 6px; border-radius: 22px; white-space: nowrap; }
  .stat--hero .stat__num { font-size: clamp(40px, 13vw, 54px); }
  .stats { padding: 64px var(--section-x) 72px; }
  .stats__row { gap: 22px; }
  .stat, .stat--hero { width: 100%; }
  .stat--left, .stat--right { transform: rotate(-2deg); }
  .stat--right { transform: rotate(2deg); }
  /* Badge : le point suit le texte (sinon il flotte au milieu des deux lignes) */
  .badge { display: inline-block; text-align: center; font-size: 15px; line-height: 1.45; padding: 9px 18px; text-wrap: balance; }
  .badge__dot { vertical-align: middle; margin: -2px 8px 0 0; }
  .hero__proof { font-size: 16px; }
  .hero__proof > span, .hero__lead { text-wrap: balance; }
  /* Boutons du hero : empilés, pleine largeur (max 420px) */
  .hero__ctas { flex-direction: column; width: 100%; max-width: 420px; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .benefits { margin-bottom: 56px; } /* rangées icône + pastille : voir le bloc ≤ 883px */
  .lead { margin-bottom: 40px; }
  .btn { font-size: 17px; }
  .btn--nav { font-size: 16px; }
  .btn--primary, .btn--light { padding: 15px 28px; }
  .btn--outline { padding: 13px 26px; }
  /* CTA de sections : même largeur que ceux du hero */
  .btn--primary, .offer .btn--light { width: 100%; max-width: 420px; }
  .offer .btn--light { padding: 15px 20px; }
  /* Footer : marges resserrées pour que le CTA final tienne sur une ligne, pleine largeur comme celui du hero */
  .footer { padding: 20px 12px 24px; }
  .footer__card { padding: 40px 20px 28px; }
  .btn--xl { font-size: 17px; padding: 15px 16px; width: 100%; max-width: 420px; box-shadow: var(--shadow-cta); }
  /* Carte de réservation : compacte, widget Calendly bord à bord en bas de carte */
  .booking { padding: 24px 16px 16px; }
  .booking__title { font-size: 23px; }
  .booking__embed { margin: 0 -15px -15px; border-radius: 0 0 20px 20px; }
  .faq__item { padding: 18px 20px; }
  .faq__q-text { font-size: 17px; }
  .footer__card { border-radius: 22px; }
  .footer__legal { gap: 8px 26px; font-size: 15px; }
  .about__badge { right: 8px; bottom: 16px; }
  /* Carte Offre et cartes S5 resserrées : titres sur une ligne dès 360px */
  .offer__card { padding: 28px 22px; }
  .offer__title { font-size: 28px; }
  .build__card { padding: 30px 24px; }
  .build__card .h3 { font-size: 22px; }
  /* Énoncé « problème » : les deux phrases en blocs (le <br> de la maquette empêchait l'équilibrage des lignes) */
  .problem__closing br { display: none; }
  .problem__closing .accent { display: block; margin-top: .35em; }
  /* Titres sur 2 lignes : interligne plus serré que le « normal » de Baloo 2 (≈1.6) */
  .h2, .stats__title, .h3, .offer__sub, .offer__title { line-height: 1.2; }
  /* Listes : la ligne de continuation reste collée à son item */
  .card ul { line-height: 1.5; }
  .card li + li { margin-top: 8px; }
  .about__facts { line-height: 1.5; }
  .about__facts li { padding-left: 20px; text-indent: -20px; }
  .about__facts li + li { margin-top: 10px; }
  /* Pas de mot orphelin en fin de paragraphe (amélioration progressive) */
  .hero__note, .stat__label, .problem__sub, .lead, .method__para, .offer__sub, .footer__tagline, .faq__q-text, .faq .h3, .proof__video-label { text-wrap: balance; }
  .quote p, .case p, .step p, .build__sub, .build__result, .offer__desc, .offer__note, .checklist li, .card li, .about__facts li, .faq__a p, .about__intro, .about__closing { text-wrap: pretty; }
}

/* Téléphone en paysage : le hero commence juste sous la nav */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 128px; }
}

/* ---------- Accessibilité : mouvement réduit ----------
   Quand le système demande moins de mouvement (Windows « Effets d'animation » désactivé, macOS « Réduire les
   animations »…), on garde l'intro mais en fondus d'opacité uniquement : aucun déplacement, zoom, flou ni pulsation.
   Les @keyframes redéfinis ici priment sur ceux du haut du fichier (dernière définition applicable). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @keyframes riseIn      { from { opacity: 0; } to { opacity: 1; } }
  @keyframes riseInTitle { from { opacity: .01; } to { opacity: 1; } }
  @keyframes riseInFlat  { from { opacity: 0; } to { opacity: 1; } }
  @keyframes navIn       { from { opacity: 0; } to { opacity: 1; } }
  @keyframes splashMark  { from { opacity: 0; } to { opacity: 1; } }
  @keyframes dotPop      { from { opacity: 0; } to { opacity: 1; } }
  @keyframes splashSub   { from { opacity: 0; } to { opacity: 1; } }
  .badge__dot { animation: none; }
  .btn { transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s; }
  .btn:hover { transform: none; }
  .faq__a, .faq__q-text { transition: none; }
}
