/* ============================================================
   FESTIVAL DES JEUX DE TABLE — Cotonou 2026
   Charte : #123a1f (principal) · #f90000 (secondaire) · #ffd21e
   Polices : Anton · Poppins · Caveat
   ============================================================ */
:root {
  --green: #123a1f;
  --green-mid: #1c5a30;
  --cream: #f4f1e8;
  --cream-soft: #fbf9f2;
  --yellow: #ffd21e;
  --red: #f90000;
  --white: #ffffff;
  --radius: 18px;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { font-family: var(--font-body); color: var(--green); background: var(--cream); line-height: 1.65; }
img { max-width: 100%; }

/* ---------- utilitaires ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font-hand); font-size: 24px; letter-spacing: .02em; color: var(--red); }
.eyebrow.on-dark { color: var(--yellow); }
.display { font-family: var(--font-display); text-transform: uppercase; line-height: .95; letter-spacing: .01em; }
.btn {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .04em; font-size: 18px; padding: 16px 34px; border-radius: 14px;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-yellow { background: var(--yellow); color: var(--green); box-shadow: 0 6px 0 rgba(0,0,0,.22); }
.btn-red    { background: var(--red); color: var(--white); box-shadow: 0 6px 0 rgba(0,0,0,.22); }
.btn-ghost  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }

/* ---------- barre du haut : langue ---------- */
.topbar { display: flex; gap: 8px; align-items: center; }
.lang-pill { box-shadow: 0 4px 14px rgba(0,0,0,.3); background: rgba(18,58,31,.9); border: 1px solid rgba(255,255,255,.15); }
.lang-pill {
  display: flex; background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 4px; gap: 2px;
}
.lang-pill button {
  border: none; background: transparent; color: #fff; font-family: var(--font-body);
  font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.lang-pill button.active { background: var(--yellow); color: var(--green); }
.lang-pill button.loading { opacity: .6; pointer-events: none; }

/* ---------- HERO ---------- */
.hero {
  background: radial-gradient(120% 100% at 50% 0%, var(--green-mid) 0%, var(--green) 100%);
  color: var(--white); text-align: center; padding: 34px 0 90px; position: relative; overflow: hidden;
}
.hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 64px; }
.brand { font-weight: 700; letter-spacing: .18em; font-size: 15px; text-align: left; }
.brand a { color: inherit; text-decoration: none; }
.brand small { display: block; color: var(--yellow); font-family: var(--font-hand); font-size: 18px; letter-spacing: .06em; }
.brand img.site-logo { max-height: 64px; width: auto; display: block; }
.hero-loc { font-family: var(--font-hand); font-size: 22px; color: rgba(255,255,255,.85); }

.hero h1 { font-size: clamp(54px, 11vw, 130px); }
.hero h1 .accent { color: var(--yellow); }
.table-line { width: min(420px, 70%); margin: 10px auto 0; position: relative; height: 34px; }
.table-line::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--white); border-radius: 3px; }
.table-line::after {
  content: ''; position: absolute; top: 4px; left: 8%; right: 8%; height: 26px;
  border-left: 5px solid var(--white); border-right: 5px solid var(--white);
  transform: perspective(60px) rotateX(18deg);
}
.table-line .caption { position: absolute; top: 8px; left: 0; right: 0; font-family: var(--font-display); font-size: 22px; letter-spacing: .12em; text-transform: uppercase; }

.hero-badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 56px 0 38px; }
.badge { border-radius: 14px; padding: 14px 28px; text-align: center; box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.badge .lbl { display: block; font-family: var(--font-hand); font-size: 20px; margin-bottom: 2px; }
.badge strong { font-family: var(--font-display); font-size: 24px; letter-spacing: .02em; }
.badge-yellow { background: var(--yellow); color: var(--green); }
.badge-yellow .lbl { color: var(--red); }
.badge-red { background: var(--red); color: var(--white); }

.hero-verbs { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; letter-spacing: .08em; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.hero-verbs span + span::before { content: '·'; color: var(--yellow); margin-right: 14px; }
.seeds { display: flex; gap: 26px; justify-content: center; margin-top: 52px; opacity: .5; }
.seeds i { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); display: block; }
.seeds i:nth-child(even) { background: var(--red); }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: 96px 0; }
.manifesto h2 { font-size: clamp(44px, 7vw, 84px); color: var(--green-mid); margin: 6px 0 28px; }
.manifesto h2 em { font-style: normal; color: var(--green); }
.manifesto p { max-width: 620px; font-size: 18px; }
.manifesto .punch { margin-top: 34px; font-family: var(--font-display); text-transform: uppercase; color: var(--green-mid); font-size: 20px; display: flex; align-items: center; gap: 12px; }
.pawn { width: 26px; height: 26px; background: var(--green); border-radius: 6px; position: relative; flex: none; }
.pawn::after { content: ''; position: absolute; inset: 6px; background: var(--red); border-radius: 50%; }

