/* TOPOSTATS — site v1.4p : surcouche de style (s'ajoute après style.css, ne remplace rien).
   Retrait : python3 patch-site-v14p.py retirer */
@font-face{font-family:"Barlow";src:url(/fonts/barlow-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Barlow";src:url(/fonts/barlow-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Barlow";src:url(/fonts/barlow-600.woff2) format("woff2");font-weight:600 800;font-display:swap}

/* 1. Typographie : Barlow pour le texte, Barlow Condensed pour les titres */
body{font-family:"Barlow",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
.prix small{font-family:"Barlow",sans-serif}
.hero h1,.hero p.h1{letter-spacing:.01em;line-height:1.02}
.hero p.h1{font-family:"Barlow Condensed","Barlow",sans-serif;font-weight:700;font-size:clamp(42px,6.4vw,76px);margin:0 0 20px;text-transform:uppercase;color:#fff}
.hero p.h1 em{font-style:normal;color:var(--orange)}

/* 2. Orange lisible sur fond clair (contraste 5,3:1) ; l'orange vif reste sur fond sombre */
section:not(.hero):not(.sombre):not(.orange):not(.fin) .kicker,.page .kicker,.page .kick{color:#B8480C}

/* 3. Plus de bouton flottant « Suite » (les repères de sections suffisent) */
.v14cue{display:none!important}

/* 4. Pied de page toujours visible en bas de l'écran */
footer{position:fixed!important;left:0;right:0;bottom:0;z-index:35;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important;box-shadow:0 -1px 0 rgba(255,255,255,.08)}
footer .wrap{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:22px!important}
footer .marque{flex:none}
footer .marque img.wm{height:20px;width:auto}
footer nav{display:flex!important;grid-template-columns:none!important;flex:1;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;white-space:nowrap;gap:22px!important}
footer nav::-webkit-scrollbar{display:none}
footer nav a{white-space:nowrap;flex:none}
footer .reseaux{flex:none;margin:0!important}
footer .copy{display:none!important}
footer a.v14p-foot{color:var(--orange);font-weight:600}
body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
.haut{bottom:calc(76px + env(safe-area-inset-bottom))!important}
@media (min-width:981px) and (min-height:640px){.vue{min-height:calc(100vh - 126px)!important;min-height:calc(100dvh - 126px)!important}}
@media (max-width:720px){
  footer .marque,footer .reseaux{display:none!important}
  footer nav{gap:18px!important;font-size:14px}
  body{padding-bottom:calc(46px + env(safe-area-inset-bottom))}
  .haut{bottom:calc(62px + env(safe-area-inset-bottom))!important}
}
@media print{footer{position:static!important}body{padding-bottom:0}}

/* 5. Accueil : bandeau qui défile (3 vues superposées : la page ne saute pas) */
.v14p-sls{display:grid}
.v14p-sl{grid-area:1/1;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s}
.v14p-sl.on{opacity:1;visibility:visible;transition:opacity .6s ease}
.v14p-vis{display:flex;align-items:center;justify-content:center}
.v14p-vis img{width:100%;max-width:560px;height:auto!important;aspect-ratio:1200/896;object-fit:cover;border-radius:24px;box-shadow:0 30px 60px rgba(0,0,0,.45)}
.v14p-ctrl{position:absolute;left:50%;transform:translateX(-50%);bottom:30px;z-index:5;display:flex;align-items:center;gap:12px}
.v14p-dots{display:flex;gap:6px}
.v14p-dots button{width:28px;height:4px;border-radius:2px;border:0;padding:0;background:rgba(255,255,255,.3);cursor:pointer}
.v14p-dots button.on{background:#fff}
.v14p-fl{width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(255,255,255,.35);background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer}
.v14p-fl svg{width:16px;height:16px}
.v14p-fl:hover{background:rgba(255,255,255,.08)}
@media (prefers-reduced-motion:reduce){.v14p-sl{transition:none}}

/* 6. Accueil : bande des garanties sous le bandeau */
section.v14p-rea{padding:0!important;background:#fff;border-bottom:1px solid var(--trait)}
.v14p-rea .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-top:22px;padding-bottom:22px}
.v14p-rea .wrap>div{display:flex;gap:12px;align-items:center}
.v14p-rea svg{width:28px;height:28px;flex:none;color:var(--orange)}
.v14p-rea b{display:block;color:var(--nuit);font-size:15.5px;line-height:1.25}
.v14p-rea small{display:block;color:var(--gris);font-size:13.5px;line-height:1.3}
@media (max-width:900px){.v14p-rea .wrap{grid-template-columns:1fr 1fr;gap:16px}}
@media (max-width:420px){.v14p-rea b{font-size:14.5px}}

/* 7. Pages de l'école */
.ec .v14dots{display:none!important}

.v14p-sl>.wrap{width:100%}

/* 8. v1.4p-2 : plus de bandeau orange en haut (la vue « Parents testeurs » est dans le bandeau qui défile) */
.v14n-band{display:none!important}
/* bandeau d'accueil : tient dans l'écran, entre le menu du haut et le pied de page fixe, commandes visibles */
.hero.v14p-h{min-height:0!important;display:flex;flex-direction:column}
.hero.v14p-h .v14p-sls{flex:1}
.hero.v14p-h .v14p-sl>.wrap{padding-top:40px;padding-bottom:92px}
@media (min-width:981px){.hero.v14p-h{height:calc(100vh - 69px - 58px - 100px);height:calc(100dvh - 69px - 58px - 100px);min-height:520px!important;max-height:780px}
  .hero.v14p-h .v14p-sls,.hero.v14p-h .v14p-sl{min-height:0;height:100%}
  .hero.v14p-h .v14p-vis img{max-height:calc(100dvh - 400px);width:auto;max-width:100%}}
.hero.v14p-h.sep::after{display:none}
.v14p-ctrl{bottom:26px}
.v14p-pause .ij{display:none}.v14p-pause.off .ip{display:none}.v14p-pause.off .ij{display:block}
/* téléphone : rien ne dépasse sur le côté, commandes sous le texte */
@media (max-width:980px){
  html,body{overflow-x:clip}
  .hero.v14p-h,.v14p-sls,.v14p-sl,.v14p-sl>.wrap{max-width:100vw;min-width:0}
  .v14p-sl>.wrap>*{min-width:0;max-width:100%}
  .hero.v14p-h .v14p-sl>.wrap{padding-top:62px;padding-bottom:48px}
  .v14p-ctrl{top:12px;bottom:auto;gap:10px}
  .v14p-fl{width:34px;height:34px}
}
/* menu ☰ du téléphone : liens du pied de page (mentions légales, confidentialité…) */
.v14menu .v14p-mp{grid-column:1/-1;height:1px;background:rgba(255,255,255,.14);margin:10px 0 6px}
.v14menu .v14p-mf{font-size:14px!important;opacity:.82;padding-top:9px!important;padding-bottom:9px!important}

/* v1.4p-3 : rien caché sous le pied de page fixe */

/* bloc « Espace club » de l'accueil allégé : le détail (prix, conditions) est sur la page Club */
.hclub .hc-badges,.hclub .hc-prix,.hclub .mascotte{display:none!important}
.hclub .hc-steps span{font-size:15.5px}
@media (min-width:981px){.vue:not(.v14p-h){padding-bottom:70px!important}}

/* v1.4q : pied de page entier sur ordinateur (le logo est déjà en haut) */
@media (min-width:721px){footer .marque{display:none!important}footer nav{gap:14px!important}}

/* v1.5t : vue « partage » du bandeau (EN, ES, DE, IT) : page de rapport entière, sans recadrage */
.v14p-vis.v15t-rp img{aspect-ratio:760/1075;object-fit:contain;max-width:340px;border-radius:10px}
