/* ═══════════════════════════════════════════════════════════════
   LINGUABR — DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --dark:        #0d1b2a;
  --dark-2:      #16283a;
  --green:       #009c3b;
  --green-deep:  #016930;
  --green-pale:  #e8f5ed;
  --yellow:      #FFDF00;
  --yellow-soft: #fff3b0;
  --cream:       #FAFAF5;
  --ink:         #16241f;
  --grey:        #6b7c74;
  --grey-light:  #e4e9e5;
  --white:       #ffffff;

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(13, 27, 42, 0.08);
  --shadow-lift: 0 12px 40px rgba(13, 27, 42, 0.16);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; }

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

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--nav, .btn--ghost { white-space: nowrap; }

.btn--primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 0 var(--green-deep);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--green-deep);
}
.btn--primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--green-deep);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--grey);
  border: 1.5px solid var(--grey-light);
  padding: 0.85rem 1.5rem;
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.btn--secondary-light {
  background: var(--yellow);
  color: var(--dark);
  border: 1.5px solid var(--yellow);
  box-shadow: 0 4px 0 var(--green-deep);
}
.btn--secondary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--green-deep);
  background: var(--yellow);
}
.btn--secondary-light:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--green-deep);
}

.btn--nav {
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
}
.btn--nav:hover { background: var(--green-deep); }

.btn--lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
}
.nav__brand-accent { color: var(--yellow); }

.nav__links {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav__links a {
  color: rgba(255,255,255,0.75);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--yellow); }

/* ── Mobile hamburger toggle ──────────────────────────────── */
.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__toggle-bars {
  position: relative;
  width: 22px;
  height: 16px;
}
.nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 7px; }
.nav__toggle-bars span:nth-child(3) { top: 14px; }

.nav.is-open .nav__toggle-bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.nav.is-open .nav__toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle-bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* ── Mobile dropdown panel ────────────────────────────────── */
.nav__mobile-panel {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: max-height 0.32s ease;
  position: relative;
  z-index: 95;
}
.nav__mobile-panel a {
  display: block;
  padding: 0.95rem 1.5rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.nav__mobile-panel a:hover,
.nav__mobile-panel a:active {
  color: var(--yellow);
  background: rgba(255,255,255,0.04);
}
.nav__mobile-panel .btn--nav {
  margin: 1rem 1.5rem 1.25rem;
  display: flex;
}
.nav__mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h, 64px);
  background: rgba(0,0,0,0.45);
  z-index: 80;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav.is-open .nav__mobile-backdrop {
  display: block;
  opacity: 1;
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__inner .btn--nav { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile-panel { display: flex; }
  .nav.is-open .nav__mobile-panel {
    max-height: calc(100vh - var(--nav-h, 64px));
  }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: var(--dark);
  padding: 5rem 1.5rem 4.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  left: 0;
  width: 140%;
  height: 220px;
}
.hero__wave--1 {
  top: -110px;
  background: var(--green);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: rotate(-3deg);
}
.hero__wave--2 {
  top: -120px;
  height: 14px;
  background: var(--yellow);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: rotate(-3deg);
}

@media (max-width: 600px) {
  .hero {
    padding-top: 7.2rem;
  }
  .hero__wave {
    width: 200%;
    height: 340px;
    left: -30%;
  }
  .hero__wave--1 {
    top: -185px;
    transform: rotate(-2deg);
  }
  .hero__wave--2 {
    top: -197px;
    transform: rotate(-2deg);
  }
}

@media (max-width: 400px) {
  .hero {
    padding-top: 6.7rem;
  }
  .hero__wave {
    height: 310px;
  }
  .hero__wave--1 {
    top: -165px;
  }
  .hero__wave--2 {
    top: -177px;
  }
}

.hero__ghost {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.045;
  user-select: none;
}

.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* — Split layout: text column + book visual column — */
.hero__inner--split {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
}

.hero__col--text .hero__title,
.hero__col--text .hero__subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero__col--text .hero__cta {
  justify-content: flex-start;
}

.hero__col--text .hero__stats {
  justify-content: flex-start;
}

.hero__col--visual {
  display: flex;
  justify-content: center;
}

.hero__book-wrap {
  position: relative;
  max-width: 320px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.45));
}

.hero__book-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.hero__book-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
  padding: 0.55rem 0.8rem;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transform: rotate(8deg);
}

@media (max-width: 900px) {
  .hero__inner--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__col--text .hero__title,
  .hero__col--text .hero__subtitle { text-align: center; }
  .hero__col--text .hero__cta,
  .hero__col--text .hero__stats { justify-content: center; }
  .hero__col--visual { order: -1; margin-bottom: 1rem; }
  .hero__book-wrap { max-width: 220px; }
}

/* — Benefits checklist in hero — */
.hero__benefits {
  list-style: none;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.hero__benefits-icon { flex-shrink: 0; }

/* — Price row in hero — */
.hero__price-row {
  margin-top: 1.5rem;
}

.hero__price-tag {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
}

.hero__price-tag em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--green);
  border: 1px solid rgba(255, 223, 0, 0.5);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  white-space: nowrap;
  max-width: 100%;
  box-shadow: 0 2px 12px rgba(0, 156, 59, 0.4);
}

