/* =========================================================
   GAAMEBOY FITNESS (GF) – TOGO SANTÉ
   Styles complémentaires à Tailwind (thème Dark Gym Premium)
   ========================================================= */

:root {
  --ink: #0f1115;
  --coal: #181a20;
  --steel: #22252d;
  --gold: #e5a910;
  --gold-light: #f5c542;
  --blaze: #dc2626;
  --wa: #25d366;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 1.25rem;
  color-scheme: dark;
}

html { -webkit-tap-highlight-color: transparent; }
body { background: var(--ink); overflow-x: hidden; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
section[id], footer[id] { scroll-margin-top: 72px; }

/* Icônes SVG (sprite) */
.i {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Top bar ---------- */
.topbar-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .65rem; border-radius: 999px;
  font-weight: 600; background: rgba(0, 0, 0, .2);
  transition: background .2s;
}
.topbar-btn:hover { background: rgba(0, 0, 0, .35); }

.status-dot {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: #a1a1aa; display: inline-block; position: relative;
}
.status-dot.is-open { background: #4ade80; }
.status-dot.is-open::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #4ade80; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
.status-dot.is-closed { background: #fbbf24; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Navigation ---------- */
#navbar { background: rgba(15, 17, 21, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
#navbar.is-scrolled { background: rgba(15, 17, 21, .92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8); }

.logo-badge {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: .8rem; font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.45rem;
  color: var(--ink); letter-spacing: .04em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #b8860b);
  box-shadow: 0 8px 20px -8px rgba(229, 169, 16, .7), inset 0 -3px 0 rgba(0, 0, 0, .2);
  transform: skewX(-6deg);
}

.nav-link { position: relative; color: #d4d4d8; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.mobile-menu { background: rgba(15, 17, 21, .98); border-top: 1px solid var(--line); }
.mobile-link { display: block; padding: .8rem .5rem; border-bottom: 1px solid var(--line); color: #e4e4e7; }
.mobile-link:active { color: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: .9rem;
  font-weight: 700; letter-spacing: .01em; line-height: 1.1; text-align: center;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
  cursor: pointer; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%);
  box-shadow: 0 10px 30px -10px rgba(229, 169, 16, .65);
}
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(229, 169, 16, .9); transform: translateY(-2px); }
.btn-wa { color: #fff; background: #1faa53; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .6); }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-outline { color: #fff; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-red { color: #fff; background: linear-gradient(135deg, #ef4444, var(--blaze)); box-shadow: 0 10px 30px -10px rgba(220, 38, 38, .6); }
.btn-red:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero-bg { background:
  repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .015) 22px 23px),
  radial-gradient(ellipse at 80% 20%, #2a1f0a 0%, transparent 55%),
  radial-gradient(ellipse at 10% 90%, #2a0d0d 0%, transparent 50%), var(--ink); }
.hero-glow {
  position: absolute; width: 38rem; height: 38rem; right: -10rem; top: -8rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 169, 16, .18), transparent 65%); pointer-events: none;
}
.text-gradient {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 40%, var(--blaze) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cert-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--gold);
  background: rgba(229, 169, 16, .1); border: 1px solid rgba(229, 169, 16, .35);
}

.stat { padding: .9rem; border-radius: 1rem; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.stat dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #a1a1aa; }
.stat dd { font-family: "Bebas Neue", Impact, sans-serif; font-size: 2rem; line-height: 1; color: #fff; margin-top: .3rem; }

/* Cadres photo + placeholders */
.photo-frame {
  position: relative; overflow: hidden; border-radius: 2rem;
  background:
    linear-gradient(160deg, rgba(229, 169, 16, .12), transparent 40%),
    repeating-linear-gradient(45deg, var(--coal) 0 14px, #1c1f26 14px 28px);
  border: 1px solid rgba(229, 169, 16, .25);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 8px rgba(255, 255, 255, .02);
}
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 17, 21, .6), transparent 45%); pointer-events: none; }
.ph-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  color: rgba(229, 169, 16, .7); text-align: center; padding: 1rem; font-weight: 600; font-size: .9rem;
}
.ph-fallback code { font-size: .72rem; color: #71717a; background: rgba(0, 0, 0, .35); padding: .2rem .5rem; border-radius: .4rem; }
img[data-ph].is-missing { display: none; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1rem; border-radius: 1rem;
  background: rgba(24, 26, 32, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .8);
  animation: float 5s ease-in-out infinite; z-index: 2;
}
.float-card:nth-of-type(3) { animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Bandeau défilant */
.marquee { overflow: hidden; padding: .9rem 0; }
.marquee-track { display: flex; gap: 1.8rem; width: max-content; color: #3f3f46; animation: marquee 32s linear infinite; }
.marquee-track span { white-space: nowrap; }
.marquee-track .dot { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--blaze);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.section-title {
  margin-top: .8rem; font-family: "Bebas Neue", Impact, sans-serif; font-size: 2.9rem; line-height: .95;
  letter-spacing: .02em; color: #fff; text-align: center;
}
@media (min-width: 640px) { .section-title { font-size: 4rem; } }
.section-sub { margin-top: 1rem; color: #a1a1aa; line-height: 1.65; }

/* ---------- Programmes ---------- */
.program-card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: 1.75rem; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.program-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 169, 16, .12), transparent 60%);
  pointer-events: none;
}
.program-card:hover { transform: translateY(-6px); border-color: rgba(229, 169, 16, .4); box-shadow: 0 30px 60px -30px rgba(229, 169, 16, .35); }
.program-card:hover::before { opacity: 1; }
.program-card h3 { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.8rem; line-height: 1; letter-spacing: .02em; color: #fff; }
.program-card p { color: #a1a1aa; font-size: .95rem; line-height: 1.6; }
.program-card ul { display: grid; gap: .4rem; font-size: .88rem; color: #d4d4d8; }
.program-card ul li { display: flex; align-items: center; gap: .55rem; }
.program-card ul li::before { content: ""; width: .4rem; height: .4rem; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.program-icon {
  width: 3.4rem; height: 3.4rem; border-radius: 1rem; display: grid; place-items: center;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 24px -10px rgba(229, 169, 16, .7);
}
.program-link { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--gold); }
.program-link:hover svg { transform: translateX(4px); }
.program-link svg { transition: transform .2s; }
.program-card--cta { background: linear-gradient(140deg, #b91c1c, var(--blaze) 50%, #ea580c); border-color: transparent; }
.program-card--cta p { color: rgba(255, 255, 255, .85); }

/* ---------- Tarifs ---------- */
.tabs {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: .35rem;
  border-radius: 999px; background: var(--ink); border: 1px solid var(--line); width: 100%; max-width: 30rem;
}
.tab {
  position: relative; z-index: 1; padding: .8rem .6rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem; color: #a1a1aa; transition: color .25s;
}
@media (min-width: 640px) { .tab { font-size: .95rem; } }
.tab[aria-selected="true"] { color: var(--ink); }
.tabs-indicator {
  position: absolute; top: .35rem; bottom: .35rem; left: .35rem; width: calc(50% - .35rem);
  border-radius: 999px; background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 8px 20px -8px rgba(229, 169, 16, .8);
  transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}
.tabs[data-active="monthly"] .tabs-indicator { transform: translateX(100%); }

#pricing-grid.is-switching { opacity: 0; transform: translateY(10px); }
#pricing-grid { transition: opacity .25s ease, transform .25s ease; }
#pricing-grid.grid-sessions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
#pricing-grid.grid-monthly { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem; border-radius: var(--radius);
  background: var(--coal); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .18); }
.price-card.is-popular { border-color: var(--gold); box-shadow: 0 30px 60px -30px rgba(229, 169, 16, .45); background: linear-gradient(180deg, #221d10, var(--coal) 45%); }
.price-card.is-exclusive { border-color: rgba(220, 38, 38, .7); box-shadow: 0 30px 60px -30px rgba(220, 38, 38, .5); background: linear-gradient(180deg, #2a1212, var(--coal) 45%); }
.price-badge {
  position: absolute; top: -.8rem; left: 1.5rem; padding: .3rem .8rem; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.price-badge--gold { background: var(--gold); color: var(--ink); }
.price-badge--red { background: var(--blaze); color: #fff; }
.price-card h3 { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.75rem; line-height: 1; letter-spacing: .03em; color: #fff; }
.price-card .tagline { margin-top: .4rem; font-size: .85rem; color: #a1a1aa; }
.price-amount { margin-top: 1.2rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price-amount strong { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.price-amount span { color: #a1a1aa; font-size: .85rem; font-weight: 600; }
.price-features { margin: 1.4rem 0; display: grid; gap: .6rem; font-size: .9rem; color: #d4d4d8; }
.price-features li { display: flex; gap: .55rem; align-items: flex-start; }
.price-features svg { color: var(--gold); width: 1.1rem; height: 1.1rem; margin-top: .1rem; }
.price-card .btn { margin-top: auto; }

.option-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem; border-radius: 1rem; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.option-row + .option-row { margin-top: .75rem; }
.option-row.is-featured { border-color: rgba(229, 169, 16, .45); background: rgba(229, 169, 16, .06); }
.option-row .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #a1a1aa; font-weight: 700; }
.option-row .amount { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.1; }
.option-row .amount small { font-size: .75rem; color: #a1a1aa; font-weight: 600; }
.option-row .btn { padding: .65rem 1rem; font-size: .85rem; border-radius: .75rem; white-space: nowrap; }

/* ---------- Panneaux / formulaires ---------- */
.panel {
  padding: 1.5rem; border-radius: 1.5rem; background: var(--coal); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
@media (min-width: 640px) { .panel { padding: 2rem; } }
.panel-result { background: linear-gradient(170deg, #1d1a12, var(--coal) 40%); border-color: rgba(229, 169, 16, .2); }

.field-label { display: block; margin-bottom: .45rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #a1a1aa; }
.input {
  width: 100%; padding: .85rem 1rem; border-radius: .8rem;
  background: var(--ink); border: 1.5px solid #2a2d36; color: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #52525b; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(229, 169, 16, .15); }
.input.is-invalid { border-color: var(--blaze); box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5A910' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.6rem;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

.input-unit { position: relative; display: block; }
.input-unit .input { padding-right: 2.6rem; }
.input-unit em { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-style: normal; font-size: .8rem; color: #71717a; pointer-events: none; }
.input-prefix { display: flex; }
.input-prefix em {
  display: grid; place-items: center; padding: 0 .9rem; font-style: normal; font-weight: 700; color: var(--gold);
  background: #1f2128; border: 1.5px solid #2a2d36; border-right: 0; border-radius: .8rem 0 0 .8rem;
}
.input-prefix .input { border-radius: 0 .8rem .8rem 0; }
.field-error { display: block; min-height: 1rem; margin-top: .3rem; font-size: .78rem; color: #f87171; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .3rem; border-radius: .9rem; background: var(--ink); border: 1px solid #2a2d36; }
.segmented input, .goal-option input, .slot-option input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: .65rem; border-radius: .7rem; font-weight: 700; color: #a1a1aa; cursor: pointer; transition: all .2s; }
.segmented input:checked + span { background: var(--steel); color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold); }
.segmented input:focus-visible + span, .goal-option input:focus-visible + span, .slot-option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.goal-option span {
  display: flex; align-items: center; gap: .6rem; padding: .9rem; border-radius: .9rem; cursor: pointer;
  font-weight: 600; font-size: .9rem; color: #d4d4d8; background: var(--ink); border: 1.5px solid #2a2d36; transition: all .2s;
}
.goal-option span svg { color: #71717a; transition: color .2s; }
.goal-option input:checked + span { border-color: var(--gold); background: rgba(229, 169, 16, .08); color: #fff; }
.goal-option input:checked + span svg { color: var(--gold); }

.slot-option span {
  display: flex; flex-direction: column; padding: 1rem 1.1rem; border-radius: 1rem; cursor: pointer;
  background: var(--ink); border: 1.5px solid #2a2d36; transition: all .2s;
}
.slot-option strong { color: #fff; font-size: 1rem; }
.slot-option em { font-style: normal; color: #a1a1aa; font-size: .85rem; }
.slot-option input:checked + span { border-color: var(--gold); background: rgba(229, 169, 16, .08); }
.slot-option input:checked + span em { color: var(--gold); }

/* ---------- Calculateur : résultats ---------- */
.bmi-pill { padding: .4rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 800; background: var(--steel); color: #fff; }
.bmi-pill[data-level="low"] { background: rgba(96, 165, 250, .15); color: #93c5fd; }
.bmi-pill[data-level="ok"] { background: rgba(74, 222, 128, .15); color: #86efac; }
.bmi-pill[data-level="over"] { background: rgba(229, 169, 16, .15); color: var(--gold-light); }
.bmi-pill[data-level="obese"] { background: rgba(220, 38, 38, .18); color: #fca5a5; }

.bmi-gauge { position: relative; padding-top: .6rem; }
.bmi-gauge-bar {
  height: .6rem; border-radius: 999px;
  /* 16→18.5 = 10% | 18.5→25 = 26% | 25→30 = 20% | 30→40 = 40% */
  background: linear-gradient(90deg, #60a5fa 0 10%, #4ade80 10% 36%, var(--gold) 36% 56%, var(--blaze) 56% 100%);
  opacity: .85;
}
.bmi-marker {
  position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; margin-left: -.55rem; margin-top: .35rem;
  border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 0 0 2px #fff;
  transition: left .6s cubic-bezier(.34, 1.56, .64, 1);
}
.bmi-gauge-labels { position: relative; height: 1rem; margin-top: .4rem; font-size: .68rem; color: #71717a; }
.bmi-gauge-labels span { position: absolute; transform: translateX(-50%); }
.bmi-gauge-labels span:nth-child(1) { left: 0; transform: none; }
.bmi-gauge-labels span:nth-child(2) { left: 10%; }
.bmi-gauge-labels span:nth-child(3) { left: 36%; }
.bmi-gauge-labels span:nth-child(4) { left: 56%; }
.bmi-gauge-labels span:nth-child(5) { right: 0; left: auto; transform: none; }

.mini-stat { padding: .9rem .6rem; border-radius: 1rem; text-align: center; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.mini-stat span { display: block; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #a1a1aa; font-weight: 700; }
.mini-stat strong { display: block; margin-top: .3rem; font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1; }
.mini-stat em { font-style: normal; font-size: .7rem; color: #71717a; }
.mini-stat--hl { border-color: rgba(229, 169, 16, .45); background: rgba(229, 169, 16, .08); }
.mini-stat--hl strong { color: var(--gold-light); }

.reco-card { padding: 1.25rem; border-radius: 1.1rem; background: var(--ink); border: 1px solid rgba(229, 169, 16, .35); }
.flash { animation: flash .6s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(229, 169, 16, .6); } 100% { box-shadow: 0 0 0 18px rgba(229, 169, 16, 0); } }

/* ---------- Confiance ---------- */
.seal {
  position: absolute; right: -.5rem; bottom: -1.5rem; width: 7.5rem; height: 7.5rem; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle, var(--gold-light), var(--gold) 60%, #b8860b);
  color: var(--ink); box-shadow: 0 20px 40px -12px rgba(229, 169, 16, .7), inset 0 0 0 5px rgba(15, 17, 21, .25), inset 0 0 0 8px rgba(255, 255, 255, .2);
  transform: rotate(-12deg); font-weight: 800; font-size: .62rem; letter-spacing: .2em;
}
.seal strong { font-family: "Bebas Neue", Impact, sans-serif; font-size: 2rem; letter-spacing: .05em; line-height: 1; }
@media (min-width: 640px) { .seal { right: -1.5rem; width: 9rem; height: 9rem; } }

.check-item { display: flex; gap: .75rem; align-items: flex-start; color: #e4e4e7; }
.check-item svg { padding: .2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(229, 169, 16, .15); color: var(--gold); stroke-width: 3; }

.testimonial { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); }
.testimonial blockquote { color: #d4d4d8; line-height: 1.7; flex: 1; }
.stars { display: flex; gap: .15rem; color: var(--gold); }
.stars .i { width: 1.05rem; height: 1.05rem; stroke: none; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption strong { display: block; color: #fff; }
.testimonial figcaption em { font-style: normal; font-size: .8rem; color: #a1a1aa; }
.avatar { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }

/* ---------- Événements ---------- */
.event-card {
  position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.75rem;
  border-radius: var(--radius); background: var(--coal); border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.event-card:hover { transform: translateY(-5px); border-color: rgba(220, 38, 38, .5); }
.event-card h3 { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.8rem; color: #fff; line-height: 1; letter-spacing: .02em; }
.event-card p { color: #a1a1aa; font-size: .95rem; line-height: 1.6; }
.event-icon { width: 3.2rem; height: 3.2rem; border-radius: 1rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ef4444, var(--blaze)); }
.event-tag { position: absolute; top: 1.4rem; right: 1.4rem; padding: .25rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; background: var(--steel); color: #e4e4e7; }
.event-tag--free { background: rgba(74, 222, 128, .15); color: #86efac; }
.event-tag--hot { background: rgba(229, 169, 16, .15); color: var(--gold-light); }
.event-meta { display: flex; align-items: center; gap: .5rem; font-size: .85rem !important; color: var(--gold) !important; font-weight: 600; }

/* ---------- Inscription ---------- */
.signup-glow {
  position: absolute; left: 50%; top: 30%; width: 50rem; height: 30rem; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(220, 38, 38, .14), transparent 65%); pointer-events: none;
}

/* ---------- Footer ---------- */
.contact-row { display: flex; gap: 1rem; color: #a1a1aa; line-height: 1.6; }
.contact-icon { width: 2.8rem; height: 2.8rem; border-radius: .9rem; display: grid; place-items: center; flex-shrink: 0; color: var(--gold); background: rgba(229, 169, 16, .1); border: 1px solid rgba(229, 169, 16, .25); }
.map-wrap { position: relative; min-height: 22rem; border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 45;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--wa); box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.2s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
@media (min-width: 640px) { .modal { place-items: center; } }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal-card {
  position: relative; width: 100%; max-width: 28rem; max-height: 92vh; overflow-y: auto;
  padding: 2rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-radius: 1.75rem 1.75rem 0 0;
  background: var(--coal); border: 1px solid rgba(229, 169, 16, .3); animation: slideUp .35s cubic-bezier(.2, .9, .3, 1.1);
}
@media (min-width: 640px) { .modal-card { border-radius: 1.75rem; padding: 2.25rem; } }
.summary { display: grid; gap: .1rem; border-radius: 1rem; overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; background: var(--ink); font-size: .9rem; }
.summary dt { color: #a1a1aa; }
.summary dd { color: #fff; font-weight: 600; text-align: right; }
.success-pop { animation: pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom)); z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: .8rem 1.2rem; border-radius: .9rem; max-width: calc(100% - 2rem);
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); transition: all .3s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Contenu géré depuis l'app ---------- */
.site-banner {
  position: relative; z-index: 45; padding: .55rem 1rem; text-align: center;
  font-size: .85rem; font-weight: 700; color: var(--ink); background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
img[data-ph]:not([src]) { display: none; }
.ph-logo {
  display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 1.3rem; transform: skewX(-6deg);
  font-family: "Bebas Neue", Impact, sans-serif; font-size: 2.6rem; color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #b8860b);
}
.stars .i.off { opacity: .25; }
.avatar-img { object-fit: cover; padding: 0; }

.gallery { columns: 2 10rem; column-gap: .9rem; }
@media (min-width: 768px) { .gallery { columns: 3 14rem; } }
.gallery-item {
  position: relative; display: block; width: 100%; margin-bottom: .9rem; break-inside: avoid;
  border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: var(--coal); cursor: zoom-in;
}
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span {
  position: absolute; inset: auto 0 0; padding: 1.6rem .8rem .6rem; text-align: left; font-size: .8rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
}
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; gap: .8rem; padding: 3.5rem 1rem 1.5rem; background: rgba(0, 0, 0, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); border-radius: .8rem; object-fit: contain; }
.lightbox-caption { color: #e4e4e7; text-align: center; font-size: .95rem; }
.lightbox-close { position: absolute; top: .8rem; right: .8rem; padding: .5rem; color: #fff; border-radius: 50%; background: rgba(255, 255, 255, .1); }
