/* ==========================================================================
   Axarium — feuille de style principale
   Palette volontairement resserrée : 1 accent violet, 1 accent chaud rare.
   ========================================================================== */

:root {
  --bg:        #0b0910;
  --bg-2:      #100d17;
  --panel:     #15121e;
  --panel-2:   #1a1625;
  --line:      #241e32;
  --line-2:    #332a46;

  --text:      #ece9f3;
  --muted:     #a19ab4;
  --dim:       #6d6682;

  --violet:    #8e2de2;
  --violet-2:  #b06bf5;
  --violet-3:  #5b2a93;
  --violet-ink:#211036;

  --gold:      #d2a34a;
  --green:     #5ab87a;
  --red:       #d05a5a;

  --ff-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ff-body:    "Barlow", system-ui, -apple-system, sans-serif;
  --ff-mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1180px;
  --r: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Trame très légère : donne du grain sans effet néon */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 64px 64px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.mono {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Bandeau annonce ---------- */

.topbar {
  background: var(--violet-ink);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: #cdbde8;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  text-align: center;
}
.topbar b { color: #fff; font-weight: 600; }
.topbar .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex: none;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { border-bottom-color: var(--line-2); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand svg, .brand .brand-logo { flex: none; }
.brand-logo { width: 30px; height: 30px; }
.site-footer .brand-logo { width: 28px; height: 28px; }
.brand .wordmark, .brand .wordmark span { color: var(--violet-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-links a:not(.btn) {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn).active {
  color: var(--text);
  border-bottom-color: var(--violet);
}

.nav-cta { margin-left: 8px; flex: none; }

.burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  cursor: pointer;
  padding: 9px 8px;
}
.burger i {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 0 0 4px;
}
.burger i:last-child { margin-bottom: 0; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 12px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
  border-color: #9c40ee;
}
.btn-primary:hover { background: #9c40ee; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: #55426b; background: rgba(255,255,255,.03); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(142,45,226,.20), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero .wrap {
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero-inner { max-width: 720px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--violet);
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--violet-2);
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-note {
  font-size: .86rem;
  color: var(--dim);
}
.hero-note b { color: var(--muted); font-weight: 500; }

/* Silhouette de blocs en bas du hero */
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 130px;
  opacity: .5;
  pointer-events: none;
}

/* ---------- Bandeau stats ---------- */

.stats {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 26px 0 26px 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--ff-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}
.stat .lbl {
  color: var(--dim);
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Sections ---------- */

section { position: relative; z-index: 1; }
.sec { padding: 84px 0; }
.sec--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { margin-bottom: 44px; max-width: 640px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--muted); margin: 0; }

/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
}
.step {
  padding: 30px 28px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; }
.step .n {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--violet-2);
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Grilles ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card .tagline {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 14px;
}

.icon-sq {
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--violet-2);
}

/* ---------- Lignes détaillées ---------- */

.rows { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row-item .k {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--text);
}
.row-item .v { color: var(--muted); font-size: .95rem; }
.row-item .v b { color: var(--text); font-weight: 600; }

/* ---------- Boutique : cartes de grade ---------- */

.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }

.rank {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
}
.rank--feature {
  border-color: var(--violet-3);
  background: linear-gradient(180deg, rgba(142,45,226,.10), transparent 220px), var(--panel);
}
.rank-flag {
  position: absolute;
  top: -1px; right: 18px;
  background: var(--violet);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.rank-top {
  padding: 28px 26px 22px;
  border-bottom: 1px solid var(--line);
}
.rank-name {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 4px;
}
.rank--n1 .rank-name { color: #9b8fb5; }
.rank--n2 .rank-name { color: #b07ae8; }
.rank--n3 .rank-name { color: var(--violet-2); }
.rank-sub { color: var(--dim); font-size: .88rem; margin: 0 0 18px; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amount {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}
.price .cur { font-family: var(--ff-display); font-size: 1.4rem; color: var(--muted); }
.price .per { color: var(--dim); font-size: .85rem; margin-left: 4px; }

.rank-perks {
  list-style: none;
  margin: 0;
  padding: 22px 26px;
  flex: 1;
}
.rank-perks li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: .93rem;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255,255,255,.05);
}
.rank-perks li:last-child { border-bottom: 0; }
.rank-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  background: var(--violet);
}
.rank-perks li b { color: var(--text); font-weight: 600; }
.rank-perks li.inherit { color: var(--dim); font-style: italic; }
.rank-perks li.inherit::before { background: var(--line-2); }

.rank-foot { padding: 0 26px 26px; }
.rank-foot .soon {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: .78rem;
  color: var(--dim);
}

/* ---------- Tableaux ---------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow-x: auto;
  background: var(--panel);
}
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
thead th {
  text-align: left;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--text); font-weight: 500; }
td .yes { color: var(--green); }
td .no { color: #544a66; }
.sanction { font-weight: 600; }
.sanction--low  { color: var(--gold); }
.sanction--mid  { color: #e08b4a; }
.sanction--high { color: var(--red); }

/* ---------- Paiement ---------- */

.pay { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 9px 14px;
  font-size: .86rem;
  color: var(--muted);
  background: var(--panel-2);
}

/* ---------- Accordéon FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  color: var(--violet-2);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq-item.open .faq-q::after { content: "\2013"; }
.faq-a {
  display: none;
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: .95rem;
}
.faq-item.open .faq-a { display: block; }

/* ---------- Encart CTA ---------- */

.cta-band {
  border: 1px solid var(--violet-3);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(142,45,226,.14), transparent 60%), var(--panel);
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 460px; }

/* ---------- Notes ---------- */

.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  background: var(--panel-2);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  color: var(--muted);
  font-size: .92rem;
}
.note b { color: var(--text); }
.note--warn { border-left-color: var(--gold); }

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 30px;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-grid h4 {
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--dim);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-about p { color: var(--dim); max-width: 300px; font-size: .9rem; }
.foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  color: var(--dim);
  font-size: .84rem;
}

