/* Les pages d'un sujet (Préparer le TOEIC, Prononciation, Parler avec l'IA) : une recherche, une page. La DA de
   l'accueil (style.css, chargé avant) : le haut avec son téléphone, des rangées texte et capture qui alternent,
   gratuit et Hi!+, les questions (les .qa de l'accueil), les autres pages, l'appel final. Mobile d'abord. */

.lp { overflow-x: clip; }

.lp-wrap {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin: 0 auto;
}

/* le fil d'Ariane, discret sous la barre du haut */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 26px;
  color: var(--ink-2);
  font: 600 14px/1.2 var(--fd);
}

.crumbs a { color: var(--indigo-d); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- le haut : le titre, les portes, trois chiffres, le téléphone ---------- */

.lp-hero {
  display: grid;
  gap: 34px;
  align-items: center;
  padding: 22px 0 30px;
}

.lp-hero .kicker { rotate: -3deg; }

.lp-hero h1 {
  margin-top: 16px;
  font: 700 clamp(40px, 9vw, 76px)/.98 var(--fd);
  letter-spacing: -.02em;
  text-wrap: balance;
}

.lp-hero h1 .grad { padding-bottom: .1em; }

.lp-lead {
  max-width: 34em;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.lp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.lp-facts li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px 12px 13px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 0 #ead9c3;
}

.lp-facts b { font: 700 clamp(19px, 2.6vw, 26px)/1.05 var(--fd); color: var(--indigo-d); }
.lp-facts span { color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }

.lp-hero-viz {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 0 20px;
}

.lp-hero-viz::before {
  content: '';
  position: absolute;
  inset: 4% 8%;
  z-index: 0;
  border-radius: 46% 54% 50% 50%;
  background: var(--grad);
  opacity: .9;
  rotate: -6deg;
}

.lp-hero-viz .device { --pw: clamp(220px, 62vw, 290px); z-index: 1; rotate: 3deg; }

/* ---------- les rangées : le texte, et à côté la capture ou un petit dessin ---------- */

.lp-rows { display: grid; gap: 22px; padding: 40px 0 10px; }

.lp-row {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 28px 22px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 7px 0 #ead9c3, 0 26px 40px -30px rgb(27 22 64 / 45%);
}

.lp-row h2 {
  font: 700 clamp(28px, 4.4vw, 44px)/1.04 var(--fd);
  letter-spacing: -.012em;
  text-wrap: balance;
}

.lp-text p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.lp-text .ticks { margin-bottom: 0; }
.lp-text .ticks li { align-items: flex-start; line-height: 1.45; }
.lp-text .chips { margin-top: 16px; }
.lp-text .chips li { background: var(--indigo-soft); color: var(--indigo-d); box-shadow: none; }

.lp-viz { display: grid; place-items: center; min-width: 0; }
.lp-viz .device { --pw: clamp(200px, 56vw, 250px); }

/* les cinq paliers officiels, à leurs couleurs */
.tiers-list { display: grid; gap: 8px; width: min(100%, 420px); margin: 0; padding: 0; list-style: none; }

.tiers-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg);
  font-size: 15px;
}