@media (max-width: 480px) {
  .hero__badge {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    padding: 0.4rem 0.7rem;
  }
}

@media (max-width: 360px) {
  .hero__badge {
    font-size: 0.56rem;
    padding: 0.35rem 0.6rem;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero__title-accent {
  display: block;
  color: var(--yellow);
  font-style: italic;
}

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* — Signature element: CECRL path — */
.cecrl-path {
  margin: 3rem auto 0;
  max-width: 640px;
}

.cecrl-path__track {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  overflow: hidden;
}

.cecrl-path__fill {
  position: absolute;
  inset: 0;
  width: 18%;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  border-radius: 100px;
  animation: fillPath 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes fillPath {
  from { width: 0%; }
  to { width: 18%; }
}

.cecrl-path__levels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
}

.cecrl-path__level {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.cecrl-path__level span {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}

.cecrl-path__level[data-level="A0"] span { color: var(--yellow); }

.cecrl-path__level small {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.15rem;
  text-align: center;
}

@media (max-width: 600px) {
  .cecrl-path__level small { display: none; }
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stat strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--yellow);
  font-weight: 700;
}

.hero__stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
  .hero__stats { gap: 1.5rem; }
}

/* — Hero photo (social proof) — */
.hero__photo {
  margin: 3.5rem auto 0;
  max-width: 760px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEAD (shared)
═══════════════════════════════════════════════════════════════ */

.section__head {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 1.5rem;
}

.section__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dark);
  letter-spacing: -0.01em;
}

.section__lede {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CHAPTERS
═══════════════════════════════════════════════════════════════ */

.chapters {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}

.chapters__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.chapter-card {
  position: relative;
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green);
}

.chapter-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.chapter-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.chapter-card p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   QUIZ SECTION
═══════════════════════════════════════════════════════════════ */

.quiz-section {
  padding: 5.5rem 1.5rem;
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--cream) 100%);
}

.quiz-app {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-step--hidden { display: none; }

/* — Level picker — */
.level-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.level-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.level-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.level-card__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green-deep);
}

.level-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.level-card__desc {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.4;
}

/* — Quiz header — */
.quiz-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quiz-header__level {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--green-deep);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-progress { flex: 1; }

.quiz-progress__track {
  height: 8px;
  background: var(--grey-light);
  border-radius: 100px;
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  width: 10%;
  background: var(--green);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-progress__text {
  display: block;
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.4rem;
  font-weight: 600;
}

/* — Quiz card — */
.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.quiz-card__question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

.quiz-card__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}

.quiz-option:hover:not(.is-disabled) {
  border-color: var(--green);
  background: var(--white);
}

.quiz-option__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--grey-light);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--grey);
  flex-shrink: 0;
}

.quiz-option.is-correct {
  border-color: var(--green);
  background: var(--green-pale);
}
.quiz-option.is-correct .quiz-option__letter {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.quiz-option.is-wrong {
  border-color: #d64545;
  background: #fdeeee;
}
.quiz-option.is-wrong .quiz-option__letter {
  background: #d64545;
  border-color: #d64545;
  color: var(--white);
}

.quiz-option.is-disabled { cursor: default; }

/* — Feedback toast — */
.quiz-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.quiz-feedback--hidden { display: none; }
.quiz-feedback--correct {
  background: var(--green-pale);
  color: var(--green-deep);
}
.quiz-feedback--wrong {
  background: #fdeeee;
  color: #b03030;
}

/* — Results — */
.results-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.results-card__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.results-card__score-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--green-deep);
  line-height: 1;
}

.results-card__score-label {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.3rem;
  font-weight: 600;
}

.results-card__verdict {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.results-card__text {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 2rem;
}

.results-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════ */

.testimonials {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}

.testimonials__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--grey-light);
}

.testimonial-card__stars {
  color: var(--yellow);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}

.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--grey-light);
  padding-top: 1rem;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */

.faq {
  padding: 5.5rem 1.5rem;
  background: var(--cream);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════════ */

.final-cta {
  background: var(--dark);
  padding: 5rem 1.5rem;
  text-align: center;
}

.final-cta__inner { max-width: 560px; margin: 0 auto; }

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.final-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.02rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.format-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.format-card__icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.format-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.format-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.format-card .btn { width: 100%; }

/* — Book showcase image (cover mockup) — */
.book-showcase {
  max-width: 280px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.book-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* — Format card price & checklist — */
.format-card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.5rem !important;
}
.format-card__price span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-family: var(--font-body);
}

.format-card__checks {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-bottom: 1.25rem;
}
.format-card__checks li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  padding: 0.35rem 0;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   AFFILIATE SECTION
═══════════════════════════════════════════════════════════════ */

.affiliate {
  background: var(--cream);
  padding: 5.5rem 1.5rem;
}

.affiliate__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.affiliate__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.affiliate__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.affiliate__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  color: var(--dark);
  margin: 0.5rem 0 1rem;
}

