/* Galway Weed Telegram Group : baie de Galway au coucher du soleil, voiles rouges des Galway hookers */
:root {
  --navy: #0f2b46;
  --sea: #1e4f73;
  --sail: #a63f22;
  --sail-2: #c4592f;
  --sand: #f4ead8;
  --sand-2: #eadcc2;
  --gold: #e8a94f;
  --ink: #16212c;
  --muted: #5b6672;
  --white: #fffaf2;
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 "Archivo", system-ui, sans-serif; }
a { color: var(--sail); }
img, svg { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; line-height: 1.12; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--navy); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.kicker { margin: 0 0 .4rem; font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sail); }
.intro { max-width: 680px; color: var(--muted); margin: 0 0 1.6rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.3rem; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sail { background: var(--sail); color: #fff; }
.btn-sail:hover { background: #8b3219; }
.btn-line { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* Fenêtre 18+ */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(10, 26, 42, .85); }
.gate-box { width: min(440px, 100%); background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem; text-align: center; }
.gate-badge { display: inline-grid; place-items: center; width: 80px; height: 80px; margin: 0 0 1rem; background: var(--sail); color: #fff; font-size: 1.5rem; font-weight: 800; clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 22px; }
.gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1rem; }
.gate-no { color: var(--sail); font-weight: 800; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; border-bottom: 4px solid var(--sail); }
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 62px; }
.brand { display: flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; fill: #fff; }
.brand b { color: var(--gold); }
.menu { display: flex; gap: 1.2rem; margin-left: auto; }
.menu a { color: #dce6ef; text-decoration: none; font-weight: 600; }
.menu a:hover { color: var(--gold); }
.langs { display: flex; gap: .3rem; }
.langs button { padding: .3rem .55rem; border: 1px solid #4d6a86; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 800; }

/* Accueil */
.hero { padding: 3.5rem 0 3rem; background: linear-gradient(180deg, var(--white), var(--sand)); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); color: var(--navy); }
.hero h1 span { display: block; color: var(--sail); }
.hero-sub { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 800; color: var(--sea); }
.lead { margin: 0 0 1.6rem; font-size: 1.1rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.bay { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 14px 30px rgba(15, 43, 70, .25); }
.boat { animation: bob 4s ease-in-out infinite; transform-origin: 43px 10px; }
.b2 { animation-delay: -1.6s; animation-duration: 5s; }
.swell path { animation: swell 7s linear infinite; }
.swell path + path { animation-duration: 10s; }
.bird { animation: fly 9s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px) rotate(-2.5deg); } }
@keyframes swell { to { transform: translateX(40px); } }
@keyframes fly { 50% { transform: translate(-30px, 8px); } }

/* Sections */
.sec { padding: 4rem 0; }
.sec-sand { background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16'%3E%3Cpath d='M0 8q12-7 24 0t24 0' fill='none' stroke='%23e2d1b2' stroke-width='1.5'/%3E%3C/svg%3E"); }

/* Nœud par nœud */
.knots { list-style: none; counter-reset: knot; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.knots li { counter-increment: knot; position: relative; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.2rem 1.2rem 4.4rem; box-shadow: 0 6px 16px rgba(15, 43, 70, .08); }
.knots li::before { content: counter(knot); position: absolute; left: 1rem; top: 1.2rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px dashed var(--sail); color: var(--sail); font-weight: 800; font-size: 1.1rem; }
.knots h3 { font-size: 1.15rem; color: var(--navy); }
.knots p { margin: 0; }

/* Outil : fanions et voile */
.sec-sea { background: var(--navy); color: #e3edf5; }
.sec-sea .kicker { color: var(--gold); }
.sec-sea h2 { color: #fff; }
.sec-sea .intro { color: #a9bfd3; }
.fest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.6rem; align-items: start; }
.flags { display: grid; gap: .55rem; }
.flags button { padding: .8rem 2.4rem .8rem 1rem; border: 0; background: #1e4f73; color: #fff; font: inherit; font-weight: 600; text-align: left; cursor: pointer; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%); transition: background .2s, transform .2s; }
.flags button:hover { background: #2a6390; transform: translateX(4px); }
.flags button[aria-pressed="true"] { background: var(--gold); color: var(--navy); font-weight: 800; }
.sail { position: relative; min-height: 220px; padding: 1.6rem 1.5rem; background: var(--sail); border-radius: 6px 80px 6px 6px; color: #fff4ea; box-shadow: 0 16px 30px rgba(0, 0, 0, .25); }
.sail::after { content: ""; position: absolute; right: 22px; bottom: -14px; width: 60%; height: 14px; background: #111a22; border-radius: 0 0 40px 10px; }
.answer h3 { font-size: 1.4rem; color: #fff; }
.answer p { margin: 0; }
.answer { animation: hoist .4s ease-out; }
.empty { margin: 0; font-style: italic; color: #f3cdb9; }
@keyframes hoist { from { opacity: 0; transform: translateY(14px); } }

/* Aide */
.help { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tips { margin: 0; padding-left: 1.2rem; }
.tips li { margin-bottom: .7rem; }
.contacts { display: grid; gap: .7rem; }
.contact { display: block; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--sand); border-left: 6px solid var(--sea); color: var(--ink); text-decoration: none; }
.contact b { display: block; font-size: 1.2rem; color: var(--navy); }
.contact span { color: var(--muted); }
.contact-main { border-left-color: var(--sail); }

/* FAQ */
.faq details { margin-bottom: .6rem; background: var(--white); border-radius: 10px; padding: .9rem 1.1rem; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.faq details p { margin: .6rem 0 0; }

/* Communauté */
.sec-join { background: var(--sea); color: #e3edf5; }
.sec-join .kicker { color: var(--gold); }
.sec-join h2 { color: #fff; }
.sec-join .intro { color: #b8cde0; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.app { display: flex; align-items: center; gap: .8rem; padding: 1.1rem; border-radius: var(--radius); background: var(--navy); color: #fff; text-decoration: none; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.app:hover { border-color: var(--gold); transform: translateY(-2px); }
.app svg { flex: none; width: 36px; height: 36px; }
.app[data-app="telegram"] svg { fill: #2aabee; }
.app[data-app="whatsapp"] svg { fill: #25d366; }
.app[data-app="signal"] svg { fill: #6f9cff; }
.app b { display: block; font-size: 1.1rem; }
.app small { color: #b8cde0; font-size: .9rem; }
.rules { margin: 1.4rem 0 0; color: #c9d9e7; }
.rules b { color: var(--gold); }

/* Pied de page */
.foot { padding: 2rem 0; background: #0a1d30; color: #9fb1c2; font-size: .9rem; }
.foot a { color: #d7e3ee; }
.foot b { color: #fff; }

/* Tablette et mobile */
@media (max-width: 900px) {
  .menu { display: none; }
  .langs { margin-left: auto; }
  .hero-in, .help, .fest { grid-template-columns: 1fr; }
  .knots { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { font-size: .9rem; letter-spacing: .05em; }
  .brand svg { width: 24px; height: 24px; }
  .langs button { padding: .25rem .45rem; }
  .hero { padding-top: 2.2rem; }
  .knots { grid-template-columns: 1fr; }
  .sec { padding: 3rem 0; }
  .sail { border-radius: 6px 50px 6px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
