/* Charte EducooO v9. Aucune requête externe : ces pages doivent s'afficher
   même si le reste du monde tombe, parce qu'Apple et Google les vérifient. */

@font-face {
  font-family: "Alan Sans"; font-style: normal; font-weight: 400 700;
  font-display: swap; src: url("/assets/fonts/AlanSans-Variable-latin.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Alan Sans"; font-style: normal; font-weight: 800;
  font-display: swap; src: url("/assets/fonts/AlanSans-ExtraBold-latin.woff2") format("woff2");
}

:root {
  --fond: #F1F0F6; --surface: #FFFFFF; --encre: #171622; --encre-douce: #6B6980;
  --bord: #E5E3EE; --miel: #FFB03A; --corail: #FF7A59;
  --bleu: #4F8DF7; --jaune: #FFC83D; --violet: #8B7CF6; --vert: #3FC46E; --sarcelle: #2FC5B8;
  --action: linear-gradient(135deg, var(--miel), var(--corail));
  --ombre: 0 8px 24px rgba(23, 22, 34, 0.06);
  --ombre-haute: 0 18px 44px rgba(23, 22, 34, 0.10);
  --titre: "Alan Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --texte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0; padding: 24px 16px 64px; background: var(--fond); color: var(--encre);
  font-family: var(--texte); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

main { max-width: 720px; margin: 0 auto; }
header { margin-bottom: 32px; }

.marque { font-family: var(--titre); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; margin: 0; }
.marque span { background: var(--action); -webkit-background-clip: text; background-clip: text; color: transparent; }
a.marque { text-decoration: none; color: var(--encre); display: inline-block; }

h1, h2, h3 { font-family: var(--titre); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 30px; line-height: 1.2; margin: 12px 0 4px; }
h2 { font-size: 21px; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; font-weight: 700; }
.date { color: var(--encre-douce); font-size: 15px; margin: 0; }

section, .carte {
  background: var(--surface); border-radius: 24px; padding: 24px;
  margin: 16px 0; box-shadow: var(--ombre);
}

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; }
th { font-weight: 700; }
ul, ol { padding-left: 20px; }
li { margin: 6px 0; }
a { color: var(--corail); }
.appui { border-left: 3px solid var(--miel); padding-left: 16px; margin: 16px 0; color: var(--encre-douce); }
footer { text-align: center; color: var(--encre-douce); font-size: 14px; margin-top: 40px; }
footer a { color: var(--encre-douce); }
code { background: var(--fond); padding: 2px 6px; border-radius: 6px; font-size: 15px; }
img { max-width: 100%; height: auto; }

/* ── Accueil ────────────────────────────────────────────────────────────── */

.large { max-width: 960px; }

.barre {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
}
.barre nav { display: flex; gap: 20px; font-size: 15px; }
.barre nav a { color: var(--encre-douce); text-decoration: none; }
.barre nav a:hover { color: var(--encre); }

.signature { height: 34px; width: auto; display: block; }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; margin: 8px 0 8px; }
.hero-texte h1 { font-size: 44px; line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero-texte p { font-size: 19px; color: var(--encre-douce); margin: 0 0 28px; max-width: 34ch; }
.hero-image { margin: 0; text-align: center; }
.hero-image img { width: 100%; max-width: 320px; }

.bouton {
  display: inline-block; background: var(--action); color: #fff; text-decoration: none;
  font-family: var(--titre); font-weight: 800; font-size: 17px;
  padding: 15px 28px; border-radius: 16px; box-shadow: var(--ombre-haute);
}
.bouton-second {
  display: inline-block; color: var(--encre); text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 15px 8px; margin-left: 8px;
}
.mention { display: block; font-size: 14px; color: var(--encre-douce); margin-top: 14px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.trio .carte { margin: 0; }
.trio h3 { margin: 14px 0 6px; font-size: 18px; font-weight: 800; font-family: var(--titre); }
.trio p { margin: 0; font-size: 16px; color: var(--encre-douce); }

.tuile {
  width: 46px; height: 46px; border-radius: 18px; display: grid; place-items: center;
}
.tuile svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.t-bleu { background: var(--bleu); } .t-violet { background: var(--violet); }
.t-vert { background: var(--vert); } .t-sarcelle { background: var(--sarcelle); }
.t-action { background: var(--action); }

.titre-section { text-align: center; margin: 56px 0 4px; }
.titre-section h2 { font-size: 30px; margin: 0 0 8px; }
.titre-section p { color: var(--encre-douce); margin: 0 auto; max-width: 52ch; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.duo img { max-width: 240px; margin: 0 auto; display: block; }

.liste-nue { list-style: none; padding: 0; }
.liste-nue li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.liste-nue svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px;
  stroke: var(--vert); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.bandeau {
  background: var(--surface); border-radius: 24px; padding: 40px 32px; text-align: center;
  box-shadow: var(--ombre); margin: 24px 0;
}
.bandeau h2 { margin: 0 0 8px; font-size: 26px; }
.bandeau p { color: var(--encre-douce); margin: 0 0 24px; }

.pied-large { margin-top: 64px; }
.pied-large nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 14px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-texte p { margin-left: auto; margin-right: auto; }
  .hero-texte h1 { font-size: 34px; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 220px; }
  .trio, .duo { grid-template-columns: 1fr; }
  .duo img { max-width: 180px; }
  .tuile { margin: 0 auto; }
  .trio .carte { text-align: center; }
  .titre-section h2 { font-size: 25px; }
  .bouton-second { display: block; margin: 4px 0 0; }
}

/* Les poses de la mascotte sont rendues sur un carré lavande opaque : on les
   arrondit pour qu'elles se lisent comme des cartes et non comme des trous. */
.hero-image img, .duo img, .carte-image {
  border-radius: 24px; box-shadow: var(--ombre);
}

/* ── Utilitaires du gabarit ─────────────────────────────────────────────── */
.centre { text-align: center; }
.liste-plate { list-style: none; padding: 0; text-align: left; max-width: 24em; margin: 8px auto 0; }
.langues { margin-top: 14px; }

/* ── Page de conversion ─────────────────────────────────────────────────────
   Ajouté le 19/08/2026 : l'accueil passe de page de présentation à page qui
   doit faire télécharger. Un seul appel à l'action, les deux boutons de store,
   répété trois fois : dans le hero, dans la barre du haut, et à la fin. */

.sur-titre {
  font-family: var(--titre); font-weight: 800; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--action); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin: 0 0 10px;
}
.hero-texte .hero-sous { font-size: 19px; color: var(--encre-douce); margin: 0 0 24px; max-width: 44ch; }

/* Les deux boutons de store. Ce ne sont pas les visuels officiels d'Apple et de
   Google, qui sont des images à télécharger : ce sont des boutons dessinés à la
   charte, sans aucune requête externe. */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--encre); color: #fff; text-decoration: none;
  padding: 11px 18px 11px 16px; border-radius: 14px;
  box-shadow: var(--ombre-haute); transition: transform .12s ease;
}
.badge:hover { transform: translateY(-1px); }
.badge svg { width: 22px; height: 22px; fill: #fff; flex: 0 0 22px; }
.badge span {
  display: flex; flex-direction: column; line-height: 1.12;
  font-family: var(--titre); font-weight: 800; font-size: 16px;
}
.badge small { font-family: var(--texte); font-weight: 400; font-size: 11px; opacity: .75; }

.bouton-barre {
  background: var(--action); color: #fff; text-decoration: none;
  font-family: var(--titre); font-weight: 800; font-size: 15px;
  padding: 10px 18px; border-radius: 12px; white-space: nowrap;
}

/* La bande de réassurance, juste sous le hero : elle répond aux objections que
   se pose une enseignante avant même d'avoir lu la suite. */
.bande-preuves {
  list-style: none; padding: 16px 20px; margin: 32px 0 8px;
  background: var(--surface); border-radius: 20px; box-shadow: var(--ombre);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px;
  font-size: 14px; color: var(--encre-douce); text-align: center;
}
.bande-preuves li { margin: 0; }

.t-corail { background: var(--corail); }
.t-jaune { background: var(--jaune); }

/* Les trois gestes, numérotés : l'ordre est le message. */
.etapes { list-style: none; padding: 0; margin: 16px 0; counter-reset: etape; }
.etapes li {
  display: flex; gap: 20px; align-items: flex-start; margin: 0;
  background: var(--surface); border-radius: 24px; padding: 24px;
  box-shadow: var(--ombre); margin-bottom: 12px;
}
.etapes .numero {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 14px;
  background: var(--action); color: #fff; display: grid; place-items: center;
  font-family: var(--titre); font-weight: 800; font-size: 18px;
}
.etapes h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 800; }
.etapes p { margin: 0; color: var(--encre-douce); }

