/* ==========================================================================
   elearny × Claude — Landing page
   Production stylesheet (recreated from the Claude Design "Direction C" mockup)
   Brand-zone logic:
     - elearny (blue/green/navy) owns chrome + conversion elements
     - Claude (cream/terracotta) anchors the subject-matter "programme" panel
     - Holberton (navy) anchors the credibility "formateur" panel
   ========================================================================== */

/* ── Self-hosted fonts (Kodchasan) — local @font-face, no Google Fonts CDN ──
   RGPD/GDPR: served from /assets/fonts, avoids requests to fonts.gstatic.com */
@font-face {
  font-family: 'Kodchasan';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/kodchasan-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/kodchasan-500-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/kodchasan-600-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/kodchasan-600-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kodchasan-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kodchasan-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/kodchasan-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/kodchasan-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/kodchasan-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/kodchasan-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/kodchasan-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kodchasan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/kodchasan-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  /* elearny palette */
  --blue: #0062FF;
  --green: #00EE89;
  --greenDk: #00C14E;
  --navy: #092C60;
  --orange: #FF6B43;
  --yellow: #FFC84F;
  --grey: #EFEFEF;

  /* Claude palette */
  --cream: #FAF9F5;
  --terra: #DA7756;
  --ink: #1F1B16;

  /* surfaces & text */
  --line: rgba(13, 12, 10, .12);
  --line2: rgba(13, 12, 10, .07);
  --text: #23201B;
  --mut: rgba(35, 32, 27, .58);
  --bg: #F4F2ED;

  /* feedback */
  --error: #D93838;
  --errorBg: rgba(217, 56, 56, .08);

  --container: 1120px;
}

/* ── Reset / base ──────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: Kodchasan, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; letter-spacing: -.5px; color: var(--navy); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.ph { color: var(--mut); font-style: italic; font-weight: 500; }

/* Accessibility: visible focus + skip link */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }
.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── Interaction system: buttons ──────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden; cursor: pointer; border: none;
  font-family: inherit; font-weight: 600; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; font-size: 17px;
  transition: transform .14s cubic-bezier(.2, .7, .3, 1), box-shadow .16s;
  -webkit-tap-highlight-color: transparent; text-decoration: none;
}
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; }
.btn::after { content: ""; position: absolute; inset: 0; background: #08193a; opacity: 0; transition: opacity .14s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: .12; }
.btn:active { transform: translateY(0); }
.btn:active::after { opacity: .20; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 2px 0 rgba(9, 44, 96, .18); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(0, 98, 255, .34); }
.btn--confirm { background: var(--green); color: var(--navy); }
.btn--confirm::after { background: #00351c; }
.btn--confirm:hover { box-shadow: 0 12px 28px rgba(0, 193, 78, .34); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid rgba(9, 44, 96, .32); }
.btn--ghost::after { background: var(--navy); }
.btn--ghost:hover::after { opacity: .06; }
.btn--block { width: 100%; }

/* ── Cards & shared elements ──────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s;
}
.card--lift:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(9, 44, 96, .13); }

.kicker {
  font-size: 14px; font-weight: 600; letter-spacing: .3px; color: var(--blue);
  margin-bottom: 11px; display: inline-flex; align-items: center; gap: 9px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--terra { color: var(--terra); }

h2.sec { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; }
.lead { font-size: 18px; line-height: 1.55; color: var(--mut); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--navy); padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.chip i { width: 7px; height: 7px; border-radius: 9px; display: inline-block; }

section { padding: clamp(45px, 5.6vw, 74px) 0; }
/* offset anchored sections so headings clear the sticky nav (68px + breathing room) */
section[id], [id]#top { scroll-margin-top: 86px; }
.ico { width: 30px; height: 30px; display: block; }

/* ── Media placeholders (replace design-tool <image-slot>) ────────────── */
/* On-brand, correctly-sized blocks so the layout holds before real media. */
.media-ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(13, 12, 10, .035) 0 14px, rgba(13, 12, 10, .015) 14px 28px);
  border: 1px dashed rgba(13, 12, 10, .22);
  border-radius: 12px;
  color: var(--mut);
  font-size: 13px; font-weight: 600; line-height: 1.4;
  padding: 14px;
  overflow: hidden;
}
.media-ph__label { max-width: 240px; }
.media-ph--rounded { border-radius: 14px; }
.media-ph--circle { border-radius: 50%; }
.media-ph--fill { width: 100%; height: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
header.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(9, 44, 96, .05); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--navy); letter-spacing: -.5px; }
.brand .dot { width: 11px; height: 11px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); }
.brand-logo { height: 26px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--navy); transition: color .14s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.btn--primary, .nav-links a.btn--primary:hover { color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s cubic-bezier(.2, .7, .3, 1), opacity .2s; transform-origin: center; }
/* Animate to an X when the menu is open (JS sets aria-expanded) */
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(45px, 5.6vw, 74px); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: stretch; }
.hero-main {
  padding: clamp(30px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(155deg, #fff 0%, #fff 45%, rgba(0, 98, 255, .05) 100%);
}
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -1.4px; }
.hero h1 .accent { color: var(--blue); }
.hero-eyebrow { display: block; font-size: clamp(13px, 1.2vw, 15px); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--blue); margin-bottom: 14px; }
.hero .lead { margin: 18px 0 26px; max-width: 540px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.video-card { padding: 16px; display: flex; flex-direction: column; }
.video-frame { position: relative; border-radius: 14px; overflow: hidden; flex: 1; min-height: 340px; }
.video-frame .media-ph { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0a1f3f; display: block; }
/* Transparent full-frame click target — the poster image supplies the play-button visual */
.play {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  background: transparent; border: none; padding: 0; cursor: pointer;
  transition: opacity .2s;
}
.video-frame.is-playing .play { opacity: 0; pointer-events: none; }
.play::after {
  content: ""; border-left: 18px solid var(--navy); border-top: 11px solid transparent;
  border-bottom: 11px solid transparent; margin-left: 5px;
}
.video-meta { padding: 16px 6px 4px; }
.video-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--terra); }
.video-meta p.t { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--navy); margin: 9px 0 5px; }
.video-meta p.s { font-size: 14px; color: var(--mut); }

