@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --night: #080b16;
  --night-soft: #0d1120;
  --panel: #111729;
  --panel-raised: #151d32;
  --line: rgba(173, 185, 221, 0.14);
  --line-bright: rgba(173, 185, 221, 0.24);
  --ink: #f5f4f8;
  --muted: #9ba4bd;
  --quiet: #68738f;
  --moon: #e8c5ff;
  --moon-soft: #c9a7ee;
  --moon-ink: #1a1027;
  --danger: #ff9a9a;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--night);
  background-image: radial-gradient(60rem 34rem at 89% -7%, rgba(84, 68, 136, 0.22), transparent 70%), radial-gradient(45rem 32rem at -16% 38%, rgba(37, 74, 122, 0.13), transparent 72%);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 16px/1.6 "DM Sans", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--moon); }
button, input { font: inherit; }
::selection { color: var(--moon-ink); background: var(--moon); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 4px; }

.top, .foot, main { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.top { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(173, 185, 221, 0.09); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(232, 197, 255, 0.35); border-radius: 12px; background: linear-gradient(145deg, rgba(232, 197, 255, 0.2), rgba(232, 197, 255, 0.03)); box-shadow: 0 0 26px rgba(184, 135, 232, 0.12); }
.brand-mark span { width: 14px; height: 14px; border-radius: 50%; background: var(--moon); box-shadow: inset -5px -2px 0 rgba(97, 57, 130, 0.45); transform: rotate(-24deg); }
.brand-name { font: 800 1.1rem/1 "Manrope", sans-serif; letter-spacing: -0.055em; }
.brand-name > span { margin-left: 5px; color: #9287a6; font-size: 0.62em; letter-spacing: 0.13em; text-transform: uppercase; }
.top nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.top nav a { color: #b1b8ca; font-size: 0.9rem; text-decoration: none; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.top nav a:hover { color: var(--ink); }
.top nav .nav-cta { display: inline-flex; align-items: center; gap: 11px; padding: 10px 15px; border: 1px solid var(--line-bright); border-radius: 999px; color: var(--ink); }
.top nav .nav-cta:hover { border-color: rgba(232, 197, 255, 0.6); background: rgba(232, 197, 255, 0.07); }
.nav-cta span { color: var(--moon); }

.hero { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 34px; min-height: 630px; padding-block: 55px 68px; }
.hero-copy { position: relative; z-index: 2; padding-block: 20px; }
.eyebrow { margin: 0 0 17px; color: #b8a8d1; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.17em; line-height: 1.4; }
.eyebrow-star { display: inline-block; margin-right: 8px; color: var(--moon); font-size: 0.95rem; vertical-align: -1px; }
h1, h2, h3, h4 { font-family: "Manrope", "DM Sans", sans-serif; }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(3.35rem, 7.5vw, 6rem); font-weight: 700; line-height: 0.99; letter-spacing: -0.075em; }
.hero h1 span, .section-heading h2 span, .closing-cta h2 span { color: var(--moon); }
.lead { max-width: 510px; margin: 24px 0 0; color: #abb3c8; font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 12px 19px; border: 1px solid var(--line-bright); border-radius: 12px; background: rgba(255, 255, 255, 0.035); color: var(--ink); font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(232, 197, 255, 0.58); background: rgba(232, 197, 255, 0.09); }
.button.primary { border-color: #ebceff; background: linear-gradient(135deg, #f0d9ff, #dcb8f7); color: #21162b; box-shadow: 0 8px 30px rgba(198, 145, 236, 0.17); }
.button.primary:hover:not(:disabled) { border-color: #fff1ff; background: #f4e3ff; box-shadow: 0 10px 34px rgba(198, 145, 236, 0.28); }
.button:disabled { opacity: 0.48; cursor: not-allowed; }
.button.primary span { font-size: 1.2rem; line-height: 1; }
.text-link { color: #c2c7d5; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: 7px; color: var(--moon); }
.text-link:hover { color: white; }
.hero-proof { display: flex; align-items: center; gap: 22px; margin-top: 50px; }
.hero-proof > div { display: grid; gap: 1px; }
.proof-number { color: #f0eaf7; font: 700 1.13rem/1.3 "Manrope", sans-serif; letter-spacing: -0.03em; }
.proof-label { color: #7f899f; font-size: 0.75rem; }
.proof-divider { width: 1px; height: 31px; background: var(--line-bright); }

.hero-art { position: relative; min-width: 0; height: min(500px, 44vw); min-height: 390px; isolation: isolate; }
.art-stars { position: absolute; inset: 4% -2% 0 0; background-image: radial-gradient(2px 2px at 12% 20%, rgba(255,255,255,.83) 50%, transparent 65%), radial-gradient(1.5px 1.5px at 82% 22%, rgba(231,205,255,.9) 50%, transparent 70%), radial-gradient(1px 1px at 70% 76%, rgba(255,255,255,.75) 50%, transparent 70%), radial-gradient(1.5px 1.5px at 20% 79%, rgba(217,206,255,.8) 50%, transparent 70%), radial-gradient(1px 1px at 90% 58%, rgba(255,255,255,.8) 50%, transparent 70%), radial-gradient(1px 1px at 41% 9%, rgba(255,255,255,.7) 50%, transparent 70%); opacity: .8; }
.orbit { position: absolute; top: 50%; left: 50%; width: 91%; height: 42%; border: 1px solid rgba(191, 173, 230, 0.18); border-radius: 50%; transform: translate(-50%, -50%) rotate(-31deg); }
.orbit-a::before, .orbit-b::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #d4b4ff; box-shadow: 0 0 12px #c39bf8; }
.orbit-a::before { top: 12%; left: 17%; }
.orbit-b { width: 105%; height: 56%; transform: translate(-50%, -50%) rotate(33deg); border-color: rgba(128, 161, 217, 0.15); }
.orbit-b::after { right: 12%; bottom: 12%; width: 4px; height: 4px; background: #a9ccff; box-shadow: 0 0 12px #91bdff; }
.moon-scene { position: absolute; inset: 0; display: grid; place-items: center; }
.moon-halo { position: absolute; width: 73%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(179, 147, 231, 0.16), rgba(87, 93, 157, 0.05) 48%, transparent 70%); filter: blur(3px); }
.moon-disc { position: relative; width: 53%; max-width: 265px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 34% 26%, #f3e8ff 0, #dac8ee 17%, #a897c2 45%, #6e6b92 72%, #404867 100%); box-shadow: inset -30px -20px 44px rgba(27, 32, 61, 0.58), inset 12px 10px 24px rgba(255,255,255,.19), 0 0 68px rgba(184, 147, 230, 0.24); }
.moon-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse at 35% 42%, transparent 40%, rgba(27, 29, 57, 0.18) 100%); }
.crater { position: absolute; display: block; border-radius: 50%; background: rgba(91, 85, 127, 0.19); box-shadow: inset 3px 3px 7px rgba(55, 51, 86, 0.22), 2px 2px 8px rgba(255,255,255,.13); }
.crater-a { width: 18%; height: 18%; top: 18%; left: 22%; }
.crater-b { width: 10%; height: 10%; top: 37%; left: 64%; }
.crater-c { width: 14%; height: 14%; top: 67%; left: 36%; }
.crater-d { width: 7%; height: 7%; top: 60%; left: 74%; }
.moon-spark { position: absolute; color: #f6e9ff; text-shadow: 0 0 18px rgba(228, 196, 255, 0.8); }
.spark-a { top: 16%; left: 26%; font-size: 1.1rem; }
.spark-b { top: 29%; right: 16%; font-size: 1.5rem; }
.spark-c { right: 22%; bottom: 24%; font-size: 2rem; }
.float-card { position: absolute; z-index: 1; border: 1px solid rgba(224, 211, 255, 0.17); border-radius: 15px; background: linear-gradient(145deg, rgba(24, 30, 51, 0.94), rgba(15, 19, 34, 0.92)); box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28); backdrop-filter: blur(16px); }
.float-card-top { top: 13%; right: 0; display: grid; grid-template-columns: 9px 1fr; align-items: center; column-gap: 8px; min-width: 180px; padding: 13px 15px; }
.float-card-top > span:nth-child(2), .float-card-bottom div > span { color: #8f98ad; font-size: 0.59rem; font-weight: 700; letter-spacing: .12em; }
.float-card-top strong { grid-column: 2; margin-top: 2px; color: #eee9f5; font-size: .82rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #a9e5c1; box-shadow: 0 0 12px rgba(126, 225, 164, .75); }
.float-card-bottom { right: 4%; bottom: 12%; display: flex; align-items: center; gap: 13px; padding: 13px 14px; }
.float-card-bottom div { display: grid; gap: 3px; }
.float-card-bottom div strong { font-size: .8rem; }
.float-card-bottom .mode-orbs { display: flex; padding-left: 5px; }
.mode-orbs i { display: grid; width: 25px; height: 25px; margin-left: -5px; place-items: center; border: 2px solid #151d32; border-radius: 50%; background: #d7b6f2; color: #1a1027; font-size: .62rem; font-style: normal; font-weight: 800; }
.mode-orbs i:nth-child(2) { background: #81adcf; }
.mode-orbs i:nth-child(3) { background: #e8a87c; }
.mode-orbs i:nth-child(4) { background: #f5f4f8; }
.card-arrow { color: var(--moon); }
.art-caption { position: absolute; right: 4%; bottom: 3%; color: #757f98; font-size: .61rem; letter-spacing: .2em; }

.section-shell { width: min(1020px, calc(100% - 56px)); margin-inline: auto; }
.offers { padding-top: 98px; scroll-margin-top: 22px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .closing-cta h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 650; line-height: 1.1; letter-spacing: -0.065em; }
.price { margin: 0; color: var(--ink); font: 700 1.5rem/1.3 "Manrope", sans-serif; letter-spacing: -.04em; }
.price.small { font-size: 1.1rem; }

.steps { padding-block: 120px 87px; scroll-margin-top: 20px; }
.steps-heading { margin-bottom: 35px; }
.section-aside { max-width: 240px; margin: 0 0 5px; color: #939db2; font-size: .92rem; }
.steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; min-height: 245px; flex-direction: column; align-items: flex-start; padding: 23px 23px 21px; border: 1px solid rgba(173, 185, 221, .12); border-radius: 17px; background: linear-gradient(155deg, rgba(19, 26, 44, .8), rgba(13, 18, 31, .66)); counter-increment: step; }
.step-icon { display: grid; width: 37px; height: 37px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(226, 190, 255, .25); border-radius: 12px; background: rgba(199, 154, 233, .1); color: var(--moon); font-size: 1rem; }
.step-index { margin-bottom: 7px; color: #837895; font-size: .63rem; font-weight: 700; letter-spacing: .14em; }
.steps strong { margin-bottom: 8px; font-family: "Manrope", sans-serif; font-size: 1.04rem; letter-spacing: -.02em; }
.steps li > span:last-child { color: #929cb2; font-size: .86rem; line-height: 1.7; }
code { border: 1px solid rgba(220, 194, 245, .12); border-radius: 5px; background: rgba(183, 145, 220, .09); color: #dfc8f2; padding: .1em .38em; font-size: .9em; overflow-wrap: anywhere; }

.closing-cta { position: relative; display: flex; min-height: 355px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; margin: 0 auto 84px; padding: 55px 24px; border: 1px solid rgba(208, 179, 236, .16); border-radius: 25px; background: radial-gradient(30rem 20rem at 50% 0%, rgba(122, 94, 160, .2), transparent 74%), linear-gradient(145deg, rgba(20, 25, 44, .88), rgba(12, 17, 30, .86)); text-align: center; }
.closing-cta .eyebrow, .closing-cta h2, .closing-cta .button { position: relative; z-index: 1; }
.closing-cta .eyebrow { margin-bottom: 13px; }
.closing-cta h2 { margin-bottom: 25px; }
.closing-moon { position: absolute; top: -154px; right: -88px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(232, 197, 255, .12), rgba(152, 127, 186, .055) 50%, transparent 69%); }

.foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 26px; padding-block: 24px 30px; border-top: 1px solid rgba(173, 185, 221, .11); color: #8992a7; font-size: .8rem; }
.footer-brand { grid-row: span 2; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 10px; }
.footer-brand .brand-mark span { width: 12px; height: 12px; }
.footer-brand .brand-name { font-size: 1rem; }
.footer-note { align-self: end; }
.footer-links { display: flex; gap: 19px; }
.footer-links a, .foot > a:not(.brand) { color: #929bb0; text-decoration: none; }
.footer-links a:hover, .foot > a:not(.brand):hover { color: var(--ink); }
.copyright { grid-column: 2; color: #69748c; font-size: .75rem; }

dialog { width: min(480px, calc(100vw - 32px)); max-height: min(90vh, 760px); overflow-y: auto; padding: 30px; border: 1px solid rgba(214, 184, 243, .25); border-radius: 20px; background: radial-gradient(25rem 18rem at 100% 0%, rgba(112, 82, 147, .19), transparent 74%), #111729; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(4, 6, 16, .78); backdrop-filter: blur(5px); }
dialog h2 { margin: 5px 0 0; font-size: 1.6rem; letter-spacing: -.04em; }
.dialog-kicker { color: #a494ba; font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.consent { display: flex; gap: 11px; margin-bottom: 17px; color: #a6aec0; font-size: .84rem; line-height: 1.6; }
.consent input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #dab6f4; }
.consent a { color: #e4c5f8; }
.pay { display: grid; gap: 10px; }
.pay .button { width: 100%; }
.close { width: 100%; min-height: 43px; margin-top: 8px; border: 0; background: transparent; color: #8d97ad; font: inherit; font-size: .9rem; cursor: pointer; }
.close:hover { color: var(--ink); }
.error { margin: 0 0 12px; color: var(--danger); }

.thanks { max-width: 700px; padding-block: 75px 120px; }
.thanks h1 { margin: 0 0 12px; font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.1; letter-spacing: -.06em; }
.thanks .lead { margin-top: 0; }
.thanks h2 { margin: 34px 0 10px; font-size: 1.25rem; letter-spacing: -.03em; }
.key-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 19px 0 10px; }
.key { padding: 12px 14px; border: 1px solid rgba(232, 197, 255, .38); border-radius: 10px; background: rgba(214, 180, 245, .08); color: #efd9ff; font-size: 1.05rem; }
.plain { display: grid; gap: 10px; padding-left: 21px; color: #a2abc0; }

.legal { max-width: 760px; padding-block: 72px 100px; }
.legal h1 { margin: 0 0 24px; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: -.06em; }
.legal h2 { margin: 32px 0 7px; font-size: 1.08rem; letter-spacing: -.025em; }
.legal p { color: #a0a9bd; }
.todo { padding: 13px 16px; border: 1px solid rgba(255, 154, 154, .28); border-radius: 12px; background: rgba(255, 154, 154, .05); }
.legal .todo { color: #ffb4b4; }
.legal + .foot { margin-top: 0; }

@media (max-width: 840px) {
  .top, .foot, main { width: min(100% - 40px, 680px); }
  .top { min-height: 76px; }
  .top nav { gap: 17px; }
  .top nav a { font-size: .82rem; }
  .top nav a:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1fr 0.8fr; gap: 10px; min-height: 570px; }
  .hero h1 { font-size: clamp(3.25rem, 8vw, 4.8rem); }
  .hero-art { height: 390px; min-height: 340px; margin-right: -22px; }
  .float-card-top { right: 0; }
  .float-card-bottom { right: 0; }
  .section-shell { width: min(100% - 40px, 680px); }
  .steps ol { gap: 10px; }
  .steps li { padding: 19px; }
}

@media (max-width: 620px) {
  .top, .foot, main { width: calc(100% - 36px); }
  .top { min-height: 72px; }
  .top nav { gap: 14px; }
  .top nav a { display: none; }
  .top nav .nav-cta { display: inline-flex; padding: 9px 12px; font-size: .75rem; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { grid-template-columns: 1fr; gap: 0; min-height: auto; padding-block: 58px 20px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.15rem, 13.4vw, 5rem); }
  .hero .lead { max-width: 440px; margin-top: 19px; font-size: 1rem; }
  .hero-actions { gap: 17px; margin-top: 24px; }
  .hero-actions .button { min-height: 46px; padding-inline: 15px; font-size: .9rem; }
  .text-link { font-size: .86rem; }
  .hero-proof { justify-content: space-between; gap: 13px; margin-top: 32px; }
  .proof-number { font-size: 1rem; }
  .proof-label { font-size: .67rem; }
  .hero-art { width: 100%; height: 350px; min-height: 0; margin: 3px 0 0; }
  .moon-disc { width: 54%; max-width: 225px; }
  .float-card-top { top: 7%; right: 1%; transform: scale(.9); transform-origin: top right; }
  .float-card-bottom { right: 0; bottom: 7%; transform: scale(.9); transform-origin: bottom right; }
  .art-caption { right: 2%; bottom: 0; font-size: .52rem; }
  .section-shell { width: calc(100% - 36px); }
  .offers { padding-top: 62px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .section-heading h2, .closing-cta h2 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .steps { padding-block: 82px 60px; }
  .steps-heading { gap: 12px; margin-bottom: 24px; }
  .section-aside { margin: 0; font-size: .85rem; }
  .steps ol { grid-template-columns: 1fr; gap: 10px; }
  .steps li { min-height: 0; padding: 18px; }
  .step-icon { margin-bottom: 13px; }
  .closing-cta { min-height: 320px; margin-bottom: 56px; padding-inline: 17px; border-radius: 19px; }
  .closing-moon { width: 240px; height: 240px; }
  .foot { grid-template-columns: 1fr auto; gap: 16px 10px; padding-block: 20px 25px; }
  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-note { grid-column: 1 / -1; grid-row: 2; align-self: auto; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; gap: 10px 18px; }
  .copyright { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  dialog { padding: 23px; }
  .thanks { padding-block: 55px 85px; }
  .legal { padding-block: 50px 75px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Tableau des formules : une colonne par formule, alignées grâce à subgrid. */
.compare {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(var(--compare-rows, 1), auto);
  column-gap: 12px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(120, 160, 230, .22);
  border-radius: 22px;
  background: linear-gradient(180deg, #0d1c3a, #0a1428);
}
.compare-loading { grid-column: 1 / -1; margin: 0; color: #a9bbd8; }
.compare-labels, .tier { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 8px; }
.compare-title { align-self: center; margin: 0; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; }
.row-label { display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; border-radius: 10px; background: #1a2740; color: #dfe7f5; font-size: .84rem; font-weight: 600; line-height: 1.3; text-align: center; }
.row-label small { color: #a9bbd8; font-size: .72rem; font-weight: 400; }

.tier { padding: 14px 8px 10px; border: 1px solid rgba(190, 212, 250, .4); border-radius: 18px; }
.tier-head { display: grid; justify-items: center; gap: 10px; padding-bottom: 6px; }
.tier-head h3 { margin: 0; color: #fff; font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.emblem { display: block; filter: drop-shadow(0 6px 16px var(--tier-glow)); }
.emblem-tile { display: grid; width: 88px; height: 88px; place-items: center; background: linear-gradient(145deg, var(--tier-a), var(--tier-b)); clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%); }
.emblem-moon { display: block; width: 46px; height: 46px; border-radius: 50%; }
.tier-croissant { --tier-a: #f3f6fb; --tier-b: #aebacd; --tier-moon: #2b3648; --tier-glow: rgba(235, 242, 255, .32); }
.tier-demi { --tier-a: #3aa39d; --tier-b: #114a50; --tier-moon: #c5f6ee; --tier-glow: rgba(70, 200, 190, .34); }
.tier-pleine { --tier-a: #5f8cff; --tier-b: #1b3fd8; --tier-moon: #e5ecff; --tier-glow: rgba(90, 135, 255, .5); }
.tier-croissant .emblem-moon { box-shadow: inset -13px -4px 0 0 var(--tier-moon); transform: rotate(-18deg); }
.tier-demi .emblem-moon { background: linear-gradient(90deg, transparent 50%, var(--tier-moon) 50%); box-shadow: inset 0 0 0 2px var(--tier-moon); }
.tier-pleine .emblem-moon { background: var(--tier-moon); }

.cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 7px 8px; background: #1d4480; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.25; text-align: center; }
.tier .cell:nth-of-type(even) { background: #3d659e; }
.cell-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cell-value.is-no { color: #b9c7de; font-weight: 500; }
.cell-value.is-plus { color: #fff; }
.cell-value.is-price { font-size: 1.1rem; font-weight: 800; }
.tier-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: #fff; color: #1b4fd0; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.tier-cta:hover { background: #dfe9ff; transform: translateY(-2px); }
.tier-cta:focus-visible { outline-color: #fff; }

@media (max-width: 820px) {
  .compare { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 18px; padding: 16px; }
  .compare-labels { display: block; grid-row: auto; }
  .row-label { display: none; }
  .tier { display: block; grid-row: auto; padding: 16px; }
  .tier .cell { flex-direction: row; justify-content: space-between; gap: 14px; margin-top: 6px; padding: 8px 12px; border-radius: 8px; text-align: right; }
  .cell-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; color: #dfe7f5; font-size: .84rem; font-weight: 500; text-align: left; white-space: normal; }
  .cell-value { flex: none; max-width: 55%; }
  .tier-cta { margin-top: 12px; }
}

.buy-includes { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.role-field { display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: .86rem; }
.role-field select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-bright); border-radius: 10px; background: #151d32; color: var(--ink); font: inherit; font-size: .95rem; }
.durations { margin: 16px 0 8px; padding: 0; border: 0; }
.durations legend { margin-bottom: 8px; padding: 0; color: var(--muted); font-size: .86rem; }
.duration { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.duration + .duration { margin-top: 6px; }
.duration:has(input:checked) { border-color: #e5c5fa; background: rgba(229, 197, 250, .1); }
.duration input { flex: none; margin: 0; accent-color: #e5c5fa; }
.duration-label { flex: 1; }
.duration-best { display: block; color: #e5c5fa; font-size: .76rem; }
.duration-price { font-weight: 700; }
.duration-note { min-height: 20px; margin: 0 0 14px; color: var(--muted); font-size: .82rem; }
dialog { max-height: calc(100dvh - 24px); overflow-y: auto; }

/* La lune et les orbites décoratives dépassent volontairement : pas de barre de défilement pour autant. */
html, body { overflow-x: clip; }