.grille-six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.grille-six .carte { margin: 0; }
.grille-six h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 800; font-family: var(--titre); }
.grille-six p { margin: 0; font-size: 15px; color: var(--encre-douce); }

/* Le prix : un seul chiffre, gros, et ce qu'il contient juste en dessous. */
.prix { text-align: center; padding: 32px 24px; }
.prix-chiffre { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.prix-chiffre strong {
  font-family: var(--titre); font-weight: 800; font-size: 56px; line-height: 1;
  letter-spacing: -0.03em;
  background: var(--action); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prix-chiffre span { color: var(--encre-douce); font-size: 17px; }
.prix-appui { color: var(--encre-douce); margin: 8px 0 20px; }
.prix .liste-nue { text-align: left; max-width: 30em; margin: 0 auto; }
.prix .mention { max-width: 42em; margin: 20px auto 0; }

/* Les questions : <details> natif, donc aucun JavaScript, et le texte des
   réponses reste lisible par un moteur de recherche même replié. */
.questions { padding: 8px 24px; }
.questions details { border-bottom: 1px solid var(--bord); }
.questions details:last-child { border-bottom: 0; }
.questions summary {
  font-family: var(--titre); font-weight: 800; font-size: 17px;
  padding: 18px 32px 18px 0; cursor: pointer; position: relative; list-style: none;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: ""; position: absolute; right: 6px; top: 24px;
  width: 9px; height: 9px; border-right: 2.5px solid var(--corail);
  border-bottom: 2.5px solid var(--corail); transform: rotate(45deg);
  transition: transform .15s ease;
}
.questions details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.questions details p { margin: 0 0 20px; color: var(--encre-douce); }

.bandeau img { border-radius: 24px; margin-bottom: 4px; }
.bandeau .badges { justify-content: center; }
.bandeau .mention { margin-top: 16px; }

/* La barre collante du bas, sur téléphone seulement : c'est là que se joue la
   conversion, et le bouton du haut est déjà loin après trois écrans. */
.barre-collante { display: none; }

@media (max-width: 760px) {
  .barre nav { display: none; }
  .barre { margin-bottom: 28px; }
  .bande-preuves { grid-template-columns: 1fr 1fr; text-align: left; font-size: 13px; }
  .grille-six { grid-template-columns: 1fr; }
  .grille-six .carte { text-align: center; }
  .etapes li { gap: 14px; padding: 20px; }
  .badges { justify-content: center; }
  .hero-texte .hero-sous { margin-left: auto; margin-right: auto; font-size: 17px; }
  /* Sur téléphone, chaque pixel gagné dans le hero rapproche les deux boutons
     de store du premier écran. */
  .sur-titre { font-size: 12px; letter-spacing: 0.06em; margin-bottom: 6px; }
  .hero-image img { max-width: 168px; }
  .prix-chiffre strong { font-size: 46px; }

  .barre-collante {
    display: flex; gap: 10px; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(241, 240, 246, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--bord);
  }
  .barre-collante .badge { padding: 10px 14px; box-shadow: none; flex: 1 1 0; justify-content: center; }
  .barre-collante .badge span { font-size: 15px; }
  /* Sans ça, la barre collante recouvre les derniers liens du pied. */
  .pied-large { padding-bottom: 76px; }
}

@media (max-width: 460px) {
  .bande-preuves { grid-template-columns: 1fr; }
  .badge { width: 100%; justify-content: center; }
  .barre-collante .badge { width: auto; }
}
