/* Astrid — feuille de style unique. Mobile d'abord, puis grands écrans. */
:root {
  --bg: #FFF1F6;
  --ink: #1A1446;
  --ink-soft: #4A4470;
  --pink: #FF4FA3;
  --pink-soft: #FFD6EA;
  --blue: #2E45FF;
  --yellow: #FFD23F;
  --white: #FFFFFF;
  --line: #1A1446;
  --radius: 28px;
  --shadow: 8px 8px 0 var(--ink);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.muted { color: var(--ink-soft); }
.hidden { display: none !important; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 2px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -1px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--pink); }
.logo img { display: block; height: 40px; width: auto; }
.logo-small img { height: 32px; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 12px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--white); }
.nav a.nav-cta { border: 2px solid var(--ink); font-weight: 700; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; padding: 8px 16px 20px; flex-direction: column; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; padding: 12px 4px; border-bottom: 2px solid var(--pink-soft); }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } .mobile-nav, .mobile-nav.open { display: none; } }

/* ---------- Boutons, pastilles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--ink); font: 700 17px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; color: var(--ink); background: var(--white); text-align: center; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.btn-pink { background: var(--pink); }
.btn-yellow { background: var(--yellow); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { color: var(--white); }
.btn-big { font-family: var(--display); font-weight: 800; font-size: 20px; min-height: 60px; }
.btn-ghost-light { background: transparent; border-color: var(--bg); color: var(--bg); }
.btn-ghost-light:hover { color: var(--bg); box-shadow: 4px 4px 0 var(--pink); }
.pill { display: inline-block; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.pill-yellow { background: var(--yellow); transform: rotate(-3deg); }
.pill-blue { background: var(--blue); color: var(--white); transform: rotate(2deg); }
.pill-pink { background: var(--pink); transform: rotate(-2deg); }
.pill-white { background: var(--white); border: 2px solid var(--ink); }
.highlight { background: var(--pink); padding: 0 .18em; border-radius: .25em; display: inline-block; transform: rotate(-2deg); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 720px) { .section { padding: 88px 0; } }
.section-dark { background: var(--ink); color: var(--bg); }
.section-dark a { color: var(--yellow); }
.h-xl { font-size: clamp(44px, 9vw, 132px); line-height: .9; letter-spacing: -0.04em; }
.h-l { font-size: clamp(34px, 5.4vw, 72px); line-height: .95; }
.h-m { font-size: clamp(26px, 3.6vw, 44px); }
.lead { font-size: clamp(18px, 2vw, 22px); max-width: 660px; }

/* ---------- Formulaire de naissance ---------- */
.birth-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; background: var(--ink); border-radius: 30px; padding: 10px; box-shadow: 10px 10px 0 var(--pink); }
@media (min-width: 720px) { .birth-form { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .birth-form { grid-template-columns: 1.1fr 1fr 1fr 1.6fr auto; } }
.field { background: var(--white); border-radius: 22px; padding: 10px 18px; display: flex; flex-direction: column; gap: 2px; position: relative; min-width: 0; }
.field label, .field .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.field input, .field select { border: none; background: transparent; font: 400 18px/1.3 var(--body); color: var(--ink); padding: 6px 0; width: 100%; min-width: 0; }
.field input:focus { outline: none; }
.field:focus-within { box-shadow: inset 0 0 0 3px var(--blue); }
.field.invalid { box-shadow: inset 0 0 0 3px #D6004C; }
.birth-form .btn { border: none; border-radius: 22px; min-height: 64px; }
.check { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--pink); }
.form-note { font-size: 14px; color: var(--ink-soft); }
.form-error { color: #B0003E; font-weight: 700; font-size: 15px; }

.suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 6px; z-index: 30; list-style: none; margin: 0; box-shadow: var(--shadow); max-height: 320px; overflow: auto; }
.suggestions li { padding: 12px 12px; border-radius: 12px; cursor: pointer; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--pink-soft); }
.suggestions small { color: var(--ink-soft); }

/* ---------- Cartes « story » ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.story { aspect-ratio: 9 / 14; border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; text-align: left; font: inherit; color: inherit; transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.story:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.story .kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.story .big { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 48px); line-height: .95; letter-spacing: -1.5px; }
.story .glyph { position: absolute; right: -10px; bottom: 54px; font-size: 140px; line-height: 1; opacity: .14; pointer-events: none; }
.story p { font-size: 16px; margin-top: auto; }
.story .share { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; font: 700 15px var(--body); background: none; border: 2px solid currentColor; color: inherit; border-radius: 999px; padding: 10px 14px; cursor: pointer; min-height: 44px; }
.c-blue { background: var(--blue); color: var(--white); }
.c-yellow { background: var(--yellow); }
.c-pink { background: var(--pink); }
.c-ink { background: var(--ink); color: var(--bg); }
.c-white { background: var(--white); }
.tilt-1 { transform: rotate(-1.2deg); } .tilt-2 { transform: rotate(1deg); } .tilt-3 { transform: rotate(-.6deg); }

/* ---------- Blocs ---------- */
.panel { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; }
@media (min-width: 720px) { .panel { padding: 32px; } }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }

.table-wrap { overflow-x: auto; border: 3px solid var(--ink); border-radius: 20px; background: var(--white); }
table.positions { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; }
.positions th, .positions td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--pink-soft); }
.positions th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; background: var(--bg); }
.positions .g { font-size: 20px; width: 36px; }

.wheel { width: 100%; max-width: 560px; aspect-ratio: 1; display: block; margin: 0 auto; }

.locked { position: relative; overflow: hidden; }
.locked .blur { filter: blur(6px); user-select: none; pointer-events: none; opacity: .7; }
.locked .unlock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; text-align: center; padding: 24px; background: linear-gradient(180deg, rgba(255,241,246,0) 0%, rgba(255,241,246,.92) 45%); }

.report-item { padding: 20px 0; border-bottom: 2px dashed var(--pink-soft); }
.report-item h3 { font-size: 24px; margin-bottom: 8px; }

.score { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 9vw, 96px); line-height: 1; background: var(--pink); border-radius: 22px; padding: 0 16px; display: inline-block; transform: rotate(-3deg); }
.avatar { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 36px; border: 3px solid var(--ink); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; border-radius: var(--radius); padding: 32px; border: 3px solid var(--ink); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 44px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 6px 0; }
.plan .plan-unit { font-size: 20px; font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 3px solid var(--ink); padding: 32px 0 48px; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--ink); }
.disclaimer { font-size: 13px; color: var(--ink-soft); max-width: 620px; }

/* ---------- Fenêtres, notifications ---------- */
dialog { border: 3px solid var(--ink); border-radius: var(--radius); padding: 28px; max-width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow); color: var(--ink); }
dialog::backdrop { background: rgba(26, 20, 70, .45); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 16px; font-weight: 700; z-index: 50; max-width: calc(100vw - 32px); }

