/* =========================================================
   Auckland Weed Telegram Group — thème « Sky Tower et port de nuit »
   (nouveau design du 2026-10-30, à la demande de l'utilisateur)
   Nuit bleu marine, Sky Tower dont l'anneau change de couleur, Harbour Bridge,
   reflets qui scintillent sur l'eau ; la loi en étages éclairés.
   Une seule police : Exo 2.
   ========================================================= */
:root {
  --night: #0b1426;
  --night-2: #10203a;
  --panel: #142846;
  --glass: rgba(255,255,255,.06);
  --ink: #e8eef8;
  --muted: #a6b5cc;
  --line: #24406a;
  --teal: #2ee6c8;
  --pink: #ff4fa3;
  --gold: #ffc145;
  --low: #2ee6c8;
  --mid: #ffc145;
  --high: #ff5d6c;
  --legal: #7cdb6a;
  --font: "Exo 2", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.8vw, 3.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.kicker { font-size: .84rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: .8em; }
.coords { display: inline-block; margin-left: .6em; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .66em 1.4em; border-radius: 999px; font: 700 1rem var(--font); text-decoration: none; cursor: pointer; border: 2px solid var(--teal); transition: background .2s, color .2s, box-shadow .2s; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-lava { background: var(--teal); color: var(--night); box-shadow: 0 0 18px rgba(46,230,200,.35); }
.btn-lava:hover { background: #fff; border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--pink); color: #fff; }

/* ---------- En-tête ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(11,20,38,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.25rem; }
.brand svg { width: 28px; height: 28px; fill: #2aabee; background: #fff; border-radius: 50%; }
.brand b { color: var(--pink); margin-left: .2em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: #fff; }
.langs { display: flex; gap: 4px; }
.langs button { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 700 .8rem var(--font); padding: .25em .65em; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ---------- Accueil : la ville la nuit ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(50px, 7vw, 90px) 0 0; background: radial-gradient(70% 70% at 50% 100%, #1c3462, var(--night) 70%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='120'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='20' cy='18' r='1'/%3E%3Ccircle cx='96' cy='40' r='.8'/%3E%3Ccircle cx='150' cy='12' r='1.2'/%3E%3Ccircle cx='60' cy='86' r='.7'/%3E%3Ccircle cx='132' cy='96' r='.9'/%3E%3C/g%3E%3C/svg%3E"); opacity: .5; pointer-events: none; }
.hero-in { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 5.4rem); margin: .05em 0 .1em; letter-spacing: -.01em; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--teal), var(--pink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.lead { max-width: 60ch; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 760px; margin: 30px auto 0; padding: 0; list-style: none; }
.board li { padding: 12px 10px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.board b { display: block; font-size: 1.5rem; color: #fff; }
.board span { font-size: .85rem; color: var(--muted); }
.skyline { display: block; width: 100%; height: clamp(170px, 24vw, 300px); margin-top: 26px; }
.skyline .city path { fill: #0e1b33; }
.skyline .tower path { fill: #1d3358; }
.skyline .ring { fill: var(--teal); animation: hue 9s linear infinite; filter: drop-shadow(0 0 8px currentColor); }
.skyline .bridge { fill: none; stroke: #6f88aa; stroke-width: 3; }
.skyline .water { fill: #08101f; }
.skyline .glints path { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; opacity: .6; animation: glint 3s ease-in-out infinite alternate; }
.skyline .glints path:nth-child(even) { stroke: var(--pink); animation-delay: -1.5s; }
@keyframes hue { 0% { fill: var(--teal); } 33% { fill: var(--pink); } 66% { fill: var(--gold); } 100% { fill: var(--teal); } }
@keyframes glint { to { opacity: .15; transform: translateX(10px); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(54px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.sec-road, .sec-help { background: var(--night-2); }
.intro { max-width: 66ch; color: var(--muted); }
.note { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: var(--glass); border-left: 4px solid var(--gold); color: var(--muted); }

/* Étages de la loi */
.ladder { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: floor; }
.ladder li { --c: var(--low); counter-increment: floor; display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--c); }
.ladder li[data-level="mid"] { --c: var(--mid); }
.ladder li[data-level="high"] { --c: var(--high); }
.ladder li[data-level="legal"] { --c: var(--legal); }
.ladder .tag { justify-self: start; padding: .2em .8em; border-radius: 999px; border: 1.5px solid var(--c); color: var(--c); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 12px -2px var(--c); }
.ladder h3 { margin-bottom: .2em; color: #fff; }
.ladder p { margin: 0; color: var(--muted); }
.ladder .max { color: var(--c); font-size: 1.05rem; white-space: nowrap; }

/* Tests salivaires */
.road { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: lane; }
.road li { counter-increment: lane; position: relative; padding: 46px 18px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.road li::before { content: counter(lane); position: absolute; left: 18px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--night); font-weight: 700; font-size: .85rem; }
.road b { display: block; color: #fff; margin-bottom: .3em; }
.road span { color: var(--muted); font-size: .95rem; }

/* ---------- Outil ---------- */
.check { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.opts { display: grid; gap: 8px; margin-top: 20px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { flex: none; position: relative; width: 44px; height: 24px; border-radius: 999px; background: #22375a; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8fa3c2; transition: transform .2s, background .2s; }
.opt input:checked + .sw { background: rgba(255,79,163,.35); }
.opt input:checked + .sw::after { transform: translateX(20px); background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.opt input:focus-visible + .sw { outline: 3px solid var(--gold); outline-offset: 2px; }
.verdict { --c: var(--low); position: sticky; top: 86px; padding: 26px 24px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--c); box-shadow: 0 0 30px -12px var(--c); }
.verdict[data-level="mid"] { --c: var(--mid); }
.verdict[data-level="high"] { --c: var(--high); }
.verdict .tag { display: inline-block; margin-bottom: .6em; padding: .15em .8em; border-radius: 999px; background: var(--c); color: var(--night); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.verdict h3 { font-size: 1.55rem; color: var(--c); }
.verdict ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Aide ---------- */
.help { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tips { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tips li { padding-left: 28px; position: relative; color: var(--muted); }
.tips li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.tips li:nth-child(2)::before { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.tips li:nth-child(3)::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.cards { display: grid; gap: 12px; }
.card { display: block; padding: 18px 22px; text-decoration: none; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.card b { display: block; font-size: 1.4rem; color: #fff; }
.card-main { background: linear-gradient(120deg, #1d3c6e, #3a2460); border-color: var(--pink); }
.card-main b { font-size: 1.8rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 50px 15px 20px; font-weight: 700; font-size: 1.05rem; position: relative; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 9px; font-size: 1.6rem; color: var(--teal); }
.faq details[open] summary::after { content: "−"; color: var(--pink); }
.faq details p { margin: 0; padding: 0 20px 16px; color: var(--muted); }

/* ---------- Communauté ---------- */
.sec-join { background: radial-gradient(60% 80% at 50% 0%, #2a1d52, var(--night) 70%); text-align: center; }
.sec-join .kicker { color: var(--gold); }
.sec-join .intro { margin-inline: auto; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px auto 22px; max-width: 900px; }
.app { display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px 20px; border-radius: 999px; background: #fff; color: #142034; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.app:hover { transform: translateY(-3px); box-shadow: 0 0 22px -4px var(--teal); }
.app svg { flex: none; width: 34px; height: 34px; }
.app[data-app="telegram"] svg { fill: #2aabee; }
.app[data-app="whatsapp"] svg { fill: #25d366; }
.app[data-app="signal"] svg { fill: #3a76f0; }
.app b { display: block; }
.app small { color: #4f5f78; font-size: .92rem; }
.rules { color: var(--muted); font-size: .98rem; max-width: 74ch; margin-inline: auto; }
.rules b { color: #fff; }

/* ---------- Pied de page ---------- */
.foot { padding: 30px 0 40px; background: #070d19; color: #7f8fa8; font-size: .95rem; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 .5em; }
.foot b { color: #fff; }
.foot a { color: var(--teal); }

/* ---------- Vérification d'âge ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(7,13,25,.92); }
.gate[hidden] { display: none; }
.gate-box { width: min(440px, 100%); padding: 32px 28px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 0 40px -10px var(--pink); }
.gate-badge { width: 80px; height: 80px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--teal); color: #fff; font-weight: 700; font-size: 1.6rem; box-shadow: 0 0 18px var(--teal); }
.gate-box h2 { font-size: 1.8rem; }
.gate-box p { color: var(--muted); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.gate-no { margin-top: 16px; color: var(--high) !important; font-weight: 700; }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 920px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .check, .help { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr 1fr; }
  .verdict { position: relative; top: 0; }
  .apps { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .board { grid-template-columns: 1fr 1fr; }
  .ladder li { grid-template-columns: 1fr; gap: 8px; }
  .road { grid-template-columns: 1fr; }
  .coords { display: block; margin: .3em 0 0; }
  .brand { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
