/* ============================================================
   FRENCH WITH AMBRE — Objectif DELF A1/A2
   Brown palette · Libre Baskerville + Source Sans 3
   ============================================================ */

:root {
  /* Color system — retro-French, drawn from the book cover */
  --brown:    #9E2218;  /* Primary — burgundy: buttons, links, key accents */
  --espresso: #5A0F08;  /* Deep burgundy — headings, footer background */
  --caramel:  #E07D2C;  /* Terracotta — hover, secondary accents */
  --sand:     #F7E3C4;  /* Warm sand — card backgrounds, dividers */
  --cream:    #FFF8EC;  /* Page background */
  --ink:      #3A1E16;  /* Body text */
  --muted:    #9C7C68;  /* Captions, metadata */

  --sunshine:      #FACC15;  /* Sunny yellow — highlights, daisy, badges */
  --sunshine-soft: #FCE38A;  /* Soft yellow tint */
  --sand-soft: #FBEFD9;
  --line: rgba(90, 15, 8, 0.13);
  --shadow-sm: 0 2px 12px rgba(90,15,8,0.07);
  --shadow:    0 16px 44px rgba(90,15,8,0.13);
  --shadow-lg: 0 34px 80px rgba(90,15,8,0.20);

  --serif: "Libre Baskerville", Georgia, serif;
  --sans:  "Source Sans 3", system-ui, -apple-system, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 14px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--espresso); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }

a { color: var(--brown); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--caramel); }

img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.sec-pad { padding: clamp(72px, 9vw, 128px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  background: var(--sunshine-soft);
  border: 1px solid rgba(158,34,24,.14);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
}
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brown); flex: 0 0 auto; }

/* Highlight marker — sunny swash behind a key word */
.hl { background: linear-gradient(transparent 58%, var(--sunshine) 58% 92%, transparent 92%); padding: 0 .06em; }

.sub-en { display: block; font-family: var(--sans); font-size: 0.62em; font-style: italic; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 10px; }

.lead { font-size: 1.18rem; color: var(--ink); opacity: .85; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--brown); color: var(--cream); box-shadow: 0 8px 22px rgba(111,78,55,.28); }
.btn-primary:hover { background: var(--caramel); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(164,117,81,.36); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brown); color: var(--brown); background: rgba(111,78,55,.04); transform: translateY(-2px); }
.btn .arr { transition: transform .22s ease; }
.btn:hover .arr { transform: translate(3px,-1px); }
.btn-lg { padding: 18px 38px; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250,245,238,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 1.28rem; color: var(--espresso); letter-spacing: -0.015em; }
.brand:hover { color: var(--espresso); }
.brand .mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.brand:hover .mark { transform: rotate(72deg); }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.brand .lw-amb { color: var(--brown); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 1rem; opacity: .82; }
.nav-links a:hover { opacity: 1; color: var(--brown); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--espresso); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); margin: 14px 0 8px; }
.hero .delf-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--brown); margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--muted); font-size: .96rem; }
.byline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--caramel); }

