/* =========================================================
   Szczecin Weed Telegram Group — thème « grues du port »
   Les « Dźwigozaury » de Łasztownia au-dessus de l'Oder, lampes qui
   clignotent, acier bleu nuit et orange de chantier ; la loi en six
   crochets de grue, l'outil sur les deux rives de l'Oder.
   Une seule police : Oswald.
   ========================================================= */
:root {
  --night: #0f2433;
  --steel: #2c4658;
  --mist: #eaf0f3;
  --mist2: #dbe5ea;
  --ink: #12202a;
  --muted: #4c5d68;
  --orange: #f08a24;
  --yellow: #ffc94a;
  --teal: #2e8c97;
  --legal: #2d8a5f; --low: #6a9a2f; --mid: #d08b12; --high: #d2472f; --max: #9b2230;
  --font: "Oswald", "Arial Narrow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--steel); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.05; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: .15em .7em; background: var(--orange); color: var(--night); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.intro { max-width: 62ch; color: var(--muted); font-size: 1.08rem; font-weight: 400; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.3em; border: 2px solid var(--orange); font: 500 1rem var(--font); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn-main { background: var(--orange); color: var(--night); }
.btn-main:hover { background: var(--yellow); border-color: var(--yellow); }
.btn-line { background: transparent; color: var(--night); border-color: var(--night); }
.btn-line:hover { background: var(--night); color: #fff; }
.hero .btn-line { color: #fff; border-color: #fff; }
.hero .btn-line:hover { background: #fff; color: var(--night); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--night); color: #fff; border-bottom: 3px solid var(--orange); }
.top-in { display: flex; align-items: center; gap: 22px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.logo svg { width: 28px; height: 28px; fill: #2aabee; background: #fff; border-radius: 50%; }
.logo b { color: var(--orange); font-weight: 700; }
.menu { display: flex; gap: 20px; margin-left: auto; }
.menu a { color: #c7d4dc; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem; }
.menu a:hover { color: var(--yellow); }
.langs { display: flex; gap: 4px; }
.langs button { border: 1px solid #4c6576; background: none; color: #fff; font: 500 .8rem var(--font); padding: .2em .55em; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--night); }

/* ---------- Accueil : le port ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(50px, 7vw, 86px) 0 0; color: #fff; background: linear-gradient(180deg, #0b1c28 0%, var(--night) 55%, #1d3b4f 100%); }
.hero-in { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.8rem); }
.hero h1 span { display: block; color: var(--orange); }
.hero-sub { display: inline-block; margin: 0 0 16px; padding: .1em .6em; border-left: 6px solid var(--orange); color: var(--yellow); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.lead { max-width: 58ch; color: #d5e1e8; font-size: 1.12rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.port { display: block; width: 100%; height: clamp(150px, 19vw, 220px); margin-top: 26px; }
.crane { fill: #e9edf0; }
.crane .cable { fill: none; stroke: #e9edf0; stroke-width: 2; }
.lamp { fill: #ff4a3d; animation: blink 2.4s ease-in-out infinite; }
.l2 { animation-delay: .8s; }
.l3 { animation-delay: 1.6s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.quay { fill: #8aa1ae; }
.water { fill: var(--teal); }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-alt { background: var(--mist2); }
[data-level="legal"] { --c: var(--legal); }
[data-level="low"] { --c: var(--low); }
[data-level="mid"] { --c: var(--mid); }
[data-level="high"] { --c: var(--high); }
[data-level="max"] { --c: var(--max); }

/* ---------- Loi : six crochets ---------- */
.hooks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.hooks article { position: relative; margin-top: 26px; padding: 26px 22px 20px; background: #fff; border-top: 8px solid var(--c); box-shadow: 0 2px 0 #c3d0d7; }
.hooks article::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 26px; background: var(--steel); }
.hooks article::after { content: ""; position: absolute; left: calc(50% - 9px); top: -16px; width: 14px; height: 12px; border: 3px solid var(--steel); border-top: 0; border-radius: 0 0 10px 10px; }
.hooks p { margin: 0; color: var(--muted); }

/* ---------- Outil : les deux rives ---------- */
.sits { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.sits button { padding: .55em 1em; border: 2px solid var(--night); background: #fff; color: var(--night); font: 500 .95rem var(--font); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.sits button[aria-pressed="true"] { background: var(--night); color: var(--yellow); }
.banks { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); align-items: stretch; }
.bank { padding: 20px 22px; background: #fff; border-top: 8px solid var(--c); }
.bank p:last-child { margin: 0; color: var(--muted); }
.b-flag { margin: 0 0 8px; padding-left: 34px; position: relative; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.b-flag::before { content: ""; position: absolute; left: 0; top: .25em; width: 26px; height: 16px; border: 1px solid #c3d0d7; }
.bank-pl .b-flag::before { background: linear-gradient(#fff 50%, #dc143c 50%); }
.bank-de .b-flag::before { background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.b-level { display: inline-block; margin: 0 0 10px; padding: .1em .6em; background: var(--c); color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.oder { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='24'%3E%3Cpath d='M6 12c5-6 9-6 14 0s9 6 14 0' fill='none' stroke='%23bfe3e6' stroke-width='2'/%3E%3C/svg%3E") repeat-y center top; }

/* ---------- Aide ---------- */
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { position: relative; padding-left: 28px; color: var(--muted); }
.tips li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
.contacts { display: grid; gap: 12px; }
.contact { display: block; padding: 18px 20px; background: #fff; border-left: 8px solid var(--steel); text-decoration: none; color: var(--muted); }
.contact b { display: block; font-size: 1.5rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-main { background: var(--night); border-left-color: var(--orange); color: #c7d4dc; }
.contact-main b { color: var(--yellow); font-size: 1.8rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: #fff; border-left: 6px solid var(--steel); }
.faq details[open] { border-left-color: var(--orange); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 50px 12px 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 14px; color: var(--muted); }

/* ---------- Communauté ---------- */
.sec-join { background: var(--night); color: #fff; }
.sec-join .intro { color: #c7d4dc; }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 20px; }
.app { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; color: var(--ink); text-decoration: none; border-bottom: 5px solid var(--orange); transition: transform .15s; }
.app:hover { transform: translateY(-3px); }
.app svg { width: 38px; height: 38px; flex: none; }
.app-tg { background: #2aabee; color: #fff; }
.app-tg svg { fill: #fff; }
.app-tg small { color: #e6f6ff; }
.app-wa svg { fill: #25d366; }
.app-sig svg { fill: #3a76f0; }
.app b { display: block; text-transform: uppercase; letter-spacing: .05em; }
.app small { color: var(--muted); font-size: .9rem; }
.group-rules { color: #c7d4dc; max-width: 80ch; }
.group-rules b { color: var(--yellow); }

/* ---------- Pied de page ---------- */
.foot { padding: 26px 0 36px; background: #091822; color: #98aab5; font-size: .92rem; border-top: 6px solid var(--orange); }
.foot p { margin: 0 0 .4em; }
.foot b { color: #fff; }
.foot a { color: var(--yellow); }

/* ---------- Vérification d'âge ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(9, 24, 34, .93); }
.gate-box { width: min(440px, 100%); padding: 30px 26px 26px; text-align: center; background: var(--mist); border-top: 10px solid var(--orange); }
.gate-badge { width: 80px; height: 80px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--night); color: var(--yellow); font-weight: 700; font-size: 1.7rem; }
.gate-box h2 { font-size: 1.7rem; }
.gate-box p { color: var(--muted); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gate-no { margin: 14px 0 0; color: var(--high) !important; font-weight: 700; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .langs { margin-left: auto; }
  .hooks { grid-template-columns: 1fr 1fr; }
  .help { grid-template-columns: minmax(0, 1fr); }
  .apps { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 600px) {
  .hooks { grid-template-columns: 1fr; }
  .banks { grid-template-columns: minmax(0, 1fr); }
  .oder { height: 30px; background-repeat: repeat-x; background-position: left center; }
}
@media (max-width: 360px) {
  .top-in { gap: 10px; }
  .logo { font-size: .95rem; gap: 6px; }
  .logo svg { width: 24px; height: 24px; }
  .langs { gap: 2px; }
  .langs button { padding: .2em .35em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lamp { animation: none; opacity: 1; }
  .app { transition: none; }
}