/* ---------- Modale téléchargement ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  background: rgba(5,4,8,.8);
}
.modal.open { display: flex; }
.modal-box {
  width: 100%;
  max-width: 660px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { margin: 0 0 4px; font-size: 1.7rem; }
.modal-head p { margin: 0; color: var(--dim); font-size: .9rem; }
.modal-close {
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--muted);
  width: 32px; height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  flex: none;
}
.modal-close:hover { color: var(--text); border-color: #55426b; }
.modal-body { padding: 26px; }
.dl-os { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.dl-os .btn { flex: 1; min-width: 190px; }

.smartscreen {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--panel-2);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 18px;
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.smartscreen b { color: var(--text); }
.smartscreen p { margin: 8px 0; }
.smartscreen ol { margin: 10px 0 0; padding-left: 20px; }
.smartscreen li { margin-bottom: 4px; }
.modal h4 {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .06em;
  margin: 26px 0 10px;
}
.modal ol, .modal ul { color: var(--muted); font-size: .93rem; padding-left: 20px; margin: 0 0 4px; }
.modal li { margin-bottom: 7px; }

.secure {
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: rgba(90,184,122,.05);
  padding: 16px 18px;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .92rem;
  color: var(--muted);
}
.secure b { color: var(--text); }
.secure ul { margin: 10px 0 0; padding-left: 18px; }

/* ---------- Pages internes ---------- */

.page-head {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 12% -40%, rgba(142,45,226,.16), transparent 70%),
    var(--bg-2);
  padding: 62px 0 54px;
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0; }
.crumb {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.crumb a { color: var(--violet-2); }

.doc-layout {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 56px;
  padding: 64px 0 90px;
}
.doc-nav { position: sticky; top: 92px; align-self: start; }
.doc-nav h4 {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 14px;
}
.doc-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-nav li a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--muted);
  font-size: .92rem;
}
.doc-nav li a:hover { color: var(--text); }
.doc-nav li a.active { color: var(--text); border-left-color: var(--violet); }