.tiers-list i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 2px 0 rgb(0 0 0 / 15%); }
.tiers-list b { font: 700 17px/1.1 var(--fd); }
.tiers-list span { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tiers-list .goal { outline: 2.5px solid var(--gold); outline-offset: -2.5px; }

/* le test d'un palier : l'horloge, la question, l'écoute unique */
.exam {
  display: grid;
  gap: 14px;
  width: min(100%, 380px);
  padding: 20px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  rotate: -1.5deg;
  box-shadow: 0 8px 0 #08061c, 0 30px 40px -24px rgb(27 22 64 / 70%);
}

.exam-top { display: flex; align-items: center; justify-content: space-between; font: 700 15px/1 var(--fd); color: rgb(255 255 255 / 75%); }
.exam-clock { font: 700 46px/1 var(--fd); font-variant-numeric: tabular-nums; }
.exam-pill { justify-self: start; padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / 12%); font: 600 13.5px/1.2 var(--fd); }
.exam-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.exam-opts span { display: grid; place-items: center; height: 52px; border-radius: 14px; background: #fff; color: var(--ink); font: 700 20px/1 var(--fd); box-shadow: 0 4px 0 #cfc6ff; }
.exam-opts .ok { background: #e2f7ee; color: var(--green); box-shadow: 0 4px 0 #9fe0c3; }

/* une conversation : les bulles de Hi!, la tienne, sa note et « On dit » */
.chat { display: grid; gap: 10px; width: min(100%, 400px); padding: 18px; border-radius: 26px; background: #1b1640; rotate: 1.2deg; box-shadow: 0 8px 0 #08061c, 0 30px 40px -24px rgb(27 22 64 / 70%); }
.chat p { margin: 0; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: rgb(255 255 255 / 10%); color: #fff; font-size: 15px; line-height: 1.4; }
.chat .me { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--indigo); }
.chat .me u { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.chat .tip { justify-self: end; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 8%); color: rgb(255 255 255 / 85%); font-size: 13px; }
.chat .tip b { color: var(--mint); }
.chat .tip em { font-style: normal; color: var(--gold); font-weight: 600; }

/* ---------- gratuit, et Hi!+ ---------- */

.lp-plan { display: grid; gap: 16px; padding: 46px 0 0; }

.lp-plan > div {
  padding: 24px 22px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 7px 0 #ead9c3;
}

.lp-plan .plus { background: var(--ink); color: #fff; box-shadow: 0 7px 0 #08061c; }
.lp-plan h2 { font: 700 clamp(24px, 3.4vw, 32px)/1.1 var(--fd); }
.lp-plan .plus h2 { color: var(--gold); }
.lp-plan p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.lp-plan .plus p { color: rgb(255 255 255 / 80%); }
.lp-plan .ticks { margin-bottom: 0; }
.lp-plan .plus .ticks svg { background: rgb(255 255 255 / 12%); color: var(--gold); }

/* ---------- les autres pages : une liste sobre, comme les questions ---------- */

.lp-more { width: min(980px, 100%); margin: 0 auto; padding: 64px 0 0; }
.lp-more h2 { font: 700 clamp(24px, 3.4vw, 32px)/1.1 var(--fd); }

.lp-cards { display: grid; gap: 12px; margin-top: 18px; }

.lp-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 16px 18px 16px 20px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 5px 0 #ead9c3, 0 18px 30px -24px rgb(27 22 64 / 45%);
}

.lp-card-t { display: grid; gap: 3px; flex: 1; min-width: 0; }
.lp-card b { font: 600 clamp(17px, 2.1vw, 20px)/1.25 var(--fd); }
.lp-card-t span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.lp-card svg { flex: none; width: 22px; height: 22px; color: var(--indigo-d); transition: translate .2s var(--out); }
.lp-card:hover svg { translate: 3px 0; }

/* les questions de la page : la même FAQ que l'accueil, un peu plus serrée en haut */
.lp .faq { padding-top: 70px; }

/* ---------- l'ordinateur ---------- */

@media (min-width: 760px) {
  .lp-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-top: 34px; }
  .lp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 40px 44px; }
  .lp-row.flip .lp-viz { order: -1; }
  .lp-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .lp-facts { grid-template-columns: minmax(0, 1fr); }
  .lp-facts li { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-card svg { transition: none; }
}

/* ta prononciation sur 14 jours : la note, tes sons (à reprendre en doré, bien dits en vert) */
.sounds, .recap {
  display: grid;
  gap: 12px;
  width: min(100%, 380px);
  padding: 20px;
  border-radius: 24px;
  background: var(--indigo);
  color: #fff;
  rotate: -1.2deg;
  box-shadow: 0 8px 0 var(--indigo-d), 0 30px 40px -24px rgb(27 22 64 / 60%);
}

.sounds-top, .recap-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; }
.sounds-top b { font: 700 44px/1 var(--fd); }
.sounds-top small { font-size: 18px; opacity: .8; }
.sounds-top span { padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / 16%); font: 600 13px/1 var(--fd); }
.sounds ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.sounds li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 34px; gap: 10px; align-items: center; font: 600 14px/1 var(--fd); }
.sounds li i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--mint) var(--v), rgb(255 255 255 / 16%) var(--v)); }
.sounds li.redo i { background: linear-gradient(90deg, var(--gold) var(--v), rgb(255 255 255 / 16%) var(--v)); }
.sounds li em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.sounds-cta { justify-self: start; margin: 4px 0 0; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--indigo-d); font: 700 14px/1 var(--fd); box-shadow: 0 4px 0 #cfc6ff; }

/* le bilan d'une conversation : trois chiffres, et les phrases à dire autrement */
.recap { background: var(--ink); box-shadow: 0 8px 0 #08061c, 0 30px 40px -24px rgb(27 22 64 / 70%); rotate: 1.2deg; }
.recap-top span { display: grid; gap: 4px; flex: 1; padding: 10px; border-radius: 16px; background: rgb(255 255 255 / 8%); text-align: center; font-size: 12.5px; color: rgb(255 255 255 / 75%); }
.recap-top b { font: 700 24px/1 var(--fd); color: #fff; }
.recap-h { margin: 4px 0 0; font: 600 13px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.recap-fix { display: grid; gap: 4px; margin: 0; padding: 11px 13px; border-radius: 14px; background: rgb(255 255 255 / 8%); font-size: 15px; }
.recap-fix s { color: rgb(255 255 255 / 55%); text-decoration-color: var(--gold); }
.recap-fix b { color: var(--mint); font-weight: 600; }
