/* ==========================================================================
   TAS Basketball School — feuille de style unique
   1. Tokens  2. Base  3. Composants  4. Sections  5. Overrides / responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --red: #ed1c24;
  --red-dark: #b80f17;
  --black: #080808;
  --dark: #111111;
  --white: #ffffff;
  --gray: #f4f4f4;
  --text-muted: #6b6b6b;

  --dark-soft: #16161a;
  --dark-line: rgba(255, 255, 255, 0.1);
  --light-line: #e5e5e5;
  --ink: #141416;

  --red-grad: linear-gradient(135deg, #e0141c 0%, #d51018 55%, var(--red-dark) 100%);
  --red-ink: #c8121a;
  --red-on-dark: #ff6b6f;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(8, 8, 8, 0.05), 0 8px 22px -12px rgba(8, 8, 8, 0.25);
  --shadow-md: 0 18px 40px -22px rgba(8, 8, 8, 0.45);
  --shadow-red: 0 14px 30px -12px rgba(237, 28, 36, 0.65);

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --header-h: 66px;
  --bar-h: 82px;

  --font-display: "Barlow Condensed", "Arial Narrow", "Haettenschweiler", Impact, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 9vw, 6.2rem); }
h2 { font-size: clamp(2rem, 5.4vw, 3.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.1; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
img { display: block; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :focus-visible,
.hero :focus-visible,
.final :focus-visible,
.footer :focus-visible,
.site-header :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -120%);
  background: var(--red-dark);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}

/* 3. Composants --------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red-grad);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { box-shadow: 0 18px 34px -12px rgba(237, 28, 36, 0.75); }

.btn--wa { background: var(--black); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.8); }
.btn--wa:hover { background: #1d1d20; }

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--black); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline-dark:hover { background: var(--ink); color: #fff; }

.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ee06a;
  box-shadow: 0 0 0 0 rgba(46, 224, 106, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 11px rgba(46, 224, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 224, 106, 0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--red-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.eyebrow--light { color: var(--red-on-dark); }
.eyebrow--light::before { background: var(--red-on-dark); }

.section { padding-block: var(--section-y); position: relative; }
.section__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section__head h2 { margin-bottom: 1rem; }
.section__lead { color: var(--text-muted); font-size: 1.05rem; }
.section__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.section__cta-note { font-size: 0.9rem; color: var(--text-muted); }

.section--light { background: var(--white); }
.section--gray { background: var(--gray); }
.section--dark {
  background: var(--dark);
  color: #fff;
}
.section--dark .section__lead { color: rgba(255, 255, 255, 0.72); }
.section--dark h2 { color: #fff; }

.section--dark::before,
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--red-ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--red-on-dark); }

/* Reveal ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 4. En-tête ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0));
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px -22px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  width: clamp(118px, 30vw, 152px);
  height: auto;
  aspect-ratio: 3 / 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem var(--gutter) 1.75rem;
  background: rgba(8, 8, 8, 0.98);
  border-bottom: 1px solid var(--dark-line);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__list { display: flex; flex-direction: column; gap: 0.15rem; }
.nav__list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav__list a:hover { color: var(--red-on-dark); }
.nav__cta { align-self: stretch; }

/* 5. Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--black);
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--black) url("../assets/images/hero.webp") center / cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.5) 34%, rgba(8, 8, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.25) 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, transparent, #000 45%, transparent);
}
.hero__glow {
  position: absolute;
  right: -18%;
  top: -12%;
  z-index: 1;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.5), transparent 62%);
  filter: blur(6px);
}
.hero__inner { position: relative; }
.hero__content { max-width: 41rem; }
.hero__title {
  margin-top: 1.25rem;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.hero__headline {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}
.hero__headline span { color: var(--red); text-shadow: 0 2px 26px rgba(0, 0, 0, 0.75); }
.hero__lead {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag--strong { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.hero__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.hero__location .icon { color: var(--red); width: 1.35em; height: 1.35em; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero__actions .btn { flex: 1 1 240px; }
.hero__note { margin-top: 1.1rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.hero__note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.trust__item .icon { color: var(--red); width: 1.25em; height: 1.25em; }

.hero__visual {
  position: relative;
  display: none;
  min-height: 420px;
}
.hero__ball {
  position: absolute;
  right: -6%;
  top: 50%;
  width: clamp(300px, 34vw, 470px);
  transform: translateY(-50%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 16px)); }
}
.hero__ring {
  position: absolute;
  right: 4%;
  top: 50%;
  border: 1px solid rgba(237, 28, 36, 0.4);
  border-radius: 50%;
  transform: translateY(-50%);
}
.hero__ring--1 { width: 300px; height: 300px; }
.hero__ring--2 { width: 400px; height: 400px; border-style: dashed; opacity: 0.6; }
.hero__ring--3 { width: 500px; height: 500px; opacity: 0.35; }
.hero__hoop { position: absolute; right: 8%; top: 8%; width: 130px; opacity: 0.9; }

/* 6. Bandeau défilant --------------------------------------------------- */
.ticker {
  overflow: hidden;
  background: var(--red-dark);
  color: #fff;
  padding-block: 0.7rem;
  border-bottom: 3px solid #8d0b11;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: slide 32s linear infinite;
}
.ticker__dot { opacity: 0.6; }
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* 7. Cartes "pourquoi" -------------------------------------------------- */
.cards {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--red-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before,
.card:focus-within::before { transform: none; }
.card__num {
  position: absolute;
  top: 0.6rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(20, 20, 22, 0.07);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(237, 28, 36, 0.1);
  color: var(--red-ink);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card > p:first-of-type { color: var(--ink); font-weight: 600; }
.card__text { margin-top: 0.6rem; }

/* 8. Catégories --------------------------------------------------------- */
.cats {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--dark-line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.cat:hover { transform: translateY(-5px); background: linear-gradient(160deg, rgba(237, 28, 36, 0.14), rgba(255, 255, 255, 0.02)); }
.cat__age {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}
.cat__name { color: var(--red-on-dark); font-size: 1.15rem; }
.cat__desc { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.chips li {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.cat .link-arrow { margin-top: auto; padding-top: 0.75rem; }

/* 9. Valeurs ------------------------------------------------------------ */
.values__list { display: grid; gap: 0; border-top: 1px solid var(--dark-line); }
.value {
  display: grid;
  gap: 0.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--dark-line);
}
.value__name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.25s var(--ease);
}
.value:hover .value__name { color: var(--red-on-dark); }
.value__desc { color: rgba(255, 255, 255, 0.7); font-size: 0.98rem; }

/* 10. Formulaire ------------------------------------------------------- */
.inscription {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.inscription__form {
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.inscription__form .section__lead { margin-bottom: 1.75rem; }

.form {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--group { border: 0; margin: 0; padding: 0; }
.field label,
.field legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--red-ink); }
.optional { color: var(--text-muted); font-weight: 400; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #d8d8dc;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #9a9aa2; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.16);
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
}

.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid #d8d8dc;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.choice:hover { border-color: var(--red); }
.choice input { width: 24px; height: 24px; accent-color: var(--red); margin: 0; }
.choice:has(input:checked) { border-color: var(--red); background: rgba(237, 28, 36, 0.07); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 44px;
  padding-block: 0.35rem;
  cursor: pointer;
  line-height: 1.45;
}
.checkbox input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex: none;
}

.hint { font-size: 0.82rem; color: var(--text-muted); }
.error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--red-dark);
}
.error::before { content: "⚠"; font-size: 1rem; line-height: 1; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field.has-error .choice { border-color: var(--red); background: rgba(237, 28, 36, 0.04); }
.field.has-error .checkbox input { outline: 2px solid var(--red); outline-offset: 2px; }

.form__actions { gap: 0.75rem; margin-top: 0.35rem; }
.form__status { font-size: 0.9rem; font-weight: 600; color: var(--red-dark); }
.form__status:empty { display: none; }
.form__legal { font-size: 0.82rem; color: var(--text-muted); text-align: center; }

.inscription__aside { position: relative; }
.wa-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--black);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.wa-card__title { margin-bottom: 0.6rem; }
.wa-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; }
.wa-card__list { display: grid; gap: 0.55rem; margin: 1.1rem 0 1.4rem; }
.wa-card__list li { display: flex; gap: 0.55rem; font-size: 0.95rem; }
.tick { color: #2ee06a; font-weight: 700; }
.wa-card .btn { margin-top: 0.6rem; }
.wa-card .btn--outline-dark { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.wa-card .btn--outline-dark:hover { background: #fff; color: var(--black); }
.wa-card__note { margin-top: 1rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.68); }

/* 11. Lieu -------------------------------------------------------------- */
.lieu {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
.lieu__card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.lieu__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.lieu__name { margin: 0.35rem 0 0.9rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lieu__lines { display: grid; gap: 0.15rem; color: var(--text-muted); font-size: 1.05rem; }
.lieu__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.lieu__note { margin-top: 1.1rem; font-size: 0.88rem; color: var(--text-muted); }
.lieu__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  min-width: 0;
  min-height: 240px;
  display: flex;
}
.lieu__map svg { width: 100%; height: 100%; display: block; }
.lieu__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--red-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.contact__title { margin-bottom: 0.9rem; font-size: 1.2rem; }
.contact__list { display: grid; gap: 0.8rem; }
.contact__link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 44px;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--light-line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact__link:hover { border-color: var(--red); transform: translateY(-2px); }
.contact__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.contact__meta { font-size: 0.85rem; color: var(--text-muted); }

/* 12. FAQ --------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--light-line); }
.acc-item { border-bottom: 1px solid var(--light-line); }
.acc-item__heading { margin: 0; font-size: inherit; }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 60px;
  padding: 1.05rem 0.25rem;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.acc-trigger:hover { color: var(--red-ink); }
.acc-icon { position: relative; width: 22px; height: 22px; flex: none; }
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2.5px;
  margin-top: -1.25px;
  border-radius: 2px;
  background: var(--red-ink);
  transition: transform 0.25s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); }
.acc-trigger[aria-expanded="true"] { color: var(--red-ink); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.32s var(--ease), visibility 0.32s var(--ease);
}
.acc-panel.is-open { max-height: 26rem; visibility: visible; }
.acc-panel p { padding-bottom: 1.35rem; max-width: 62ch; color: var(--text-muted); }

/* 13. CTA final --------------------------------------------------------- */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background: linear-gradient(160deg, #1b1b1f 0%, #080808 60%);
  color: #fff;
  text-align: center;
}
.final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(237, 28, 36, 0.55), transparent 70%),
    radial-gradient(40% 60% at 12% 0%, rgba(237, 28, 36, 0.22), transparent 70%);
}
.final__inner { max-width: 44rem; margin-inline: auto; }
.final h2 { margin-bottom: 1rem; }
.final__lead { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }
.final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}
.final__actions .btn { flex: 1 1 260px; }
.final__note { margin-top: 1.25rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* 14. Pied de page ------------------------------------------------------ */
.footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.footer__inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__brand img { width: 150px; height: auto; aspect-ratio: 3 / 1; }
.footer__brand p { margin-top: 0.9rem; max-width: 30ch; }
.footer__title {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.06em;
}
.footer__col { min-width: 0; }
.footer__text a:hover,
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__list { display: grid; gap: 0.2rem; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; }

.social { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.social a:hover { border-color: var(--red); background: rgba(237, 28, 36, 0.12); }
.social .icon { width: 1.05em; height: 1.05em; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer__credit { color: rgba(255, 255, 255, 0.6); }

/* 15. Boutons flottants ------------------------------------------------- */
.fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red-grad);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(237, 28, 36, 0.8);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.fab .icon { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.06); }
.fab[hidden] { display: none; }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.28s var(--ease);
}
.mobile-bar .btn { min-height: 52px; font-size: 1.05rem; padding-inline: 0.75rem; }

