/* AppliSchool — site vitrine. Léger : aucune bibliothèque, aucune police externe. */
:root { --c1: #2447b8; --c1f: #1b3690; --c1p: #eef2ff; --texte: #1c2333; --gris: #5b6479; --bord: #e3e7f0; --fond: #f7f8fc; --ok: #16794c; --r: 14px; --ombre: 0 1px 2px rgba(20,30,70,.06), 0 8px 24px rgba(20,30,70,.07); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--texte); background: #fff; }
img, svg { max-width: 100%; }
a { color: var(--c1); text-underline-offset: 3px; }
a:hover { color: var(--c1f); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw + .5rem, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.2vw + 1rem, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.conteneur { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--c1); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.evitement:focus { left: 0; }
:focus-visible { outline: 3px solid #8aa3ff; outline-offset: 2px; border-radius: 6px; }

/* En-tête */
.haut { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--bord); }
.barre { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 1rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: var(--texte); text-decoration: none; }
.marque .logo { width: 36px; height: 36px; display: grid; place-items: center; background: var(--c1); color: #fff; border-radius: 10px; }
.marque .logo .ico { width: 22px; height: 22px; }
.menu { display: flex; align-items: center; gap: .25rem; }
.menu a:not(.bouton) { color: var(--texte); text-decoration: none; padding: .5rem .8rem; border-radius: 8px; font-weight: 550; font-size: .97rem; transition: background .2s, color .2s; }
.menu a:not(.bouton):hover { background: var(--c1p); color: var(--c1); }
.menu a[aria-current="page"] { color: var(--c1); background: var(--c1p); }
.menu-cta { margin-left: .5rem; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--bord); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--texte); margin: 4px auto; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 650; text-decoration: none; border: 1.5px solid var(--c1); color: var(--c1); background: #fff; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, box-shadow .2s, background .2s; }
.bouton:hover { transform: translateY(-1px); box-shadow: var(--ombre); color: var(--c1); }
.bouton-plein { background: var(--c1); color: #fff; }
.bouton-plein:hover { background: var(--c1f); color: #fff; }
.bouton-clair { background: #fff; color: var(--c1); border-color: #fff; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-teinte { background: var(--fond); }
.titre-section { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.titre-section p { color: var(--gris); font-size: 1.08rem; }
.sur-titre { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c1); background: var(--c1p); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }

/* Accueil */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); background: radial-gradient(1000px 420px at 85% -10%, #dfe7ff 0, transparent 60%), #fff; }
.hero-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero p.chapeau { font-size: 1.2rem; color: var(--gris); max-width: 34em; }
.hero h1 span { color: var(--c1); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.preuves { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: var(--gris); font-size: .95rem; }
.preuves li { display: inline-flex; align-items: center; gap: .4rem; }
.preuves .ico { width: 18px; height: 18px; color: var(--ok); }
.apercu { background: #fff; border: 1px solid var(--bord); border-radius: 18px; box-shadow: 0 20px 50px rgba(36,71,184,.16); overflow: hidden; }
.apercu-barre { display: flex; gap: 6px; padding: .7rem .9rem; background: var(--fond); border-bottom: 1px solid var(--bord); }
.apercu-barre i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e8; }
.apercu-corps { padding: 1.1rem; display: grid; gap: .8rem; }
.apercu-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.apercu-chiffres div { background: var(--c1p); border-radius: 10px; padding: .7rem; }
.apercu-chiffres b { display: block; font-size: 1.3rem; color: var(--c1f); }
.apercu-chiffres span { font-size: .78rem; color: var(--gris); }
.apercu-barres { display: flex; align-items: flex-end; gap: 8px; height: 86px; padding: .4rem .2rem 0; }
.apercu-barres i { flex: 1; background: linear-gradient(var(--c1), #6f8dff); border-radius: 6px 6px 0 0; }
.apercu-lignes div { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-top: 1px solid var(--bord); font-size: .86rem; }
.pastille { font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: #e3f6ec; color: var(--ok); }
.pastille.alerte { background: #fdeaea; color: #b3261e; }

.grille { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--r); padding: 1.5rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: #cdd7f5; }
.carte p { color: var(--gris); margin: 0; font-size: .97rem; }
.carte .puce { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--c1p); color: var(--c1); margin-bottom: 1rem; }
.etapes { counter-reset: e; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.etape { counter-increment: e; position: relative; padding: 1.5rem 1.5rem 1.5rem 4.2rem; background: #fff; border: 1px solid var(--bord); border-radius: var(--r); }
.etape::before { content: counter(e); position: absolute; left: 1.2rem; top: 1.4rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--c1); color: #fff; font-weight: 800; }
.etape p { margin: 0; color: var(--gris); font-size: .97rem; }
.types { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.types .carte h3 { color: var(--c1f); }
.bandeau { background: linear-gradient(135deg, var(--c1), #3a63e0); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.bandeau h2 { margin-bottom: .4em; }
.bandeau p { color: #dfe7ff; max-width: 36em; margin-inline: auto; }
.bandeau .actions { justify-content: center; }

/* Pages intérieures */
.entete-page { background: var(--fond); border-bottom: 1px solid var(--bord); padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.entete-page p { color: var(--gris); font-size: 1.12rem; max-width: 40em; margin: 0; }
.entete-page h1 { font-size: clamp(1.8rem, 3.4vw + .6rem, 2.6rem); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.liste-coches li { display: flex; gap: .6rem; align-items: flex-start; }
.liste-coches .ico { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: .2rem; }
.texte-long { max-width: 760px; }
.texte-long h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.texte-long ul { padding-left: 1.2rem; }
.texte-long li { margin-bottom: .4rem; }
.maj { color: var(--gris); font-size: .92rem; }

/* Tarifs */
.plans { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bord); border-radius: 18px; padding: 1.8rem; position: relative; }
.plan.populaire { border: 2px solid var(--c1); box-shadow: var(--ombre); }
.plan .etiquette { position: absolute; top: -13px; left: 1.5rem; background: var(--c1); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; }
.plan .prix { font-size: 2rem; font-weight: 800; margin: .6rem 0 .1rem; }
.plan .periode { color: var(--gris); font-size: .9rem; min-height: 1.4em; }
.plan .liste-coches { margin: 1.2rem 0 1.6rem; flex: 1; }
.plan .bouton { width: 100%; }
.note { color: var(--gris); font-size: .92rem; text-align: center; margin-top: 1.5rem; }
details { background: #fff; border: 1px solid var(--bord); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 650; }
details[open] summary { margin-bottom: .6rem; }
details p { margin: 0; color: var(--gris); }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.formulaire { display: grid; gap: 1rem; }
.champ label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.champ input, .champ textarea, .champ select { width: 100%; padding: .75rem .9rem; border: 1.5px solid #cfd6e6; border-radius: 10px; font: inherit; color: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--c1); box-shadow: 0 0 0 3px #dfe7ff; }
.champ textarea { min-height: 150px; resize: vertical; }
.piege { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alerte-ok, .alerte-err { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.2rem; }
.alerte-ok { background: #e3f6ec; color: #0f5a38; }
.alerte-err { background: #fdeaea; color: #8f1d17; }
.alerte-err ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.coordonnees { display: grid; gap: 1.1rem; }
.coordonnees div { display: flex; gap: .8rem; align-items: flex-start; }
.coordonnees .puce { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--c1p); color: var(--c1); }
.coordonnees b { display: block; }

/* Pied de page */
.pied { background: #111a36; color: #b9c2dc; padding-top: 3rem; }
.pied a { color: #d6dcf0; text-decoration: none; display: block; padding: .2rem 0; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-grille { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding-bottom: 2rem; }
.pied-titre { color: #fff; font-size: .95rem; margin-bottom: .6rem; letter-spacing: 0; }
.pied-texte { font-size: .95rem; margin-top: .8rem; max-width: 26em; }
.pied .marque { display: inline-flex; padding: 0; }
.marque-claire { color: #fff; }
.marque-claire:hover { color: #fff; }
.pied-bas { border-top: 1px solid #263055; padding: 1.2rem 0; font-size: .88rem; }

/* Apparition douce (uniquement si JavaScript actif) */
.js .appar { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .appar.vu { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grille, .deux, .contact-grille { grid-template-columns: 1fr; gap: 2rem; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--bord); padding: .6rem 1.25rem 1.2rem; gap: .2rem; display: none; box-shadow: 0 16px 24px rgba(20,30,70,.08); }
  .menu.ouvert { display: flex; }
  .menu a:not(.bouton) { padding: .8rem; }
  .menu-cta { margin: .5rem 0 0; }
}
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } .actions .bouton { width: 100%; } .apercu-chiffres b { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .js .appar { opacity: 1; transform: none; } }

/* ===== Refonte accueil et tarifs ===== */
.bouton-grand { padding: .95rem 1.7rem; font-size: 1.05rem; }
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem); background: radial-gradient(900px 480px at 88% -10%, #d9e3ff 0, transparent 62%), radial-gradient(600px 360px at -5% 40%, #eef2ff 0, transparent 60%), #fff; overflow: hidden; }
.vitrine { position: relative; padding: 1.6rem 0 2.2rem; }
.vitrine .apercu { box-shadow: 0 24px 60px rgba(36,71,184,.2); transform: rotate(1.2deg); transition: transform .5s ease; }
.vitrine:hover .apercu { transform: rotate(0); }
.flottant { position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--bord); border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 14px 34px rgba(20,30,70,.16); animation: flotte 6s ease-in-out infinite; }
.flottant b { display: block; font-size: .85rem; } .flottant small { display: block; color: var(--gris); font-size: .72rem; }
.flottant-badge { left: -1.4rem; bottom: -.4rem; }
.flottant-paye { right: -.8rem; top: -1.3rem; animation-delay: -3s; }
.flottant .rond { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #cfd8f5, #a8b8ee); flex: none; }
.flottant .ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e3f6ec; color: var(--ok); flex: none; }
.flottant .qr-deco { width: 38px; height: 38px; flex: none; border: 1px solid var(--bord); border-radius: 4px; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.atouts { border-block: 1px solid var(--bord); background: #fff; }
.atouts-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; text-align: center; }
.atouts b { display: block; font-size: 1.05rem; color: var(--c1f); } .atouts span { color: var(--gris); font-size: .9rem; }
.vedette { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.titre-section + .vedette { margin-top: 0; }
.vedette.inverse .vedette-visuel { order: -1; }
.vedette-texte h3 { font-size: clamp(1.4rem, 1.6vw + 1rem, 1.9rem); }
.vedette-texte p { color: var(--gris); font-size: 1.05rem; }
.vedette-visuel { background: linear-gradient(145deg, var(--c1p), #fff); border: 1px solid var(--bord); border-radius: 22px; padding: clamp(1.2rem, 4vw, 2.4rem); display: grid; place-items: center; min-height: 280px; }
.maquette { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--bord); border-radius: 16px; box-shadow: var(--ombre); padding: 1.2rem; }
.mq-titre { font-weight: 750; margin-bottom: .9rem; }
.mq-ligne { display: grid; grid-template-columns: 5.6rem 1fr 2.6rem; gap: .6rem; align-items: center; font-size: .85rem; margin-bottom: .7rem; }
.mq-barre { height: 10px; background: #e9edf8; border-radius: 99px; overflow: hidden; } .mq-barre i { display: block; height: 100%; background: linear-gradient(90deg, var(--c1), #6f8dff); border-radius: 99px; }
.mq-pied { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--bord); margin-top: .9rem; padding-top: .8rem; font-size: .82rem; color: var(--gris); }
.mq-evo { color: var(--ok); font-weight: 700; }
.mq-ligne2 { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--bord); font-size: .86rem; } .mq-ligne2 span { color: var(--gris); }
.mq-badge { width: 100%; max-width: 340px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(20,30,70,.18); border: 1px solid var(--bord); }
.mq-badge-tete { background: var(--c1); color: #fff; text-align: center; padding: .7rem .8rem; } .mq-badge-tete b { display: block; text-transform: uppercase; font-size: .9rem; } .mq-badge-tete small { font-size: .66rem; opacity: .9; }
.mq-badge-corps { display: flex; gap: 1rem; padding: 1rem; align-items: center; }
.mq-badge-g { display: grid; gap: .5rem; justify-items: center; flex: none; }
.mq-badge-g .rond { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, #cfd8f5, #a8b8ee); border: 2px solid #c6cfe8; }
.mq-badge-g .qr-deco { width: 62px; height: 62px; }
.mq-badge-d { display: grid; gap: .1rem; } .mq-badge-d b { font-size: 1.1rem; line-height: 1.15; } .mq-badge-d small { color: var(--gris); font-size: .78rem; }
.bouton-clair:hover { color: var(--c1); }

/* Tarifs */
.bascule { display: flex; gap: .3rem; width: max-content; margin: 0 auto 2rem; padding: .3rem; background: var(--fond); border: 1px solid var(--bord); border-radius: 999px; }
.bascule-btn { border: 0; background: transparent; padding: .6rem 1.3rem; border-radius: 999px; font: inherit; font-weight: 650; color: var(--gris); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.bascule-btn.actif { background: #fff; color: var(--c1); box-shadow: 0 1px 4px rgba(20,30,70,.15); }
.bascule-btn .mini { font-size: .68rem; background: #e3f6ec; color: var(--ok); padding: .1rem .45rem; border-radius: 99px; margin-left: .3rem; }
.plan-nom { font-size: 1.3rem; margin: 0; } .plan-effectif { color: var(--c1f); font-weight: 650; margin: .2rem 0 0; font-size: .95rem; }
.plan-prix { margin: 1rem 0 .2rem; } .plan-prix .montant { font-size: clamp(1.7rem, 1.6vw + 1.2rem, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.plan-prix .par { color: var(--gris); margin-left: .4rem; font-size: .95rem; }
.plan-prix .econo { display: block; color: var(--ok); font-weight: 650; font-size: .86rem; margin-top: .15rem; }
.plan-resume { color: var(--gris); margin: .6rem 0 1.4rem; flex: 1; font-size: .96rem; }
.js [data-periode-bloc] { display: none; }
.js body[data-periode="mensuel"] [data-periode-bloc="mensuel"], .js body[data-periode="annuel"] [data-periode-bloc="annuel"] { display: block; }
.inclus { margin-top: 2rem; background: var(--fond); border: 1px solid var(--bord); border-radius: 18px; padding: 1.6rem; }
.inclus h3 { margin-bottom: 1rem; text-align: center; }
.deux-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan .bouton { margin-top: auto; }
.plan { transition: transform .2s, box-shadow .2s; } .plan:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.haut.ombre { box-shadow: 0 6px 20px rgba(20,30,70,.08); }
@media (max-width: 900px) { .vedette { grid-template-columns: 1fr; } .vedette.inverse .vedette-visuel { order: 0; } .atouts-grille { grid-template-columns: 1fr 1fr; } .flottant-badge { left: 0; } .flottant-paye { right: 0; } .vitrine { padding-bottom: 2.6rem; } .vitrine .apercu { transform: none; } }
@media (max-width: 520px) { .flottant-paye { display: none; } .mq-ligne { grid-template-columns: 4.6rem 1fr 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .flottant { animation: none; } }

/* ===== Refonte 2 : identité plus marquée, mouvement fluide ===== */
:root { --nuit: #0a1235; --nuit2: #121d4d; --elec: #3d63ff; --ciel: #8fb0ff; --soleil: #ffb547; --papier: #f4f7ff; --c1p: #eaf0ff; --ombre: 0 2px 4px rgba(10,18,53,.05), 0 18px 40px rgba(10,18,53,.09); }
body { background: var(--papier); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.03em; }
h2 { font-weight: 800; }
::selection { background: var(--elec); color: #fff; }
.section { background: var(--papier); }
.section-teinte { background: #fff; }
.titre-section { text-align: left; margin-inline: 0; max-width: 720px; }
.titre-section p { max-width: 36em; }
.section-nuit .titre-section { text-align: center; margin-inline: auto; }

/* En-tête sombre et vitré, commun à tout le site */
.haut { background: rgba(10,18,53,.82); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: saturate(1.6) blur(14px); transition: background .3s, box-shadow .3s; }
.haut.ombre { background: rgba(10,18,53,.94); box-shadow: 0 10px 30px rgba(10,18,53,.3); }
.marque { color: #fff; } .marque:hover { color: #fff; }
.marque .logo { background: linear-gradient(135deg, var(--elec), #6f8dff); box-shadow: 0 6px 16px rgba(61,99,255,.5); }
.menu a:not(.bouton) { color: #c9d3f5; }
.menu a:not(.bouton):hover, .menu a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.burger { background: transparent; border-color: rgba(255,255,255,.25); } .burger span { background: #fff; }
.menu-cta.bouton-plein { background: #fff; color: var(--nuit); border-color: #fff; }
.menu-cta.bouton-plein:hover { background: var(--ciel); border-color: var(--ciel); color: var(--nuit); }

/* Boutons */
.bouton { border-radius: 14px; border-width: 1.5px; }
.bouton-plein { background: linear-gradient(135deg, var(--elec), #2447b8); border-color: transparent; box-shadow: 0 10px 24px rgba(61,99,255,.35); }
.bouton-plein:hover { background: linear-gradient(135deg, #5476ff, #2f55d6); box-shadow: 0 14px 30px rgba(61,99,255,.5); transform: translateY(-2px); }
.hero .bouton:not(.bouton-plein), .section-nuit .bouton:not(.bouton-plein) { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.hero .bouton:not(.bouton-plein):hover, .section-nuit .bouton:not(.bouton-plein):hover { background: rgba(255,255,255,.16); color: #fff; }

/* Pages intérieures : bandeau sombre */
.entete-page { background: radial-gradient(700px 300px at 90% 0, rgba(61,99,255,.45), transparent 70%), var(--nuit); border: 0; color: #fff; }
.entete-page h1 { color: #fff; } .entete-page p { color: #b9c6f0; }

/* Héros : nuit, halos qui dérivent, maquette qui suit la souris */
.hero { position: relative; isolation: isolate; background: var(--nuit); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(6rem, 11vw, 9rem); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; animation: derive 18s ease-in-out infinite alternate; }
.hero::before { width: 560px; height: 560px; background: var(--elec); top: -220px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: #7a3dff; bottom: -200px; left: -140px; opacity: .38; animation-duration: 23s; animation-delay: -6s; }
.hero-trame { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0, transparent 70%); }
@keyframes derive { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-70px, 50px, 0) scale(1.18); } }
.hero h1 { font-size: clamp(2.3rem, 5.2vw + .4rem, 4.2rem); font-weight: 850; line-height: 1.04; letter-spacing: -.045em; color: #fff; max-width: 13em; }
.hero p.chapeau { color: #bccaf3; font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem); max-width: 31em; }
.hero .preuves { color: #aebbe6; } .hero .preuves .ico { color: var(--soleil); }
.hero-grille { grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); }
.hero-entree > * { animation: entree .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-entree > *:nth-child(2) { animation-delay: .08s; } .hero-entree > *:nth-child(3) { animation-delay: .16s; } .hero-entree > *:nth-child(4) { animation-delay: .24s; }
.vitrine { perspective: 1100px; animation: entree 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes entree { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.vitrine .apercu { background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.4); border-radius: 20px; box-shadow: 0 40px 80px rgba(2,6,30,.55), 0 0 0 8px rgba(255,255,255,.06); transform: rotateY(calc(var(--rx, -6) * 1deg)) rotateX(calc(var(--ry, 4) * 1deg)); transition: transform .25s ease-out; will-change: transform; }
.vitrine:hover .apercu { transform: rotateY(calc(var(--rx, -6) * 1deg)) rotateX(calc(var(--ry, 4) * 1deg)); }
.apercu { color: var(--texte); }
.apercu-chiffres div { background: var(--c1p); } .apercu-chiffres b { color: var(--nuit2); font-variant-numeric: tabular-nums; }
.apercu-barres i { transform-origin: bottom; animation: pousse 1.2s .6s cubic-bezier(.2,.8,.2,1) both; background: linear-gradient(var(--elec), #8fb0ff); }
.apercu-barres i:nth-child(2) { animation-delay: .7s; } .apercu-barres i:nth-child(3) { animation-delay: .8s; } .apercu-barres i:nth-child(4) { animation-delay: .9s; } .apercu-barres i:nth-child(5) { animation-delay: 1s; } .apercu-barres i:nth-child(6) { animation-delay: 1.1s; }
@keyframes pousse { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.flottant { border: 0; border-radius: 16px; box-shadow: 0 20px 44px rgba(2,6,30,.4); color: var(--texte); }
.flottant .ok { background: #dcf7e8; }
.hero .flottant { transform: translateZ(60px); }

/* Bande de chiffres qui chevauche le héros */
.atouts { position: relative; z-index: 2; border: 0; background: transparent; margin-top: calc(-1 * clamp(3rem, 6vw, 4.2rem)); }
.atouts-grille { background: #fff; border-radius: 22px; box-shadow: var(--ombre); padding: 1.6rem 1.2rem; gap: 0; }
.atouts-grille > div { padding: .2rem 1rem; border-left: 1px solid var(--bord); }
.atouts-grille > div:first-child { border-left: 0; }
.atouts b { font-size: 1.15rem; color: var(--nuit2); letter-spacing: -.02em; }

/* Blocs vedettes */
.vedette-visuel { position: relative; overflow: hidden; background: linear-gradient(150deg, #dfe8ff, #f3f6ff 60%, #fff); border: 0; border-radius: 28px; min-height: 340px; box-shadow: inset 0 0 0 1px rgba(36,71,184,.08); }
.vedette-visuel::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(61,99,255,.28), transparent 70%); top: -90px; right: -70px; transition: transform .9s ease; }
.vedette:hover .vedette-visuel::before { transform: translate(-30px, 40px) scale(1.15); }
.vedette.inverse .vedette-visuel { background: linear-gradient(150deg, #ffeccd, #fff6e6 60%, #fff); } .vedette.inverse .vedette-visuel::before { background: radial-gradient(circle, rgba(255,181,71,.42), transparent 70%); }
.maquette, .mq-badge { position: relative; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.vedette:hover .maquette, .vedette:hover .mq-badge { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 60px rgba(10,18,53,.2); }
.mq-barre i { transition: width 1.3s cubic-bezier(.2,.8,.2,1) .25s; }
.js .appar:not(.vu) .mq-barre i { width: 0 !important; }
.mq-badge-tete { background: linear-gradient(135deg, var(--nuit2), var(--elec)); }
.vedette-texte h3 { font-weight: 800; letter-spacing: -.035em; }
.liste-coches .ico { background: #dcf7e8; border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* Onglets des trois types d'établissement */
.onglets { background: #fff; border-radius: 28px; box-shadow: var(--ombre); padding: .6rem; }
.onglets-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; background: var(--papier); border-radius: 20px; padding: .4rem; }
.onglet { border: 0; background: transparent; font: inherit; font-weight: 700; padding: .95rem 1rem; border-radius: 15px; color: var(--gris); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.onglet:hover { color: var(--nuit2); }
.onglet[aria-selected="true"] { background: #fff; color: var(--c1); box-shadow: 0 4px 14px rgba(10,18,53,.12); }
.onglet-panneau { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(1.4rem, 4vw, 2.6rem); }
.js .onglet-panneau[hidden] { display: none; }
.js .onglet-panneau:not([hidden]) { animation: entree .5s cubic-bezier(.2,.7,.2,1) both; }
.onglet-panneau h3 { font-size: clamp(1.4rem, 1.8vw + 1rem, 2rem); font-weight: 800; }
.onglet-panneau p { color: var(--gris); font-size: 1.05rem; }
.mots { display: flex; flex-wrap: wrap; gap: .55rem; }
.mots span { background: var(--c1p); color: var(--nuit2); font-weight: 650; font-size: .92rem; padding: .5rem .9rem; border-radius: 12px; transition: transform .2s, background .2s, color .2s; }
.mots span:hover { background: var(--elec); color: #fff; transform: translateY(-2px); }
.mots-boite { background: linear-gradient(150deg, #dfe8ff, #f6f8ff); border-radius: 22px; padding: 1.6rem; }
.mots-boite small { display: block; color: var(--gris); margin-bottom: .9rem; font-weight: 600; }

/* Fonctionnalités */
.grille { grid-template-columns: repeat(3, 1fr); }
.grille .carte { position: relative; overflow: hidden; border: 0; border-radius: 22px; padding: 1.7rem; box-shadow: 0 1px 2px rgba(10,18,53,.05); background: #fff; }
.section-teinte .grille .carte { background: var(--papier); box-shadow: none; }
.grille .carte::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--elec), var(--soleil)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.grille .carte:hover { transform: translateY(-5px); box-shadow: var(--ombre); border: 0; background: #fff; }
.grille .carte:hover::after { transform: scaleX(1); }
.carte .puce { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--elec), #6f8dff); color: #fff; box-shadow: 0 8px 18px rgba(61,99,255,.3); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.carte:hover .puce { transform: rotate(-8deg) scale(1.08); }
.carte h3 { font-weight: 750; }

/* Tarifs sur fond nuit */
.section-nuit { position: relative; isolation: isolate; background: var(--nuit); color: #fff; overflow: hidden; }
.section-nuit::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; border-radius: 50%; background: var(--elec); filter: blur(120px); opacity: .35; top: -260px; left: 50%; transform: translateX(-50%); }
.section-nuit h2, .section-nuit h3 { color: #fff; } .section-nuit .titre-section p, .section-nuit .note, .section-nuit .plan-resume, .section-nuit .plan-prix .par { color: #aebbe6; }
.section-nuit .note a { color: var(--ciel); }
.section-nuit .bascule { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.section-nuit .bascule-btn { color: #b9c6f0; } .section-nuit .bascule-btn.actif { background: #fff; color: var(--nuit2); }
.section-nuit .plan { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); color: #fff; border-radius: 26px; }
.section-nuit .plan:hover { background: rgba(255,255,255,.1); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.section-nuit .plan-effectif { color: var(--ciel); }
.section-nuit .plan.populaire { background: linear-gradient(160deg, rgba(61,99,255,.55), rgba(61,99,255,.16)); border: 1.5px solid var(--ciel); box-shadow: 0 0 0 6px rgba(143,176,255,.12), 0 30px 70px rgba(61,99,255,.35); }
.section-nuit .plan .etiquette { background: var(--soleil); color: #3a2500; }
.section-nuit .plan .bouton-plein { background: #fff; color: var(--nuit2); box-shadow: none; }
.section-nuit .inclus { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section-nuit .liste-coches .ico { background: rgba(255,181,71,.2); color: var(--soleil); }
.plan { border-radius: 24px; } .plan.populaire { border-color: var(--elec); }
.plan-prix .montant { font-variant-numeric: tabular-nums; }

/* Étapes reliées */
.etapes { position: relative; gap: 1.4rem; }
.etape { background: var(--papier); border: 0; border-radius: 22px; padding: 4.6rem 1.6rem 1.6rem; }
.etape::before { left: 1.6rem; top: 1.4rem; width: 2.6rem; height: 2.6rem; background: linear-gradient(135deg, var(--elec), #6f8dff); box-shadow: 0 8px 18px rgba(61,99,255,.35); }
.etape:not(:last-child)::after { content: ""; position: absolute; top: 2.65rem; left: calc(1.6rem + 3rem); right: -1.4rem; height: 2px; background: repeating-linear-gradient(90deg, #b9c6f0 0 6px, transparent 6px 12px); }
.etape h3 { font-weight: 800; }

/* Appel final */
.bandeau { position: relative; isolation: isolate; overflow: hidden; background: var(--nuit); border-radius: 32px; text-align: left; padding: clamp(2.2rem, 6vw, 4.5rem); }
.bandeau::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: var(--elec); filter: blur(90px); opacity: .6; animation: derive 16s ease-in-out infinite alternate; }
.bandeau::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: var(--soleil); filter: blur(110px); opacity: .25; left: -80px; bottom: -160px; }
.bandeau h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.9rem); max-width: 14em; color: #fff; letter-spacing: -.04em; }
.bandeau p { margin-inline: 0; color: #bccaf3; } .bandeau .actions { justify-content: flex-start; }
.bouton-clair { background: #fff; color: var(--nuit2); border-color: #fff; } .bouton-clair:hover { background: var(--soleil); border-color: var(--soleil); color: #3a2500; }

/* Apparition : décalée dans les grilles, plus courte */
.js .appar { transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .appar.vu { transform: none; }

@media (max-width: 900px) {
  .menu { background: var(--nuit); border-bottom-color: rgba(255,255,255,.1); } 
  .grille { grid-template-columns: 1fr 1fr; } .onglet-panneau { grid-template-columns: 1fr; }
  .atouts-grille > div:nth-child(3) { border-left: 0; } .atouts-grille > div { padding-block: .7rem; }
  .etape:not(:last-child)::after { display: none; } .etape { padding-top: 4.4rem; }
  .vitrine .apercu, .vitrine:hover .apercu { transform: none; }
  .bandeau { text-align: center; } .bandeau h2, .bandeau p { margin-inline: auto; } .bandeau .actions { justify-content: center; }
}
@media (max-width: 600px) { .grille { grid-template-columns: 1fr; } .onglet { padding: .8rem .4rem; font-size: .88rem; } .atouts-grille { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after, .bandeau::before { animation: none; } .hero-entree > *, .vitrine, .apercu-barres i { animation: none; } .vitrine .apercu { transform: none !important; } }
.hero h1 { font-size: clamp(2.1rem, 3.6vw + .6rem, 3.5rem); max-width: 15em; }
.etape { background: #fff; box-shadow: 0 1px 2px rgba(10,18,53,.05); }
@media (max-width: 900px) { .hero-grille { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: none; } .vitrine { max-width: 520px; margin-inline: auto; width: 100%; } }
