/* ============================================================
   PULSE — Centre de sport
   Style moderne, dynamique, premium, énergique
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Couleurs */
  --cream: #fdf8f1;
  --cream-2: #f5ede0;
  --white: #ffffff;
  --ink: #161616;
  --ink-soft: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e9e2d4;

  --orange: #ff6a1a;
  --orange-2: #ff9352;
  --pink: #ff3d7f;
  --violet: #7c3aed;
  --blue: #2563ff;

  /* Dégradés */
  --grad-orange: linear-gradient(135deg, #ff6a1a 0%, #ff3d7f 100%);
  --grad-violet: linear-gradient(135deg, #7c3aed 0%, #2563ff 100%);
  --grad-mix:    linear-gradient(135deg, #ff6a1a 0%, #ff3d7f 45%, #7c3aed 100%);

  /* Typographie */
  --font-display: 'Anton', 'Archivo Black', Impact, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;

  /* Espaces */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(20, 14, 0, 0.06);
  --shadow-md: 0 16px 40px rgba(20, 14, 0, 0.08);
  --shadow-lg: 0 30px 80px rgba(20, 14, 0, 0.12);

  /* Layout */
  --nav-h: 76px;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utilitaires : dégradés sur mots ---------- */
.gradient-orange {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-violet {
  background: var(--grad-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-mix {
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-accent);
  letter-spacing: 0.2px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

.btn-primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 106, 26, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(255, 106, 26, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(253, 248, 241, 0.7);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(253, 248, 241, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--ink);
}
.logo-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s ease;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-orange);
  transition: width .3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta { padding: 10px 20px !important; font-size: .9rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — Scroll Expansion
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity .15s linear;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}

/* Média central qui s'agrandit */
.hero-media {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 400px;
  max-width: 95vw;
  max-height: 85vh;
  border-radius: 22px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  /* No transition: updated per frame in JS */
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  transition: opacity .15s linear;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 6;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: bounce 2s infinite;
  transition: opacity .3s ease;
  white-space: nowrap;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .9; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Titre dynamique autour du média */
.hero-title {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16vh 6vw 14vh;
  pointer-events: none;
}
.hero-title-row {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,0.55);
  will-change: transform;
  white-space: nowrap;
}
.hero-title-row span {
  display: inline-block;
  /* Drop-shadow pour que les mots en dégradé ressortent sur le fond */
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.5));
}

/* Contenu post-expansion */
.hero-content {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: min(720px, 92vw);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.hero-content.show {
  opacity: 1;
  pointer-events: auto;
}
.hero-sub {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  margin-bottom: 28px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.hero-sub strong { color: var(--orange-2); font-weight: 700; }

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-ctas .btn-ghost {
  color: #fff;
  border-color: #fff;
}
.hero-ctas .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.section {
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 106, 26, 0.3);
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.06);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   PROGRAMMES — Cards
   ============================================================ */
.programmes { background: var(--cream); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-orange);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 0.04; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .35s ease;
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.05); }
.card-icon svg { width: 26px; height: 26px; color: #fff; }

.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: 18px;
}
.card-link {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: .92rem;
  color: var(--orange);
  transition: gap .25s ease;
}
.card-link:hover { letter-spacing: 0.5px; }

/* ============================================================
   POURQUOI NOUS
   ============================================================ */
.why { background: var(--cream-2); position: relative; }
.why::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.why-text .section-head,
.why-text .section-title { text-align: left; }
.why-text .eyebrow { margin-left: 0; }

.why-list { margin-top: 32px; }
.why-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-list .check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-violet);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.why-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.why-list p { color: var(--muted); font-size: .95rem; }

/* Visuel droite : cards flottantes */
.why-visual {
  position: relative;
  min-height: 520px;
}
.floating-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.floating-card img { width: 100%; height: 100%; object-fit: cover; }
.card-a {
  top: 0; left: 0;
  width: 65%; height: 60%;
  z-index: 2;
  animation: float-a 7s ease-in-out infinite;
}
.card-b {
  bottom: 0; right: 0;
  width: 60%; height: 55%;
  z-index: 1;
  animation: float-b 8s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(12px) rotate(2deg); }
}
.floating-card:hover { transform: scale(1.04); animation-play-state: paused; }