/* ---------- Impression (rapport PDF) ---------- */
@media print {
  .site-header, .site-footer, .no-print, .share, .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .story { break-inside: avoid; box-shadow: none; transform: none !important; }
  .report-item { break-inside: avoid; }
  .section { padding: 16pt 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Cartes : carrousel sur mobile, grille 3 × 2 sur grand écran */
@media (max-width: 719px) {
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 12px 16px 24px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
  .cards > * { flex: 0 0 80%; scroll-snap-align: center; }
  .story { aspect-ratio: 9 / 13; }
  .story:hover { transform: none; box-shadow: none; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story { aspect-ratio: 4 / 5; }
}
.section-dark .panel a, .panel a { color: var(--blue); }
.section-dark .panel .btn, .panel .btn { color: var(--ink); }
.section-dark .panel .btn-blue, .section-dark .panel .btn-ink, .panel .btn-blue, .panel .btn-ink { color: var(--white); }
.section-dark .panel .btn-ink:hover, .panel .btn-ink:hover { color: var(--white); box-shadow: 4px 4px 0 var(--pink); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.locked .blur { max-height: 560px; overflow: hidden; }

/* Choix des accords */
.gender { border: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gender legend { float: left; font-size: 15px; margin-right: 6px; padding: 0; }
.gender label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); cursor: pointer; font-weight: 700; font-size: 15px; }
.gender label:has(input:checked) { background: var(--pink); }
.gender input { accent-color: var(--ink); }
.dst-choice { flex-basis: 100%; max-width: 640px; border: 2px solid var(--ink); border-radius: 18px; background: #FFF6D6; padding: 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dst-choice.invalid { border-color: #D6004C; }
.dst-choice legend { float: left; width: 100%; font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 4px; }
.dst-choice .radio { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 15px; }
.dst-choice input { accent-color: var(--ink); width: 18px; height: 18px; }
.dst-choice .form-note { margin: 0; }

/* Consultation */
.toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 54px; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.toc li { display: flex; min-width: 0; }
.toc a { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: center; min-height: 0; padding: 6px 12px 6px 8px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.15; transition: background .15s ease; }
.toc a:hover { background: var(--pink-soft); color: var(--ink); }
.toc a.is-active { background: var(--pink); }
.toc .n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; }
.toc .t { flex: 1; min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.toc .lock-ico { flex: 0 0 auto; color: var(--ink-soft); }
@media (max-width: 600px) { .toc { grid-template-columns: repeat(2, minmax(0, 160px)); grid-auto-rows: 60px; } .syn-toc { padding: 14px 12px; } .toc a { font-size: 13px; padding: 8px 8px 8px 6px; gap: 6px; } .toc .n { width: 26px; height: 26px; font-size: 13px; } }
.toc .lock { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.part { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; }
@media (min-width: 720px) { .part { padding: 40px 48px; } }
.part-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.part-num { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 24px; }
.part h3 { font-size: clamp(28px, 3.4vw, 40px); }
.part .question { font-size: 18px; color: var(--ink-soft); font-style: italic; margin-top: 6px; }
.chips { margin: 18px 0 8px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.chips span { font-weight: 700; color: var(--ink); }
.chips span:not(.chips-label) + span::before { content: " · "; font-weight: 500; color: var(--ink-soft); }
.chips .chips-label { font-weight: 500; color: var(--ink-soft); margin-right: 4px; }
.prose { max-width: none; display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.7; margin-top: 16px; }
.prose > p:first-child::first-letter { font-family: var(--display); font-weight: 800; font-size: 3.2em; float: left; line-height: .9; margin: 4px 10px 0 0; color: var(--pink); }
@media (min-width: 1100px) { .prose { font-size: 19px; } }
.prose-list { margin: -6px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose-list li::marker { color: var(--pink); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.fact { background: var(--white); color: var(--ink); border-radius: 18px; padding: 16px 18px; }
.fact .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
.fact .v { font-family: var(--display); font-weight: 800; font-size: 22px; margin-top: 4px; }
.fact .s { font-size: 14px; margin-top: 4px; }
.bars { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 64px 1fr 40px; gap: 8px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.bar i { display: block; height: 10px; border-radius: 999px; background: var(--pink); }
.story .headline { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.1; margin-top: auto; }
.story .headline + p { margin-top: 0; }
@media print { .part { border: none; padding: 0; break-before: page; } .toc, .locked { display: none; } }
/* PDF du thème (retour de Lauren du 22/10/2026) : la lecture complète d'abord, puis Toi en amour et Ton année,
   les parties à la suite (sans page à moitié vide), et rien de ce qui ne sert qu'à l'écran. */
@media print {
  @page { size: A4; margin: 16mm 15mm 18mm; }
  body[data-page="theme"] { font-size: 11pt; }
  body[data-page="theme"] main { display: flex; flex-direction: column; }
  body[data-page="theme"] .theme-top { order: 0; }
  body[data-page="theme"] #consultation { order: 1; }
  body[data-page="theme"] #amour { order: 2; break-before: page; }
  body[data-page="theme"] #annee { order: 3; break-before: page; }
  body[data-page="theme"] .section { padding: 0 0 10mm; }
  body[data-page="theme"] .wrap { max-width: none; padding: 0; }
  body[data-page="theme"] .theme-top { padding: 0 0 8mm !important; }
  body[data-page="theme"] .theme-top .h-xl { font-size: 40pt; }
  body[data-page="theme"] .h-l { font-size: 26pt; }
  body[data-page="theme"] .lead { font-size: 12pt; }
  body[data-page="theme"] .pill, body[data-page="theme"] .part-num { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body[data-page="theme"] .pill { transform: none; }
  body[data-page="theme"] #t-sent, body[data-page="theme"] .reading-wait, body[data-page="theme"] .after-buy, body[data-page="theme"] .screen-only { display: none !important; }
  /* Aperçus payants (Toi en amour ou Ton année pas achetés) : rien à imprimer. */
  body[data-page="theme"] #amour:has(.love-teaser), body[data-page="theme"] #annee:has(.love-teaser), body[data-page="theme"] #annee:has(.reading-wait) { display: none; }
  body[data-page="theme"] #t-parts, body[data-page="theme"] #t-love, body[data-page="theme"] #t-year { gap: 0 !important; }
  body[data-page="theme"] .part { break-before: auto; padding-top: 8mm; margin-top: 8mm; border-top: 1.5pt solid var(--ink); border-radius: 0; }
  body[data-page="theme"] .part:first-child { border-top: none; margin-top: 0; padding-top: 2mm; }
  body[data-page="theme"] .part-head { break-after: avoid; break-inside: avoid; }
  body[data-page="theme"] .part-num { width: 40px; height: 40px; font-size: 18px; }
  body[data-page="theme"] .part h3 { font-size: 20pt; }
  body[data-page="theme"] .part .question { font-size: 12pt; }
  body[data-page="theme"] .chips { break-after: avoid; margin: 8px 0 4px; }
  body[data-page="theme"] .prose { font-size: 11pt; line-height: 1.55; gap: 8pt; margin-top: 8pt; }
  body[data-page="theme"] .prose p, body[data-page="theme"] .prose li { orphans: 3; widows: 3; }
  body[data-page="theme"] .prose-list { margin: -2pt 0 0; gap: 3pt; break-before: avoid; }
  body[data-page="theme"] .disclaimer { margin-top: 6mm; font-size: 9pt; }
}
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.toc .lock { flex: 0 0 auto; color: var(--ink-soft); font-weight: 600; font-size: 12px; }

/* ---------- Cartes « sticker × tarot » ---------- */
/* Repère 360 × 640 : 1 unité = var(--u). */
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 36px 28px; }
.acard-slot { container-type: inline-size; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.acard { --u: calc(100cqw / 370); position: relative; width: calc(360 * var(--u)); height: calc(640 * var(--u)); border: calc(4 * var(--u)) solid var(--ink); border-radius: calc(28 * var(--u)); overflow: hidden; box-sizing: border-box; color: var(--ink); }
.acard > * { position: absolute; }
.acard-floor { left: 0; right: 0; bottom: 0; border-top: calc(4 * var(--u)) solid var(--ink); }
.acard-band { left: calc(-40 * var(--u)); right: calc(-40 * var(--u)); top: calc(290 * var(--u)); height: calc(56 * var(--u)); border-top: calc(4 * var(--u)) solid var(--ink); border-bottom: calc(4 * var(--u)) solid var(--ink); transform: rotate(-8deg); white-space: nowrap; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: calc(22 * var(--u)); line-height: calc(50 * var(--u)); padding-left: calc(56 * var(--u)); }
.acard-tape { top: calc(22 * var(--u)); width: calc(140 * var(--u)); height: calc(30 * var(--u)); clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
.acard-kicker { top: calc(64 * var(--u)); left: calc(20 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 700; letter-spacing: calc(3 * var(--u)); text-transform: uppercase; white-space: nowrap; }
.acard-title { top: calc(88 * var(--u)); left: calc(16 * var(--u)); font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.acard-art { left: calc(117 * var(--u)); top: calc(146 * var(--u)); }
.acard-emblem { display: block; overflow: visible; }
.acard-bubble { left: calc(14 * var(--u)); right: calc(14 * var(--u)); bottom: calc(66 * var(--u)); border: calc(3 * var(--u)) solid var(--ink); border-radius: calc(18 * var(--u)); padding: calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.acard-head { font-family: var(--display); font-weight: 800; font-size: calc(23 * var(--u)); line-height: 1.1; }
.acard-text { font-size: calc(15 * var(--u)); line-height: 1.38; margin: 0; }
.acard-stat { display: flex; flex-direction: column; gap: calc(1 * var(--u)); padding-top: calc(6 * var(--u)); border-top: calc(1.5 * var(--u)) dashed currentColor; }
.acard-stat span { font-size: calc(11.5 * var(--u)); font-weight: 700; letter-spacing: calc(1 * var(--u)); text-transform: uppercase; }
.acard-stat strong { font-size: calc(15 * var(--u)); line-height: 1.3; }
.acard-pill { left: calc(20 * var(--u)); bottom: calc(26 * var(--u)); height: calc(34 * var(--u)); background: var(--bg); border: calc(3 * var(--u)) solid var(--ink); border-radius: 999px; padding: 0 calc(14 * var(--u)); display: flex; align-items: center; transform: rotate(3deg); }
.acard-pill svg { display: block; height: calc(22 * var(--u)); width: auto; }
.acard-back-pill { left: 50%; top: 50%; height: calc(46 * var(--u)); background: var(--bg); border: calc(4 * var(--u)) solid var(--ink); border-radius: 999px; padding: 0 calc(18 * var(--u)); display: flex; align-items: center; transform: translate(-50%, -50%) rotate(-4deg) scale(1.6); }
.acard-back-pill svg { display: block; height: calc(28 * var(--u)); width: auto; }
.acard-flip { display: grid; perspective: 1400px; }
.acard-flip > .acard { grid-area: 1 / 1; backface-visibility: hidden; transition: transform .7s cubic-bezier(.3, .7, .3, 1); }
.acard-flip > .acard-back { transform: rotateY(180deg); }
.acard-flip.is-back > .acard:not(.acard-back) { transform: rotateY(-180deg); }
.acard-flip.is-back > .acard-back { transform: rotateY(0); }
@media (prefers-reduced-motion: reduce) { .acard-flip > .acard { transition: none; } }
@media (max-width: 719px) {
  /* Une carte à la fois, sur toute la largeur de l'écran : ses petits textes restent lisibles. */
  .acards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 8px 8px 12px; margin: 0 -16px; scrollbar-width: none; }
  .acards::-webkit-scrollbar { display: none; }
  .acard-slot { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .acard-dots { display: flex; justify-content: center; gap: 8px; margin-top: -12px; }
  .acard-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: transparent; }
  .acard-dots button[aria-current="true"] { background: var(--ink); }
  /* Haut de page plus court : la première carte remonte, le partage passe sous les cartes. */
  .theme-top { padding-bottom: 20px !important; }
  .theme-top .h-xl { font-size: 40px; }
  .theme-top .lead { font-size: 16px; }
  .theme-top .theme-actions .btn-pink { display: none; }
  .cards-section .share-head { display: contents; }
  .cards-section .share-head .muted { display: none; }
  .cards-section .share-tools { order: 3; justify-content: center; flex-wrap: wrap !important; padding-top: 8px; border-top: 2px dashed var(--ink); }
  .cards-section .share-tools::before { content: "Les 6 cartes d’un coup"; flex-basis: 100%; text-align: center; font-weight: 700; }
}
@media (min-width: 720px) { .acard-dots { display: none; } }
@media print { .acard { box-shadow: none !important; break-inside: avoid; } .acard-back { display: none; } .acard-flip > .acard { transform: none !important; } }
.share-btn { font-size: 16px; min-height: 48px; }

@media (min-width: 900px) { .acards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; } }

/* FAQ cliquable */
details.faq { padding: 0; overflow: hidden; transition: box-shadow .15s ease; }
details.faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: inherit; transition: background .15s ease; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: '+'; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; background: var(--white); transition: transform .2s ease, background .2s ease; }
details.faq > summary:hover { background: var(--yellow); }
details.faq > summary:hover::after { background: var(--pink); }
details.faq[open] > summary { background: var(--pink-soft); }
details.faq[open] > summary::after { transform: rotate(45deg); background: var(--pink); }
details.faq > p, details.faq > .faq-body { padding: 0 24px 22px; }
.faq-body { display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }
details.faq:hover { box-shadow: 6px 6px 0 var(--ink); }
.check > span { display: inline; }
.gender.invalid label { border-color: #D6004C; box-shadow: 0 0 0 2px #D6004C; }

/* Étape e-mail */
dialog.gate { max-width: min(520px, calc(100vw - 32px)); }
dialog.gate::backdrop { background: rgba(255, 241, 246, .55); backdrop-filter: blur(4px); }

/* Partage */
.share-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.share-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.net-row { display: flex; gap: 8px; flex-wrap: wrap; }
.net-logo { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); border: 0; cursor: pointer; padding: 0; transition: background .15s ease, transform .15s ease; }
.net-logo:hover { background: var(--pink); transform: translateY(-2px); }
.net-logo:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.net-logo[disabled] { opacity: .6; cursor: wait; }
/* Logos sobres, comme la signature e-mail : glyphe blanc dans un rond encre. */
.card-actions { display: flex; gap: 10px; width: 100%; }
.card-actions .share-btn { flex: 1; min-height: 48px; font-size: 16px; }
.icon-btn { width: 52px; min-height: 48px; padding: 0; }
.share-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 12px; box-shadow: 5px 5px 0 var(--ink); }
.net-btn { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 14px 6px 6px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); font: 700 15px var(--body); color: var(--ink); cursor: pointer; text-align: left; transition: background .15s ease; }
.net-btn .brand-ico, .net-btn > svg { flex: 0 0 auto; box-sizing: content-box; padding: 7px; border-radius: 50%; background: var(--ink); color: var(--white); stroke-width: 2; }
.net-btn > svg:not(.brand-ico) { stroke: var(--white); }
.net-btn:hover { background: var(--pink-soft); }
.net-btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Thème natal calculé ---------- */
.natal { background-color: var(--bg); background-image: radial-gradient(#FFD6EA 1.6px, transparent 1.8px); background-size: 22px 22px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.natal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1000px) { .natal-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.natal-card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.natal-card-head, .fact-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.natal-card-head h3 { font-size: 26px; }
.mono { font-family: 'DM Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wheel { max-width: 600px; }
.wheel-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; font-weight: 700; justify-content: center; }
.wheel-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.wheel-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink); display: inline-block; }
.wheel-legend b { width: 20px; height: 4px; border-radius: 2px; display: inline-block; }
.wheel-legend em { font-style: normal; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 99px; padding: 0 6px; font-size: 11px; margin-right: 2px; }
.natal .table-wrap { border: 2px solid var(--ink); border-radius: 16px; }
.natal table.positions { min-width: 460px; font-size: 15px; }
.natal .positions th[scope="row"] { background: none; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.natal .positions td, .natal .positions th { padding: 9px 12px; }
.pdot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; background: #fff; box-shadow: 2px 2px 0 var(--ink); }
.pdot.angle { font-size: 10px; font-weight: 800; }
.facts .pdot { width: 24px; height: 24px; font-size: 12px; vertical-align: middle; margin-right: 4px; }
.sgn { display: inline-flex; width: 24px; height: 24px; border-radius: 7px; align-items: center; justify-content: center; background: var(--el); color: var(--elink); border: 1.5px solid var(--ink); margin-right: 8px; font-size: 13px; vertical-align: middle; }
.hpill { display: inline-flex; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--bg); border: 1.5px solid var(--ink); align-items: center; justify-content: center; font-family: 'DM Mono', monospace; font-size: 13px; }
.rbadge { display: inline-block; font-size: 11px; font-weight: 800; background: var(--pink); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; padding: 0 5px; margin-left: 4px; }
.facts { gap: 18px; align-items: stretch; }
.fact { border: 3px solid var(--ink); border-radius: 22px; padding: 18px 20px; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; }
.fact .k { color: var(--ink); font-size: 13px; font-weight: 800; }
.fact .v { font-size: 20px; line-height: 1.35; }
.fact .s { font-size: 14px; line-height: 1.5; }
.c-pinksoft { background: #FFE3F0; } .c-yellowsoft { background: #FFF4C7; } .c-bluesoft { background: #E3E7FF; } .c-whitesoft { background: #FFFFFF; }
.asp { display: inline-block; width: 16px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.asp.h { background: var(--blue); } .asp.t { background: var(--pink); } .asp.c { background: var(--ink); }
.bar span:first-child { text-transform: capitalize; font-weight: 700; }
.bar i { border: 1.5px solid var(--ink); height: 12px; }
.help-btn { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); font: 800 17px var(--display); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.help-btn:hover { background: var(--pink); }
.help-btn[aria-expanded="true"] { background: var(--ink); color: var(--white); }
.help-panel { background: var(--ink); color: var(--bg); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.55; }
.help-panel strong { font-family: var(--display); font-size: 18px; color: var(--yellow); }
.help-pro { border-top: 1px dashed rgba(255,241,246,.4); padding-top: 8px; font-size: 13.5px; opacity: .92; }
.help-pro span { display: inline-block; background: var(--pink); color: var(--ink); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; border-radius: 6px; padding: 1px 6px; margin-right: 6px; }
@media (max-width: 560px) {
  .natal table.positions { min-width: 0; font-size: 13px; }
  .natal .positions th[scope="row"] { font-size: 13px; }
  .natal .positions td, .natal .positions th { padding: 8px 5px; }
  .natal .positions .sname { display: none; }
  .natal .positions .sgn { margin-right: 0; }
  .natal .pdot { width: 26px; height: 26px; font-size: 13px; }
  .natal-card { padding: 14px; }
}

/* ---------- Compatibilité ---------- */
.compat-form { display: grid; gap: 18px; align-items: start; }
.compat-ctx { grid-column: 1 / -1; }
.compat-ctx legend { font-weight: 800; }
.syn-rel legend { color: var(--white); }
.syn-rel label { color: var(--ink); }
.compat-person { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.compat-plus { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--pink); text-align: center; line-height: 1; }
.compat-submit { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (min-width: 900px) {
  .compat-form { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .compat-plus { padding-top: 14px; }
  .compat-submit { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .compat-submit .form-error { flex-basis: 100%; }
}
.compat-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.compat-head .who { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.compat-head .who small { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.compat-title { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.compat-title h2 { font-size: clamp(28px, 4vw, 44px); }
.compat-title p { font-size: 18px; max-width: 620px; }
.cboxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; align-items: stretch; }
.cbox { border: 3px solid var(--ink); border-radius: 22px; padding: 18px 20px; box-shadow: 5px 5px 0 var(--ink); background: var(--white); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cbox .fact-head h3 { margin: 0; }
.cbox h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-family: 'DM Sans', sans-serif; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.cbox p { font-size: 15px; line-height: 1.55; margin: 0; }
.cbox ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.cbox.flag { background: #FFE3EF; border-color: #D6004C; box-shadow: 5px 5px 0 #D6004C; }
.cbox.flag h3 { color: #B0003F; }
.cbox.work { background: #FFF6CC; }
.cbox.link { background: #E6E9FF; }
.cbox .fix { font-weight: 700; }
.cbox .fix::before { content: '→ '; }
.flag-ico { display: inline-flex; width: 22px; height: 22px; }
.syn-item { padding: 16px 0; border-top: 2px dashed rgba(26,20,70,.18); }
.syn-item:first-child { border-top: 0; }
.syn-item h4 { font-size: 18px; margin: 0 0 6px; font-family: var(--display); }
.syn-item .orb { font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.syn-item .nat { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 99px; border: 1.5px solid var(--ink); margin-right: 8px; vertical-align: 2px; }
.nat-harm { background: #C9D0FF; } .nat-tens { background: #FFB3D6; } .nat-conj { background: var(--yellow); }
.syn-item .fix { margin-top: 8px; padding: 10px 14px; border-radius: 14px; background: #FFF6CC; border: 1.5px solid var(--ink); font-weight: 500; }
.syn-item .fix b { font-weight: 800; }
.domain-bars { display: grid; gap: 14px; margin-top: 16px; }
.domain-bars .row-b { display: grid; grid-template-columns: 170px minmax(0, 1fr) 56px; gap: 16px; align-items: center; font-weight: 700; }
.domain-bars .track { height: 16px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--white); }
.domain-bars .track i { display: block; height: 100%; }
.how { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 12px; }
@media (max-width: 560px) {
  .compat-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .compat-head .avatar { width: 60px; height: 60px; font-size: 24px; }
  .compat-head .score { font-size: 42px; padding: 0 10px; border-radius: 14px; }
  .compat-head .who strong { font-size: 15px; }
  .compat-head .who small { font-size: 11px; }
  .domain-bars .row-b { grid-template-columns: 118px minmax(0, 1fr) 46px; gap: 10px; font-size: 14px; }
}
.day-grid { display: grid; gap: 28px; align-items: start; }
.day-card { max-width: 380px; width: 100%; }
.day-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (min-width: 860px) { .day-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 40px; } }
.week-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); grid-auto-rows: 1fr; gap: 14px; margin-top: 16px; }
.week-day { border: 2.5px solid var(--ink); border-radius: 18px; padding: 14px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; box-shadow: 4px 4px 0 var(--ink); }
.week-day:nth-child(3n+1) { background: #FFE3EF; } .week-day:nth-child(3n+2) { background: #E6E9FF; } .week-day:nth-child(3n) { background: #FFF6CC; }
.wd-head { display: flex; flex-direction: column; gap: 2px; }
.wd-head strong { font-family: var(--display); font-size: 18px; text-transform: capitalize; }
.wd-moon { font-size: 13px; font-weight: 700; }
.wd-mood { font-weight: 700; font-size: 15px; line-height: 1.45; margin: 0; }
.wd-move, .wd-bonus { font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- Compatibilité : bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; color: var(--ink); }
.bt { border: 3px solid var(--ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; background: var(--white); min-width: 0; }
.bt p { margin: 0; font-size: 16px; line-height: 1.55; }
.bt-k { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.bt-k-red { color: #B0003F; font-size: 13px; }
.bt-ico { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.bt-ico-blue { background: var(--blue); }
.bt-ico-pink { width: 40px; height: 40px; background: var(--pink); }
.bt-score { grid-column: span 5; grid-row: span 3; background-color: var(--blue); background-image: radial-gradient(#5A6CFF 2.6px, transparent 2.9px); background-size: 16px 16px; color: var(--white); box-shadow: 8px 8px 0 var(--ink); padding: 28px; gap: 16px; }
.bt-who { display: flex; justify-content: space-between; gap: 10px; }
.bt-person { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; }
.bt-right { text-align: right; }
.bt-av { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; background: var(--white); color: var(--ink); border: 3px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.bt-av-y { background: var(--yellow); }
.bt-pct { align-self: center; font-family: var(--display); font-weight: 800; font-size: clamp(80px, 9vw, 116px); line-height: 1; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); text-shadow: 6px 6px 0 var(--ink); }
.bt-score h2 { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.05; color: var(--white); }
.bt-score p { font-size: 17px; }
.bt-help { margin-top: auto; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 18px; padding: 10px 14px; font-size: 14px; font-weight: 700; }
.bt-help .help-panel { margin-top: 10px; font-weight: 400; }
.bt-link { grid-column: span 7; background: #E6E9FF; box-shadow: 6px 6px 0 var(--blue); }
.bt-link p { font-size: 17px; line-height: 1.6; }
.bt-dyn { grid-column: span 4; background: var(--yellow); }
.bt-dyn p { font-size: 14px; line-height: 1.5; }
.bt-dyn .bt-head { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; }
.bt-el { grid-column: span 3; background: var(--pink); }
.bt-el p { font-size: 14px; line-height: 1.5; font-weight: 500; }
.bt-love { grid-column: span 7; flex-direction: row; align-items: center; gap: 20px; }
.bt-love > div { display: flex; flex-direction: column; gap: 6px; }
.bt-title { grid-column: span 12; margin: 14px 0 0; font-size: clamp(24px, 3vw, 32px); display: flex; align-items: center; gap: 12px; }
.bt-flag { grid-column: span 6; background: #FFE3EF; border-color: #D6004C; box-shadow: 6px 6px 0 #D6004C; }
.bt-fix { font-size: 15px !important; background: #FFF6CC; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; }
.bt-cta { grid-column: span 12; display: flex; justify-content: center; padding-top: 10px; }
@media (max-width: 899px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bt-score, .bt-link, .bt-love, .bt-title, .bt-flag, .bt-cta { grid-column: 1 / -1; grid-row: auto; }
  .bt-dyn, .bt-el { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bt-dyn, .bt-el { grid-column: 1 / -1; }
  .bt { padding: 18px 20px; }
}
.bt-cta { flex-wrap: wrap; gap: 14px; }
.bt-cta .btn-ink svg { vertical-align: -3px; margin-right: 4px; }
.send-menu { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-width: 760px; }
.send-menu.hidden { display: none; }

/* ---------- Compatibilité : face à face (3-B) ---------- */
.vs { display: flex; flex-direction: column; gap: 22px; color: var(--ink); }
.vs-head { background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); padding: 22px 30px; display: flex; align-items: center; gap: 26px; }
.vs-avs { display: flex; flex: 0 0 auto; }
.vs-avs .bt-av { width: 66px; height: 66px; font-size: 28px; }
.vs-avs .bt-av + .bt-av { margin-left: -16px; }
.bt-av-b { background: var(--blue); color: var(--white); }
.vs-titles { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vs-who { font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: pre-wrap; }
.vs-titles h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.vs-titles p { margin: 0; font-size: 16px; }
.vs-score { flex: 0 0 auto; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 80px); line-height: 1; background: var(--pink); border: 3px solid var(--ink); border-radius: 22px; padding: 4px 16px; transform: rotate(-3deg); box-shadow: 5px 5px 0 var(--ink); }
.vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 14px 10px; align-items: stretch; }
.vs-col { display: flex; align-items: center; gap: 10px; font-size: 28px; margin: 0; }
.vs-col .bt-ico { width: 36px; height: 36px; }
.vs-ok, .vs-flag { border: 3px solid var(--ink); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vs-ok { background: #E6E9FF; box-shadow: 5px 5px 0 var(--blue); }
.vs-flag { background: #FFE3EF; border-color: #D6004C; box-shadow: 5px 5px 0 #D6004C; }
.vs-ok p, .vs-flag p { margin: 0; font-size: 15px; line-height: 1.55; }
.vs-badge { align-self: center; justify-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; }
.vs-love { grid-column: 1 / -1; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); padding: 18px 22px; display: flex; gap: 18px; align-items: center; }
.vs-love > div { display: flex; flex-direction: column; gap: 4px; }
.vs-love p { margin: 0; font-size: 16px; line-height: 1.5; }
.vs-help { align-self: center; max-width: 640px; width: 100%; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 10px 16px; font-weight: 700; font-size: 14px; }
.vs-help .help-panel { margin-top: 10px; font-weight: 400; }
.send-menu { justify-content: center; }
@media (max-width: 760px) {
  .vs-head { flex-wrap: wrap; padding: 18px 20px; gap: 14px; }
  .vs-titles { flex-basis: 100%; order: 3; }
  .vs-score { margin-left: auto; }
  .vs-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vs-col, .vs-spacer { display: none; }
  .vs-badge { width: 42px; height: 42px; font-size: 14px; margin: -4px 0; }
  .vs-ok::before { content: 'Ça matche'; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--blue); }
  .vs-flag::before { content: 'Ça coince'; font-family: var(--display); font-weight: 800; font-size: 20px; color: #D6004C; }
}

/* ---------- Titre d'accueil : machine à sous ---------- */
.slot { height: 1.2em; overflow: hidden; vertical-align: bottom; line-height: 1.2em; }
.slot-col { display: block; transition: transform .45s cubic-bezier(.7,-0.35,.3,1.35); }
.slot-col.snap { transition: none; }
.slot-col > span { display: block; height: 1.2em; line-height: 1.2em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .slot-col { transition: none; } }

/* ---------- Page « Bientôt disponible » ---------- */
.soon-logo { display: block; width: 144px; height: auto; }
.soon { min-height: calc(100vh - 220px); display: flex; align-items: center; }
.soon-grid { display: grid; gap: 48px; align-items: center; width: 100%; }
@media (min-width: 900px) { .soon-grid { grid-template-columns: 1.3fr 1fr; } }
.soon-lead { font-size: clamp(18px, 2vw, 22px); max-width: 560px; }
.soon-form { max-width: 560px; }
.soon-row { align-items: stretch; }
.soon-row .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .soon-row .btn { width: 100%; } }
.soon-done { max-width: 560px; }
.soon-cards { position: relative; height: 480px; max-width: 520px; width: 100%; margin: 0 auto; }
.soon-card { position: absolute; width: 230px; }
.soon-card:nth-child(1) { left: 0; top: 50px; transform: rotate(-8deg); }
.soon-card:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%) rotate(2deg); z-index: 1; }
.soon-card:nth-child(3) { right: 0; top: 70px; transform: rotate(9deg); z-index: 2; }
@media (max-width: 520px) { .soon-cards { height: 340px; max-width: 360px; } .soon-card { width: 150px; } .soon-card:nth-child(1) { left: 12px; } .soon-card:nth-child(3) { right: 12px; } }

/* ---------- « Un thème astral, c'est quoi ? » ---------- */
.explain { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--white); }
.explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: stretch; }
.explain-card { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.explain-card h3 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.05; }
.explain-card p { background: var(--bg); border: 2.5px solid var(--ink); border-radius: 18px; padding: 14px 16px; font-size: 16px; line-height: 1.55; margin-top: auto; color: var(--ink); }
.explain-num { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.explain-card:nth-child(1) { transform: rotate(-1deg); } .explain-card:nth-child(3) { transform: rotate(1deg); }
.motif-blue { background-color: var(--blue); background-image: radial-gradient(#5A6CFF 2.6px, transparent 2.9px); background-size: 16px 16px; color: var(--white); }
.motif-blue .explain-num { color: var(--yellow); }
.motif-yellow { position: relative; isolation: isolate; background-color: var(--yellow); background-image: radial-gradient(var(--pink) 2.6px, transparent 2.9px); background-size: 18px 18px; background-position: 4px 4px; }
.motif-yellow::before { content: ""; position: absolute; inset: 16px; z-index: -1; border-radius: 14px; background: var(--yellow); }
.motif-yellow .explain-num { color: var(--ink); }
.motif-pink { background-color: var(--pink); background-image: conic-gradient(rgba(26,20,70,.12) 25%, transparent 0 50%, rgba(26,20,70,.12) 0 75%, transparent 0); background-size: 40px 40px; }
.motif-pink .explain-num { color: var(--ink); }
.motif-pink h3 { color: var(--ink); }
/* Encarts en aplats, comme les blocs de prix et les encadrés du site : couleur pleine, bord et ombre encre, petite étoile cerclée. */
.explain-card.flat { position: relative; padding: 32px 28px; }
.explain-card.flat .explain-num { font-size: clamp(48px, 5vw, 68px); }
.explain-card.flat h3 { font-size: clamp(24px, 2.4vw, 30px); }
.explain-card.flat p { background: none; border: 0; padding: 0; margin-top: 4px; font-size: 17px; line-height: 1.5; color: inherit; }
.explain-card.flat::after { content: ""; position: absolute; top: -20px; right: 22px; width: 48px; height: 48px; transform: rotate(12deg); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%203l6%2014.5%2015.5%201.2-11.8%2010.1%203.7%2015.2L24%2035.8%2010.6%2044l3.7-15.2L2.5%2018.7%2018%2017.5z%22%20fill%3D%22%23FFD23F%22%20stroke%3D%22%231A1446%22%20stroke-width%3D%223.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat; }
.explain-card.flat.c-yellow::after { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%203l6%2014.5%2015.5%201.2-11.8%2010.1%203.7%2015.2L24%2035.8%2010.6%2044l3.7-15.2L2.5%2018.7%2018%2017.5z%22%20fill%3D%22%232E45FF%22%20stroke%3D%22%231A1446%22%20stroke-width%3D%223.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E"); }
.explain-card.flat.c-blue .explain-num { color: var(--yellow); }
.explain-card.flat.c-yellow .explain-num, .explain-card.flat.c-white .explain-num { color: var(--blue); }
.explain-card.flat.c-ink .explain-num { color: var(--yellow); }
.cta-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 24px 32px; }
.cta-bar p { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; }
@media (max-width: 600px) { .cta-bar { padding: 22px; } .cta-bar .btn { width: 100%; justify-content: center; } }
.also { font-size: 18px; max-width: 760px; }

/* Coche discrète « Passer cette étape » (fenêtre e-mail) */
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* Récapitulatif du thème */
.recap { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: 22px; }
.recap-in { background: var(--bg); border: 2.5px solid var(--ink); border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.recap-lead { font-size: 19px; font-weight: 700; line-height: 1.4; }
.recap ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.recap-close { font-weight: 800; color: var(--pink); }
@media (max-width: 600px) { .recap { padding: 12px; } .recap-in { padding: 18px; } }

/* Synastrie : jauges offertes, encadrés harmonisés, contenu du rapport */
.syn-gauges { border: 3px solid var(--ink); border-radius: 22px; padding: 20px 22px; background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.syn-gauges h3, .cbox h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-family: 'DM Sans', sans-serif; font-weight: 800; }
.syn-gauges .domain-bars { margin: 14px 0 12px; }
.cboxes-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cbox .cbox-red { color: #B0003F; }
.unlock-list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; text-align: left; max-width: 560px; }
.unlock-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.unlock-list .bt-ico { flex: none; margin-top: 1px; }
@media print {
  body.print-syn main > section:not(#synastrie), body.print-syn #synastrie > .wrap > :not(#c-syn) { display: none !important; }
  body.print-syn #synastrie { background: #fff; color: var(--ink); }
}

/* Page Astrid+ */
.compare-wrap { overflow-x: auto; padding: 0 8px 8px 0; }
.plus-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.plus-grid .explain-card:nth-child(4) { transform: rotate(-.6deg); }
.plus-grid .explain-card.flat .explain-num { font-size: clamp(34px, 3.2vw, 46px); white-space: nowrap; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 2px solid #E9E2F2; font-size: 16px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare thead th { background: var(--ink); color: var(--white); font-weight: 800; }
.compare thead th:last-child { background: var(--pink); color: var(--ink); }
.compare td:last-child { background: #FFF0F7; }
.compare tbody th { font-weight: 700; }
.plus-punch { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: var(--pink); }
.reassure { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.reassure > div { border: 3px solid var(--ink); border-radius: 22px; background: var(--white); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.reassure span { font-size: 15px; line-height: 1.45; }
@media (max-width: 600px) { .compare th, .compare td { padding: 10px; font-size: 14px; } }

/* Encadré membre Astrid+ */
.member { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: 18px; background-color: var(--blue); background-image: radial-gradient(#5A6CFF 2.6px, transparent 2.9px); background-size: 16px 16px; }
.member-in { background: var(--bg); border: 2.5px solid var(--ink); border-radius: 18px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.member-in h2 { font-size: clamp(22px, 2.6vw, 30px); }
.member-in p { margin: 4px 0 0; }
.member-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.member-actions a.small { font-size: 14px; font-weight: 700; color: var(--ink); }
.locked-flow .blur { position: absolute; inset: 0; max-height: none; }
.locked-flow .unlock { position: relative; inset: auto; padding: 48px 24px; background: linear-gradient(180deg, rgba(255,241,246,.55) 0%, rgba(255,241,246,.94) 30%); }
.cbox.c-bluesoft { background: #E3E7FF; } .cbox.c-pinksoft { background: #FFE3F0; } .cbox.c-yellowsoft { background: #FFF4C7; }
#c-syn .unlock a { color: var(--blue); }

/* Synastrie (refonte du 14/10/2026) : même mise en forme que la consultation du thème. */
.syn-toc { gap: 12px; padding: 18px 20px; }
.syn-toc h3, .syn-distinct h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-family: 'DM Sans', sans-serif; font-weight: 800; margin: 0 0 10px; }
.syn-distinct { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.syn-distinct p { margin: 0; font-size: 16px; line-height: 1.6; }
.syn-head .cboxes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.syn-head .cbox .orb, .syn-item .orb { font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.syn-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 4px 0; max-width: none; }
.prose .syn-duo { width: 100%; }
.syn-duo .cbox { box-shadow: 4px 4px 0 var(--ink); }
.syn-duo .cbox p { font-size: 16px; line-height: 1.6; }
.syn-duo .cbox p::first-letter { all: unset; }
.syn-who { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-size: 20px; }
.syn-av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.syn-k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.syn-what { color: var(--ink-soft); }
.syn-sub { font-family: var(--display); font-size: 22px; margin: 10px 0 -4px; }
.syn-item { padding: 14px 0 4px; border-top: 2px dashed rgba(26,20,70,.18); display: flex; flex-direction: column; gap: 8px; }
.syn-item p { margin: 0; }
.syn-item .syn-title { font-size: 17px; }
.syn-fix { padding: 10px 14px; border-radius: 14px; background: #FFF6CC; border: 1.5px solid var(--ink); font-size: 16px; }
.syn-tip { padding: 14px 18px; border-radius: 18px; background: var(--pink-soft, #FFE3F0); border: 2px solid var(--ink); }
.vs-hook { font-weight: 700; }
.vs-advice { grid-column: 1 / -1; border: 3px solid var(--ink); border-radius: 22px; padding: 18px 20px; background: #FFF4C7; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; }
.vs-advice p { margin: 0; font-size: 16px; line-height: 1.55; }
.vs-ok p, .vs-flag p { font-size: 16px; line-height: 1.55; }
.net-copy, .net-native { font-weight: 700; }
.panel .toc a, .section-dark .panel .toc a { color: var(--ink); }
.cbox .more { font-size: 14px; color: var(--ink-soft); font-style: italic; }

@media (max-width: 600px) { .syn-toc { padding: 14px 12px; } }
@media (max-width: 600px) { .toc .lock-ico { display: none; } }

html { scroll-padding-top: 108px; }
@media (max-width: 900px) { html { scroll-padding-top: 88px; } }
/* Lien vers la synastrie (« Comparer nos deux thèmes complets ») : l'encadré foncé commence juste sous l'en-tête (74 px), sans bande de la section précédente. */
#synastrie { scroll-margin-top: -34px; }
@media (max-width: 900px) { #synastrie { scroll-margin-top: -14px; } }
.card-actions.net-row { gap: 6px; flex-wrap: wrap; }
.card-actions .net-logo { width: 36px; height: 36px; }
.card-actions.net-row { gap: 5px; }
.share-tools { gap: 8px; }
/* Mobile : icônes de partage à 44 px, la taille de doigt recommandée (audit, point 20). */
@media (max-width: 600px) { .net-row { gap: 6px; } .net-row .net-logo, .share-tools .net-logo, .card-actions .net-logo { width: 44px; height: 44px; } .share-tools { flex-wrap: wrap; } .card-actions.net-row { display: grid; grid-template-columns: repeat(4, 44px); justify-content: center; gap: 8px 12px; } }
.gate-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .gate-actions { grid-template-columns: 1fr 1fr; } }
/* Bloc technique replié en bas du thème : « Pour les curieux ». */
.curious > summary { list-style: none; cursor: pointer; }
.curious > summary::-webkit-details-marker { display: none; }
.curious-open { font-weight: 800; text-decoration: underline; white-space: nowrap; }
.curious-open::after { content: ' ▾'; }
.curious[open] .curious-open { display: none; }
.curious[open] > summary { margin-bottom: 32px; }
.unlock-q { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; text-align: left; max-width: 560px; }
.unlock-q li { background: var(--white); border: 2.5px solid var(--ink); border-radius: 16px; padding: 12px 16px; font-weight: 700; line-height: 1.35; }
.unlock-q .n { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; color: var(--pink); margin-bottom: 4px; }
.after-buy { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); background: var(--yellow); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.love-teaser { display: flex; flex-direction: column; gap: 14px; background: #FFE3F0; max-width: 760px; }
.love-kicker { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; color: var(--pink); }
.reading-wait { display: flex; flex-direction: column; gap: 12px; font-weight: 700; }
/* Le grand jeu : l'offre groupée, sous Ton année */
.pack { border: 3px solid var(--ink); border-radius: 28px; background: var(--yellow); padding: 28px 22px; box-shadow: 6px 6px 0 var(--ink); }
.pack-in { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
@media (min-width: 720px) { .pack { padding: 40px 48px; } }

/* ---------- Cartes cadeaux ---------- */
.gift-choice { border: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gift-choice legend { margin-bottom: 10px; }
.gift-choice label { display: flex; align-items: center; gap: 14px; border: 2px solid var(--ink); border-radius: 18px; padding: 12px 16px; cursor: pointer; background: var(--white); }
.gift-choice label:has(input:checked) { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.gift-choice input { accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.gift-choice span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gift-choice em { font-style: normal; font-size: 14px; opacity: .8; }
.gift-choice b { font-family: var(--display); font-size: 20px; white-space: nowrap; }
.field textarea { border: none; background: transparent; font: 400 17px/1.4 var(--body); color: var(--ink); padding: 6px 0; width: 100%; resize: vertical; }
.field textarea:focus { outline: none; }
.gift-wrap { max-width: 520px; }
/* Carte cadeau à l'écran : la face de l'enveloppe, puis l'intérieur (le mot, puis le code). Validée le 20/10. */
.gift-env { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 8px 8px 0 var(--ink); background: var(--white); }
.gift-inside { margin-top: 22px; border: 3px solid var(--ink); border-radius: 14px; background: var(--white); overflow: hidden; }
.gift-inside .gi-msg { background: var(--cream, #FFF1F6); }
.gi-msg { padding: 26px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.gi-text { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; max-width: 30ch; }
.gi-from { margin: 0; font-size: 14px; color: var(--ink-soft); }
.gi-code { padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; border-top: 2px dashed var(--ink); }
.gi-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #E5338A; }
.gi-code code, .gp-bot code { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 16px; font-size: 22px; letter-spacing: 2px; font-weight: 700; }
.gi-how { margin: 0; font-size: 14px; line-height: 1.45; max-width: 36ch; }
/* Choix du motif et idées de mot dans le formulaire. */
.gift-motifs { border: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gift-motifs legend { margin-bottom: 10px; }
.gift-motifs label { display: flex; flex-direction: column; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 700; text-align: center; }
.gift-motifs input { position: absolute; opacity: 0; pointer-events: none; }
.gift-motifs svg { display: block; width: 100%; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 14px; }
.gift-motifs label:has(input:checked) svg { box-shadow: 4px 4px 0 var(--ink); outline: 3px solid var(--yellow); outline-offset: 2px; }
.gift-motifs label:has(input:focus-visible) svg { outline: 3px solid var(--blue); outline-offset: 2px; }
.gift-ideas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gift-ideas span { font-size: 14px; color: var(--ink-soft); }
.gift-ideas button { min-height: 44px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font: 700 14px/1 var(--body); color: var(--ink); cursor: pointer; }
.gift-ideas button:hover { background: var(--yellow); }
.gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gift-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(0,0,0,.12); padding-bottom: 8px; }
.gift-banner { margin-top: 18px; }
@media (max-width: 720px) { .gift-to { font-size: 32px; } .gift-choice label { padding: 10px 12px; gap: 10px; } }

/* Carte cadeau à imprimer : une feuille A4, trois panneaux de 150 × 92 mm et deux languettes, pliée en enveloppe.
   Les couleurs imprimées sont celles qu'une imprimante de bureau rend bien (carte-cadeau.js, forPrint). */
.gift-print { display: none; }
@page giftcard { size: A4 portrait; margin: 0; }
@media print {
  body.print-gift header, body.print-gift footer, body.print-gift .no-print, body.print-gift #g-redeem, body.print-gift #g-shop, body.print-gift #g-view h1, body.print-gift #g-view .lead, body.print-gift .gift-wrap { display: none !important; }
  body.print-gift main, body.print-gift .section, body.print-gift .wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  body.print-gift { background: #fff !important; }
  body.print-gift .gift-print { display: block; page: giftcard; width: 210mm; height: 296mm; position: relative; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; color: #1A1446; }
}
.gp-lines { position: absolute; inset: 0; width: 210mm; height: 297mm; z-index: 2; pointer-events: none; }
.gp-front, .gp-mid, .gp-bot { position: absolute; left: 30mm; width: 150mm; height: 92mm; box-sizing: border-box; overflow: hidden; }
.gp-front { top: 6mm; transform: rotate(180deg); }
.gp-front > svg { display: block; width: 150mm; height: 92mm; }
.gp-mid { top: 98mm; background: #FFF1F6; display: flex; }
.gp-mid .gi-msg { flex: 1; padding: 8mm 14mm; gap: 3mm; }
.gp-mid .gi-text { font-size: 17pt; max-width: none; }
.gp-mid .gi-from { font-size: 10pt; color: #4A4470; }
.gp-bot { top: 190mm; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.5mm; text-align: center; padding: 6mm 14mm; }
.gp-bot .gi-kicker { font-size: 8pt; letter-spacing: 1.2pt; }
.gp-bot code { font-size: 16pt; padding: 2mm 5mm; border-width: 0.6mm; border-radius: 2.5mm; background: #FFD500; }
.gp-bot .gi-how { font-size: 9pt; max-width: 110mm; }
.gp-howto { position: absolute; left: 30mm; width: 150mm; top: 283.5mm; margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5mm 6mm; font-size: 6.5pt; line-height: 1.25; color: #4A4470; }
.gp-howto li { counter-increment: s; }
.gp-howto li::before { content: counter(s) ". "; font-weight: 700; }

/* Accessibilité (tests du 19/10) : zones tactiles agrandies par un calque transparent, sans rien changer à l'affichage. */
.site-header .logo, .help-btn, #t-pack-restore, .site-footer nav a { position: relative; }
.site-header .logo::after, .help-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
#t-pack-restore::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
/* Pied de page : la zone remplit les espaces entre liens (6 px / 20 px), sans chevauchement. */
.site-footer nav a::after { content: ""; position: absolute; inset: -3px -10px; }
/* Points du carrousel (mobile) : 12 px affichés, 20 × 44 px cliquables (pas de chevauchement entre points espacés de 8 px). */
.acard-dots button { position: relative; }
.acard-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 44px; transform: translate(-50%, -50%); }
/* Pastille jaune dans une section foncée : texte encre comme partout ailleurs (le crème sur jaune était illisible, 1,3:1). */
.section-dark .pill-yellow { color: var(--ink); }
/* Boutons dans une section foncée : texte encre, comme au survol (le jaune sur rose était illisible, 2,1:1). Décision du 19/10. */
.section-dark a.btn-pink, .section-dark a.btn-yellow { color: var(--ink); }
/* Thème et carte du jour : la page entière est composée par le script. Elle reste invisible (en gardant sa place)
   jusqu'à ce qu'il ait fini, pour ne plus « sauter » au chargement ; elle s'affiche quoi qu'il arrive après 3 s. */
[data-page="theme"] :is(main, .site-footer), [data-page="today"] :is(main, .site-footer) { visibility: hidden; animation: page-reveal 0s 3s forwards; }
body.page-ready :is(main, .site-footer) { visibility: visible; animation: none; }
@keyframes page-reveal { to { visibility: visible; } }

/* ---------- Accueil : encart carte cadeau (offrir ou saisir un code) ---------- */
.gift-cta { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.gift-cta > .stack { flex: 1 1 320px; }

/* Page « Calcule ton ascendant » : les 12 ascendants, une carte par signe (aplats, bord et ombre encre) */
.asc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 24px; margin: 0; }
.asc-card { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.asc-card dt { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.2vw, 40px); line-height: 1; color: var(--blue); }
.asc-card dt span { display: block; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.asc-card dd { margin: 0; font-size: 17px; line-height: 1.5; }
.asc-card dd strong { display: block; margin-top: 8px; font-size: 18px; }
.asc-card.c-blue dt, .asc-card.c-blue dt span { color: var(--yellow); }
.asc-card.c-blue dt span { color: var(--white); }
.asc-card.c-pink dt { color: var(--ink); }
/* Sommaire « Comprendre ton ciel » : chaque bloc est un lien */
.guide-link { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.guide-link:hover { box-shadow: 8px 8px 0 var(--ink); }
.guide-link .btn { align-self: flex-start; margin-top: auto; }

/* Signe lunaire : calendrier lunaire de nuit, une phase de Lune par signe */
.moon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 40px; margin: 0; }
.moon-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 2px dashed rgba(255, 241, 246, .3); }
.moon-ph { flex: none; width: 52px; height: 52px; }
.moon-item .zi { width: 52px; height: 52px; padding: 10px; background: var(--bg); border-color: var(--yellow); box-shadow: none; }
.moon-item dt { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; color: var(--yellow); }
.moon-item dt span { font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--bg); margin-right: 4px; }
.moon-item dd { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--bg); }
.moon-item dd strong { display: block; margin-top: 4px; color: var(--white); }
.night .cta-bar { background: var(--blue); }

/* Horoscope 2027 : pages d'éphéméride, anneaux en haut, bas prédécoupé */
.cal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 34px 24px; margin: 0; }
.cal-page { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); overflow: visible; }
.cal-page::before, .cal-page::after { content: ""; position: absolute; top: -14px; width: 12px; height: 26px; border: 3px solid var(--ink); border-radius: 8px; background: var(--bg); }
.cal-page::before { left: 28%; } .cal-page::after { right: 28%; }
.cal-page dt { background: var(--blue); color: var(--yellow); border-bottom: 3px solid var(--ink); border-radius: 15px 15px 0 0; padding: 22px 22px 14px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 36px); line-height: 1; }
.cal-page dt span { display: block; font-size: 15px; color: var(--white); margin-bottom: 6px; letter-spacing: .08em; }
.cal-page:nth-child(3n+2) dt { background: var(--ink); }
.cal-page:nth-child(3n) dt { background: var(--yellow); color: var(--ink); } .cal-page:nth-child(3n) dt span { color: var(--ink); }
.cal-page dd { margin: 0; padding: 16px 22px 22px; font-size: 17px; line-height: 1.5; }
.cal-page dd strong { display: block; margin-top: 8px; }

/* Idées cadeaux : étiquettes sur papier cadeau, avec scotch washi */
.gift-paper { background: url("img/papier-cadeau.svg") repeat; background-size: 180px 120px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.gift-paper .paper-head { background: var(--bg); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px 28px; box-shadow: 6px 6px 0 var(--ink); }
.tag-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 40px 28px; margin: 0; }
.tag { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 14px 14px 14px 14px; padding: 34px 22px 22px 22px; box-shadow: 5px 5px 0 var(--ink); }
.tag::before { content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 3px solid var(--ink); background: var(--bg); }
.tag::after { content: ""; position: absolute; top: -14px; right: 18px; width: 86px; height: 26px; transform: rotate(6deg); opacity: .9; background: repeating-linear-gradient(45deg, var(--washi) 0 8px, color-mix(in srgb, var(--washi) 70%, white) 8px 16px); border-left: 2px dashed rgba(26, 20, 70, .25); border-right: 2px dashed rgba(26, 20, 70, .25); }
.tag.w-yellow { --washi: var(--yellow); } .tag.w-pink { --washi: var(--pink); } .tag.w-blue { --washi: #9AA6FF; }
.tag.r1 { transform: rotate(-1.5deg); } .tag.r2 { transform: rotate(1deg); } .tag.r3 { transform: rotate(-.5deg); }
.tag dt { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.05; color: var(--blue); }
.tag dt span { display: block; font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.tag dd { margin: 10px 0 0; font-size: 17px; line-height: 1.5; }
.tag dd strong { display: block; margin-top: 8px; color: var(--ink); }

/* Page idées cadeaux : offres aux fonds des cartes du thème */
.offer-card { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 40px 18px 18px; border: 3px solid var(--ink); border-radius: 28px; background: var(--fond) center / cover no-repeat; box-shadow: 8px 8px 0 var(--ink); }
.offer-1 { --fond: url("img/fond-carte-1.svg"); } .offer-2 { --fond: url("img/fond-carte-2.svg"); } .offer-3 { --fond: url("img/fond-carte-3.svg"); }
.offer-4 { --fond: url("img/fond-carte-4.svg"); box-shadow: 8px 8px 0 var(--pink); } .offer-5 { --fond: url("img/fond-carte-5.svg"); } .offer-6 { --fond: url("img/fond-carte-6.svg"); }
.offer-bubble { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 3px solid var(--ink); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.offer-bubble .price { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--blue); }
.offer-bubble p { margin: 0; font-size: 16px; line-height: 1.5; }
.offer-bubble .btn { margin-top: auto; }
.offer-dark { background: var(--ink); color: var(--bg); }
.offer-dark .price, .offer-dark strong { color: var(--yellow); }
.offer-5 .offer-bubble { box-shadow: 4px 4px 0 var(--pink); }

/* Pages de compatibilité générées (src/seo/compatibilites.mjs) : duel de deux signes, score au centre */
.crumb { margin: 0; font-size: 15px; color: var(--ink-soft); }
.crumb a { color: inherit; }
.match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; max-width: 720px; }
.match-sign { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px; border: 3px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 30px); text-align: center; }
.match-sign > span { font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.match-sign.c-blue { transform: rotate(-2deg); } .match-sign.c-yellow { transform: rotate(2deg); }
.match-score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(110px, 16vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--pink); color: var(--ink); border: 3px solid var(--ink); text-align: center; }
.match-score strong { font-family: var(--display); font-size: clamp(30px, 4.4vw, 44px); line-height: 1; }
.match-score span { font-size: 14px; font-weight: 700; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.duo-card { padding: 24px; border: 3px solid var(--ink); border-radius: 20px; }
.duo-card h3, .duo-style h3, .duo-flag h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; }
.duo-card p, .duo-style p, .duo-flag p { margin: 0; }
.duo-score { display: block; margin-bottom: 6px; font-family: var(--display); font-weight: 800; font-size: 36px; color: var(--blue); }
.duo-style { display: flex; gap: 16px; align-items: flex-start; }
.duo-glyph { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); font-size: 28px; }
.duo-flag { padding-left: 18px; border-left: 6px solid var(--pink); }
.duo-flag p + p { margin-top: 8px; }
.duo-advice { padding: 24px 28px; background: var(--ink); color: var(--bg); border-radius: 20px; }
.duo-advice h2 { color: var(--yellow); margin: 0 0 8px; }
.duo-advice p { margin: 0; }
.compat-tint { background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.duo-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.duo-links h3 { margin: 0 0 10px; font-family: var(--display); font-size: 20px; }
.duo-links ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.duo-links li { margin: 0 0 8px; break-inside: avoid; }
.duo-links li[aria-current] { font-weight: 700; }
.rank { margin: 0; padding: 0; list-style: none; counter-reset: rank; display: grid; gap: 12px; }
.rank a { counter-increment: rank; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 14px 20px; border: 3px solid var(--ink); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.rank a::before { content: counter(rank); font-family: var(--display); font-weight: 800; font-size: 22px; width: 28px; text-align: center; color: var(--ink-soft); }
.rank a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.rank li:first-child a { background: var(--yellow); }
.rank-glyph { font-size: 28px; }
.rank-name { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.rank-name small { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--ink-soft); }
.rank-score { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--blue); }
@media (max-width: 560px) { .match { gap: 8px; } .match-sign { padding: 16px 6px; font-size: 17px; } .rank a { gap: 10px; padding: 12px 14px; } .rank-name { font-size: 17px; } .rank-score { font-size: 20px; } .duo-links ul { columns: 1; } }
.wrap-compat { max-width: 992px; } .wrap-compat .lead { max-width: none; }

/* Pages de placements générées (src/seo/placements.mjs) : fond bleu nuit et pastille, comme les Lunes de signe-lunaire.html */
.night .crumb { color: rgba(255, 241, 246, .75); }
.place { display: flex; gap: 28px; align-items: flex-start; padding: 28px 0; border-top: 2px dashed rgba(255, 241, 246, .3); border-bottom: 2px dashed rgba(255, 241, 246, .3); }
.place-disc { flex: none; width: 120px; height: 120px; }
.place p, .place-part p, .place-teaser p { margin: 0; }
.place-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; color: var(--yellow); }
.place-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 28px; margin: 6px 0 0; }
.place-stats dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 241, 246, .7); }
.place-stats dd { margin: 4px 0 0; font-weight: 700; color: var(--white); }
.place-what { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--white); }
.place-part h2 { margin: 0 0 8px; color: var(--yellow); }
.place-teaser { padding: 20px 24px; border-radius: 20px; background: var(--blue); color: var(--white); }
.place-teaser h2 { margin: 0 0 8px; }
@media (max-width: 600px) { .place { flex-direction: column; gap: 18px; } .place-disc { width: 88px; height: 88px; } }
.moon-item dt a, .asc-card dt a { color: inherit; text-decoration: none; }
.moon-item dt a:hover, .asc-card dt a:hover { text-decoration: underline; }
.place-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.place-links ul { columns: 1; }
/* Pastilles de signes (Comprendre ton ciel) : couleur par élément, légèrement penchées. */
.zl-group { padding-bottom: 28px; border-bottom: 2px dashed rgba(26, 20, 70, .25); }
.zl-group + .zl-group { padding-top: 12px; }
.zl-group h3 { margin: 0 0 8px; font-family: var(--display); font-size: 24px; display: flex; align-items: center; gap: 12px; }
.zl-group h3 .also-art { width: 46px; height: 46px; }
.zl-group p { margin: 0 0 16px; max-width: 680px; font-size: 17px; line-height: 1.5; }
.zl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 12px; }
.zl a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.zi { display: flex; flex: none; width: 62px; height: 62px; padding: 12px; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s ease; }
.zi svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zl li:nth-child(odd) .zi { transform: rotate(-6deg); }
.zl li:nth-child(even) .zi { transform: rotate(5deg); }
.zl a:hover .zi, .zl a:focus-visible .zi { transform: translate(-2px, -3px); }
.zl a:hover > span, .zl a:focus-visible > span { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.zi-feu { background: #FFB8D9; } .zi-terre { background: #FFE47A; } .zi-air { background: #E8E3F7; } .zi-eau { background: #B9C3FF; }
@media (max-width: 760px) { .zl { grid-template-columns: repeat(3, 1fr); } .zl a { font-size: 14px; } }
/* « Pour aller plus loin » des pages de placements : les 12 signes en tuiles, les autres placements en pastilles */
.more-head { margin: 8px 0 0; font-family: var(--display); font-size: 20px; }
.sign-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sign-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 3px solid var(--ink); border-radius: 18px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; text-align: center; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.sign-tile:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.sign-tile.is-current { background: var(--ink); color: var(--yellow); }
.sign-glyph { font-size: 28px; line-height: 1; }
.also-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.also-link { display: flex; align-items: center; gap: 10px; height: 100%; padding: 8px 12px; border: 3px solid var(--ink); border-radius: 16px; background: var(--yellow); font-size: 15px; color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.also-link:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.also-art { flex: none; display: flex; width: 50px; height: 50px; padding: 4px; border-radius: 50%; background: var(--bg); border: 3px solid var(--ink); }
.also-art svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 760px) { .sign-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .sign-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } .sign-tile { font-size: 14px; } }

/* Pages de recherche : le détail replié, et le formulaire ouvert depuis un bouton fixe. */
details.more > summary { list-style: none; cursor: pointer; width: fit-content; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { display: none; }
details.fold > summary h2 { margin: 0; }
details.fold .duo-flag + .duo-flag, details.fold .duo-flag + p { margin-top: 4px; }
details.place-part { border-top: 2px dashed rgba(255, 241, 246, .3); padding-top: 18px; }
details.place-part > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
details.place-part > summary::-webkit-details-marker { display: none; }
details.place-part > summary h2 { margin: 0; }
details.place-part > summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; transition: transform .2s ease; }
details.place-part[open] > summary::after { transform: rotate(45deg); }
details.place-part[open] > summary { margin-bottom: 10px; }
.sticky-cta { position: fixed; z-index: 30; right: 24px; bottom: 24px; padding: 16px 28px; border: 3px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); font: 700 18px var(--body, inherit); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.sticky-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
body:has(.sticky-cta) .site-footer { padding-bottom: 104px; }
dialog.form-sheet { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: auto; background: var(--bg); }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
dialog.form-sheet h2 { margin: 0; padding-right: 48px; }
@media (max-width: 600px) {
  .sticky-cta { left: 16px; right: 16px; bottom: 16px; text-align: center; }
  dialog.form-sheet { width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; border-bottom: 0; padding: 24px 16px; max-height: 92dvh; }
}

/* Menu « Explorer » : guides, planètes et compatibilités, sur toutes les pages. */
.site-header .wrap { position: relative; }
details.explore > summary { list-style: none; cursor: pointer; font-weight: 500; padding: 12px 14px; border-radius: 999px; }
details.explore > summary::-webkit-details-marker { display: none; }
details.explore > summary::after { content: ' ▾'; font-size: .8em; }
details.explore > summary:hover, details.explore[open] > summary { background: var(--white); }
.explore-panel { position: absolute; top: calc(100% + 8px); right: 16px; width: min(940px, calc(100% - 32px)); z-index: 40; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; padding: 28px 32px; border: 3px solid var(--ink); border-radius: 22px; background: var(--bg); box-shadow: 8px 8px 0 var(--ink); }
.explore-head { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: 19px; }
.explore-col ul:not(.also-links) { margin: 0 0 18px; padding: 0; list-style: none; }
.explore-col ul:not(.also-links) a, .explore-mobile a { display: block; padding: 5px 0; border: 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.explore-col ul:not(.also-links) a:hover { text-decoration: underline; }
.explore-col .also-links { grid-template-columns: 1fr; gap: 10px; }
.explore-col .also-link { padding: 6px 12px; }
.explore-col .also-art { width: 42px; height: 42px; }
.explore-signs { columns: 2; column-gap: 24px; }
.explore-mobile { padding-top: 12px; }
.explore-mobile .explore-head { margin: 12px 0 4px; font-size: 17px; }
.explore-mobile ul { margin: 0; padding: 0; list-style: none; }
.explore-mobile .explore-signs { columns: 2; }
.explore-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .explore-row { grid-template-columns: 1fr; } }
body:has(.mobile-nav.open) .sticky-cta { display: none; }

/* Une étoile sur chaque carte (offres, guides, duos), comme sur les cartes « 1/10 ». */
.plan, .duo-card { position: relative; }
.plan::after, .duo-card::after { content: ""; position: absolute; top: -20px; right: 22px; width: 44px; height: 44px; transform: rotate(12deg); pointer-events: none; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%203l6%2014.5%2015.5%201.2-11.8%2010.1%203.7%2015.2L24%2035.8%2010.6%2044l3.7-15.2L2.5%2018.7%2018%2017.5z%22%20fill%3D%22%23FFD23F%22%20stroke%3D%22%231A1446%22%20stroke-width%3D%223.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat; }
.plan.c-yellow::after, .duo-card.c-yellow::after { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%203l6%2014.5%2015.5%201.2-11.8%2010.1%203.7%2015.2L24%2035.8%2010.6%2044l3.7-15.2L2.5%2018.7%2018%2017.5z%22%20fill%3D%22%232E45FF%22%20stroke%3D%22%231A1446%22%20stroke-width%3D%223.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E"); }
.duo-card::after { width: 34px; height: 34px; top: -16px; }

/* Accueil : offres en 3 colonnes, texte « Et sous les cartes » à la taille du chapeau, encadré cadeau rempli de petits cadeaux. */
@media (min-width: 900px) { .plans-home { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
.also-lead { max-width: 760px; }
.gift-cta-paper { background: url("img/motif-cadeaux.svg") repeat; background-size: 230px 150px; padding: 48px; gap: 28px 40px; }
.gift-cta-paper > .stack { flex: 1 1 360px; max-width: 640px; background: var(--bg); border: 3px solid var(--ink); border-radius: 20px; padding: 30px 34px; box-shadow: 4px 4px 0 var(--ink); gap: 12px !important; }
.gift-cta-paper > .stack p { line-height: 1.6; }
.gift-cta-paper .row { background: var(--bg); border: 3px solid var(--ink); border-radius: 999px; padding: 14px; gap: 14px !important; }
@media (max-width: 720px) { .gift-cta-paper { padding: 28px 20px; } .gift-cta-paper > .stack { padding: 22px 22px; } .gift-cta-paper .row { border-radius: 24px; } }
