/* Jàngi : page de présentation (maquette « Jangi Accueil »). Mobile d'abord, pas de défilement horizontal à 360 px. */
:root {
  --papier: #f6f8fc; --feuille: #ffffff; --encre: #16224a; --texte2: #3a4670; --texte3: #4a5680;
  --accent: #1f47c9; --accent-clair: #eef2fd; --accent-clair2: #f3f6fe; --bord-accent: #c9d4f2;
  --rouge: #c42a41; --marge: #f2b7c0; --sur-accent: #ffffff; --ok: #135a3d; --ok-fond: #e2f4ea; --frag: #6b4a00; --frag-fond: #fff3d6;
  --surligneur: #ffdf99; --bord: #e3e8f3; --bord2: #d5dcee; --fond-doux: #eef1f8; --piste: #e6ebf7; --seyes: #e1e7f5;
  --titre: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --corps: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #0f1424; --feuille: #171d33; --encre: #e8ecfa; --texte2: #b9c2e3; --texte3: #9aa5cc;
    --accent: #8aa6ff; --accent-clair: #1d2648; --accent-clair2: #1d2648; --bord-accent: #34407a;
    --rouge: #ff7a8c; --marge: #5a2a35; --sur-accent: #0b1230; --ok: #9fe3c2; --ok-fond: #123a2a; --frag: #ffdf99; --frag-fond: #3a2f10;
    --surligneur: #5c4a14; --bord: #2c3557; --bord2: #2c3557; --fond-doux: #1d2440; --piste: #222b4a; --seyes: #1b2238;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.v { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--corps); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.v a { color: var(--accent); text-decoration: none; }
.v button { font-family: inherit; cursor: pointer; }
.v :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.v h1, .v h2 { font-family: var(--titre); font-weight: 800; margin: 0; text-wrap: balance; }
.v p { margin: 0; }
.v ul, .v ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* En-tête */
.v-tete { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 252, .94); background: color-mix(in srgb, var(--papier) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--bord); }
.v-tete-in { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.v-logo { font-family: var(--titre); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--encre) !important; display: inline-flex; align-items: baseline; gap: 2px; }
.v-logo > span { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); display: inline-block; }
.v-nav { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; justify-content: flex-end; }
.v-nav a { padding: 10px 12px; font-weight: 700; font-size: 15px; color: var(--encre); }
.v-nav a:hover { color: var(--accent); }
.v-nav .v-btn-code { height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--bord-accent); display: flex; align-items: center; color: var(--accent); background: var(--feuille); }
@media (max-width: 560px) { .v-nav a[href="#comment"], .v-nav a[href="#tarifs"] { display: none; } .v-tete { position: static; } }

