/* ==========================================================================
   Veramind — page d'accueil publique (layouts/public + accueil.blade.php)
   Autonome : ne dépend pas de app.css. Zéro police externe, zéro image
   externe (CSP stricte : style-src 'self'). Mobile d'abord.
   ========================================================================== */

:root {
    /* Marque (reprise de app.css) */
    --violet: #6c5ce7;
    --violet-fonce: #5546d1;
    --violet-nuit: #3b2fa8;
    --violet-pale: #ece9fd;
    --fond: #f4f4fb;
    --texte: #23233b;
    --texte-doux: #55557a;
    --bordure: #e3e3f0;
    --blanc: #ffffff;

    /* Ados : plus « gamer » */
    --nuit: #110e29;
    --nuit-2: #1b1640;
    --nuit-3: #2a2260;
    --neon-cyan: #22d3ee;
    --neon-rose: #ff5fc1;
    --neon-or: #fdcb6e;
    --texte-nuit: #cfcbf2;

    /* Adultes : plus posé */
    --creme: #faf6ef;
    --sable: #efe5d3;
    --sauge: #0f766e;
    --sauge-fonce: #115e59;
    --sauge-pale: #d9f0ea;

    --succes-fond: #e3f7ee;
    --succes-texte: #0b5e3c;
    --erreur: #c0262d;
    --erreur-fond: #fdecec;

    --focus: #5546d1;
    --rayon: 16px;
    --rayon-l: 24px;
    --ombre: 0 10px 30px rgb(35 35 59 / 8%);
    --ombre-l: 0 24px 60px rgb(35 35 59 / 16%);
    --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --police-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --entete-h: 68px;
}

/* ── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--police);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--texte);
    background: var(--fond);
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--violet-fonce); }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--entete-h) + 12px); }

#contenu:focus { outline: none; }

.conteneur {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 721px) {
    .conteneur { padding: 0 2rem; }
}

.conteneur-etroit { max-width: 820px; }

.lien-evitement {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    background: var(--violet-fonce);
    color: var(--blanc);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.lien-evitement:focus { top: 0.75rem; }

/* Honeypot anti-bot */
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Boutons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn-primaire {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-fonce) 100%);
    color: var(--blanc);
    box-shadow: 0 8px 20px rgb(85 70 209 / 30%);
}

.btn-primaire:hover { box-shadow: 0 12px 26px rgb(85 70 209 / 38%); transform: translateY(-1px); }

.btn-contour {
    background: var(--blanc);
    color: var(--violet-fonce);
    border-color: #cfc9f7;
}

.btn-contour:hover { border-color: var(--violet-fonce); }

.btn-grand { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn-petit-pub { padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn-bloc { width: 100%; }

/* ── En-tête ──────────────────────────────────────── */
.pub-entete {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 88%);
    backdrop-filter: saturate(1.6) blur(12px);
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
    border-bottom: 1px solid rgb(35 35 59 / 7%);
}

.pub-entete-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--entete-h);
}

.pub-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--texte);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.pub-logo-marque {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8f7ff5 0%, var(--violet) 45%, var(--violet-nuit) 100%);
    box-shadow: 0 6px 14px rgb(85 70 209 / 35%), inset 0 1px 0 rgb(255 255 255 / 30%);
    font-size: 1.2rem;
}

.pub-nav { display: none; gap: 0.25rem; }

.pub-nav a {
    color: var(--texte);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
}

.pub-nav a:hover { background: var(--violet-pale); color: var(--violet-fonce); }

.pub-actions { display: flex; align-items: center; gap: 0.5rem; }

@media (min-width: 900px) {
    .pub-nav { display: flex; }
}

@media (max-width: 460px) {
    .pub-cta-entete { display: none; }
    .pub-logo { font-size: 1.15rem; }
}

/* ── Surtitres, en-têtes de section ───────────────── */
.section { padding: 4.5rem 0; position: relative; }

@media (min-width: 721px) {
    .section { padding: 6.5rem 0; }
}

.section-tete { max-width: 720px; margin-bottom: 2.75rem; }
.section-tete-centre { margin-left: auto; margin-right: auto; text-align: center; }

.section-tete h2 {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.75rem 0 1rem;
}

.chapo { font-size: 1.15rem; color: var(--texte-doux); }

