/* =========================================================================
   THE 30 MIN ACADEMY — Site vitrine premium
   Palette : Marine encre + Ambre chaleureux sur fond crème parchemin.
   Typo : Fraunces (titres) + Inter (texte).
   Pour reteinter le site, modifie uniquement les variables ci-dessous.
   ========================================================================= */

:root {
  --marine:        #15233D;   /* couleur principale (titres, header, footer) */
  --marine-2:      #1d3050;   /* nuance plus claire */
  --marine-3:      #233a60;
  --ink:           #2a3447;   /* texte courant */
  --ink-soft:      #5b6678;   /* texte secondaire */
  --amber:         #F0A92A;   /* accent / boutons (fonds) */
  --amber-2:       #ffc35a;   /* highlight dégradé */
  --amber-hover:   #e0980f;   /* accent au survol */
  --amber-deep:    #b87708;   /* texte ambré sur fond clair (contraste AA) */
  --cream:         #FBF7EF;   /* fond de page */
  --cream-2:       #F4EDDE;   /* bandes alternées */
  --card:          #FFFFFF;   /* cartes */
  --line:          #e8dec9;   /* filets / bordures douces */

  --glow:          rgba(240,169,42,.45);

  --shadow-sm: 0 2px 10px rgba(21,35,61,.06);
  --shadow-md: 0 16px 34px rgba(21,35,61,.10);
  --shadow-lg: 0 28px 60px rgba(21,35,61,.16);
  --shadow-cover: 0 22px 45px rgba(21,35,61,.28);

  --radius:    16px;
  --radius-sm: 10px;
  --radius-xl: 26px;
  --maxw: 1160px;

  --ease: cubic-bezier(.22, 1, .36, 1);     /* sortie douce, premium */
  --ease-in: cubic-bezier(.4, 0, 1, 1);

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--marine); font-weight: 600; line-height: 1.12; margin: 0; }
strong { font-weight: 600; color: var(--marine); }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--marine); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------- Barre de progression ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  z-index: 120; transition: width .1s linear;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
/* brillance qui balaie */
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-amazon { background: var(--amber); color: var(--marine); box-shadow: 0 8px 20px var(--glow); }
.btn-amazon:hover { background: var(--amber-hover); box-shadow: 0 14px 30px var(--glow); }