.doc-body h2 {
  font-size: 1.6rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.doc-section { margin-bottom: 58px; scroll-margin-top: 100px; }
.doc-section:last-child { margin-bottom: 0; }

.art { display: grid; grid-template-columns: 54px 1fr; gap: 16px; margin-bottom: 16px; }
.art .num {
  font-family: var(--ff-mono);
  font-size: .82rem;
  color: var(--violet-2);
  padding-top: 3px;
}
.art .txt { color: var(--muted); font-size: .96rem; }
.art .txt b { color: var(--text); font-weight: 600; }

/* ---------- Utilitaires ---------- */

.lead-big { font-size: 1.05rem; color: var(--muted); max-width: 680px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .grid-3, .ranks, .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .doc-layout { grid-template-columns: 1fr; gap: 34px; }
  .doc-nav { position: static; }
  .doc-nav ul { display: flex; flex-wrap: wrap; gap: 4px; border-left: 0; }
  .doc-nav li a { border: 1px solid var(--line); border-radius: var(--r); padding: 7px 12px; margin-left: 0; }
  .doc-nav li a.active { border-color: var(--violet-3); border-left-color: var(--violet-3); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn).active { border-bottom-color: var(--line); color: var(--violet-2); }
  .nav-links .nav-cta { margin: 14px 0 0; }
  .burger { display: block; }
  .site-header .wrap { position: relative; }
  .grid-2 { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 1fr; gap: 6px; }
  .sec { padding: 60px 0; }
  .hero .wrap { padding-top: 60px; padding-bottom: 80px; }
  .cta-band { padding: 30px 24px; }
  .art { grid-template-columns: 46px 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}


/* ---------- Menu deroulant de la navigation ---------- */

.nav-drop { position: relative; padding: 22px 0; }

.nav-links .nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.nav-links .nav-drop-trigger:hover { color: var(--text); }
.nav-links .nav-drop-trigger.active { color: var(--text); border-bottom-color: var(--violet); }
.nav-drop-trigger .caret { transition: transform .15s; opacity: .7; }
.nav-drop:hover .nav-drop-trigger .caret,
.nav-drop.open .nav-drop-trigger .caret { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 288px;
  display: none;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 6px;
  z-index: 70;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: block; }

.nav-drop-menu a {
  display: block;
  padding: 11px 13px;
  border: 0;
  border-radius: 2px;
  color: var(--text);
}
.nav-drop-menu a:hover { background: var(--panel-2); }
.nav-drop-menu .d-t {
  display: block;
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05rem;
  font-weight: 700;
}
.nav-drop-menu .d-s {
  display: block;
  color: var(--dim);
  font-size: .84rem;
  margin-top: 2px;
}
.nav-drop-menu .d-all {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--violet-2);
  font-size: .88rem;
  font-weight: 600;
}
.nav-drop-menu .d-all { display: flex; align-items: center; gap: 7px; }
.nav-drop-menu .d-all svg { flex: none; }

/* ---------- Avantages inclus / non inclus ---------- */

.rank-perks li.on,
.rank-perks li.off {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  align-items: start;
  padding: 8px 0;
}
.rank-perks li.on::before,
.rank-perks li.off::before { content: none; }
.rank-perks li.off { color: #635a78; }
.rank-perks li.off b { color: #635a78; font-weight: 500; }

.ck { position: relative; display: block; width: 16px; height: 16px; margin-top: 3px; }
.rank-perks li.on .ck::before {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 10px;
  border-right: 2px solid var(--violet-2);
  border-bottom: 2px solid var(--violet-2);
  transform: rotate(40deg);
}
.rank-perks li.off .ck::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 11px; height: 1px;
  background: #4a3d5e;
}

/* ---------- Lucky Blocks ---------- */

.lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.lb {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}
.lb--feature {
  border-color: var(--violet-3);
  background: linear-gradient(180deg, rgba(142,45,226,.10), transparent 200px), var(--panel);
}
.lb-qty {
  font-family: var(--ff-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.lb-qty span { color: var(--violet-2); font-size: 1.6rem; margin-right: 4px; }
.lb-name {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.05rem;
  color: var(--violet-2);
  margin: 6px 0 10px;
}
.lb-desc { color: var(--muted); font-size: .93rem; margin: 0 0 20px; flex: 1; }
.lb .price { margin-bottom: 0; }

@media (max-width: 980px) {
  .lb-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-drop { padding: 0; width: 100%; }
  .nav-links .nav-drop-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-drop-trigger.active { color: var(--violet-2); border-bottom-color: var(--line); }
  .nav-drop-menu {
    position: static;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 4px 0 10px 14px;
    background: none;
  }
  .nav-drop:hover .nav-drop-menu { display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
}

/* ---------- Utilitaires (remplacent les styles en ligne, CSP stricte) ---------- */

.lk           { color: var(--violet-2); }
.strong-text  { color: var(--text); }
.btn-row      { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.brand--foot  { margin-bottom: 14px; }
.txt-sm       { font-size: .88rem; }
.h-sm         { font-size: 1.6rem; }
.col-wide     { min-width: 230px; }
.gap-lg       { gap: 56px; align-items: start; }
.gap-md       { gap: 18px; }
.steps--stack { grid-template-columns: 1fr; }
.steps--stack .step { border-left: 0; border-top: 1px solid var(--line); }
.steps--stack .step:first-child { border-top: 0; }
.center-block { margin-left: auto; margin-right: auto; }
.btn-row--center { justify-content: center; }
.center .eyebrow { justify-content: center; }

/* ---------- Caisses : vignette d'ouverture (CSS pur, pas de media externe) ---------- */

.crate-showcase {
  display: flex;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 32px;
}
.crate-anim {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}
.crate-box {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  animation: crateShake 2.6s ease-in-out infinite;
}
.crate-burst {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,107,245,.55) 0%, rgba(176,107,245,0) 70%);
  opacity: 0;
  transform: scale(.4);
  animation: crateBurst 2.6s ease-out infinite;
}
.crate-copy h3 { margin-bottom: 8px; }
.crate-copy p { margin: 0; }

@keyframes crateShake {
  0%, 55% { transform: rotate(0deg); }
  58% { transform: rotate(-6deg); }
  61% { transform: rotate(5deg); }
  64% { transform: rotate(-4deg); }
  67%, 78% { transform: rotate(0deg) scale(1); }
  80% { transform: scale(1.12); }
  86%, 100% { transform: scale(1); }
}
@keyframes crateBurst {
  0%, 78% { opacity: 0; transform: scale(.4); }
  82% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .crate-box, .crate-burst { animation: none; }
}

@media (max-width: 760px) {
  .crate-showcase { flex-direction: column; text-align: center; padding: 26px; }
}