/* ---------- EXPÉRIENCES ---------- */
.experiences { background: var(--green); color: var(--white); padding: 96px 0; }
.experiences h2 { font-size: clamp(38px, 6vw, 68px); }
.experiences h2 .accent { color: var(--yellow); }
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 48px; }
.exp-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 24px; }
.exp-card .num { font-family: var(--font-display); color: var(--yellow); font-size: 20px; }
.exp-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; margin: 6px 0 8px; }
.exp-card p { font-size: 15px; opacity: .9; }
.stats { margin-top: 56px; background: var(--yellow); color: var(--green); border-radius: var(--radius); display: flex; flex-wrap: wrap; justify-content: space-around; padding: 22px 16px; gap: 18px; box-shadow: 0 8px 0 rgba(0,0,0,.25); }
.stats div { text-align: center; min-width: 110px; }
.stats strong { font-family: var(--font-display); font-size: 34px; color: var(--red); display: block; line-height: 1; }
.stats span { font-family: var(--font-hand); font-size: 20px; }

/* ---------- PÔLES ---------- */
.poles { padding: 96px 0; }
.poles h2 { font-size: clamp(38px, 6vw, 68px); color: var(--green-mid); }
.poles h2 .accent { color: var(--red); }
.pole-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 44px; }
.pole { border-radius: var(--radius); padding: 24px; background: var(--cream-soft); border: 1px solid rgba(18,58,31,.08); }
.pole.green { background: var(--green-mid); color: var(--white); }
.pole.red { background: var(--red); color: var(--white); }
.pole h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; }
.pole h3 .num { color: var(--yellow); margin-right: 8px; }
.pole:not(.green):not(.red) h3 .num { color: var(--red); }
.pole p { font-size: 15px; margin-top: 6px; }

/* ---------- PROGRAMME + VIBES ---------- */
.programme { background: #e9e4d5; padding: 96px 0; }
.programme h2 { font-size: clamp(38px, 6vw, 68px); color: var(--green); }
.programme h2 .accent { color: var(--red); }
.vibes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.vibe {
  font-family: var(--font-display); text-transform: uppercase; font-size: 15px; letter-spacing: .05em;
  padding: 9px 20px; border-radius: 999px; background: var(--green); color: var(--yellow);
}
.vibe:nth-child(2) { background: var(--red); color: var(--white); }
.vibe:nth-child(3) { background: var(--yellow); color: var(--green); }
.vibe:nth-child(4) { background: var(--cream-soft); color: var(--red); border: 2px solid var(--red); }
.day-list { margin-top: 40px; display: grid; gap: 18px; }
.day { background: var(--cream-soft); border-radius: var(--radius); display: flex; gap: 24px; padding: 26px 28px; align-items: flex-start; flex-wrap: wrap; }
.day.featured { background: var(--green-mid); color: var(--white); }
.day-num { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--green-mid); min-width: 90px; text-align: center; }
.day.featured .day-num { color: var(--yellow); }
.day-num small { display: block; font-family: var(--font-hand); font-size: 19px; color: var(--red); }
.day.featured .day-num small { color: rgba(255,255,255,.85); }
.day-body { flex: 1; min-width: 240px; }
.day-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; }
.day-body .hours { font-family: var(--font-hand); font-size: 20px; color: var(--green-mid); float: right; }
.day.featured .hours { color: var(--yellow); }
.tags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 13px; padding: 5px 14px; border-radius: 999px; background: rgba(18,58,31,.08); }
.day.featured .tag { background: rgba(255,255,255,.16); }
.prog-note { margin-top: 22px; font-family: var(--font-hand); font-size: 19px; opacity: .65; }