.surtitre {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.surtitre-violet { background: var(--violet-pale); color: var(--violet-fonce); }
.surtitre-ado { background: rgb(34 211 238 / 12%); color: var(--neon-cyan); border: 1px solid rgb(34 211 238 / 35%); }
.surtitre-adulte { background: var(--sauge-pale); color: var(--sauge-fonce); }
.surtitre-clair { background: rgb(255 255 255 / 16%); color: var(--blanc); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 2.5rem;
    isolation: isolate;
}

@media (min-width: 721px) {
    .hero { padding: 5rem 0 3.5rem; }
}

.hero-fond {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(42rem 30rem at 85% 10%, rgb(108 92 231 / 26%), transparent 65%),
        radial-gradient(30rem 24rem at 100% 80%, rgb(255 95 193 / 16%), transparent 65%),
        radial-gradient(32rem 26rem at 0% 0%, rgb(34 211 238 / 14%), transparent 60%),
        linear-gradient(180deg, #f7f6fe 0%, var(--fond) 100%);
}

.hero-fond::after {
    /* fine trame de points, très discrète */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(85 70 209 / 13%) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.hero-grille {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 980px) {
    .hero-grille { grid-template-columns: 1.08fr 0.92fr; gap: 2.5rem; }
}

.hero-etiquette {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--blanc);
    border: 1px solid var(--bordure);
    box-shadow: 0 4px 12px rgb(35 35 59 / 6%);
    padding: 0.4rem 0.9rem 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--texte-doux);
}

.point-live {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgb(16 185 129 / 20%);
}

.hero h1 {
    font-size: clamp(2.35rem, 6vw, 4.2rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1.04;
    margin: 1.25rem 0 1.25rem;
}

.degrade-texte {
    background: linear-gradient(90deg, var(--violet-fonce) 0%, #9b3fd6 55%, #c0267f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-chapo {
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
    color: var(--texte-doux);
    max-width: 36rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-garanties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--texte-doux);
}

.hero-garanties li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.4rem;
    border-radius: 50%;
    background: var(--succes-fond);
    color: var(--succes-texte);
    font-size: 0.75rem;
    font-weight: 900;
}

@media (max-width: 520px) {
    .hero-cta .btn { width: 100%; }
}

/* Maquette d'interface (illustration) */
.hero-visuel {
    position: relative;
    min-height: 430px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.hero-visuel::before {
    /* halo derrière la maquette */
    content: "";
    position: absolute;
    inset: 8% 6% 6% 10%;
    border-radius: 40px;
    background: linear-gradient(140deg, var(--violet) 0%, #8e44ad 50%, var(--neon-rose) 100%);
    opacity: 0.16;
    filter: blur(30px);
}

.mock {
    position: absolute;
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: var(--ombre-l);
    border: 1px solid rgb(35 35 59 / 6%);
}

.mock-quiz {
    top: 0;
    left: 6%;
    width: min(320px, 78%);
    padding: 1.15rem 1.15rem 1.25rem;
    transform: rotate(-2.5deg);
}

.mock-entete { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }

.mock-pastille {
    background: var(--violet-pale);
    color: var(--violet-fonce);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.mock-etape { font-size: 0.8rem; color: var(--texte-doux); font-weight: 600; }

.mock-question { font-weight: 800; font-size: 1.2rem; margin: 0.85rem 0 0.75rem; }

.mock-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.mock-options li {
    border: 2px solid var(--bordure);
    border-radius: 12px;
    padding: 0.45rem 0.75rem;
    font-weight: 700;
    color: var(--texte-doux);
    display: flex;
    justify-content: space-between;
}

.mock-options .est-juste { border-color: #34d399; background: #ecfdf5; color: #065f46; }
.mock-coche { color: #059669; }

.mock-progression {
    height: 7px;
    margin-top: 1rem;
    border-radius: 999px;
    background: #ececf6;
    overflow: hidden;
}

.mock-progression span {
    display: block;
    width: 60%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--violet), var(--neon-rose));
}

.mock-tuteur {
    right: 0;
    top: 50%;
    width: min(285px, 72%);
    padding: 0.9rem 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    transform: rotate(1.5deg);
    font-size: 0.95rem;
}

.mock-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--violet), var(--violet-nuit));
    font-size: 1.1rem;
}

.mock-langue {
    left: 0;
    bottom: 0;
    width: min(330px, 74%);
    padding: 0.85rem 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    background: var(--creme);
    border-color: var(--sable);
    transform: rotate(-1deg);
}

.mock-langue strong { display: block; font-family: var(--police-serif); font-size: 1.02rem; color: var(--sauge-fonce); }
.mock-langue small { color: var(--texte-doux); font-weight: 600; }

.mock-chip {
    position: absolute;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 10px 24px rgb(35 35 59 / 16%);
    white-space: nowrap;
}

.chip-xp { top: 4%; right: 2%; background: var(--nuit); color: var(--neon-or); }
.chip-serie { top: 34%; right: -2%; background: linear-gradient(90deg, #ff9f43, #e17055); color: #2b1300; }
.chip-badge { bottom: 30%; left: -1%; background: var(--blanc); color: var(--texte); border: 1px solid var(--bordure); }

@media (prefers-reduced-motion: no-preference) {
    .mock-quiz { animation: flotte 7s ease-in-out infinite; }
    .mock-tuteur { animation: flotte-b 8s ease-in-out infinite; }
    .mock-chip { animation: flotte-c 6s ease-in-out infinite; }
    .chip-serie { animation-delay: -2s; }
    .chip-badge { animation-delay: -4s; }
}

@keyframes flotte { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-2.5deg) translateY(-8px); } }
@keyframes flotte-b { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(7px); } }
@keyframes flotte-c { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 720px) {
    .hero-visuel { min-height: 400px; }
    .mock-quiz { left: 0; }
    .chip-serie { right: 0; }
    .chip-badge { left: auto; right: 0; bottom: 3%; }
}