.floating-pill {
  position: absolute;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.pill-1 {
  top: 55%; left: -10px;
  color: var(--orange);
  border: 1px solid rgba(255,106,26,0.2);
  animation: float-a 6s ease-in-out infinite;
}
.pill-2 {
  top: 10%; right: -8px;
  color: var(--violet);
  border: 1px solid rgba(124,58,237,0.2);
  animation: float-b 7s ease-in-out infinite;
}

/* ============================================================
   GALERIE défilement horizontal
   ============================================================ */
.gallery-section { background: var(--cream); }
.hscroll {
  margin-top: 50px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 40px;
}
.hscroll::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; }
.hscroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); }

.hscroll-track {
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
}
.hscroll-item {
  flex: 0 0 auto;
  width: clamp(280px, 38vw, 480px);
  height: clamp(360px, 50vh, 540px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: var(--shadow-md);
  transition: transform .4s ease;
}
.hscroll-item:hover { transform: translateY(-8px); }
.hscroll-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.hscroll-item:hover img { transform: scale(1.08); }
.hscroll-item figcaption {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,0.95);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
}

/* ============================================================
   CHIFFRES ANIMÉS
   ============================================================ */
.stats {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-accent);
  font-size: .95rem;
  letter-spacing: 1px;
  color: rgba(253, 248, 241, 0.75);
  text-transform: uppercase;
}

/* ============================================================
   PLANNING
   ============================================================ */
.planning { background: var(--cream-2); }

.planning-table {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.planning-table .row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 1.2fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.planning-table .row:last-child { border-bottom: none; }
.planning-table .row:not(.head):hover { background: var(--cream); }
.planning-table .head {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: .85rem;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: .8rem;
}
.tag-orange { background: rgba(255,106,26,0.12); color: var(--orange); }
.tag-violet { background: rgba(124,58,237,0.12); color: var(--violet); }
.tag-blue   { background: rgba(37,99,255,0.12); color: var(--blue); }

/* ============================================================
   AVIS
   ============================================================ */
.reviews { background: var(--cream); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.stars {
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.review footer { font-style: normal; }
.review strong { font-family: var(--font-display); letter-spacing: 1px; }
.review span { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--cream-2); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item[open] .icon {
  transform: rotate(45deg);
  background: var(--grad-violet);
}
.faq-item p {
  padding: 0 26px 22px;
  color: var(--muted);
  line-height: 1.7;
  animation: fadeIn .35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-info .eyebrow { margin-bottom: 14px; }

.contact-list {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-list a { color: var(--orange); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* Form */
.contact-form {
  background: #fff;
  padding: 38px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.form-feedback {
  font-size: .92rem;
  text-align: center;
  min-height: 1.2em;
}
.form-feedback.success { color: #1a8a3c; font-weight: 600; }
.form-feedback.error { color: #c43b3b; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .logo-text { color: var(--cream); }
.footer-tag {
  margin-top: 12px;
  color: rgba(253,248,241,0.65);
  max-width: 280px;
}
.footer h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  color: var(--orange-2);
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(253,248,241,0.75); transition: color .2s ease; }
.footer a:hover { color: var(--orange-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: .88rem;
  color: rgba(253,248,241,0.5);
}

/* ============================================================
   ANIMATIONS AU SCROLL — Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { min-height: 420px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-top: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
  }
  .nav-links.open {
    max-height: 600px;
    padding: 16px 24px 28px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; align-self: flex-start; }

  .hero-title-row { font-size: clamp(2.2rem, 12vw, 4rem); }
  .hero-title-row.top { margin-bottom: clamp(220px, 30vh, 320px); }
  .hero-title-row.bottom { margin-top: clamp(220px, 30vh, 320px); }

  .planning-table .row {
    grid-template-columns: 1fr 1.5fr;
    gap: 6px 12px;
    padding: 16px 18px;
  }
  .planning-table .row > div:nth-child(3),
  .planning-table .row > div:nth-child(4) {
    grid-column: span 1;
    font-size: .9rem;
  }
  .planning-table .head { display: none; }
  .planning-table .row:not(.head) > div:first-child {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }

  .hero-title-row { font-size: clamp(1.8rem, 11vw, 3rem); gap: 12px; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

/* Préférences accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