.trust { margin-top: 22px; background: var(--blue); border-radius: 16px; padding: 26px 30px; text-align: center; }
.trust b { color: #fff; font-weight: 700; }
.trust-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }
.trust-logo-img { height: 38px; width: auto; display: block; }
.trust-x { color: rgba(255, 255, 255, .6); font-size: 18px; font-weight: 400; }
.trust-claude { margin-top: 12px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.trust-copy { max-width: 980px; margin: 16px auto 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.lead-pop { color: var(--blue); font-weight: 700; }

/* ── Outcome cards ────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sec-head { margin-bottom: 30px; max-width: 640px; }
.sec-sub { margin-top: 12px; font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; line-height: 1.35; color: var(--mut); }
.sec-head--wide { max-width: 760px; }
.br-md { display: none; }
@media (min-width: 640px) { .br-md { display: inline; } }
.outcome { display: flex; gap: 16px; padding: 24px; align-items: flex-start; }
.outcome .badge { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.outcome p { font-size: 16.5px; line-height: 1.45; font-weight: 500; color: var(--text); align-self: center; }
.results-panel { display: grid; grid-template-columns: 1fr 0.86fr; gap: clamp(20px, 3.5vw, 48px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(16px, 2.4vw, 30px) clamp(18px, 2.6vw, 34px); box-shadow: 0 1px 3px rgba(9, 44, 96, .05); }
.results-cards { display: flex; flex-direction: column; }
.results-cards .outcome { padding: 18px 6px; }
.results-cards .outcome + .outcome { border-top: 1px solid var(--line); }
.results-media { display: flex; align-items: center; justify-content: center; }
.results-media img { width: 100%; height: auto; display: block; }
@media (max-width: 880px) { .results-panel { grid-template-columns: 1fr; } .results-media { max-width: 440px; margin: 4px auto 0; } }

/* ── Stakes / problem row ─────────────────────────────────────────────── */
.stakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stake { padding: 26px 24px; }
.stake .badge { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.stake h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.stake p { font-size: 15.5px; line-height: 1.5; color: var(--mut); }

/* ── Pour qui ─────────────────────────────────────────────────────────── */
.profile { padding: 30px 28px; border-top: 4px solid var(--blue); }
.profile h3 { font-size: 21px; font-weight: 700; margin: 18px 0 9px; }
.profile p { font-size: 16px; line-height: 1.5; color: var(--mut); }

/* ── Programme — Claude cream zone ────────────────────────────────────── */
.claude-zone {
  background: #fff; border: 1px solid rgba(218, 119, 86, .28); border-radius: 24px;
  padding: clamp(30px, 3.6vw, 48px);
}
.claude-zone .kicker { color: var(--terra); }
.claude-zone h2.sec { color: var(--ink); }
.claude-zone .lead { margin-top: 12px; max-width: 640px; }
.zone-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(18px, 3vw, 44px); align-items: center; margin-bottom: 4px; }
.zone-head-text .lead { max-width: 520px; }
.zone-head-media { display: flex; justify-content: center; }
.zone-head-media img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .zone-head { grid-template-columns: 1fr; } .zone-head-media { max-width: 460px; margin: 6px auto 0; } }
.day-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 18px; }
.day { background: var(--cream); border: 1px solid rgba(218, 119, 86, .25); border-radius: 15px; padding: 22px 20px; }
.day .n {
  width: 32px; height: 32px; border-radius: 9px; background: rgba(218, 119, 86, .14); color: var(--terra);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 13px;
}
.day .d { font-size: 13px; font-weight: 700; color: var(--terra); margin-bottom: 7px; letter-spacing: .2px; }
.day h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.25; }
.day p { font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--mut); }
.tools { background: var(--cream); border: 1px solid rgba(218, 119, 86, .28); border-radius: 16px; padding: 26px; }
.tools h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.tool-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tool {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid rgba(218, 119, 86, .3);
  border-radius: 11px; padding: 11px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.tool .mark { width: 18px; height: 18px; border-radius: 5px; background: var(--terra); display: inline-block; transform: rotate(45deg); }

/* ── Format & logistics ───────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact { padding: 24px 22px; text-align: left; }
.fact .v { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 8px; letter-spacing: -1px; }
.fact .k { font-size: 14.5px; color: var(--mut); font-weight: 500; line-height: 1.4; }

/* ── Formateur — Holberton zone ───────────────────────────────────────── */
.anime { padding: 34px; display: grid; grid-template-columns: 240px 1fr; gap: 38px; align-items: center; }
.anime .media-ph { width: 240px; height: 280px; }
.anime-photo { width: 240px; height: 280px; border-radius: 14px; object-fit: cover; object-position: center 30%; display: block; flex: 0 0 auto; }
.anime .kicker { color: var(--navy); }
.anime h2 { font-size: 30px; font-weight: 700; margin: 12px 0 14px; }
.anime .name { font-size: 15.5px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.anime .stat { font-size: 16px; color: var(--mut); margin-bottom: 20px; }
.anime-bio { margin-bottom: 0; }
.anime-bio p { font-size: 15px; line-height: 1.5; color: var(--mut); margin: 0 0 10px; }
.anime-bio p:last-child { margin-bottom: 0; }
.anime .logo-slot { display: inline-block; }

/* ── Témoignages ──────────────────────────────────────────────────────── */
.quote { padding: 28px; }
.quote .stars { color: var(--yellow); font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
.quote p.q { font-size: 17px; line-height: 1.55; color: var(--text); font-weight: 500; margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 13px; }
.quote .who .media-ph { width: 44px; height: 44px; flex: 0 0 auto; font-size: 9px; }
.quote .who .nm { font-size: 15px; font-weight: 700; color: var(--navy); }
.quote .who .rl { font-size: 13.5px; color: var(--mut); }

/* Témoignages — carrousel */
.testi { position: relative; max-width: 980px; margin: clamp(34px, 5vw, 56px) auto 0; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
.testi-slide { flex: 0 0 50%; box-sizing: border-box; margin: 0; padding: 6px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.testi-avatar { width: 96px; height: 96px; border-radius: 50%; flex: 0 0 auto; font-size: 11px; margin-bottom: 16px; }
img.testi-avatar { object-fit: cover; display: block; }
.testi-name { font-size: 19px; font-weight: 700; color: var(--navy); }
.testi-role { font-size: 14px; color: var(--mut); margin-top: 3px; }
.testi-stars { color: var(--yellow); font-size: 18px; letter-spacing: 3px; margin: 12px 0 14px; }
.testi-quote { font-size: 18px; line-height: 1.55; color: var(--text); font-weight: 500; max-width: 560px; margin: 0; }
.testi-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(9, 44, 96, .08); transition: background .15s, color .15s, box-shadow .15s; z-index: 2; }
.testi-arrow:hover { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 98, 255, .28); }
.testi-prev { left: 0; }
.testi-next { right: 0; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.testi-dot { position: relative; width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: rgba(9, 44, 96, .18); cursor: pointer; transition: background .15s, width .2s; }
/* Expand the tap target to ~28px without enlarging the visible dot */
.testi-dot::before { content: ""; position: absolute; inset: -10px; }
.testi-dot.is-active { background: var(--blue); width: 22px; border-radius: 5px; }
@media (max-width: 700px) {
  .testi-slide { flex-basis: 100%; padding: 6px 18px; }
}
@media (max-width: 560px) {
  .testi-arrow { width: 38px; height: 38px; font-size: 22px; }
  .testi-prev { left: 0; }
  .testi-next { right: 0; }
  .testi-slide { padding: 6px 44px; }
}

/* ── Réservation / lead form ──────────────────────────────────────────── */
.reserve { overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; }
.reserve .left { background: var(--navy); padding: clamp(30px, 3.4vw, 44px); color: #fff; }
.reserve .left .kicker { color: var(--green); }
.reserve .left h2 { font-size: 32px; font-weight: 700; color: #fff; margin: 12px 0 13px; }
.reserve .left p.s { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .78); margin-bottom: 24px; }
.reserve .left .pt { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 16px; font-weight: 500; }
.reserve .left .pt i { width: 9px; height: 9px; border-radius: 9px; background: var(--green); flex: 0 0 auto; }
.reserve .left .pt--sub { padding: 3px 0 3px 21px; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.reserve .left .pt--sub::before { content: "—"; color: var(--green); }
.reserve .right { padding: clamp(28px, 3.2vw, 40px); background: #fff; }

.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(239, 239, 239, .45); border: 1px solid var(--line);
  border-radius: 10px; padding: 0 15px; font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .14s, box-shadow .14s;
}
.field input, .field select { height: 48px; }
.field textarea { padding: 12px 15px; min-height: 84px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 98, 255, .13);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(35, 32, 27, .4); }

/* invalid state */
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--error); background: var(--errorBg);
}
.field-error { display: none; font-size: 12.5px; color: var(--error); font-weight: 600; margin-top: 6px; }
.field.has-error .field-error { display: block; }

/* fieldset for sessions */
.sessions { border: none; margin: 0 0 14px; padding: 0; }
.sessions > legend { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; padding: 0; }
.session-opt {
  display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: rgba(239, 239, 239, .25);
  transition: border-color .14s, background .14s;
}
.session-opt:hover { border-color: rgba(0, 98, 255, .4); }
.session-opt input { width: auto; height: auto; margin: 3px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.session-opt:has(input:checked) { border-color: var(--blue); background: rgba(0, 98, 255, .06); }
.session-opt .txt { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.session-opt .txt small { display: block; font-weight: 500; color: var(--mut); font-size: 13px; margin-top: 2px; }

/* consent checkbox */
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 16px; }
.consent input { width: auto; height: auto; margin: 3px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.consent label { font-size: 13px; font-weight: 500; color: var(--mut); line-height: 1.45; margin: 0; }
.consent a { color: var(--blue); text-decoration: underline; }
.consent.has-error label { color: var(--error); }

.reassure { font-size: 13px; color: var(--mut); text-align: center; line-height: 1.45; margin-top: 12px; }

/* Honeypot anti-spam field — visually & functionally hidden from humans */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-field input { width: 1px; height: 1px; }

/* form status messages */
.form-status { border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; font-size: 14.5px; line-height: 1.5; font-weight: 500; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: rgba(0, 193, 78, .1); border: 1px solid rgba(0, 193, 78, .35); color: #0a5c2e; }
.form-status--error { background: var(--errorBg); border: 1px solid rgba(217, 56, 56, .35); color: #9c1f1f; }
.form-status strong { display: block; font-weight: 700; margin-bottom: 3px; }

/* loading spinner inside button */
.spinner {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: background .14s, box-shadow .2s;
}
.faq:hover { background: rgba(9, 44, 96, .025); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { font-size: 24px; color: var(--blue); line-height: 1; flex: 0 0 auto; transition: transform .22s cubic-bezier(.2, .7, .3, 1); }
.faq[open] .plus { transform: rotate(135deg); }
.faq .ans { padding: 0 22px 20px; font-size: 15px; line-height: 1.55; color: var(--mut); }

/* ── Partenaires ──────────────────────────────────────────────────────── */
.partner { display: flex; gap: 20px; align-items: center; padding: 26px 28px; }
.partner .logo-slot { flex: 0 0 auto; }
.partner-logo { height: 42px; width: auto; }
.partner-logo--tall { height: 62px; }
.partner .nm { font-size: 18px; font-weight: 700; color: var(--navy); }
.partner .tg { font-size: 14.5px; color: var(--mut); margin-top: 3px; }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final {
  background: var(--blue); border-radius: 24px; padding: clamp(44px, 5vw, 64px) 40px; text-align: center;
  background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .14), transparent 45%);
}
.final h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.08; }
.final p { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 28px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { background: var(--navy); color: #fff; padding: 46px 0 34px; margin-top: 8px; }
.foot-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #fff; }
.foot-brand .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--green); transform: rotate(45deg); }
.foot-logo { height: 30px; width: auto; display: block; }
.foot-cols { display: flex; gap: 54px; flex-wrap: wrap; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, .55); margin-bottom: 13px; font-weight: 600; }
.foot-col a { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .82); margin-bottom: 9px; transition: color .14s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Sticky mobile CTA (hidden on desktop, revealed via JS on mobile) ───── */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    background: var(--blue); color: #fff; text-decoration: none;
    padding: 12px 20px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 98, 255, .42);
    transform: translateY(160%); transition: transform .25s cubic-bezier(.2, .7, .3, 1);
  }
  .mobile-cta.show { transform: translateY(0); }
  .mobile-cta .t { font-size: 16px; font-weight: 700; }
  .mobile-cta .s { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .85); }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Stacked layout: show the full 9:16 video instead of a cropped band */
  .video-card { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
  .video-frame { aspect-ratio: 9 / 16; min-height: 0; flex: none; }
  .reserve { grid-template-columns: 1fr; }
  .anime { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .anime .media-ph { width: 200px; height: 230px; }
  .anime-photo { width: 200px; height: 230px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .stakes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .grid-2, .grid-3, .grid-4, .day-grid, .faq-grid, .field-row { grid-template-columns: 1fr; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 14px 24px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 28px rgba(9, 44, 96, .1);
  }
  /* Thumb-friendly tap targets (≥44px) for the open mobile menu */
  .nav-links.open a { width: 100%; text-align: center; }
  .nav-links.open a:not(.btn) { padding: 13px 0; border-radius: 10px; }
  .nav-links.open a:not(.btn):hover { background: rgba(0, 98, 255, .06); }
  .nav-links.open a.btn--primary { margin-top: 8px; }
  /* Long bio paragraphs read better left-aligned than centered */
  .anime-bio { text-align: left; }
}
@media (max-width: 560px) {
  /* -1.4px is cramped at small sizes; loosen for legibility */
  .hero h1 { letter-spacing: -.5px; }
}
@media (max-width: 460px) {
  .facts { grid-template-columns: 1fr; }
}
