/* =========================================================================
   OKALM CI — accueil parents, lot 5 (page plus courte, ordre fixé)
   Complément léger de /2026.css : à charger APRÈS lui.
   Tout est limité à body.page-accueil-lot5 : aucune autre page n'est touchée.
   Classes prévues pour le HTML : .lot5-reperes, .lot5-garanties,
   .lot5-parrainage, .lot5-android (facultatives, sans effet si absentes).
   ========================================================================= */

/* ---------- Garde-fous : zéro défilement horizontal ---------- */
body.page-accueil-lot5{overflow-x:hidden}
@supports (overflow:clip){body.page-accueil-lot5{overflow-x:clip}}
body.page-accueil-lot5 main{max-width:100%}
body.page-accueil-lot5 .wrap{padding-left:clamp(14px,4.5vw,28px);padding-right:clamp(14px,4.5vw,28px)}
body.page-accueil-lot5 :where(h1,h2,h3,p,li,summary,a){overflow-wrap:anywhere;hyphens:auto}
body.page-accueil-lot5 :where(img,svg,video,table){max-width:100%}

/* ---------- Rythme des sections : compact, sans tassement ---------- */
body.page-accueil-lot5 :is(#pourquoi,#comment,#professeurs,#tarifs,#garanties,#communes,#faq,#telecharger,#parrainage).sec{
  padding:clamp(44px,8vw,72px) 0;
}
body.page-accueil-lot5 :is(#pourquoi,#comment,#professeurs,#tarifs,#garanties,#communes,#faq,#telecharger,#parrainage) h2{
  font-size:clamp(1.55rem,5.4vw,2.35rem);
  line-height:1.12;letter-spacing:-.02em;
  margin-top:10px;max-width:22em;text-wrap:balance;
}
body.page-accueil-lot5 :is(#pourquoi,#comment,#professeurs,#tarifs,#garanties,#communes,#faq,#telecharger,#parrainage) .sec__lead{
  margin-top:10px;font-size:1rem;line-height:1.6;max-width:40em;
}
body.page-accueil-lot5 .sec__head + *{margin-top:clamp(22px,4vw,34px)}

/* ---------- Haut de page : 3 mini repères ---------- */
body.page-accueil-lot5 .hero__in{display:block;max-width:900px;margin-inline:auto;text-align:center}
body.page-accueil-lot5 .hero__in > div{max-width:100%}
body.page-accueil-lot5 .hero__sub{margin-left:auto;margin-right:auto}
body.page-accueil-lot5 .hero__cta,body.page-accueil-lot5 .lot5-reperes{justify-content:center}
body.page-accueil-lot5 .hero h1{font-size:clamp(2rem,7.4vw,3.6rem);line-height:1.04;max-width:19ch;margin-inline:auto}
body.page-accueil-lot5 .lot5-reperes{
  list-style:none;margin:18px 0 0;padding:0;
  display:flex;flex-wrap:wrap;gap:8px;
}
body.page-accueil-lot5 .lot5-reperes li{
  display:inline-flex;align-items:center;gap:8px;
  min-height:36px;padding:7px 13px;
  background:#fff;border:1px solid var(--line-strong);border-radius:999px;
  font-size:.86rem;font-weight:600;color:var(--ink-2);line-height:1.3;
}
body.page-accueil-lot5 .lot5-reperes li::before{
  content:"✓";color:var(--green);font-weight:800;flex:0 0 auto;
}
body.page-accueil-lot5 .hero__cta{margin-top:22px;gap:10px 12px}

/* ---------- Boutons : retour à la ligne, cibles accessibles ---------- */
body.page-accueil-lot5 .btn{min-height:48px;white-space:normal;text-align:center;line-height:1.25}
body.page-accueil-lot5 .btn--sm{min-height:40px}
body.page-accueil-lot5 :is(.hero__cta,.pricing__cta,.final__box){flex-wrap:wrap}
body.page-accueil-lot5 :is(.faq summary,.offer-options summary){min-height:44px}

/* ---------- La preuve : l'exemple de rapport reste visible ---------- */
body.page-accueil-lot5 .stage{display:block;max-width:440px;width:100%;margin-inline:auto}
body.page-accueil-lot5 .report{visibility:visible;opacity:1;padding:20px 18px 22px}
body.page-accueil-lot5 .report__date{white-space:normal}
body.page-accueil-lot5 #pourquoi .report{max-width:520px;margin-inline:auto}