/* Deux portes d'entrée : ados / adultes */
.choix-public {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 721px) {
    .choix-public { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3.5rem; }
}

.choix {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-radius: var(--rayon-l);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.choix:hover { transform: translateY(-2px); }

.choix-ado {
    background: linear-gradient(135deg, var(--nuit) 0%, var(--nuit-3) 100%);
    color: var(--blanc);
    box-shadow: 0 16px 34px rgb(17 14 41 / 28%), inset 0 0 0 1px rgb(34 211 238 / 25%);
}

.choix-adulte {
    background: var(--creme);
    color: var(--texte);
    box-shadow: 0 12px 30px rgb(35 35 59 / 8%), inset 0 0 0 1px var(--sable);
}

.choix-emoji {
    flex: none;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 1.6rem;
}

.choix-ado .choix-emoji { background: rgb(34 211 238 / 14%); box-shadow: inset 0 0 0 1px rgb(34 211 238 / 40%); }
.choix-adulte .choix-emoji { background: var(--sauge-pale); }

.choix-texte { flex: 1; display: grid; }
.choix-texte strong { font-size: 1.15rem; }
.choix-texte small { font-size: 0.95rem; opacity: 0.85; }
.choix-ado small { color: var(--texte-nuit); opacity: 1; }
.choix-adulte small { color: var(--texte-doux); opacity: 1; }

.choix-fleche { font-size: 1.35rem; font-weight: 800; }
.choix-ado .choix-fleche { color: var(--neon-cyan); }
.choix-adulte .choix-fleche { color: var(--sauge); }

/* ── Bandeau faits ────────────────────────────────── */
.bandeau-faits { background: var(--blanc); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }

.faits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.faits li {
    display: grid;
    gap: 0.15rem;
    padding: 1.6rem 0.75rem;
    text-align: center;
}

.faits li + li { border-left: 1px solid var(--bordure); }
.faits li:nth-child(3) { border-left: none; }

@media (max-width: 720px) {
    .faits li:nth-child(n+3) { border-top: 1px solid var(--bordure); }
}

@media (min-width: 721px) {
    .faits { grid-template-columns: repeat(4, 1fr); }
    .faits li:nth-child(3) { border-left: 1px solid var(--bordure); }
}

.faits strong {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-nuit) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faits span { color: var(--texte-doux); font-weight: 600; font-size: 0.95rem; }

/* ── ADOS (thème nuit / néon) ─────────────────────── */
.section-ados {
    --focus: var(--neon-or);
    background: var(--nuit);
    color: var(--blanc);
    overflow: hidden;
    isolation: isolate;
}

.ados-deco {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(38rem 26rem at 90% 0%, rgb(108 92 231 / 45%), transparent 65%),
        radial-gradient(30rem 22rem at 0% 100%, rgb(255 95 193 / 22%), transparent 65%),
        radial-gradient(24rem 18rem at 10% 20%, rgb(34 211 238 / 14%), transparent 65%);
}

.ados-deco::after {
    /* grille « arène » en perspective douce */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

.section-ados .chapo { color: var(--texte-nuit); }

.neon {
    background: linear-gradient(90deg, var(--neon-cyan) 0%, #a78bfa 50%, var(--neon-rose) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grille-ados { display: grid; gap: 1.25rem; }

@media (min-width: 900px) {
    .grille-ados { grid-template-columns: 1fr 1.15fr; }
}

.bloc-ado {
    background: linear-gradient(180deg, rgb(255 255 255 / 7%) 0%, rgb(255 255 255 / 3%) 100%);
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: var(--rayon-l);
    padding: 1.5rem;
}

@media (min-width: 721px) {
    .bloc-ado { padding: 2rem; }
}

.bloc-ado-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; }
.bloc-ado h3 { font-size: 1.4rem; font-weight: 800; }
.bloc-ado-intro { color: var(--texte-nuit); margin: 0.5rem 0 1.25rem; }

.etiquette {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.etiquette-cyan { color: var(--neon-cyan); background: rgb(34 211 238 / 12%); box-shadow: inset 0 0 0 1px rgb(34 211 238 / 40%); }
.etiquette-rose { color: #ff8fd3; background: rgb(255 95 193 / 12%); box-shadow: inset 0 0 0 1px rgb(255 95 193 / 40%); }

.liste-matieres { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

.liste-matieres li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgb(255 255 255 / 6%);
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 14px;
    padding: 0.7rem 0.8rem;
    font-weight: 700;
    font-size: 0.98rem;
}

.matiere-emoji { font-size: 1.3rem; }

.liste-passions { display: grid; gap: 0.7rem; }

@media (min-width: 560px) {
    .liste-passions { grid-template-columns: 1fr 1fr; }
}

.liste-passions li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 16px;
    padding: 0.9rem;
}

.liste-passions strong { display: block; font-size: 1rem; }
.liste-passions small { display: block; color: var(--texte-nuit); font-size: 0.9rem; line-height: 1.45; margin-top: 0.15rem; }

.passion-emoji {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 1.35rem;
    background: linear-gradient(135deg, rgb(255 95 193 / 28%), rgb(108 92 231 / 35%));
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%);
}

.sous-titre-ado {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 3.5rem 0 1.25rem;
}

.grille-jeu { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

@media (min-width: 900px) {
    .grille-jeu { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

.jeu-carte {
    display: grid;
    gap: 0.3rem;
    align-content: start;
    padding: 1.15rem;
    border-radius: 18px;
    background: var(--nuit-2);
    border: 1px solid rgb(255 255 255 / 9%);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.jeu-carte:hover { border-color: rgb(34 211 238 / 45%); transform: translateY(-2px); }

.jeu-emoji {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    background: radial-gradient(circle at 30% 30%, rgb(253 203 110 / 30%), rgb(108 92 231 / 25%));
    box-shadow: 0 0 22px rgb(108 92 231 / 45%);
}

.jeu-carte strong { font-size: 1.08rem; }
.jeu-carte span:last-child { color: var(--texte-nuit); font-size: 0.93rem; line-height: 1.45; }

/* Encart parents (clair, au sein du bloc sombre) */
.bloc-parent {
    --focus: var(--violet-fonce);
    display: grid;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.6rem;
    border-radius: var(--rayon-l);
    background: var(--blanc);
    color: var(--texte);
    box-shadow: 0 20px 50px rgb(0 0 0 / 30%);
}

@media (min-width: 900px) {
    .bloc-parent { grid-template-columns: auto 1.3fr 1fr; align-items: center; padding: 2rem 2.25rem; gap: 2rem; }
}

.bloc-parent-icone {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 2.1rem;
    background: linear-gradient(135deg, var(--violet-pale), #fde7f4);
}

.bloc-parent h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4rem; }
.bloc-parent p { color: var(--texte-doux); }

.bloc-parent-points { display: grid; gap: 0.55rem; }

.bloc-parent-points li {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
    font-weight: 600;
    font-size: 0.97rem;
}

.bloc-parent-points li::before {
    content: "✓";
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--violet-pale);
    color: var(--violet-fonce);
    font-weight: 900;
    font-size: 0.78rem;
}

/* ── ADULTES (thème crème / sauge) ────────────────── */
.section-adultes {
    --focus: var(--sauge-fonce);
    background:
        radial-gradient(40rem 22rem at 100% 0%, rgb(15 118 110 / 9%), transparent 65%),
        var(--creme);
}

.section-adultes h2 em {
    font-family: var(--police-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--sauge);
    letter-spacing: -0.01em;
}

.grille-langues { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 560px) {
    .grille-langues { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
    .grille-langues { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.langue-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.5rem;
    border-radius: var(--rayon-l);
    background: var(--blanc);
    border: 1px solid var(--sable);
    box-shadow: 0 10px 26px rgb(80 60 20 / 7%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.langue-carte:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgb(80 60 20 / 11%); }


.langue-salut {
    position: absolute;
    top: 1.5rem;
    right: 1.4rem;
    font-family: var(--police-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--sauge);
}

.langue-carte h3 { font-size: 1.3rem; font-weight: 800; margin-top: 0.85rem; }
.langue-carte p { color: var(--texte-doux); font-size: 0.97rem; flex: 1; }

.langue-niveau {
    align-self: flex-start;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--sauge-fonce);
    background: var(--sauge-pale);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}

.adultes-bas {
    display: grid;
    gap: 1.75rem;
    margin-top: 2.5rem;
    padding: 1.6rem;
    border-radius: var(--rayon-l);
    background: rgb(255 255 255 / 65%);
    border: 1px solid var(--sable);
}

@media (min-width: 900px) {
    .adultes-bas { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 2rem 2.25rem; gap: 2.5rem; }
}

.situations-titre { font-weight: 800; font-size: 1.15rem; margin-bottom: 0.85rem; }

.situations-liste { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.situations-liste li {
    background: var(--blanc);
    border: 1px solid var(--sable);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-weight: 700;
    font-size: 0.97rem;
}

.adultes-points { display: grid; gap: 0.75rem; }

.adultes-points li {
    position: relative;
    padding-left: 2rem;
    color: var(--texte-doux);
}

.adultes-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1rem;
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--sauge);
    color: var(--blanc);
    font-weight: 900;
    font-size: 0.78rem;
}

.adultes-points strong { color: var(--texte); }

/* ── TUTEUR + atouts communs ──────────────────────── */
.section-tuteur { background: var(--blanc); }

.tuteur-grille { display: grid; gap: 2.5rem; align-items: center; }

@media (min-width: 900px) {
    .tuteur-grille { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.tuteur-texte .section-tete,
.tuteur-texte h2 {
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.75rem 0 1rem;
}

.chat-mock {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 28px;
    background: linear-gradient(160deg, #f7f5ff 0%, #efeafe 100%);
    border: 1px solid #e2dcfb;
    box-shadow: var(--ombre-l);
}

.chat-mock-tete {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2dcfb;
}

.chat-mock-tete strong { display: block; }
.chat-mock-tete small { display: block; color: var(--texte-doux); font-size: 0.85rem; font-weight: 600; }

.chat-mock-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--violet), var(--violet-nuit));
    box-shadow: 0 6px 14px rgb(85 70 209 / 30%);
}

.bulle {
    max-width: 86%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.98rem;
}

.bulle-eleve {
    justify-self: end;
    background: linear-gradient(135deg, var(--violet), var(--violet-fonce));
    color: var(--blanc);
    border-bottom-right-radius: 6px;
}

.bulle-tuteur {
    justify-self: start;
    background: var(--blanc);
    border: 1px solid #e6e1fb;
    border-bottom-left-radius: 6px;
    box-shadow: 0 4px 12px rgb(85 70 209 / 7%);
}

.bulle-ecrit { display: inline-flex; gap: 0.3rem; padding: 0.85rem 1rem; }

.bulle-ecrit span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b3a9f1;
}

@media (prefers-reduced-motion: no-preference) {
    .bulle-ecrit span { animation: ecrit 1.2s ease-in-out infinite; }
    .bulle-ecrit span:nth-child(2) { animation-delay: 0.15s; }
    .bulle-ecrit span:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes ecrit { 0%, 60%, 100% { transform: translateY(0); opacity: 0.6; } 30% { transform: translateY(-4px); opacity: 1; } }

.grille-atouts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 4rem;
}

@media (min-width: 560px) {
    .grille-atouts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .grille-atouts { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.atout {
    padding: 1.5rem;
    border-radius: var(--rayon-l);
    background: var(--fond);
    border: 1px solid #ebebf6;
}

.atout-emoji {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1.45rem;
    background: var(--blanc);
    box-shadow: 0 6px 16px rgb(85 70 209 / 12%);
    margin-bottom: 1rem;
}

.atout h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.35rem; }
.atout p { color: var(--texte-doux); font-size: 0.98rem; }

/* ── Étapes ───────────────────────────────────────── */
.section-etapes { background: var(--fond); }

.etapes {
    display: grid;
    gap: 1rem;
    counter-reset: none;
}

@media (min-width: 900px) {
    .etapes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.etape {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: var(--rayon-l);
    background: var(--blanc);
    box-shadow: var(--ombre);
}

.etape-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--blanc);
    background: linear-gradient(135deg, var(--violet), var(--violet-nuit));
    box-shadow: 0 8px 18px rgb(85 70 209 / 30%);
}

.etape h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; }
.etape p { color: var(--texte-doux); }

@media (min-width: 900px) {
    .etape:not(:last-child)::after {
        /* liaison entre les étapes */
        content: "";
        position: absolute;
        top: 3rem;
        right: -1.5rem;
        width: 1.5rem;
        height: 2px;
        background: repeating-linear-gradient(90deg, #c9c1f6 0 6px, transparent 6px 10px);
    }
}

/* ── Formules ─────────────────────────────────────── */
.section-formules { background: var(--blanc); }

.grille-prix {
    display: grid;
    gap: 2.25rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .grille-prix { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: center; }
}

.prix-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.6rem 1.6rem;
    border-radius: 28px;
    background: var(--blanc);
    border: 1px solid var(--bordure);
    box-shadow: var(--ombre);
}

.prix-tete { display: grid; justify-items: start; gap: 0.2rem; }

.prix-emoji {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.55rem;
    margin-bottom: 0.65rem;
}

.prix-carte h3 { font-size: 1.5rem; font-weight: 850; }
.prix-pour { font-weight: 700; color: var(--texte-doux); }

.prix-montant { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.25rem 0 0.5rem; }
.prix-valeur { font-size: 3.1rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.prix-periode { font-weight: 700; color: var(--texte-doux); }

.prix-resume { color: var(--texte-doux); min-height: 3.2em; }

.prix-inclus {
    display: grid;
    gap: 0.6rem;
    margin: 1.4rem 0 1.75rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--bordure);
    flex: 1;
}

.prix-inclus li {
    position: relative;
    padding-left: 1.85rem;
    font-size: 0.98rem;
    line-height: 1.45;
}

.prix-inclus li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.75rem;
}

.prix-cta { width: 100%; white-space: normal; text-align: center; }

.prix-badge {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Langues (adulte) : sauge */
.prix-adulte .prix-emoji { background: var(--sauge-pale); }
.prix-adulte .prix-inclus li::before { background: var(--sauge-pale); color: var(--sauge-fonce); }
.prix-adulte .prix-cta { background: var(--blanc); color: var(--sauge-fonce); border-color: var(--sauge); }
.prix-adulte .prix-cta:hover { background: var(--sauge); color: var(--blanc); }
.prix-adulte { --focus: var(--sauge-fonce); }

/* Collège (ado) : mise en avant nuit / néon */
.prix-ado {
    --focus: var(--neon-or);
    background: linear-gradient(170deg, var(--nuit-3) 0%, var(--nuit) 70%);
    color: var(--blanc);
    border-color: transparent;
    box-shadow: 0 30px 60px rgb(17 14 41 / 35%), inset 0 0 0 1px rgb(34 211 238 / 25%);
}

@media (min-width: 900px) {
    .prix-ado { padding-top: 2.6rem; padding-bottom: 2.1rem; }
}

.prix-ado .prix-emoji { background: rgb(34 211 238 / 14%); box-shadow: inset 0 0 0 1px rgb(34 211 238 / 40%); }
.prix-ado .prix-pour,
.prix-ado .prix-periode,
.prix-ado .prix-resume { color: var(--texte-nuit); }
.prix-ado .prix-inclus { border-top-color: rgb(255 255 255 / 12%); }
.prix-ado .prix-inclus li::before { background: rgb(34 211 238 / 18%); color: var(--neon-cyan); }
.prix-ado .prix-badge { background: linear-gradient(90deg, var(--neon-cyan), #a78bfa); color: var(--nuit); }
.prix-ado .prix-cta { background: linear-gradient(90deg, var(--neon-cyan) 0%, #a78bfa 100%); color: var(--nuit); }
.prix-ado .prix-cta:hover { box-shadow: 0 10px 26px rgb(34 211 238 / 35%); transform: translateY(-1px); }

/* Famille : violet de la marque */
.prix-famille .prix-emoji { background: var(--violet-pale); }
.prix-famille .prix-inclus li::before { background: var(--violet-pale); color: var(--violet-fonce); }
.prix-famille .prix-badge { background: var(--violet-pale); color: var(--violet-fonce); box-shadow: inset 0 0 0 1px #d6d0fa; }
.prix-famille .prix-cta { background: linear-gradient(135deg, var(--violet), var(--violet-fonce)); color: var(--blanc); box-shadow: 0 8px 20px rgb(85 70 209 / 28%); }
.prix-famille .prix-cta:hover { transform: translateY(-1px); }

.prix-note { text-align: center; color: var(--texte-doux); font-size: 0.95rem; margin-top: 2rem; }

/* ── FAQ ──────────────────────────────────────────── */
.section-faq { background: var(--fond); }

.faq { display: grid; gap: 0.75rem; }

.faq details {
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 18px;
    box-shadow: 0 4px 14px rgb(35 35 59 / 4%);
}

.faq summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 3.5rem 1.15rem 1.35rem;
    font-weight: 750;
    font-size: 1.05rem;
    border-radius: 18px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--violet-pale);
    color: var(--violet-fonce);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.faq details[open] summary::after { content: "−"; }

.faq details p { padding: 0 1.35rem 1.25rem; color: var(--texte-doux); }

/* ── Demande d'accès ──────────────────────────────── */
.section-demande {
    --focus: var(--neon-or);
    background:
        radial-gradient(36rem 26rem at 0% 0%, rgb(255 95 193 / 22%), transparent 60%),
        radial-gradient(40rem 30rem at 100% 100%, rgb(34 211 238 / 16%), transparent 60%),
        linear-gradient(135deg, var(--violet-nuit) 0%, var(--violet-fonce) 55%, var(--violet) 100%);
    color: var(--blanc);
}

.demande-grille { display: grid; gap: 2.5rem; align-items: start; }

@media (min-width: 980px) {
    .demande-grille { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
    .demande-intro { position: sticky; top: calc(var(--entete-h) + 2rem); }
}

.demande-intro h2 {
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    margin: 0.85rem 0 1rem;
}

.demande-intro > p { color: #e6e2ff; font-size: 1.1rem; }

.demande-points { display: grid; gap: 0.65rem; margin-top: 1.75rem; }

.demande-points li { display: flex; gap: 0.6rem; align-items: center; font-weight: 700; }

.demande-points li::before {
    content: "✓";
    display: grid;
    place-items: center;
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    font-size: 0.8rem;
    font-weight: 900;
}

.carte-form {
    --focus: var(--violet-fonce);
    background: var(--blanc);
    color: var(--texte);
    border-radius: 28px;
    padding: 1.4rem;
    box-shadow: 0 30px 70px rgb(17 14 41 / 35%);
}

@media (min-width: 721px) {
    .carte-form { padding: 2.25rem; }
}

.alerte {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 650;
}

.alerte-succes { background: var(--succes-fond); color: var(--succes-texte); border: 1px solid #a7e3c6; }
.alerte-erreur { background: var(--erreur-fond); color: var(--erreur); border: 1px solid #f5c2c2; }
.alerte-icone { font-size: 1.2rem; line-height: 1.4; }

.form-demande { display: grid; gap: 1.5rem; }

.champ-groupe { border: 0; margin: 0; padding: 0; min-width: 0; }

.champ-groupe legend,
.champ label {
    display: block;
    padding: 0;
    margin-bottom: 0.6rem;
    font-weight: 800;
    font-size: 1rem;
}

.facultatif { font-weight: 500; color: var(--texte-doux); font-size: 0.92rem; }

.options { display: grid; gap: 0.6rem; }

@media (min-width: 560px) {
    .options-3 { grid-template-columns: repeat(3, 1fr); }
    .options-formules { grid-template-columns: repeat(2, 1fr); }
    .options-langues { grid-template-columns: repeat(2, 1fr); }
}

.option { position: relative; display: block; cursor: pointer; }

.option-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.option-corps {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    height: 100%;
    padding: 0.85rem 0.95rem;
    border: 2px solid var(--bordure);
    border-radius: 16px;
    background: var(--blanc);
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.options-3 .option-corps { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

.option:hover .option-corps { border-color: #c9c1f6; }

.option-input:checked + .option-corps {
    border-color: var(--violet);
    background: #f5f3ff;
    box-shadow: 0 0 0 3px rgb(108 92 231 / 14%);
}

.option-input:focus-visible + .option-corps {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.option-emoji { font-size: 1.5rem; line-height: 1; }

.option-texte { display: grid; line-height: 1.3; }
.option-texte strong { font-size: 0.98rem; }
.option-texte small { color: var(--texte-doux); font-size: 0.86rem; margin-top: 0.15rem; }

.option-corps-compact { padding: 0.7rem 0.9rem; }

/* Pastille radio/case dessinée (l'input natif est masqué mais focusable) */
.option-corps::after {
    content: "";
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-left: auto;
    border-radius: 50%;
    border: 2px solid #c8c8dc;
    background: var(--blanc);
    transition: all 0.15s ease;
}

.options-3 .option-corps::after { position: absolute; top: 0.9rem; right: 0.9rem; }

.option-corps-case::after { border-radius: 6px; }

.option-input:checked + .option-corps::after {
    border-color: var(--violet);
    background: var(--violet);
    box-shadow: inset 0 0 0 3px var(--blanc);
}

.champ-langues[hidden] { display: none; }

.champs-2 { display: grid; gap: 1.5rem; }

@media (min-width: 640px) {
    .champs-2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.champ input,
.champ textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 2px solid var(--bordure);
    border-radius: 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--texte);
    background: var(--blanc);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.champ textarea { resize: vertical; min-height: 6rem; }

.champ input:focus,
.champ textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgb(108 92 231 / 18%);
}

.champ input[aria-invalid="true"],
.champ textarea[aria-invalid="true"] { border-color: var(--erreur); }

.champ ::placeholder { color: #8a8aa3; }

.erreur-champ { color: var(--erreur); font-weight: 650; font-size: 0.92rem; margin-top: 0.4rem; }

.form-note { font-size: 0.86rem; color: var(--texte-doux); text-align: center; margin-top: -0.5rem; }

/* ── Pied de page ─────────────────────────────────── */
.pub-pied {
    --focus: var(--neon-or);
    background: var(--nuit);
    color: var(--texte-nuit);
    padding: 3.5rem 0 1.5rem;
}

.pub-pied-inner {
    display: grid;
    gap: 2rem;
}

@media (min-width: 721px) {
    .pub-pied-inner { grid-template-columns: 1fr auto; align-items: start; }
}

.pub-logo-pied { color: var(--blanc); }
.pub-pied-marque p { margin-top: 0.9rem; max-width: 26rem; }

.pub-pied-liens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 2.5rem;
}

.pub-pied-liens a { color: var(--blanc); text-decoration: none; font-weight: 600; }
.pub-pied-liens a:hover { text-decoration: underline; text-underline-offset: 3px; }

.pub-pied-bas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
    font-size: 0.9rem;
}

.pub-pied-editeur a { color: var(--blanc); font-weight: 600; text-underline-offset: 3px; }

/* Liens légaux du pied de page (mentions, CGV, confidentialité) */
.pub-pied-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.pub-pied-legal a { color: var(--blanc); text-underline-offset: 3px; }

/* ── Mouvement réduit : on coupe tout ─────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ── Mini-drapeaux SVG (partials/drapeau) ─────────── */
.drapeau {
    display: inline-block;
    flex: none;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgb(35 35 59 / 12%), 0 2px 5px rgb(35 35 59 / 12%);
}

.matiere-drapeau { width: 1.45rem; height: auto; box-shadow: 0 0 0 1px rgb(255 255 255 / 20%); }
.langue-drapeau { width: 3rem; height: auto; border-radius: 7px; }
.mock-drapeau { width: 2.4rem; height: auto; border-radius: 6px; }
.option-drapeau { width: 1.6rem; height: auto; }

/* Passerelles passion → cours (bloc scolaire) */
.passerelle-ado {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgb(34 211 238 / 12%), rgb(108 92 231 / 14%));
    border: 1px dashed rgb(34 211 238 / 40%);
    color: var(--texte-nuit);
    font-size: 0.95rem;
    line-height: 1.5;
}

.passerelle-ado strong { color: var(--blanc); }
.passerelle-icone { font-size: 1.3rem; line-height: 1.2; }

/* ── Commence ton essai : 3 portes vers /inscription (2026-10-15) ── */
.portes-titre { font-size: 1.25rem; font-weight: 800; margin: 0 0 1rem; }

.portes-essai { display: grid; gap: 0.75rem; }

.porte {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 2px solid var(--bordure);
    border-radius: var(--rayon);
    color: var(--texte);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.porte:hover { border-color: var(--violet); box-shadow: var(--ombre); transform: translateY(-1px); }

.porte-emoji {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--violet-pale);
    font-size: 1.4rem;
}

.porte-texte { flex: 1; display: grid; gap: 0.1rem; }
.porte-texte strong { font-size: 1.05rem; }
.porte-texte small { color: var(--texte-doux); font-size: 0.9rem; }
.porte-fleche { color: var(--violet-fonce); font-size: 1.3rem; font-weight: 800; }

.portes-note { margin: 1rem 0 0; color: var(--texte-doux); font-size: 0.95rem; }

.question { margin-top: 1.5rem; border-top: 1px solid var(--bordure); padding-top: 1.1rem; }
.question summary { cursor: pointer; font-weight: 700; color: var(--violet-fonce); }
.question[open] summary { margin-bottom: 1.25rem; }