.affiliate__content p {
  font-size: 1.02rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.affiliate__content strong {
  color: var(--green-deep);
}

@media (max-width: 760px) {
  .affiliate__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .affiliate__photo { max-width: 320px; margin: 0 auto; }
  .affiliate__content { display: flex; flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */

.footer {
  background: var(--dark-2);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer__brand-accent { color: var(--yellow); }

.footer__text {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════════
   MID-CTA (repeated buy reminders between sections)
═══════════════════════════════════════════════════════════════ */

.mid-cta {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.mid-cta__sub {
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   AUDIENCE — "À qui s'adresse ce guide ?"
═══════════════════════════════════════════════════════════════ */

.audience {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}

.audience__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}

.audience-card {
  background: var(--cream);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green);
}

.audience-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   INCLUDES — "Ce que vous recevez après l'achat"
═══════════════════════════════════════════════════════════════ */

.includes {
  padding: 5.5rem 1.5rem;
  background: var(--cream);
}

.includes__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.includes-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.includes-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green);
}

.includes-card__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.85rem;
}

.includes-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.includes-card p {
  font-size: 0.86rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   PREVIEW — Aperçu du guide (galerie)
═══════════════════════════════════════════════════════════════ */

.preview {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}

.preview__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.preview-card {
  margin: 0;
}

.preview-card__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--grey-light);
  aspect-ratio: 3/4;
  background: var(--cream);
  transition: box-shadow 0.2s ease;
}

.preview-card__img-wrap:not(.preview-card__img-wrap--placeholder):hover {
  box-shadow: var(--shadow-lift);
  cursor: zoom-in;
}

.preview-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.preview-card__img-wrap:hover img {
  transform: scale(1.04);
}

.preview-card__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-pale), var(--cream));
}

.preview-card__placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.preview-card figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
  font-weight: 600;
}

.preview__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--grey);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   WHY — Pourquoi choisir LinguaBR
═══════════════════════════════════════════════════════════════ */

.why {
  padding: 5.5rem 1.5rem;
  background: var(--dark);
}

.why .section__eyebrow { color: var(--yellow); }
.why .section__title { color: var(--white); }

.why__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.why-card__icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.why-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS — Enriched avatar/name/location header
═══════════════════════════════════════════════════════════════ */

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-card__id {
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA — guarantee line
═══════════════════════════════════════════════════════════════ */

.final-cta__guarantee {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   STICKY MOBILE CTA BAR
═══════════════════════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--dark);
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: none;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta__btn {
  display: flex;
  width: 100%;
}

@media (max-width: 760px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}

body.nav-open .sticky-cta {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG — Index page (liste des articles)
═══════════════════════════════════════════════════════════════ */

.blog-hero {
  background: var(--dark);
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}

.blog-hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--white);
  letter-spacing: -0.01em;
}

.blog-hero p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.blog-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green);
}

.blog-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--green-deep);
  opacity: 0.4;
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-pale);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.55;
}

.blog-card__meta {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--green-deep);
  font-weight: 700;
}

@media (max-width: 600px) {
  .blog-card { grid-template-columns: 1fr; gap: 0.75rem; }
  .blog-card__num { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG — Article page
═══════════════════════════════════════════════════════════════ */

.article-hero {
  background: var(--dark);
  padding: 3.5rem 1.5rem 3rem;
}

.breadcrumb {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

.article-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero__tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.article-hero__meta {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.article-cover {
  max-width: 720px;
  margin: -1.75rem auto 0;
  padding: 0 1.5rem;
}

.article-cover img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 50px -15px rgba(13, 27, 42, 0.35);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green-deep);
  margin: 1.75rem 0 0.75rem;
}

.article-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
}

.article-body li { margin-bottom: 0.5rem; }

.article-body strong { color: var(--dark); }

.article-body a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green-pale);
}

/* — Vocab table reused inside articles — */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-table th {
  background: var(--dark);
  color: var(--white);
  text-align: left;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.article-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--grey-light);
}

.article-table tr:nth-child(even) td {
  background: var(--cream);
}

.article-table td:last-child {
  color: var(--green-deep);
  font-weight: 700;
}

/* — Pull-quote / tip box reused style — */
.article-tip {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.article-tip strong {
  display: block;
  color: var(--green-deep);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.article-tip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

/* — In-article CTA block — */
.article-cta {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* — Related articles footer block — */
.article-related {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* — Affiliate / partner offer block — */
.affiliate-cta {
  background: linear-gradient(135deg, #0E3A53 0%, #135C82 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.affiliate-cta__badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: var(--yellow-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}

.affiliate-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.affiliate-cta__text h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.affiliate-cta__text p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin: 0;
  max-width: 480px;
}

.affiliate-cta__btn {
  background: var(--yellow);
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.affiliate-cta__btn:hover { background: var(--yellow-soft); }

.affiliate-cta__disclosure {
  display: block;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .affiliate-cta__inner { flex-direction: column; align-items: stretch; }
  .affiliate-cta__btn { width: 100%; text-align: center; justify-content: center; display: flex; }
}

.article-related h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.article-related a {
  display: block;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-related a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