/* Book panel */
.book-panel { position: relative; background: linear-gradient(150deg, var(--sunshine) 0%, var(--sunshine-soft) 55%, #FFEFC2 100%); border-radius: 32px; padding: clamp(40px,5vw,68px); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), var(--shadow); overflow: hidden; }
.book-panel::after { content:""; position:absolute; inset:0; border-radius:32px; border:1px solid rgba(255,255,255,.5); pointer-events:none; }
.book-panel .daisy-deco { position: absolute; opacity: .9; pointer-events: none; }
.book-panel .daisy-deco.d1 { width: 64px; top: 22px; right: 26px; }
.book-panel .daisy-deco.d2 { width: 42px; bottom: 30px; left: 26px; }
.book-3d { position: relative; perspective: 1600px; }
.book {
  position: relative; width: clamp(220px, 24vw, 290px); aspect-ratio: 3/4.2;
  transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d;
  border-radius: 6px 10px 10px 6px;
  box-shadow: var(--shadow-lg);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.book:hover { transform: rotateY(-14deg) rotateX(2deg); }
.book .book-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px 10px 10px 6px; }
.book .spine { position: absolute; top: 0; left: 0; width: 22px; height: 100%; transform: translateX(-21px) rotateY(90deg); transform-origin: right; background: linear-gradient(var(--espresso), var(--brown)); border-radius: 4px 0 0 4px; }
.book::before { content:""; position:absolute; right:-2px; top:2%; width:8px; height:96%; background: repeating-linear-gradient(to right, #efe7da, #efe7da 1px, #d9cdbd 1px, #d9cdbd 2px); transform: translateX(6px) rotateY(78deg); transform-origin: left; border-radius: 0 3px 3px 0; }
.book-badge { position: absolute; right: clamp(12px,3vw,28px); top: clamp(12px,3vw,28px); background: var(--cream); color: var(--espresso); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); text-align: center; transform: rotate(3deg); }
.book-badge b { font-family: var(--serif); display: block; font-size: 1.3rem; line-height: 1; }
.book-badge span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section headers ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }
.sec-head p { font-size: 1.12rem; color: var(--ink); opacity: .82; }

/* ---------- Feature cards ---------- */
.alt { background: var(--sand-soft); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.alt .card { background: #fff; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ic { width: 54px; height: 54px; border-radius: 15px; background: var(--brown); color: var(--cream); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 8px 20px rgba(111,78,55,.22); }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--ink); opacity: .8; font-size: 1.02rem; }

/* ---------- Aperçu (look inside) — page-flip book ---------- */
.apercu-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px,5vw,72px); align-items: center; }

.flipbook { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fb-stage {
  position: relative;
  width: 100%; max-width: 392px;
  aspect-ratio: 1114 / 1540;
  perspective: 2400px;
  margin: 0 auto;
}
/* Soft ground shadow under the book */
.fb-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -3%;
  height: 8%;
  background: radial-gradient(ellipse at center, rgba(90,15,8,.30), rgba(90,15,8,0) 70%);
  filter: blur(6px); z-index: 0;
}
.fb-leaf {
  position: absolute; inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.62,.04,.30,1), opacity .3s ease;
  will-change: transform;
}
.fb-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}
.fb-front { background: #fff; }
.fb-img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
/* Spine gradient + page gloss that sweeps as it turns */
.fb-gloss {
  position: absolute; inset: 0; pointer-events: none; border-radius: 10px;
  background: linear-gradient(90deg, rgba(90,15,8,.16) 0%, rgba(90,15,8,.04) 7%, rgba(0,0,0,0) 16%);
}
.fb-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(120% 90% at 100% 50%, rgba(90,15,8,.08), rgba(90,15,8,0) 55%),
    linear-gradient(135deg, var(--sand-soft), var(--sand));
}
.fb-back::after {
  content: "FrenchWithAmbre";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: .92rem; letter-spacing: .04em;
  color: var(--caramel); opacity: .55;
}

/* Controls */
.fb-controls { display: flex; align-items: center; gap: 14px; }
.fb-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--brown);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.fb-btn svg { width: 20px; height: 20px; }
.fb-btn:hover { background: var(--brown); color: #fff; border-color: var(--brown); transform: translateY(-1px); }
.fb-play {
  min-width: 78px; height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream);
  font-family: var(--serif); font-weight: 700; font-size: .98rem; color: var(--espresso);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.fb-play:hover { border-color: var(--caramel); }
.fb-play.paused { background: var(--sunshine); border-color: var(--sunshine); }
.checklist { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.06rem; }
.checklist .ck { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); color: var(--brown); display: grid; place-items: center; margin-top: 3px; }
.checklist .ck svg { width: 13px; height: 13px; }

/* ---------- Cours / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; margin-top: 12px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 32px; box-shadow: var(--shadow-sm); }
.step .num { counter-increment: step; font-family: var(--serif); font-size: 2.1rem; color: var(--caramel); line-height: 1; margin-bottom: 16px; }
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 1.3rem; margin-bottom: 9px; }
.step p { color: var(--ink); opacity: .8; font-size: 1.0rem; }
.step .connector { display: none; }
.cours-cta { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cours-note { color: var(--muted); font-size: .95rem; }

/* Lesson includes strip */
.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.inc { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px; box-shadow: var(--shadow-sm); }
.inc-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--sunshine-soft); color: var(--brown); display: grid; place-items: center; }
.inc-ic svg { width: 22px; height: 22px; }
.inc b { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--espresso); margin-bottom: 4px; }
.inc p { font-size: .98rem; color: var(--ink); opacity: .8; line-height: 1.5; }