.btn-ghost { background: rgba(255,255,255,.04); color: #E6ECF5; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-chev { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.hero-badge:hover .ico-chev { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,239,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(251,247,239,.9); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  background: var(--marine); color: var(--amber);
  font-family: var(--font-serif); font-weight: 700; font-size: 16px;
  border-radius: 10px; letter-spacing: -.5px; box-shadow: var(--shadow-sm);
}
.brand-logo { width: 44px; height: 44px; display: block; flex: none; transition: height .3s var(--ease), width .3s var(--ease); }
.site-header.scrolled .brand-logo { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--marine); }
.nav { display: flex; gap: 6px; }
.nav-link { position: relative; font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 8px 12px; border-radius: 8px; transition: color .15s ease, background-color .15s ease; }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--amber); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--marine); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--marine); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--marine); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--marine); color: #F4EFE6; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-a { width: 480px; height: 480px; background: #294a86; top: -140px; right: -90px; animation: drift1 22s var(--ease) infinite alternate; }
.orb-b { width: 360px; height: 360px; background: rgba(240,169,42,.5); bottom: -120px; left: -60px; animation: drift2 26s var(--ease) infinite alternate; }
.orb-c { width: 300px; height: 300px; background: #1f6f8b; top: 40%; left: 55%; opacity: .35; animation: drift1 30s var(--ease) infinite alternate-reverse; }
.grain { position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; padding: 92px 24px 118px; }
.hero-copy { max-width: 600px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(240,169,42,.35);
  color: #F4EFE6; font-size: 13.5px; font-weight: 500; padding: 8px 14px 8px 12px; border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.hero-badge:hover { background: rgba(255,255,255,.12); border-color: rgba(240,169,42,.6); transform: translateY(-1px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); position: relative; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--amber); animation: pulse 2s ease-out infinite; }

.hero-title { font-size: clamp(38px, 5.6vw, 66px); color: #fff; font-weight: 600; letter-spacing: -.01em; }
.grad-word {
  background: linear-gradient(100deg, var(--amber) 10%, var(--amber-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 19.5px; line-height: 1.62; color: #C7D1E0; margin: 24px 0 32px; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin: 28px 0 0; font-size: 14px; color: #8fa0b8; }

/* Pile de livres (visuel hero) */
.hero-visual { display: flex; justify-content: center; perspective: 1000px; }
/* Livre 3D qui tourne (signature du hero) */
.book-scene { position: relative; width: 300px; height: 360px; display: flex; align-items: center; justify-content: center; perspective: 1500px; }
.book3d { position: relative; width: 210px; height: 312px; transform-style: preserve-3d; transform: rotateY(-22deg); animation: bookspin 18s linear infinite; will-change: transform; }
.b-face { position: absolute; top: 0; left: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.b-front, .b-back { width: 210px; height: 312px; border-radius: 3px 7px 7px 3px; overflow: hidden; }
.b-front { transform: translateZ(20px); background: var(--marine); box-shadow: inset 7px 0 16px rgba(0,0,0,.28); }
.b-front picture { display: block; width: 100%; height: 100%; }
.b-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-back { transform: rotateY(180deg) translateZ(20px); background: linear-gradient(135deg, #1a2c4c, var(--marine)); display: grid; place-items: center; }
.b-back picture { position: absolute; inset: 0; }
.b-back img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-mark { font-family: var(--font-serif); font-weight: 700; font-size: 48px; color: rgba(240,169,42,.5); }
.b-spine, .b-edge { width: 40px; height: 312px; left: 85px; }
.b-spine { transform: rotateY(-90deg) translateZ(105px); background: linear-gradient(var(--marine), #1a2c4c); display: grid; place-items: center; border-radius: 3px 0 0 3px; }
.b-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-sans); font-size: 10px; letter-spacing: .14em; color: var(--amber); font-weight: 600; white-space: nowrap; }
.b-edge { transform: rotateY(90deg) translateZ(105px); background: repeating-linear-gradient(to bottom, #efe7d4 0 2px, #d8ceb4 2px 4px); border-radius: 0 5px 5px 0; }
.book-floor { position: absolute; bottom: 16px; left: 50%; width: 195px; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(21,35,61,.34), transparent); filter: blur(3px); z-index: -1; }
@keyframes bookspin { from { transform: rotateY(-22deg); } to { transform: rotateY(338deg); } }
.amz-smile { width: 30px; height: 11px; flex: none; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--marine); font-size: 13px; font-weight: 600;
  padding: 8px 13px; border-radius: 999px; box-shadow: var(--shadow-md);
}
.float-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--amber-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { top: 24px; right: -8px; animation: floaty 5s ease-in-out infinite; }
.chip-2 { bottom: 54px; left: -18px; animation: floaty 6.5s ease-in-out .6s infinite; }

/* Vague de transition vers la section suivante */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 1;
  background: var(--cream); clip-path: polygon(0 100%, 100% 100%, 100% 35%, 0 100%);
}

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: #8fa0b8; font-size: 12px; letter-spacing: .08em; }
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite; }

/* ---------- Sections génériques ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 14px; }
.section-title { font-size: clamp(28px, 3.8vw, 40px); letter-spacing: -.01em; }
.section-sub { font-size: 18px; color: var(--ink-soft); margin: 16px 0 0; line-height: 1.6; }

/* ---------- Méthode (value cards) ---------- */
.section-methode { background: var(--cream); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(240,169,42,.4); }
.value-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; background: #FCEFD6; border-radius: 14px; transition: transform .3s var(--ease); }
.value-card:hover .value-ico { transform: scale(1.08) rotate(-4deg); }
.value-ico svg { width: 27px; height: 27px; fill: none; stroke: var(--amber-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- Comment ça marche (étapes) ---------- */
.section-steps { background: var(--cream-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps-line { position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--marine); color: var(--amber); font-family: var(--font-serif); font-weight: 700; font-size: 24px;
  border-radius: 50%; box-shadow: var(--shadow-md); border: 3px solid var(--cream-2); position: relative; z-index: 1; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- Collection (livres) ---------- */
.section-collection { background: var(--cream); }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.book-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; transform-style: preserve-3d; }
.book-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(240,169,42,.4); }

/* Couverture : image réelle par-dessus, gabarit de secours dessous + reflet */
.cover-wrap { position: relative; aspect-ratio: 2 / 3; margin: 0 auto 24px; width: 76%;
  border-radius: 9px; box-shadow: var(--shadow-cover); overflow: hidden; transition: transform .35s var(--ease); }
.book-card:hover .cover-wrap { transform: translateY(-6px); }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; background: var(--marine); }
.cover-fallback { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, #1a2c4c, var(--marine));
  border: 1px solid rgba(240,169,42,.35); padding: 20px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.cover-fallback .cf-kicker { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.cover-fallback .cf-title  { font-family: var(--font-serif); font-size: 23px; line-height: 1.06; color: #fff; font-weight: 600; }
.cover-fallback .cf-brand  { font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: #8fa0b8; }
.cover-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transition: opacity .3s ease; }
.book-card:hover .cover-glare { opacity: 1; }

.book-title { font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.book-blurb { font-size: 15px; color: var(--ink-soft); margin: 0 0 22px; line-height: 1.55; flex: 1; }
.book-card .btn { width: 100%; justify-content: center; }

.collection-foot { text-align: center; margin: 50px 0 0; color: var(--ink-soft); font-size: 16px; }
.link-amazon { color: var(--amber-deep); font-weight: 600; }
.link-amazon:hover { color: var(--amber-hover); text-decoration: underline; }

/* ---------- Pourquoi (preuve) ---------- */
.section-why { background: var(--cream-2); }
.why-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--marine); border-radius: 11px; box-shadow: var(--shadow-sm); }
.why-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 18px; margin-bottom: 4px; }
.why-item p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.why-stats { background: var(--marine); border-radius: var(--radius-xl); padding: 36px 34px; box-shadow: var(--shadow-lg); display: grid; gap: 22px; }
.why-stats .stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: #fff; line-height: 1; }
.stat-num small { font-size: 16px; font-weight: 500; color: var(--amber); margin-left: 5px; font-family: var(--font-sans); }
.stat-lbl { font-size: 14px; color: #C7D1E0; margin-top: 7px; }
.reviews-link { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  color: #C7D1E0; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.reviews-link:hover { color: #fff; }
.reviews-link .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }

/* ---------- À propos ---------- */
.section-about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 56px; align-items: center; }
.about-copy .section-title, .about-copy .eyebrow { text-align: left; }
.about-copy p { font-size: 17px; color: var(--ink); margin: 18px 0 0; }
.about-copy .btn { margin-top: 30px; }
.about-card { position: relative; background: linear-gradient(160deg, var(--marine-2), var(--marine)); color: #fff;
  border-radius: var(--radius-xl); padding: 44px 38px; box-shadow: var(--shadow-lg); border: 1px solid rgba(240,169,42,.25); overflow: hidden; }
.about-card::before { content: ""; position: absolute; top: -50px; right: -50px; width: 180px; height: 180px; border-radius: 50%; background: var(--glow); filter: blur(50px); }
.about-mark { position: relative; display: grid; place-items: center; width: 60px; height: 60px; background: var(--amber); color: var(--marine);
  font-family: var(--font-serif); font-weight: 700; font-size: 24px; border-radius: 16px; margin-bottom: 22px; }
.about-quote { position: relative; font-family: var(--font-serif); font-size: 25px; line-height: 1.3; color: #fff; margin: 0; font-weight: 500; }
.about-sign { position: relative; margin: 16px 0 0; color: var(--amber); font-size: 14px; font-weight: 600; letter-spacing: .03em; }

/* ---------- Langues (FR dispo · autres bientôt) ---------- */
.section-langs { background: var(--marine); padding: 48px 0; }
.langs-inner { text-align: center; }
.langs-text { color: #C7D1E0; font-size: 16px; margin: 0; letter-spacing: .02em; }
.langs-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.lang-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #E6ECF5;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 16px; }
.lang-pill span { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8fa0b8;
  border-left: 1px solid rgba(255,255,255,.18); padding-left: 9px; }
.lang-pill.is-on { color: var(--marine); background: var(--amber); border-color: var(--amber); }
.lang-pill.is-on span { color: var(--marine); opacity: .65; border-color: rgba(21,35,61,.3); }

/* Étiquette format sur les cartes livre */
.book-format { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--amber-deep); background: #FCEFD6;
  border-radius: 999px; padding: 4px 11px; margin: 0 0 13px; }

/* Icône étoile (avis honnête) */
.rev-ico { width: 18px; height: 18px; fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-linejoin: round; flex: none; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; background: var(--marine); color: #fff; padding: 96px 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg .orb-a { width: 420px; height: 420px; background: rgba(240,169,42,.4); top: -120px; left: 50%; }
.cta-bg .orb-b { width: 360px; height: 360px; background: #294a86; bottom: -140px; right: 8%; }
.cta-inner { max-width: 680px; }
.cta-title { font-size: clamp(30px, 4.4vw, 46px); color: #fff; }
.cta-sub { font-size: 19px; color: #C7D1E0; margin: 18px auto 30px; max-width: 540px; }
.cta-note { margin: 22px 0 0; font-size: 14px; color: #8fa0b8; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1a30; color: #aeb9cc; padding: 56px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: #fff; margin: 0; }
.footer-slogan { font-size: 14px; color: #8b97ad; margin: 4px 0 0; font-style: italic; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 15px; color: #c5cedd; transition: color .15s ease; }
.footer-links a:hover { color: var(--amber); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-legal p { margin: 0; font-size: 13px; color: #7e8aa0; }
.footer-mention { margin-top: 6px !important; max-width: 660px; }

/* ---------- Animations au scroll (reveal) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); will-change: opacity, transform; }
.reveal[data-reveal="left"]  { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="scale"] { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Keyframes ---------- */
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, 30px) scale(1.1); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(50px, -20px) scale(1.12); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sweep { 0%,100% { left: -30%; } 55% { left: 130%; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes pulse { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.section-faq { background: var(--cream-2); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(240,169,42,.4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 24px; font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--marine); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-right: 3px; border-right: 2px solid var(--amber-deep); border-bottom: 2px solid var(--amber-deep); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-a { padding: 0 24px 20px; }
.faq-a p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.65; }
.faq-a a { color: var(--amber-deep); font-weight: 600; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .orb, .chip-1, .chip-2, .scroll-cue svg, .pulse-dot::after { animation: none !important; }
  .book3d { animation: none !important; transform: rotateY(-24deg); }
  .btn:hover, .value-card:hover, .book-card:hover, .book-card:hover .cover-wrap { transform: none; }
  .btn::after { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 72px 24px 104px; }
  .hero-visual { order: -1; }
  .book-stack { transform: scale(.9); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  /* Menu mobile déroulant */
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px 16px 18px; }
  .nav.open .nav-link { padding: 12px 14px; font-size: 16px; }
  .nav.open .nav-link::after { display: none; }
  .steps { grid-template-columns: 1fr; gap: 30px; max-width: 380px; margin: 0 auto; }
  .steps-line { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .value-grid, .books-grid { grid-template-columns: 1fr; gap: 18px; }
  .cover-wrap { width: 62%; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .why-stats { padding: 30px 26px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 14px 22px; }
}