/* ---------- VIDÉOS ---------- */
.videos { background: var(--green); color: var(--white); padding: 96px 0; }
.videos h2 { font-size: clamp(36px, 6vw, 64px); }
.videos h2 .accent { color: var(--red); -webkit-text-stroke: 1px rgba(255,255,255,.4); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 44px; }
.video-card { border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.video-frame { position: relative; aspect-ratio: 16/9; cursor: pointer; background: #000; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border: none; cursor: pointer;
  background: var(--red); border-radius: 12px; display: grid; place-items: center;
}
.video-frame .play::after { content: ''; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 14px 16px; }

/* ---------- PRESSE ---------- */
.press { padding: 96px 0; }
.press h2 { font-size: clamp(36px, 6vw, 64px); color: var(--green-mid); }
.press h2 .accent { color: var(--red); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 44px; }
.press-card {
  background: var(--cream-soft); border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(18,58,31,.08); display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit; transition: transform .15s ease;
}
.press-card:hover { transform: translateY(-3px); }
.press-card img { border-radius: 10px; max-height: 160px; object-fit: cover; width: 100%; }
.press-card .src { font-family: var(--font-hand); font-size: 20px; color: var(--red); }
.press-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 19px; line-height: 1.15; }
.press-card p { font-size: 14px; opacity: .8; }
.press-card .date { font-size: 12px; opacity: .55; margin-top: auto; }

/* ---------- PARTENAIRES ---------- */
.partners { background: #e9e4d5; padding: 80px 0; text-align: center; }
.partners h2 { font-size: clamp(32px, 5vw, 54px); color: var(--green); }
.partners h2 .accent { color: var(--red); }
.partner-row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; margin-top: 40px; }
.partner-row a, .partner-row span {
  background: var(--white); border-radius: 14px; padding: 18px 26px; display: grid; place-items: center;
  min-width: 140px; min-height: 84px; box-shadow: 0 4px 0 rgba(0,0,0,.08); text-decoration: none;
}
.partner-row img { max-height: 52px; max-width: 150px; object-fit: contain; }
.partner-row .pname { font-family: var(--font-display); text-transform: uppercase; color: var(--green); font-size: 16px; }
.partner-cta { margin-top: 36px; font-family: var(--font-hand); font-size: 22px; }
.partner-cta a { color: var(--red); }