/* Héros : papier Seyès et marge rouge */
.v-hero { position: relative; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--seyes) 39px, var(--seyes) 40px); }
.v-marge { position: absolute; left: max(20px, calc(50% - 600px)); top: 0; bottom: 0; width: 2px; background: var(--marge); }
.v-hero-in { max-width: 1160px; margin: 0 auto; padding: 64px 20px 72px 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.v-hero-texte { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.v-pastille { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: var(--feuille); border: 1.5px solid var(--seyes); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 14px; font-weight: 700; }
.v-pastille span { background: var(--rouge); color: var(--sur-accent); border-radius: 999px; padding: 3px 9px; font-size: 12px; }
.v h1 { font-size: clamp(44px, 7vw, 80px); line-height: .98; letter-spacing: -0.035em; }
.v-surligne { background: linear-gradient(transparent 58%, var(--surligneur) 58%, var(--surligneur) 92%, transparent 92%); padding: 0 4px; }
.v-chapo { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--texte2); max-width: 540px; text-wrap: pretty; }
.v-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.v-cta, .v-cta2 { height: 58px; padding: 0 26px; border-radius: 16px; font-weight: 700; font-size: 18px; display: flex; align-items: center; }
.v-cta { background: var(--accent); color: var(--sur-accent) !important; box-shadow: 0 10px 24px -10px rgba(31, 71, 201, .7); }
.v-cta:hover { background: #16224a; }
.v-cta2 { padding: 0 22px; background: var(--feuille); color: var(--encre) !important; border: 1.5px solid var(--bord2); }
.v-garanties { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--texte2); }
.v-garanties li { display: flex; align-items: center; gap: 8px; }
.v-garanties li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Démo du tuteur dans un téléphone */
.v-demo { display: flex; justify-content: center; position: relative; padding: 64px 0; min-width: 0; }
.v-halo { position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .08; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.v-tel { position: relative; width: min(320px, 100%); height: 640px; border-radius: 40px; background: #16224a; padding: 10px; box-shadow: 0 40px 80px -30px rgba(22, 34, 74, .55); }
.v-etiq { position: absolute; z-index: 2; border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.v-etiq-serie { top: -52px; right: -12px; background: #16224a; color: #fff; transform: rotate(3deg); box-shadow: 0 14px 30px -14px rgba(22, 34, 74, .6); }
.v-etiq-serie b { font-family: var(--titre); font-weight: 800; font-size: 26px; line-height: 1; }
.v-etiq-serie span { font-size: 13px; color: #cdd6f5; }
.v-etiq-acquis { bottom: -56px; left: -12px; background: #e2f4ea; color: #135a3d; transform: rotate(-3deg); box-shadow: 0 14px 30px -14px rgba(19, 90, 61, .45); }
.v-etiq-acquis span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.v-etiq-acquis b { font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1.1; }
@media (min-width: 720px) { .v-etiq-serie { right: -28px; } .v-etiq-acquis { left: -32px; } }
.v-ecran { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #f6f8fc; color: #16224a; display: flex; flex-direction: column; }
.v-ecran-tete { flex: none; padding: 14px 16px 12px; display: flex; align-items: center; gap: 10px; background: #fff; border-bottom: 1px solid #e3e8f3; }
.v-ecran-tete > div:last-child { display: flex; flex-direction: column; }
.v-ecran-tete b { font-size: 15px; }
.v-ecran-tete small { font-size: 12px; color: #4a5680; }
.v-avatar { width: 40px; height: 40px; border-radius: 12px; background: #1f47c9; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 18px; }
.v-chat { flex: 1; overflow: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, #e6ebf6 27px, #e6ebf6 28px); }
.v-bulle { align-self: flex-start; max-width: 84%; background: #fff; color: #16224a; border-radius: 4px 16px 16px 16px; padding: 9px 12px; font-size: 15px; line-height: 1.4; box-shadow: 0 1px 0 #dfe4f0; }
.v-bulle.moi { align-self: flex-end; background: #1f47c9; color: #fff; border-radius: 16px 4px 16px 16px; }
@media (prefers-reduced-motion: no-preference) {
  .v-bulle.nouvelle { animation: v-pop .35s ease both; }
  @keyframes v-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.v-ecran-pied { flex: none; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: #fff; border-top: 1px solid #e3e8f3; }
.v-essaie { font-size: 11px; color: #4a5680; text-align: center; }
.v-opts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.v-opts button { min-height: 44px; padding: 0 12px; border-radius: 20px; border: 1.5px solid #c9d4f2; background: #f3f6fe; color: #1f47c9; font-size: 14px; font-weight: 700; }
.v-opts button:hover { background: #1f47c9; color: #fff; }

/* Bandeau des classes */
.v-classes { background: #16224a; color: #fff; }
.v-classes-in { max-width: 1160px; margin: 0 auto; padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.v-classes-titre { font-family: var(--titre); font-weight: 700; font-size: 20px; }
.v-classes ul { display: flex; flex-wrap: wrap; gap: 8px; }
.v-classes li { height: 36px; padding: 0 13px; border-radius: 999px; border: 1.5px solid #3a4a80; display: flex; align-items: center; font-size: 14px; font-weight: 700; color: #e8ecfa; }

/* Sections */
.v-sec { max-width: 1160px; margin: 0 auto; padding: 72px 20px; }
.v h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -0.03em; }
.v-sur { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }
.v-texte { font-size: 19px; line-height: 1.55; color: var(--texte2); text-wrap: pretty; }
.v-entete { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 640px; }
.v-devoirs, .v-parents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.v-devoirs { padding-top: 96px; padding-bottom: 40px; }
.v-devoirs > div:first-child, .v-parents > div:last-child { display: flex; flex-direction: column; gap: 18px; }
.v-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.v-ia, .v-jangi { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.45; }
.v-ia { background: var(--feuille); border: 1.5px solid var(--bord); color: var(--texte3); }
.v-jangi { background: #1f47c9; color: #e8ecfa; transform: rotate(-1.5deg); box-shadow: 0 24px 40px -24px rgba(31, 71, 201, .8); }
.v-mini { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.v-jangi .v-mini { color: #cdd8ff; }
.v-citation { border-radius: 12px; padding: 10px 12px; line-height: 1.4; }
.v-ia .v-citation { background: var(--fond-doux); }
.v-jangi .v-citation { background: #fff; color: #16224a; }

.v-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.v-etapes li { background: var(--feuille); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; border: 1.5px solid var(--bord); }
.v-num { font-family: var(--titre); font-weight: 800; font-size: 72px; line-height: .8; color: var(--piste); letter-spacing: -0.04em; }
.v-etapes b { font-family: var(--titre); font-weight: 700; font-size: 24px; line-height: 1.15; }
.v-etapes p { font-size: 16px; line-height: 1.5; color: var(--texte2); }
.v-qui { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.v-qui.parent { background: var(--accent-clair); color: var(--accent); }
.v-qui.eleve { background: var(--ok-fond); color: var(--ok); }
.v-code { margin-top: 16px; background: var(--feuille); border: 2px dashed var(--bord-accent); border-radius: 24px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--encre) !important; }
.v-code > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.v-code b { font-family: var(--titre); font-weight: 700; font-size: 22px; }
.v-code > span:first-child span { font-size: 16px; color: var(--texte2); }
.v-cases { display: flex; gap: 6px; flex-wrap: nowrap; }
.v-cases i { font-style: normal; width: clamp(32px, 10vw, 44px); height: clamp(42px, 13vw, 54px); border-radius: 12px; border: 2px solid var(--encre); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 24px; background: var(--papier); }
.v-code:hover .v-cases i { border-color: var(--accent); }

.v-bande { background: var(--feuille); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.v-bande .v-sec { padding-top: 88px; padding-bottom: 88px; }
.v-entete-ligne { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.v-entete-ligne > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.v-onglets { display: flex; background: var(--fond-doux); border-radius: 14px; padding: 4px; gap: 4px; }
.v-onglets button { height: 46px; padding: 0 20px; border: 0; border-radius: 11px; background: transparent; color: var(--encre); font-weight: 700; font-size: 16px; }
.v-onglets button[aria-pressed="true"] { background: #16224a; color: #fff; }
.v-onglets.plein button { flex: 1; }
.v-atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.v-atout { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.v-atout > b { font-family: var(--titre); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.v-atout > i { flex: 1; }
.v-atout strong { font-family: var(--titre); font-weight: 700; font-size: 20px; line-height: 1.15; }
.v-atout p { font-size: 15px; line-height: 1.45; opacity: .9; }
.v-atout.encre { background: #16224a; color: #fff; }
.v-atout.jaune { background: #fff3d6; color: #6b4a00; }
.v-atout.vert { background: #e2f4ea; color: #135a3d; }
.v-atout.bleu { background: #eef2fd; color: #1f47c9; }

.v-carnet { background: var(--feuille); border-radius: 28px; padding: 24px; border: 1.5px solid var(--bord); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px -40px rgba(22, 34, 74, .4); }
.v-carnet-tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.v-carnet-tete b { font-family: var(--titre); font-weight: 700; font-size: 20px; }
.v-carnet-tete small { font-size: 13px; color: var(--texte3); }
.v-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-chiffres div { background: var(--papier); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.v-chiffres b { font-family: var(--titre); font-weight: 800; font-size: 26px; }
.v-chiffres span { font-size: 13px; color: var(--texte3); }
.v-chiffres .ok { background: var(--ok-fond); color: var(--ok); }
.v-chiffres .ok span { color: var(--ok); }
.v-enfant { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--papier); }
.v-enfant.alerte { background: var(--frag-fond); color: var(--frag); }
.v-statut { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ok-fond); color: var(--ok); }

/* Tarifs */
.v-tarifs { background: #1f47c9; color: #fff; position: relative; overflow: hidden; }
.v-tarifs::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(255, 255, 255, .07) 39px, rgba(255, 255, 255, .07) 40px); }
.v-tarifs-in { position: relative; padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: center; }
.v-tarifs-in > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.v-tarifs h2 { font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.v-tarifs .v-texte { color: #dfe6ff; }
.v-bientot { font-size: 14px; color: #dfe6ff; }
.v-paiements { display: flex; flex-wrap: wrap; gap: 8px; }
.v-paiements li { height: 40px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .25); display: flex; align-items: center; font-weight: 700; font-size: 15px; }
.v-offre { background: #fff; color: #16224a; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.v-offre .v-onglets { background: #eef1f8; }
.v-offre .v-onglets button { color: #16224a; }
.v-offre .v-onglets button[aria-pressed="true"] { color: #fff; }
.v-prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.v-prix b { font-family: var(--titre); font-weight: 800; font-size: 48px; letter-spacing: -0.03em; }
.v-prix span { font-size: 16px; color: #4a5680; }
.v-avantages { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.v-avantages li { display: flex; gap: 10px; align-items: flex-start; }
.v-avantages li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e2f4ea; color: #135a3d; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.v-cta-rouge { height: 58px; border-radius: 16px; background: #d6324a; color: #fff !important; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.v-cta-rouge:hover { background: #16224a; }

/* FAQ */
.v-faq { max-width: 820px; padding-top: 88px; padding-bottom: 88px; }
.v-faq h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.v-questions { display: flex; flex-direction: column; gap: 10px; }
.v-questions details { background: var(--feuille); border-radius: 18px; border: 1.5px solid var(--bord); overflow: hidden; }
.v-questions summary { min-height: 60px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.v-questions summary::-webkit-details-marker { display: none; }
.v-questions summary::after { content: "+"; flex: none; font-size: 22px; color: var(--accent); }
.v-questions details[open] summary::after { content: "−"; }
.v-questions details p { padding: 0 20px 18px; font-size: 16px; line-height: 1.55; color: var(--texte2); }

/* Pied */
.v-pied { background: #16224a; color: #cdd6f5; }
.v-pied-in { max-width: 1160px; margin: 0 auto; padding: 40px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.v-pied-in > p:last-child { font-size: 14px; max-width: 460px; line-height: 1.5; }
.v-logo.clair { font-size: 26px; color: #fff !important; flex-wrap: wrap; }
.v-logo.clair > span { width: 7px; height: 7px; background: #ff7a8c; }
.v-logo.clair small { font-family: var(--corps); font-weight: 400; font-size: 14px; color: #aebbe6; margin-left: 12px; letter-spacing: 0; }

@media (prefers-color-scheme: dark) {
  .v-tete { background: rgba(15, 20, 36, .94); background: color-mix(in srgb, var(--papier) 92%, transparent); }
  .v-cta:hover { background: #e8ecfa; }
  .v-onglets button[aria-pressed="true"] { background: var(--accent); color: #0b1230; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.v-pied a { color: #fff; }
