/* =========================================================
   Manukau Weed Telegram Group — thème « tableau des départs, aéroport d'Auckland »
   (nouveau design du 2026-10-30, à la demande de l'utilisateur)
   Tableau noir à lettres jaunes qui basculent, piste et marquages,
   la loi en six cartes d'embarquement, l'outil en rangées d'affichage.
   Une seule police : IBM Plex Mono.
   ========================================================= */
:root {
  --board: #111317;
  --board-2: #1b1e24;
  --amber: #ffd23f;
  --sign: #1e5aa8;
  --sign-2: #164584;
  --tarmac: #2b2f36;
  --paper: #f4f3ef;
  --card: #ffffff;
  --ink: #15171b;
  --muted: #5a6068;
  --line: #d9d8d2;
  --low: #1e5aa8;
  --mid: #c98a00;
  --high: #d23c35;
  --legal: #2c8a4f;
  --font: "IBM Plex Mono", Consolas, monospace;
  --runway: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='22'%3E%3Crect width='60' height='22' fill='%232b2f36'/%3E%3Crect x='6' y='10' width='30' height='2' fill='%23f4f3ef'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--sign); }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sign); margin-bottom: .8em; }

/* Piste : bande d'asphalte avec ligne centrale */
.tapa { height: 22px; background: var(--runway) repeat-x; background-size: 60px 22px; animation: taxi 3s linear infinite; }
@keyframes taxi { to { background-position: -60px 0; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .62em 1.3em; border-radius: 4px; font: 700 .95rem var(--font); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; border: 2px solid var(--amber); transition: background .2s, color .2s; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-coral { background: var(--amber); color: var(--board); }
.btn-coral:hover { background: #fff; border-color: #fff; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-line:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--sign); color: #fff; }
.top-in { display: flex; align-items: center; gap: 22px; height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.1rem; }
.logo svg { width: 28px; height: 28px; fill: #2aabee; background: #fff; border-radius: 50%; }
.logo em { font-style: normal; color: var(--amber); margin-left: .2em; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: #d6e2f3; text-decoration: none; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.menu a:hover { color: var(--amber); }
.langs { display: flex; gap: 4px; }
.langs button { background: var(--sign-2); border: 0; border-radius: 3px; color: #d6e2f3; font: 700 .78rem var(--font); padding: .3em .55em; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--amber); color: var(--board); }

/* ---------- Accueil : le tableau des départs ---------- */
.hero { background: var(--board); color: #fff; }
.hero-in { padding: clamp(40px, 6vw, 72px) 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 40px; align-items: center; }
.hero-in > * { grid-column: 1; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); margin: .05em 0 .1em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--amber); }
.hero-sub { font-size: .95rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #9aa3ad; }
.lead { max-width: 54ch; color: #c9ced5; font-size: 1.02rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pills li { padding: .35em .8em; border: 1px solid #3a3f48; border-radius: 3px; color: #c9ced5; font-size: .85rem; }
.pills b { color: var(--amber); }
.flap { grid-column: 2 !important; grid-row: 1 / span 7; padding: 16px; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 2px #2a2e35; }
.flap-head { display: flex; justify-content: space-between; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #2a2e35; color: #fff; font-weight: 700; letter-spacing: .14em; font-size: .85rem; }
.row { display: grid; grid-template-columns: 60px 1fr 40px 100px; gap: 6px; margin: 0 0 6px; }
.row span { padding: .25em .35em; background: #16181d; border-radius: 2px; color: var(--amber); font-weight: 700; font-size: .85rem; letter-spacing: .06em; box-shadow: inset 0 -1px 0 #000, inset 0 1px 0 #24272e; animation: flip 7s steps(1) infinite; }
.row:nth-of-type(3) span { animation-delay: .3s; }
.row:nth-of-type(4) span { animation-delay: .6s; }
.row:nth-of-type(5) span { animation-delay: .9s; }
.row .ok { color: #6be08a; }
.row .no { color: #ff6b62; }
@keyframes flip { 0% { transform: rotateX(0); } 2% { transform: rotateX(90deg); } 4% { transform: rotateX(0); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(54px, 8vw, 96px) 0; }
.sec-sand { background: #e8e7e1; }
.intro { max-width: 66ch; color: var(--muted); }
.note { margin-top: 20px; padding: 14px 18px; background: var(--card); border-left: 6px solid var(--amber); color: var(--muted); }

/* Six cartes d'embarquement */
.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.thing { --c: var(--low); position: relative; padding: 20px 20px 18px; background: var(--card); border-radius: 8px; border-top: 34px solid var(--c); box-shadow: 0 8px 18px -14px rgba(0,0,0,.5); -webkit-mask: radial-gradient(circle 9px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 9px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat; }
.thing[data-level="mid"] { --c: var(--mid); }
.thing[data-level="high"] { --c: var(--high); }
.thing[data-level="legal"] { --c: var(--legal); }
.num { position: absolute; top: -28px; left: 20px; color: #fff; font-weight: 700; letter-spacing: .12em; font-size: .85rem; }
.num::before { content: "GATE "; }
.stamp { position: absolute; top: -28px; right: 16px; color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.thing h3 { margin-top: 2px; }
.thing p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Outil : les rangées d'affichage ---------- */
.sit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.choices { display: grid; gap: 6px; margin-top: 18px; padding: 12px; border-radius: 6px; background: var(--board); }
.choice { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 3px; background: #16181d; color: #c9ced5; cursor: pointer; font-size: .95rem; }
.choice input { flex: none; width: 18px; height: 18px; accent-color: var(--amber); }
.choice:has(input:checked) { background: #2a2410; color: var(--amber); box-shadow: inset 4px 0 0 var(--amber); }
.ticket { --c: var(--low); position: sticky; top: 84px; padding: 0 22px 22px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ticket[data-level="mid"] { --c: var(--mid); }
.ticket[data-level="high"] { --c: var(--high); }
.ticket[data-level="legal"] { --c: var(--legal); }
.ticket .tapa { margin: 0 -22px 16px; }
.ticket .stamp { position: static; display: inline-block; margin-bottom: .6em; padding: .2em .7em; border-radius: 3px; background: var(--c); color: #fff; }
.ticket-max { margin: 0 0 .3em; font-size: 1.5rem; font-weight: 700; color: var(--c); }
.ticket h3 { font-size: 1.2rem; }
.ticket p:last-child { margin: 0; color: var(--muted); }

/* ---------- Aide : panneaux d'information ---------- */
.lines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }
.line { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 6px; background: var(--sign); color: #d6e2f3; text-decoration: none; }
.line b { font-size: 1.05rem; color: #fff; }
.line strong { color: var(--amber); font-size: .9rem; }
.line span { font-size: .85rem; }
.line-main { background: var(--board); }
.line-sos { background: var(--high); }
.line-sos strong { color: #fff; }
.tips { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.tips li { padding-left: 26px; position: relative; color: var(--muted); }
.tips li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--sign); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; display: grid; gap: 8px; max-width: 840px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--board); border-radius: 4px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 9px; font-size: 1.5rem; color: var(--sign); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); }

/* ---------- Communauté ---------- */
.sec-join { padding-top: 0; background: var(--board); color: #fff; text-align: center; }
.sec-join > .tapa { margin-bottom: clamp(44px, 7vw, 80px); }
.sec-join .eyebrow { color: var(--amber); }
.sec-join .intro { color: #c9ced5; margin-inline: auto; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px auto 22px; max-width: 900px; }
.app { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 6px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .15s; }
.app:hover { transform: translateY(-3px); }
.app svg { flex: none; width: 32px; height: 32px; }
.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: var(--muted); font-size: .82rem; }
.rules { color: #c9ced5; font-size: .92rem; max-width: 74ch; margin-inline: auto; }
.rules b { color: var(--amber); }

/* ---------- Pied de page ---------- */
.foot { padding: 30px 0 40px; background: #08090b; color: #8a919a; font-size: .88rem; }
.foot p { margin: 0 0 .5em; }
.foot b { color: #fff; }
.foot a { color: var(--amber); }

/* ---------- Vérification d'âge ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8,9,11,.92); }
.gate[hidden] { display: none; }
.gate-box { width: min(440px, 100%); padding: 0 26px 28px; text-align: center; background: var(--card); border-radius: 10px; overflow: hidden; }
.gate-box .tapa { margin: 0 -26px 22px; }
.gate-badge { width: 84px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--board); color: var(--amber); font-weight: 700; font-size: 1.5rem; border-radius: 4px; }
.gate-box h2 { font-size: 1.5rem; text-transform: uppercase; }
.gate-box p { color: var(--muted); }
.gate-box .btn-line { color: var(--ink); border-color: var(--ink); }
.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: 960px) {
  .menu { display: none; }
  .langs { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .flap { grid-column: 1 !important; grid-row: auto; margin-top: 26px; }
  .sit { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; }
  .lines { grid-template-columns: 1fr 1fr; }
  .apps { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .six, .tips { grid-template-columns: 1fr; }
  .lines { grid-template-columns: 1fr; }
  .row { grid-template-columns: 50px 1fr 30px 86px; font-size: .78rem; }
  .row span { font-size: .74rem; }
  .logo { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