/* 16. Responsive -------------------------------------------------------- */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fab { display: inline-flex; }
}

@media (min-width: 720px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__list { flex-direction: row; gap: 1.35rem; }
  .nav__list a {
    min-height: 44px;
    padding: 0;
    font-size: 1.06rem;
    letter-spacing: 0.03em;
    border-bottom: 0;
    position: relative;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 6px;
    height: 2px;
    background: var(--red);
    transition: right 0.22s var(--ease);
  }
  .nav__list a:hover::after { right: 0; }
  .nav__cta { flex: none; }

  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .hero__visual { display: block; }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 1rem;
  }
  .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .inscription { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr); }
  .inscription__aside { position: sticky; top: calc(var(--header-h) + 1.25rem); }
  .lieu { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-bar { display: none; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 1.5rem; }
  .hero__content { max-width: 38rem; }
  .value { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 1.5rem; }
}

@media (max-width: 719px) {
  :root { --section-y: clamp(3.5rem, 12vw, 5rem); }
  .hero__inner { display: block; }
  .hero__visual { display: none; }
  .trust { grid-template-columns: 1fr; gap: 0.45rem; }
  .card__num { font-size: 2.8rem; }
  .final__actions .btn { flex: 1 1 100%; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
}

@media (min-width: 600px) and (max-width: 719px) {
  .fab { bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 0.85rem); }
}

@media (max-width: 380px) {
  .btn { font-size: 1rem; padding-inline: 1.1rem; }
  .btn--lg { font-size: 1.05rem; padding-inline: 1.15rem; }
  .mobile-bar .btn { font-size: 0.98rem; }
  h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
}

/* 17. Accessibilité : mouvement réduit ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__ball { animation: none; }
  .ticker__track { animation: none; }
}

@media print {
  .site-header, .mobile-bar, .fab, .ticker, .hero__bg, .final__bg { display: none !important; }
  body { color: #000; background: #fff; }
}