/* ---------- BILLETTERIE ---------- */
.tickets { background: radial-gradient(120% 100% at 50% 0%, var(--green-mid) 0%, var(--green) 100%); color: var(--white); padding: 96px 0; }
.tickets h2 { font-size: clamp(40px, 7vw, 76px); text-align: center; }
.tickets h2 .accent { color: var(--yellow); }
.tickets .price-line { text-align: center; margin: 14px 0 44px; font-size: 18px; }
.tickets .price-line strong { font-family: var(--font-display); color: var(--yellow); font-size: 26px; }
.ticket-box { max-width: 640px; margin: 0 auto; background: var(--cream-soft); color: var(--green); border-radius: 22px; padding: 36px; box-shadow: 0 12px 0 rgba(0,0,0,.3); }
.ticket-box .step { font-family: var(--font-hand); font-size: 23px; color: var(--red); display: block; margin-bottom: 12px; }
.day-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.day-pick input { position: absolute; opacity: 0; }
.day-pick { position: relative; display: block; cursor: pointer; text-align: center; border: 2px solid rgba(18,58,31,.18); border-radius: 14px; padding: 14px 6px; transition: all .15s ease; }
.day-pick strong { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1; }
.day-pick span { font-family: var(--font-hand); font-size: 18px; }
.day-pick:has(input:checked) { background: var(--green-mid); border-color: var(--green-mid); color: var(--white); }
.day-pick:has(input:checked) strong { color: var(--yellow); }
.day-pick:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field { margin-top: 20px; }
.field label { font-family: var(--font-hand); font-size: 21px; display: block; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid rgba(18,58,31,.18);
  background: var(--white); font-family: var(--font-body); font-size: 15px; color: var(--green);
}
.field :is(input,select,textarea):focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--green-mid); }
.qty-row { display: flex; align-items: center; gap: 14px; }
.qty-btn { width: 44px; height: 44px; border-radius: 12px; border: none; cursor: pointer; background: var(--green-mid); color: var(--white); font-size: 22px; font-weight: 700; }
.qty-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
#qty { font-family: var(--font-display); font-size: 30px; min-width: 44px; text-align: center; }
.provider-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.provider-pick input { position: absolute; opacity: 0; }
.provider-pick { position: relative; cursor: pointer; border: 2px solid rgba(18,58,31,.18); border-radius: 14px; padding: 14px; text-align: center; font-weight: 600; }
.provider-pick small { display: block; font-weight: 400; font-size: 12px; opacity: .65; }
.provider-pick:has(input:checked) { border-color: var(--red); background: #fff3f0; }
.total-row { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; background: var(--yellow); border-radius: 14px; padding: 16px 20px; }
.total-row span { font-family: var(--font-hand); font-size: 22px; }
.total-row strong { font-family: var(--font-display); font-size: 30px; color: var(--red); }
.pay-btn { width: 100%; margin-top: 18px; font-size: 20px; padding: 18px; }
.momo-note { margin-top: 14px; text-align: center; font-family: var(--font-hand); font-size: 19px; opacity: .7; }
.form-error { margin-top: 14px; color: var(--red); font-weight: 600; display: none; }
.form-ok { margin-top: 14px; color: var(--green-mid); font-weight: 600; display: none; }

/* ---------- NEWSLETTER (fond vert, jaune en accent) ---------- */
.newsletter { background: var(--green); color: var(--white); padding: 72px 0; }
.newsletter .inner { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.newsletter h2 { font-size: clamp(30px, 5vw, 48px); max-width: 460px; }
.newsletter h2 .accent { color: var(--yellow); }
.newsletter form { display: flex; gap: 10px; flex: 1; min-width: 300px; max-width: 480px; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1; min-width: 200px; padding: 15px 18px; border-radius: 12px; border: 2px solid transparent; font-family: var(--font-body); font-size: 15px; }
.newsletter .btn { padding: 14px 26px; font-size: 16px; }
.newsletter .hand { font-family: var(--font-hand); font-size: 21px; margin-top: 8px; width: 100%; color: rgba(255,255,255,.85); }
.newsletter .form-ok { color: var(--yellow); }

/* ---------- CONTACT ---------- */
.contact { padding: 96px 0; }
.contact h2 { font-size: clamp(36px, 6vw, 64px); color: var(--green-mid); }
.contact h2 .accent { color: var(--red); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 40px; }
.contact-info p { margin-bottom: 14px; font-size: 16px; }
.contact-info a { color: var(--red); font-weight: 600; text-decoration: none; }
.contact-info .hand { font-family: var(--font-hand); font-size: 24px; color: var(--green-mid); }
.contact-form { background: var(--cream-soft); border-radius: 22px; padding: 32px; border: 1px solid rgba(18,58,31,.08); }
.contact-form .btn { margin-top: 20px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
footer { background: var(--green); color: var(--cream); padding: 64px 0 90px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; margin-bottom: 10px; color: var(--yellow); }
footer a { color: var(--yellow); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-credit { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .85; }
.footer-credit .hand { font-family: var(--font-hand); font-size: 19px; color: var(--yellow); }

/* ---------- BANDEAU COOKIES ---------- */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 950;
  max-width: 560px; margin: 0 auto; background: var(--white); color: var(--green);
  border-radius: 16px; padding: 20px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
  display: none; border: 2px solid var(--green);
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 14px; margin-bottom: 14px; }
.cookie-banner .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button { border: none; cursor: pointer; border-radius: 10px; padding: 10px 20px; font-family: var(--font-body); font-weight: 600; font-size: 14px; }
.cookie-accept { background: var(--green); color: #fff; }
.cookie-refuse { background: var(--cream); color: var(--green); }

/* ---------- Masquage total de l'outil de traduction ---------- */
#google_translate_element { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate iframe, iframe.goog-te-banner-frame { display: none !important; visibility: hidden !important; }
body > .skiptranslate { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-te-gadget, .goog-logo-link, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ---------- Page billet ---------- */
.ticket-page { min-height: 100vh; background: radial-gradient(120% 100% at 50% 0%, var(--green-mid) 0%, var(--green) 100%); padding: 48px 0 80px; color: var(--white); }
.ticket-card { background: var(--cream-soft); color: var(--green); border-radius: 20px; max-width: 420px; margin: 0 auto 22px; overflow: hidden; box-shadow: 0 10px 0 rgba(0,0,0,.3); }
.ticket-card .head { background: var(--yellow); padding: 18px 24px; }
.ticket-card .head strong { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.ticket-card .head span { font-family: var(--font-hand); font-size: 19px; display: block; }
.ticket-card .body { padding: 24px; text-align: center; }
.ticket-card .code { font-family: monospace; font-size: 20px; letter-spacing: .1em; margin-top: 14px; font-weight: 700; }
.ticket-card .qr { display: flex; justify-content: center; }
.ticket-card .qr svg, .ticket-card .qr img { border: 8px solid var(--white); border-radius: 8px; display: block; }
.ticket-card .meta { font-family: var(--font-hand); font-size: 19px; opacity: .65; margin-top: 10px; }

@media (max-width: 640px) {
  .day-picker { grid-template-columns: 1fr; }
  .provider-picker { grid-template-columns: 1fr; }
  .day-num { min-width: auto; }
  .ticket-box, .contact-form { padding: 24px; }
}
@media print {
  .no-print, .topbar, .cookie-banner { display: none !important; }
  .ticket-page { background: #fff; color: #000; }
}

/* ---------- COMPTE À REBOURS ---------- */
.countdown { display: flex; gap: 14px; justify-content: center; margin: 6px 0 30px; flex-wrap: wrap; }
.countdown div { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 12px 18px; min-width: 82px; }
.countdown strong { font-family: var(--font-display); font-size: 34px; color: var(--yellow); display: block; line-height: 1; }
.countdown span { font-family: var(--font-hand); font-size: 18px; color: rgba(255,255,255,.85); }
.countdown .cd-live { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; color: var(--yellow); }

/* ---------- PHOTO HERO ---------- */
.hero-photo { max-width: 620px; margin: 44px auto -140px; }
.hero-photo img { width: 100%; border-radius: 22px; box-shadow: 0 14px 0 rgba(0,0,0,.3); display: block; }
.hero:has(.hero-photo) { padding-bottom: 40px; }
.hero:has(.hero-photo) + .manifesto { padding-top: 190px; }

/* ---------- GALERIE PHOTOS ---------- */
.gallery { padding: 96px 0; }
.gallery h2 { font-size: clamp(36px, 6vw, 64px); color: var(--green-mid); }
.gallery h2 .accent { color: var(--red); }
.gallery-grid { columns: 3 260px; column-gap: 16px; margin-top: 44px; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-item img { display: block; width: 100%; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px;
  background: linear-gradient(transparent, rgba(18,58,31,.85));
  color: #fff; font-family: var(--font-hand); font-size: 19px;
}

/* ---------- PAGE 404 ---------- */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, var(--green-mid) 0%, var(--green) 100%); color: #fff; padding: 40px 20px; }
.page-404 .dice { font-size: 84px; }
.page-404 h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(48px, 10vw, 110px); line-height: .95; }
.page-404 h1 span { color: var(--yellow); }
.page-404 p { font-family: var(--font-hand); font-size: 26px; margin: 14px 0 30px; color: rgba(255,255,255,.9); }


/* ---------- CONTRÔLES FLOTTANTS : hamburger + langue + billets ---------- */
.float-nav {
  position: fixed; top: 14px; right: 16px; z-index: 920;
  display: flex; gap: 8px; align-items: center;
}
.float-nav .nav-cta {
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700;
  font-size: 13px; padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.float-nav .nav-cta:hover { filter: brightness(1.1); }
.burger {
  background: rgba(18,58,31,.9); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; width: 42px; height: 42px; border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.burger span { display: block; width: 18px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu plein écran */
.menu-overlay {
  position: fixed; inset: 0; z-index: 910;
  background: rgba(18,58,31,.97); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
}
.menu-overlay.open { display: flex; }
.menu-overlay nav { text-align: center; display: grid; gap: 6px; }
.menu-overlay a {
  color: #fff; text-decoration: none; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(24px, 5vw, 40px); letter-spacing: .03em; padding: 8px 20px; display: block;
}
.menu-overlay a:hover { color: var(--yellow); }
.menu-overlay a.menu-cta { color: var(--yellow); }
.menu-overlay .menu-foot { margin-top: 20px; font-family: var(--font-hand); font-size: 20px; color: rgba(255,255,255,.6); }

/* ---------- HERO : logo central uploadé ---------- */
.hero-logo { max-width: min(560px, 84%); margin: 10px auto 0; }
.hero-logo img { width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand img.agency-logo { max-height: 44px; width: auto; display: block; }

/* ---------- FONDS À MOTIF (pattern uploadé dans l'admin) ---------- */
.has-pattern { background-blend-mode: overlay; }

/* ---------- PARTENAIRES : carrousel automatique si nombreux ---------- */
.marquee { overflow: hidden; position: relative; margin-top: 40px; }
.marquee .track { display: flex; gap: 28px; width: max-content; animation: scrollx 30s linear infinite; align-items: center; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee a, .marquee span { background: var(--white); border-radius: 14px; padding: 18px 26px; display: grid; place-items: center; min-width: 140px; min-height: 84px; box-shadow: 0 4px 0 rgba(0,0,0,.08); text-decoration: none; flex: none; }
.marquee img { max-height: 52px; max-width: 150px; object-fit: contain; }

/* ---------- GALERIE : grille homogène + lightbox ---------- */
.gallery-grid { columns: unset; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 44px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-more { text-align: center; margin-top: 34px; }
.lightbox {
  position: fixed; inset: 0; z-index: 990; background: rgba(10,25,14,.94);
  display: none; align-items: center; justify-content: center; padding: 40px 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; }
.lightbox .lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-hand); font-size: 22px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer; border-radius: 12px; font-size: 26px; width: 48px; height: 48px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Vidéos & articles : bouton voir plus ---------- */
.see-more { text-align: center; margin-top: 30px; }
.video-card.extra, .press-card.extra { display: none; }

/* ---------- ARTICLES (rédigés dans l'admin) ---------- */
.article-page { background: var(--cream); min-height: 100vh; padding: 40px 0 90px; }
.article-page .cover { border-radius: var(--radius); width: 100%; max-height: 420px; object-fit: cover; margin: 22px 0; }
.article-page h1 { font-family: var(--font-display); text-transform: uppercase; color: var(--green-mid); font-size: clamp(32px, 6vw, 58px); line-height: 1; }
.article-meta { font-family: var(--font-hand); font-size: 21px; color: var(--red); margin-top: 8px; }
.article-body { max-width: 720px; font-size: 17px; margin-top: 26px; }
.article-body h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--green-mid); font-size: 26px; margin: 30px 0 10px; }
.article-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; margin: 24px 0 8px; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 14px 22px; }
.article-body img { border-radius: 12px; margin: 10px 0; }
.article-body blockquote { border-left: 4px solid var(--yellow); padding: 6px 18px; font-family: var(--font-hand); font-size: 23px; color: var(--green-mid); margin: 18px 0; }
.back-link { font-weight: 600; color: var(--red); text-decoration: none; }

/* ---------- Pages de liste (photos, articles) + pagination ---------- */
.list-page { background: var(--cream); min-height: 100vh; padding: 40px 0 90px; }
.list-page h1 { font-family: var(--font-display); text-transform: uppercase; color: var(--green-mid); font-size: clamp(36px, 7vw, 64px); }
.list-page h1 .accent { color: var(--red); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px;
  border-radius: 10px; background: var(--white); color: var(--green); text-decoration: none; font-weight: 700;
}
.pagination .current { background: var(--green-mid); color: var(--white); }

/* ---------- Pages légales ---------- */
.legal-page { background: var(--cream); min-height: 100vh; padding: 40px 0 90px; }
.legal-page h1 { font-family: var(--font-display); text-transform: uppercase; color: var(--green-mid); font-size: clamp(32px, 6vw, 54px); }
.legal-body { max-width: 760px; background: var(--white); border-radius: var(--radius); padding: 34px; margin-top: 26px; font-size: 15px; }
.legal-body h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--green-mid); font-size: 22px; margin: 22px 0 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 12px; }
.footer-legal { margin-top: 18px; font-size: 13px; }
.footer-legal a, .footer-legal button { color: var(--cream); opacity: .8; margin-right: 16px; text-decoration: none; background: none; border: none; cursor: pointer; font: inherit; padding: 0; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--yellow); opacity: 1; }

/* ---------- RÉSEAUX SOCIAUX (footer) ---------- */
.social-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-row a {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--cream); border: 1px solid rgba(255,255,255,.15);
  transition: transform .15s ease, background .15s ease;
}
.social-row a:hover { background: var(--yellow); color: var(--green); transform: translateY(-2px); }