/* ---------- Tarifs : options examens lisibles ---------- */
body.page-accueil-lot5 #tarifs .offer-options{border-radius:var(--radius-sm);padding:14px 16px}
body.page-accueil-lot5 #tarifs .offer-options summary{display:flex;align-items:center;line-height:1.35}
body.page-accueil-lot5 #tarifs .offer-options ul{gap:10px;line-height:1.5}
body.page-accueil-lot5 #tarifs .pricing__cta{margin-top:22px;gap:10px 12px}

/* ---------- Vos garanties : petites cartes ---------- */
body.page-accueil-lot5 .lot5-garanties{
  list-style:none;margin:0;padding:0;
  display:grid;gap:12px;grid-template-columns:1fr;
}
body.page-accueil-lot5 .lot5-garanties > *{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);
  box-shadow:var(--shadow-sm);padding:16px 18px;
}
body.page-accueil-lot5 .lot5-garanties :is(h3,b,strong){
  display:block;font-family:var(--display);font-size:1.05rem;font-weight:800;
  letter-spacing:-.01em;color:var(--ink);margin-bottom:4px;line-height:1.25;
}
body.page-accueil-lot5 .lot5-garanties p{font-size:.92rem;color:var(--ink-2)}

/* ---------- Communes et questions fréquentes ---------- */
body.page-accueil-lot5 #communes .zones{gap:8px}
body.page-accueil-lot5 #faq .faq{margin-top:0;padding:4px clamp(14px,4vw,24px)}
body.page-accueil-lot5 #faq .faq summary{padding:16px 36px 16px 0}
body.page-accueil-lot5 #faq .faq p{padding:0 8px 18px 0}

/* ---------- Dernier appel et « Pas d'Android ? » ---------- */
body.page-accueil-lot5 .final{padding-bottom:clamp(44px,8vw,72px)}
body.page-accueil-lot5 .final__box{padding:clamp(28px,6vw,52px) clamp(18px,5vw,48px)}
body.page-accueil-lot5 .final .btn{margin-top:20px}
body.page-accueil-lot5 .lot5-android{
  margin-top:18px;padding:16px 18px;border-radius:var(--radius-sm);
  background:var(--cream-2);border:1px dashed var(--line-strong);
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
}
body.page-accueil-lot5 .lot5-android p{flex:1 1 220px;font-size:.92rem;color:var(--ink-2)}

/* ---------- Parrainage tout en bas : bloc court ---------- */
body.page-accueil-lot5 #parrainage.sec{padding:clamp(32px,6vw,52px) 0}
body.page-accueil-lot5 .lot5-parrainage{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);padding:clamp(18px,4.5vw,30px);
  display:grid;gap:12px;
}
body.page-accueil-lot5 .lot5-parrainage ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
body.page-accueil-lot5 .lot5-parrainage li{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px 14px;border-radius:14px;background:var(--accent-warm);
  font-size:.94rem;color:var(--ink-2);
}
body.page-accueil-lot5 .lot5-parrainage li strong{color:var(--accent);white-space:nowrap}

/* ---------- Petits écrans (320 à 430 px) ---------- */
@media (max-width:479px){
  body.page-accueil-lot5 .hero{padding-top:20px}
  body.page-accueil-lot5 .hero__cta .btn,
  body.page-accueil-lot5 .pricing__cta .btn{flex:1 1 100%;padding:14px 18px}
  body.page-accueil-lot5 .lot5-reperes li{font-size:.82rem;padding:6px 11px}
}
@media (max-width:359px){
  body.page-accueil-lot5 .wrap{padding-left:14px;padding-right:14px}
  body.page-accueil-lot5 .report{padding:16px 14px 18px}
  body.page-accueil-lot5 .report__top{flex-wrap:wrap}
  body.page-accueil-lot5 .report__date{text-align:left}
}

/* ---------- Tablette et ordinateur ---------- */
@media (min-width:640px){
  body.page-accueil-lot5 .lot5-garanties{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.page-accueil-lot5 .lot5-parrainage ul{grid-template-columns:1fr 1fr}
}
@media (min-width:1100px){
  body.page-accueil-lot5 .wrap{padding-left:32px;padding-right:32px}
  body.page-accueil-lot5 .lot5-garanties{gap:16px}
  body.page-accueil-lot5 .lot5-garanties > *{padding:20px 22px}
  body.page-accueil-lot5 #faq .faq{max-width:52em}
}

@media (prefers-reduced-motion:reduce){
  body.page-accueil-lot5 .btn{transition:none}
}
