@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ivoire: #fafaf5;
  --papier: #ffffff;
  --sable: #f0f0e8;
  --ligne: #e2e2d8;
  --encre: #2e3036;
  --encre-douce: #5a5c63;
  --teal: #4a59b8;
  --teal-fonce: #36428f;
  --teal-clair: #e8ebfb;
  --ambre: #ffd35c;
  --ambre-clair: #fff4d1;
  --prune: #7b4fc4;
  --prune-clair: #f1e9fb;
  --corail: #f4806a;
  --ciel: #7dc4f2;
  --lavande: #a3b0f0;
  --violet: #d0a8f0;
  --gris-logo: #838381;
  --rayon: 16px;
  --ombre: 0 1px 2px rgba(28, 43, 51, 0.06), 0 8px 24px rgba(28, 43, 51, 0.07);
  --police-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --police-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-fonce); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--police-titre); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.4vw + 0.7rem, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.conteneur { width: min(100% - 2rem, 1120px); margin-inline: auto; }
.etroit { width: min(100% - 2rem, 760px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* En-tête */
.entete { background: var(--ivoire); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 50; }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marque { display: flex; align-items: center; gap: 0.6rem; font-family: var(--police-titre); font-weight: 600; font-size: 1.25rem; color: var(--encre); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 1.4rem; }
.menu a:not(.bouton) { color: var(--encre); text-decoration: none; font-weight: 500; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.menu a:not(.bouton):hover, .menu a[aria-current="page"] { border-bottom-color: var(--ambre); }
.menu-bouton { display: none; background: var(--papier); border: 1px solid var(--ligne); border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-weight: 600; color: var(--encre); cursor: pointer; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--teal); color: #fff; border: 2px solid var(--teal); border-radius: 999px; padding: 0.8rem 1.5rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.bouton:hover { background: var(--teal-fonce); border-color: var(--teal-fonce); color: #fff; transform: translateY(-1px); }
.bouton-clair { background: transparent; color: var(--teal-fonce); }
.bouton-clair:hover { background: var(--teal-clair); color: var(--teal-fonce); }
.bouton-ambre { background: var(--ambre); border-color: var(--ambre); color: var(--encre); }
.bouton-ambre:hover { background: #d29a2e; border-color: #d29a2e; color: var(--encre); }
.bouton-petit { padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.bouton[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-sable { background: var(--sable); }
.section-teal { background: var(--teal-fonce); color: #fff; }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-teal a:not(.bouton) { color: #fff; }
.titre-section { max-width: 40rem; margin-bottom: 2.2rem; }
.surtitre { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--teal); margin-bottom: 0.7rem; }
.section-teal .surtitre { color: var(--ambre); }
.chapo { font-size: 1.2rem; color: var(--encre-douce); max-width: 40rem; }

/* Héros */
.heros { padding: clamp(3rem, 8vw, 6rem) 0; background: radial-gradient(1200px 500px at 85% -10%, var(--ambre-clair), transparent 60%), radial-gradient(900px 500px at 0% 100%, var(--teal-clair), transparent 60%), var(--ivoire); }
.heros-grille { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.heros .chapo { margin-bottom: 1.8rem; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.preuves { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; margin: 1.8rem 0 0; color: var(--encre-douce); font-size: 0.95rem; }
.preuves li::before { content: "✦"; color: var(--ambre); margin-right: 0.5rem; }
.rose { display: grid; place-items: center; }
.rose img { width: min(100%, 540px); height: auto; }

/* Cartes */
.grille { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.carte { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.6rem; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
a.carte:hover { transform: translateY(-3px); color: inherit; box-shadow: 0 2px 4px rgba(28, 43, 51, 0.08), 0 14px 30px rgba(28, 43, 51, 0.12); }
.carte h3 { margin: 0; }
.carte p { margin: 0; color: var(--encre-douce); }
.carte .meta { margin-top: auto; padding-top: 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--teal-fonce); }
.pastille { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--police-titre); font-size: 1.4rem; font-weight: 700; color: #fff; background: var(--teal); margin-bottom: 0.4rem; }
.pastille-ambre { background: var(--ambre); color: var(--encre); }
.pastille-prune { background: var(--prune); }
.deux { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: start; }
.etapes { counter-reset: etape; list-style: none; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.etapes li { counter-increment: etape; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.3rem 1.4rem; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ambre); color: var(--encre); font-weight: 700; margin-bottom: 0.6rem; }
.etapes strong { display: block; font-family: var(--police-titre); font-size: 1.15rem; margin-bottom: 0.3rem; }

/* FAQ */
.faq details { background: var(--papier); border: 1px solid var(--ligne); border-radius: 12px; padding: 0 1.2rem; margin-bottom: 0.7rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--encre-douce); }

/* Pages intérieures */
.entete-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; background: linear-gradient(180deg, var(--teal-clair), var(--ivoire)); }
.fil { font-size: 0.9rem; color: var(--encre-douce); margin-bottom: 1rem; }
.fil a { color: var(--encre-douce); }
.contenu { padding: 2.5rem 0 4.5rem; }
.contenu h2 { margin-top: 2em; }
.encadre { background: var(--ambre-clair); border-left: 5px solid var(--ambre); border-radius: 0 12px 12px 0; padding: 1rem 1.3rem; margin: 1.5rem 0; }
.encadre p:last-child { margin-bottom: 0; }
.encadre-teal { background: var(--teal-clair); border-left-color: var(--teal); }
.liste-puces { list-style: none; padding: 0; }
.liste-puces li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; }
.liste-puces li::before { content: "✦"; position: absolute; left: 0; color: var(--ambre); }

/* Formulaires */
.formulaire { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--ombre); }
.champ { margin-bottom: 1.2rem; }
.champ label, .champ legend { display: block; font-weight: 600; margin-bottom: 0.35rem; padding: 0; }
.champ .aide { display: block; font-size: 0.9rem; color: var(--encre-douce); margin-bottom: 0.4rem; font-weight: 400; }
.champ input[type="text"], .champ input[type="email"], .champ input[type="date"], .champ select, .champ textarea { width: 100%; font: inherit; color: inherit; background: var(--ivoire); border: 1.5px solid var(--ligne); border-radius: 10px; padding: 0.75rem 0.9rem; }
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--teal); outline: 3px solid var(--teal-clair); }
.champ-case { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1rem; }
.champ-case input { margin-top: 0.35rem; width: 1.1rem; height: 1.1rem; accent-color: var(--teal); flex: none; }
.champ-case label { font-weight: 400; font-size: 0.95rem; }
.deux-champs { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
.piege { position: absolute; left: -9999px; }
.message { padding: 1rem 1.2rem; border-radius: 12px; margin-top: 1rem; }
.message-ok { background: var(--teal-clair); border: 1px solid var(--teal); }
.message-erreur { background: #fde8e6; border: 1px solid #c0392b; color: #7a1f16; }

/* Moteur de test */
.test { scroll-margin-top: 84px; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(1.3rem, 3vw, 2.4rem); box-shadow: var(--ombre); }
.progres { height: 8px; background: var(--sable); border-radius: 999px; overflow: hidden; margin: 0.6rem 0 0.4rem; }
.progres span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--ambre)); width: 0; transition: width 0.3s; }
.progres-texte { font-size: 0.9rem; color: var(--encre-douce); display: flex; justify-content: space-between; }
.question { font-family: var(--police-titre); font-size: clamp(1.35rem, 2.5vw + 0.5rem, 1.9rem); line-height: 1.35; margin: 1.6rem 0 1.4rem; min-height: 4.2em; }
.reponses { display: grid; gap: 0.6rem; }
.reponse { display: flex; align-items: center; gap: 0.9rem; text-align: left; width: 100%; background: var(--ivoire); border: 2px solid var(--ligne); border-radius: 12px; padding: 0.85rem 1.1rem; font: inherit; color: inherit; cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.reponse:hover { border-color: var(--teal); background: var(--teal-clair); }
.reponse[aria-checked="true"] { border-color: var(--teal); background: var(--teal-clair); font-weight: 600; }
.reponse b { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--papier); border: 1.5px solid var(--ligne); font-size: 0.95rem; }
.reponse[aria-checked="true"] b { background: var(--teal); border-color: var(--teal); color: #fff; }
.navigation-test { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.astuce { font-size: 0.85rem; color: var(--encre-douce); margin-top: 1rem; }

/* Résultats */
.resultat-tete { text-align: center; padding: 1rem 0 0.5rem; }
.resultat-tete .badge { display: inline-block; background: var(--ambre-clair); color: #7a5410; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 0.8rem; }
.code-type { font-family: var(--police-titre); font-size: clamp(2.6rem, 8vw, 4.4rem); font-weight: 700; color: var(--teal-fonce); letter-spacing: 0.06em; line-height: 1; margin: 0.2rem 0 0.6rem; }
.barres { display: grid; gap: 0.8rem; margin: 1.6rem 0; }
.barre-ligne { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr 3.4rem; gap: 0.8rem; align-items: center; font-size: 0.95rem; }
.barre { height: 14px; background: var(--sable); border-radius: 999px; overflow: hidden; }
.barre i { display: block; height: 100%; border-radius: 999px; background: var(--teal); }
.barre-ligne output { text-align: right; font-weight: 700; }
.axe { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 0.8rem; align-items: center; font-size: 0.95rem; }
.axe .gauche { text-align: right; }
.axe .gauche, .axe .droite { font-weight: 600; }
.axe .actif { color: var(--teal-fonce); }
.axe-piste { position: relative; height: 14px; background: var(--sable); border-radius: 999px; }
.axe-piste i { position: absolute; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.resultat-bloc { margin-top: 2rem; }
.resultat-bloc h3 { margin-bottom: 0.5rem; }
.deux-listes { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.liste-carte { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: 12px; padding: 1.1rem 1.3rem; }
.liste-carte h3 { font-size: 1.1rem; }
.liste-carte ul { margin: 0; }
.actions-resultat { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }
.autres-tests { margin-top: 3rem; }

/* Numérologie */
.nombres-resultat { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 1.5rem 0; }
.nombre-carte { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.4rem; box-shadow: var(--ombre); }
.nombre-carte .grand { font-family: var(--police-titre); font-size: 3.4rem; font-weight: 700; color: var(--prune); line-height: 1; }
.nombre-carte .maitre { display: inline-block; font-size: 0.75rem; font-weight: 700; background: var(--prune-clair); color: var(--prune); border-radius: 999px; padding: 0.15rem 0.7rem; margin-left: 0.5rem; vertical-align: middle; }
.nombre-carte .etiquette { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 700; color: var(--encre-douce); }
.mots { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.6rem 0; }
.mots li { background: var(--prune-clair); color: var(--prune); border-radius: 999px; padding: 0.1rem 0.7rem; font-size: 0.85rem; font-weight: 600; }

/* Pied */
.pied { background: var(--encre); color: #d8e0e4; padding: 3rem 0 0; margin-top: 0; font-size: 0.95rem; }
.pied a { color: #fff; }
.pied-grille { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.pied-titre { font-family: var(--police-titre); font-size: 1.15rem; color: #fff; margin-bottom: 0.7rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 0.4rem; }
.pied-bas { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding: 1.2rem 0 1.6rem; font-size: 0.85rem; color: #aab6bc; }
.pied-bas p { margin: 0; }

@media (max-width: 860px) {
  .heros-grille, .deux, .deux-listes, .pied-grille, .deux-champs { grid-template-columns: 1fr; }
  .rose { order: -1; }
  .rose img { width: min(100%, 320px); }
  .menu-bouton { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivoire); border-bottom: 1px solid var(--ligne); padding: 0.5rem 1rem 1.2rem; }
  .menu.ouvert { display: flex; }
  .menu a:not(.bouton) { padding: 0.8rem 0; border-bottom: 1px solid var(--ligne); }
  .menu .bouton { margin-top: 0.8rem; }
  .barre-ligne { grid-template-columns: 1fr 3rem; }
  .barre-ligne .barre { grid-column: 1 / -1; order: 3; }
  .axe { grid-template-columns: 1fr; text-align: center; }
  .axe .gauche { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .entete, .pied, .skip, .actions-resultat, .autres-tests, .navigation-test, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .test, .nombre-carte { box-shadow: none; border-color: #bbb; }
  .entete-page { background: none; padding-top: 0; }
}

.nombre-carte .sous-tonalite { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 600; color: var(--encre-douce); margin-left: 0.15rem; }

/* Accueil : version validée le 2026-11-02 */

.hero2 { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); background: radial-gradient(900px 520px at 80% 20%, var(--ambre-clair), transparent 65%), radial-gradient(800px 500px at 10% 90%, var(--teal-clair), transparent 60%), var(--ivoire); }
.hero2-grille { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero2 h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 0.5em; }
.hero2 .chapo { margin-bottom: 1.8rem; }
.hero2-logo { display: grid; place-items: center; }
.hero2-logo img { width: min(100%, 680px); height: auto; filter: drop-shadow(0 20px 36px rgba(54, 66, 143, 0.12)); }

.pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 1.2rem; padding: 1.2rem 0; list-style: none; margin: 0; }
.pastilles li { display: flex; align-items: center; gap: 0.6rem; background: var(--papier); border: 1px solid var(--ligne); border-radius: 999px; padding: 0.55rem 1.2rem 0.55rem 0.7rem; font-weight: 600; font-size: 0.95rem; box-shadow: var(--ombre); }
.pastilles svg { width: 30px; height: 30px; flex: none; }

.titre-centre { text-align: center; max-width: 36rem; margin: 0 auto 2.4rem; }
.cartes-tests { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.carte-test { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.4rem; min-height: 230px; padding: 1.7rem 1.6rem 1.4rem; border-radius: 26px; text-decoration: none; color: var(--encre); background: var(--tint, var(--papier)); border: 1px solid rgba(46, 48, 54, 0.06); transition: transform 0.2s, box-shadow 0.2s; }
.carte-test:hover { transform: translateY(-5px) rotate(-0.4deg); color: var(--encre); box-shadow: 0 18px 36px rgba(46, 48, 54, 0.14); }
.carte-test .illus { width: 96px; height: 96px; margin-bottom: 0.6rem; }
.carte-test h3 { font-size: 1.45rem; margin: 0; }
.carte-test p { margin: 0; color: var(--encre-douce); font-size: 1rem; }
.carte-test .meta { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.92rem; color: var(--encre); }
.carte-test .meta i { font-style: normal; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--encre); color: #fff; transition: transform 0.2s; }
.carte-test:hover .meta i { transform: translateX(4px); }
.carte-test::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.carte-test > * { position: relative; z-index: 1; }

.bande-num { background: linear-gradient(135deg, var(--violet-fond, #f1e9fb), var(--teal-clair)); }
.bande-num-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ronds { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.rond { width: 118px; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--encre-douce); }
.rond b { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 0.5rem; border-radius: 50%; font-family: var(--police-titre); font-size: 2.5rem; color: #fff; box-shadow: var(--ombre); }

.bande-mesure { text-align: center; }
.bande-mesure .chapo { margin-inline: auto; }
.trois-pistes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.trois-pistes li { background: var(--papier); border: 1px solid var(--ligne); border-radius: 999px; padding: 0.5rem 1.2rem; font-weight: 600; }

@media (max-width: 860px) {
  .hero2-grille, .bande-num-grille { grid-template-columns: 1fr; }
  .hero2-logo { order: -1; }
  .hero2-logo img { width: min(100%, 440px); }
  .hero2 { text-align: center; }
  .hero2 .groupe-boutons { justify-content: center; }
  .carte-test { min-height: 0; }
}

.marque img { width: 64px; height: 64px; }
.marque { font-size: 1.4rem; gap: 0.8rem; }
.entete-ligne { min-height: 84px; }
.menu { top: 84px; }
.hero2-logo img { width: min(100%, 560px); }

.rond { width: 104px; }
.rond b { width: 84px; height: 84px; font-size: 2.2rem; }
.ronds { gap: 0.6rem; }

@media (max-width: 480px) {
  .marque { font-size: 1.05rem; gap: 0.5rem; }
  .marque img { width: 52px; height: 52px; }
  .menu-bouton { padding: 0.4rem 0.9rem; }
}

/* Pages de tests et numérologie : version visuelle (2026-11-02) */
.entete-test { background: linear-gradient(180deg, var(--tint, var(--teal-clair)), var(--ivoire)); }
.entete-test-grille { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.entete-illus .illus { width: 150px; height: 150px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.1rem 0 0; }
.chips li { background: var(--papier); border: 1px solid var(--ligne); border-radius: 999px; padding: 0.3rem 0.95rem; font-size: 0.9rem; font-weight: 600; }
.test .chips { margin: 0.4rem 0 1.2rem; }
.consigne { font-size: 1.15rem; color: var(--encre-douce); margin-bottom: 1.6rem; max-width: 34rem; }

.volets { display: grid; gap: 0.7rem; margin: 1rem 0; }
.volet { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: 14px; padding: 0 1.2rem; }
.volet > summary { cursor: pointer; font-weight: 700; padding: 0.95rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.volet > summary::-webkit-details-marker { display: none; }
.volet > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); flex: none; }
.volet[open] > summary::after { content: "−"; }
.volet[open] { background: var(--papier); box-shadow: var(--ombre); }
.volet ul { margin: 0 0 1rem; }
.volet p { color: var(--encre-douce); }
.volet-info { margin-top: 2rem; }
.mini-titre { font-weight: 700; color: var(--encre) !important; margin: 0.8rem 0 0.3rem; }

.resume-carte { font-size: 1.1rem; background: var(--papier); border-left: 5px solid var(--ambre); padding: 1rem 1.3rem; border-radius: 0 14px 14px 0; margin: 1.2rem 0; }
.resultat-tete { background: color-mix(in srgb, var(--c, var(--teal)) 14%, white); border-radius: 22px; padding: 1.6rem 1.2rem 1.4rem; margin-bottom: 1.4rem; }
.viz { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; margin: 1.2rem 0 1.8rem; }
.viz .radar { width: 100%; height: auto; max-height: 360px; }
.viz .barres { margin: 0; }

.ronds-resultat { margin: 1.4rem 0 1.8rem; }
.rond b small { font-size: 1.1rem; font-weight: 600; margin-left: 1px; opacity: 0.9; }
.volet-nombre > summary { justify-content: flex-start; }
.volet-nombre > summary::after { margin-left: auto; }
.pastille-num { display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 0.3rem; border-radius: 50%; color: #fff; font-family: var(--police-titre); font-size: 1.35rem; font-weight: 700; flex: none; }
.volet-titre { display: grid; line-height: 1.25; }
.volet-titre small { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--encre-douce); font-weight: 700; }
.volet-titre strong { font-family: var(--police-titre); font-size: 1.15rem; }
.maitre-note { display: inline-block; font-size: 0.8rem !important; font-weight: 700; background: var(--prune-clair); color: var(--prune) !important; border-radius: 999px; padding: 0.1rem 0.8rem; }

.grille-nombres { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 1.4rem 0 2.4rem; }
.carte-nombre { background: var(--papier); border: 1px solid var(--ligne); border-radius: 20px; padding: 1.3rem 1rem; text-align: center; box-shadow: var(--ombre); }
.carte-nombre b { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 0.7rem; border-radius: 50%; color: #fff; font-family: var(--police-titre); font-size: 2rem; }
.carte-nombre b small { font-size: 0.95rem; margin-left: 1px; }
.carte-nombre h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.carte-nombre .mots { justify-content: center; margin: 0; }

.titre-centre h2 { margin-bottom: 0.4em; }

/* Apparition douce (activée seulement si le script est chargé) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.vu { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .viz { grid-template-columns: 1fr; }
  .entete-test-grille { grid-template-columns: 1fr auto; gap: 1rem; }
  .entete-illus .illus { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .volet > summary::after { display: none; }
}
.viz { grid-template-columns: 1fr; gap: 1.2rem; }
.viz .radar { max-width: 500px; margin: 0 auto; max-height: none; }
.test h3 { margin-top: 1.8rem; }
.rond b, .carte-nombre b { display: flex; align-items: center; justify-content: center; }

.bandeau-exemple { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.2rem; background: var(--ambre-clair); border: 2px dashed var(--ambre); border-radius: 16px; padding: 0.8rem 1.2rem; margin-bottom: 1.2rem; }
.bandeau-exemple p { margin: 0; }
@media print { .bandeau-exemple { display: none; } }