/* Language credentials */
.langs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lang { display: inline-flex; align-items: baseline; gap: 7px; background: var(--sand-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .92rem; color: var(--muted); font-family: var(--mono); letter-spacing: .02em; }
.lang b { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--espresso); letter-spacing: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 920px; margin: 0 auto; }
.price {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 42px 40px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price.feature { border: 2px solid var(--brown); box-shadow: var(--shadow); }
.price .tag { position: absolute; top: -14px; right: 32px; background: var(--sunshine); color: var(--espresso); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 18px rgba(250,204,21,.5); }
.price .kind { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel); margin-bottom: 14px; }
.price h3 { font-size: 1.55rem; margin-bottom: 6px; }
.price .desc { color: var(--ink); opacity: .78; font-size: 1.0rem; min-height: 48px; margin-bottom: 18px; }
.price .amount { font-family: var(--serif); font-size: 2.9rem; color: var(--espresso); line-height: 1; }
.price .amount small { font-family: var(--sans); font-size: .92rem; color: var(--muted); font-weight: 500; }
.price .once { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 24px; }
.price ul { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.price ul li { display: flex; gap: 11px; font-size: 1.0rem; }
.price ul li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--brown); margin-top: 4px; }
.price .btn { width: 100%; justify-content: center; margin-top: auto; }

/* Currency switcher */
.cur-switch { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.cur-opt { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--muted); background: transparent; border: none; cursor: pointer; padding: 9px 18px; border-radius: 999px; transition: all .2s ease; }
.cur-opt:hover { color: var(--espresso); }
.cur-opt.active { background: var(--brown); color: var(--cream); box-shadow: 0 4px 12px rgba(158,34,24,.28); }
.cur-rate { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--muted); padding: 0 14px; flex-basis: 100%; text-align: center; margin-top: 2px; min-height: 1em; }
@media (min-width: 560px) { .cur-rate { flex-basis: auto; margin-top: 0; text-align: left; } }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px,5vw,72px); align-items: center; }

/* Framed portrait — full vertical photo in a warm gallery mat with corner brackets */
.ambre-frame {
  position: relative;
  width: 100%;
  padding: clamp(12px, 1.4vw, 18px);
  background: linear-gradient(150deg, #fff 0%, var(--sand-soft) 60%, var(--sand) 100%);
  border-radius: 20px;
  box-shadow: 0 2px 0 rgba(255,255,255,.7) inset, 0 0 0 1px var(--line), var(--shadow-lg);
  transform: rotate(-0.6deg);
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s;
}
.ambre-frame:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 2px 0 rgba(255,255,255,.7) inset, 0 0 0 1px var(--line), 0 44px 90px rgba(90,15,8,0.26); }
.ambre-frame.no-tilt { transform: none; }
.ambre-frame.no-tilt:hover { transform: translateY(-4px); }
.ambre-frame.no-cnr .cnr { display: none; }
.about-photo {
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; display: block; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(90,15,8,.14), 0 0 0 5px #fff, 0 0 0 6px rgba(90,15,8,.12), 0 14px 30px rgba(90,15,8,.22);
}
/* Slim L-shaped corner brackets */
.ambre-frame .cnr { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 3; }
.ambre-frame .cnr::before, .ambre-frame .cnr::after { content: ""; position: absolute; background: var(--brown); border-radius: 2px; }
.ambre-frame .cnr::before { width: 100%; height: 2.5px; }
.ambre-frame .cnr::after  { width: 2.5px; height: 100%; }
.ambre-frame .cnr.tl { top: 5px; left: 5px; }
.ambre-frame .cnr.tl::before { top: 0; left: 0; } .ambre-frame .cnr.tl::after { top: 0; left: 0; }
.ambre-frame .cnr.tr { top: 5px; right: 5px; }
.ambre-frame .cnr.tr::before { top: 0; right: 0; } .ambre-frame .cnr.tr::after { top: 0; right: 0; }
.ambre-frame .cnr.bl { bottom: 5px; left: 5px; }
.ambre-frame .cnr.bl::before { bottom: 0; left: 0; } .ambre-frame .cnr.bl::after { bottom: 0; left: 0; }
.ambre-frame .cnr.br { bottom: 5px; right: 5px; }
.ambre-frame .cnr.br::before { bottom: 0; right: 0; } .ambre-frame .cnr.br::after { bottom: 0; right: 0; }
.about blockquote { font-family: var(--serif); font-size: clamp(1.4rem,2.4vw,1.85rem); line-height: 1.4; color: var(--espresso); margin: 8px 0 26px; }
.about blockquote.goal-quote { position: relative; }
.about blockquote.goal-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.62;
  color: var(--caramel);
  margin-bottom: 4px;
}
.about .sig { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--brown); }
.about .role { color: var(--muted); font-size: .98rem; margin-top: 4px; }

/* ---------- Témoignages ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: 22px; }
.rs-overall { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 24px 12px 20px; box-shadow: var(--shadow-sm); }
.rs-overall > b { font-family: var(--serif); font-size: 2.3rem; color: var(--espresso); line-height: 1; }
.rs-overall .rs-stars { color: #F2B500; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.rs-overall span { font-size: .9rem; color: var(--muted); display: block; margin-top: 4px; }
.rs-metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-metrics span { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--sand-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.rs-metrics b { font-family: var(--sans); font-weight: 700; color: var(--brown); font-size: 1rem; letter-spacing: 0; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { color: #F2B500; letter-spacing: 3px; margin-bottom: 16px; font-size: 1.05rem; }
.quote p { font-size: 1.06rem; color: var(--ink); opacity: .9; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--brown); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.quote .who b { display: block; font-size: .98rem; color: var(--espresso); }
.quote .who span { font-size: .86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--serif); font-size: 1.2rem; color: var(--espresso); font-weight: 700; }
.faq-q .pm { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .25s; color: var(--brown); }
.faq-item.open .pm { background: var(--brown); border-color: var(--brown); color: var(--cream); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 4px 26px; color: var(--ink); opacity: .82; font-size: 1.05rem; max-width: 64ch; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--cream); padding: clamp(64px,7vw,96px) 0 36px; }
.footer a { color: rgba(250,245,238,.78); }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,245,238,.14); }
.foot-brand .brand { color: var(--cream); margin-bottom: 18px; }
.foot-brand p { color: rgba(250,245,238,.7); font-size: 1.0rem; max-width: 32ch; }
.foot-col h4 { color: var(--cream); font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; opacity: .6; font-weight: 600; }
.foot-col ul { list-style: none; display: grid; gap: 12px; }
.foot-col ul a { font-size: 1.0rem; }
.foot-quote { background: rgba(250,245,238,.06); border: 1px solid rgba(250,245,238,.12); border-radius: var(--radius-sm); padding: 26px; }
.foot-quote p { font-family: var(--serif); font-style: italic; color: rgba(250,245,238,.92); font-size: 1.05rem; line-height: 1.5; }
.foot-quote .who { margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: .9rem; color: rgba(250,245,238,.6); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.foot-bottom p { color: rgba(250,245,238,.55); font-size: .9rem; }
.foot-bottom .socials { display: flex; gap: 16px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .book-panel { order: -1; }
  .apercu-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 100%; }
  .ambre-frame { max-width: 340px; margin: 0 auto; }
  .cards-3, .steps, .quotes { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-quote { grid-column: 1 / -1; }

  .nav-links, .nav-right .btn { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); padding: 24px 28px 30px; gap: 4px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav.open .nav-links .btn { display: inline-flex; justify-content: center; margin-top: 14px; border: none; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .cards-3, .quotes { gap: 18px; }
  .hero-cta .btn, .cours-cta .btn { flex: 1 1 auto; justify-content: center; }
}
