/* ============================================================
   HOME.CSS — Homepage "La BD du sportif"
   ============================================================ */

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(245, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 200;
  padding: 14px 0;
  transition: box-shadow 0.2s;
}

.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--dark);
  flex-shrink: 0;
}

.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── HERO ── */
.hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 280px;
}

/* Grain texture subtil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
  min-height: 280px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  padding: 28px 56px 28px max(28px, calc((100vw - 1140px) / 2 + 28px));
  justify-content: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--dark);
  margin-bottom: 16px;
}

.hero-title .accent { color: var(--orange); }

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 24px;
}

/* Prix hero */
.hero-price { margin-bottom: 28px; }

.hero-price-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted-light);
  margin-bottom: 2px;
}

.hero-price-amount {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.hero-price-note {
  font-size: 0.625rem;
  color: var(--muted-light);
  margin-top: 6px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.format-type-note {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted-light);
  font-style: italic;
  margin-top: 2px;
  font-weight: 400;
}

/* Badges hero */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
}

.hero-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.hero-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-proof {
  font-size: 0.8125rem;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-proof::before {
  content: '★★★★★';
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.hero-cta-hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* Photo hero */
.hero-photo {
  overflow: hidden;
  position: relative;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 28%);
  pointer-events: none;
  z-index: 1;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  min-height: 280px;
}

/* Visuel hero (legacy, conservé pour compatibilité) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bd-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
  width: 100%;
  max-width: 480px;
}

.hero-bd-frame {
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--dark);
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
}

.hero-bd-frame--offset {
  transform: translateY(20px);
  box-shadow: 6px 6px 0 rgba(26,26,24,0.5);
}

/* Grille BD 8 cases (2×4) */
.bd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 3px;
  background: var(--dark);
  flex: 1;
  padding: 3px;
}

.bd-case {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cases visuellement différenciées */
.bd-case:nth-child(1) { background: #FFE4D6; }
.bd-case:nth-child(2) { background: var(--cream); }
.bd-case:nth-child(3) { background: var(--cream); grid-column: span 2; aspect-ratio: 2/1; }
.bd-case:nth-child(4) { background: #FFE4D6; }
.bd-case:nth-child(5) { background: var(--cream); }
.bd-case:nth-child(6) { background: #1A1A18; }
.bd-case:nth-child(7) { background: var(--cream); }
.bd-case:nth-child(8) { background: var(--orange); }

/* Icônes stylisées dans les cases */
.bd-case::after {
  font-size: 1.5rem;
  opacity: 0.3;
}

.bd-case:nth-child(1)::after { content: '⚽'; }
.bd-case:nth-child(2)::after { content: '🏃'; }
.bd-case:nth-child(4)::after { content: '🙌'; }
.bd-case:nth-child(5)::after { content: '🥇'; }
.bd-case:nth-child(6)::after { content: '⭐'; color: var(--orange); opacity: 0.8; }
.bd-case:nth-child(7)::after { content: '📸'; }
.bd-case:nth-child(8)::after { content: '🎉'; opacity: 0.9; }

.bd-case:nth-child(3)::after {
  content: 'LE MATCH DU SIÈCLE';
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: var(--dark);
  opacity: 0.5;
}

.hero-bd-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  display: block;
}

.hero-bd-label {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 8px 16px;
}

/* Badge flottant */
.hero-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(255,90,31,0.4);
  animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%       { transform: translateY(-4px) rotate(-8deg); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 48px 28px; justify-content: flex-start; }
  .hero-photo { order: -1; }
  .hero-photo-img { min-height: 320px; max-height: 400px; }
  .hero-badge { width: 64px; height: 64px; font-size: 0.75rem; }
  .hero-badges { gap: 10px 16px; }
}

/* ── SECTION : COMMENT ÇA MARCHE ── */
.ccm {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ccm-header {
  text-align: center;
  margin-bottom: 64px;
}

.ccm-header h2 { margin-top: 12px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Ligne de connexion */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0,
    var(--line) 8px,
    transparent 8px,
    transparent 16px
  );
}

.step { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }

.step-num {
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.625rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line);
  flex-shrink: 0;
}

.step-body h3 { color: var(--dark); margin-bottom: 8px; }
.step-body p { font-size: 0.9375rem; line-height: 1.7; }

.step-duration {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
  background: var(--orange-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.ccm-cta { text-align: center; margin-top: 64px; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
}

/* ── SECTION : FORMATS ── */
.formats { background: var(--cream); }

.formats-header {
  text-align: center;
  margin-bottom: 56px;
}

.formats-header h2 { margin-top: 12px; margin-bottom: 12px; }
.formats-header p { color: var(--muted); font-size: 1.0625rem; max-width: 520px; margin: 0 auto; }

.format-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.format-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}


.format-card-visual {
  margin: -36px -36px 0 -36px;
  height: 320px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.format-card-visual img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.format-card-caption {
  display: none;
}


.format-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.format-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.format-card:hover::before { transform: scaleX(1); }

.format-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.format-card h3 {
  font-size: 1.375rem;
  color: var(--dark);
}

.format-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.format-paper {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.format-options {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.format-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.format-option-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.format-type-icon { font-size: 1rem; }

.format-type-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.format-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  white-space: nowrap;
}

.format-price.placeholder {
  color: var(--muted-light);
  font-size: 0.8125rem;
}

.format-dims {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-light, #FFF0EB);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.format-badge-premium {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--orange-light, #FFF0EB);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .format-cards { grid-template-columns: 1fr; }
}

/* ── SECTION : APERÇU BD ── */
.apercu {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apercu-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Carte produit */
.apercu-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.apercu-card-visual {
  max-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.apercu-card-visual img {
  width: auto;
  max-width: 100%;
  max-height: 220px;
  display: block;
  object-fit: contain;
}

.apercu-card-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  text-align: center;
  padding: 8px 16px 12px;
}

.apercu-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.apercu-card-icon { font-size: 1.5rem; line-height: 1; }

.apercu-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin: 0;
  text-transform: uppercase;
}

.apercu-card-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.apercu-card-formats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.format-badge {
  font-size: 0.8125rem;
  color: var(--muted);
}

.apercu-card-body .btn { margin-top: 6px; }


@media (max-width: 900px) {
  .apercu-duo {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apercu-card { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ── SECTION : EXEMPLES ── */
.exemples {
  background: var(--dark);
  overflow: hidden;
}

.exemples-header {
  text-align: center;
  margin-bottom: 28px;
}

.exemples-header h2 { color: var(--white); margin-top: 12px; }
.exemples-header .label-tag { color: var(--orange); }

.exemples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.exemple-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}

/* ── BD STRIP — Exemples CSS ── */
.bd-strip {
  flex: 1;
  display: grid;
  gap: 3px;
  background: var(--dark);
  padding: 3px;
}

/* Layouts */
.bd-strip--football {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr 1fr;
}
.bd-strip--handball {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 2fr 1fr;
}
.bd-strip--judo {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr 1fr;
}
.bd-strip--natation {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr 1fr;
}

.bd-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F4EF;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.bd-panel--wide   { grid-column: span 2; }
.bd-panel--dark   { background: #1A1A18; }
.bd-panel--orange { background: #FF5A1F; }
.bd-panel--white  { background: #ffffff; }

/* Halftone dots */
.bd-panel--dots {
  background-image: radial-gradient(circle, rgba(26,26,24,0.18) 1.5px, transparent 1.5px);
  background-size: 7px 7px;
  background-color: #F5F4EF;
}
.bd-panel--dots-dark {
  background-image: radial-gradient(circle, rgba(255,90,31,0.25) 1.5px, transparent 1.5px);
  background-size: 7px 7px;
  background-color: #1A1A18;
}

/* Speed lines radiating from center */
.bd-panel--rays::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: repeating-conic-gradient(
    rgba(255,255,255,0.07) 0deg 5deg,
    transparent 5deg 10deg
  );
  pointer-events: none;
}
.bd-panel--rays-orange::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: repeating-conic-gradient(
    rgba(255,255,255,0.12) 0deg 4deg,
    transparent 4deg 8deg
  );
  pointer-events: none;
}

/* Bold action text */
.bd-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  text-align: center;
  line-height: 0.9;
  letter-spacing: 0.03em;
}
.bd-text--white  { color: #ffffff; }
.bd-text--orange { color: #FF5A1F; }
.bd-text--dark   { color: #1A1A18; }
.bd-text--sm  { font-size: 0.85rem; }
.bd-text--md  { font-size: 1.25rem; }
.bd-text--lg  { font-size: 1.8rem; }
.bd-text--xl  { font-size: 2.4rem; }

/* Mono tag (sport, time) */
.bd-tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 2px;
}
.bd-tag--orange { background: #FF5A1F; color: #fff; }
.bd-tag--white  { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.bd-tag--dark   { background: rgba(26,26,24,0.7); color: rgba(255,255,255,0.7); }

/* Match header content */
.bd-match {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  gap: 3px;
}

.bd-match-teams {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.bd-match-score {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #FF5A1F;
  line-height: 1;
  letter-spacing: 0.06em;
}

/* Speech bubble */
.bd-bubble-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4px 8px 14px;
}

.bd-bubble {
  background: #ffffff;
  border: 2px solid #1A1A18;
  border-radius: 10px;
  padding: 5px 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #1A1A18;
  letter-spacing: 0.02em;
  position: relative;
  line-height: 1;
  text-align: center;
}

.bd-bubble::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid #1A1A18;
}

.bd-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #ffffff;
  z-index: 1;
}

/* Time/minute badge */
.bd-time {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  background: #FF5A1F;
  color: #fff;
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* Item avec vraie image */
.exemple-item--image {
  position: relative;
}

.exemple-real-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  display: block;
}

.exemple-label {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.exemples-cta { text-align: center; margin-top: 56px; }

/* ── CARROUSEL ── */
.exemples-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 4);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* Couleur bleue pour Natation */
.bd-panel--blue {
  background: #3B82F6;
}

/* ── SECTION : STYLES PREVIEW ── */
.styles-preview {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.styles-header {
  text-align: center;
  margin-bottom: 56px;
}
.styles-header h2 { margin-top: 12px; }
.styles-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 12px;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.style-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.style-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.style-thumb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 4/3;
  gap: 2px;
  background: #1A1A18;
  overflow: hidden;
}

.style-thumb > img {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.style-thumb-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  overflow: hidden;
}

.style-thumb-panel--rays::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: repeating-conic-gradient(rgba(255,255,255,0.1) 0deg 5deg, transparent 5deg 10deg);
  pointer-events: none;
}

.style-thumb-word {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.style-info {
  padding: 20px;
}

.style-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 6px;
}

.style-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

.style-badge {
  display: inline-block;
  margin-top: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .carousel-slide { flex: 0 0 100%; }
  .carousel-arrow { width: 44px; height: 44px; }
  .styles-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .styles-grid { grid-template-columns: 1fr; }
}

/* ── SECTION : TÉMOIGNAGES ── */
.temoignages {
  background: var(--cream-dark);
  border-top: 1px solid var(--line);
}

.temoignages-header { text-align: center; margin-bottom: 56px; }
.temoignages-header h2 { margin-top: 12px; }

.temoignages-visual {
  max-width: 560px;
  margin: 0 auto 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.temoignages-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 768px) {
  .temoignages-visual { margin-bottom: 36px; border-radius: var(--radius); }
}

.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.temoignage {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.temoignage::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.temoignage-texte {
  font-size: 0.9375rem;
  color: var(--dark);
  line-height: 1.75;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  /* placeholder styling */
  color: var(--muted-light);
}

.temoignage-texte.real { color: var(--dark); }

.temoignage-auteur {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--orange);
  font-style: normal;
}

@media (max-width: 640px) {
  .temoignages-grid { grid-template-columns: 1fr; }
}

/* ── CTA FINAL ── */
.cta-final {
  background: var(--orange);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Motif décoratif */
.cta-final::before {
  content: 'BD';
  position: absolute;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(255,255,255,0.08);
  top: -60px;
  right: -40px;
  letter-spacing: 0;
  pointer-events: none;
  line-height: 1;
}

.cta-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.cta-orange { color: var(--white); }
.cta-dark   { color: var(--white); }

.cta-final-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  max-width: 440px;
}

.cta-final .btn-primary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.cta-final .btn-primary:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.625rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-logo span { color: var(--orange); }

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

.footer-hellopyx {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

.footer-hellopyx a {
  color: var(--orange);
  opacity: 0.7;
  transition: opacity 0.15s;
}

.footer-hellopyx a:hover { opacity: 1; }

@media (max-width: 640px) {
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }

  .hero { padding: 48px 0 56px; }

  .hero-inner { gap: 36px; }

  .hero-bd-frame {
    border-width: 3px;
    box-shadow: 6px 6px 0 var(--dark);
  }
  .hero-bd-img { height: 280px; }

  .hero-badge { width: 56px; height: 56px; font-size: 0.65rem; top: -8px; right: -8px; }

  .ccm-header { margin-bottom: 40px; }

  .formats-header { margin-bottom: 36px; }
  .format-card { padding: 24px; }
  .format-card-visual { margin: -24px -24px 0 -24px; }

  .apercu-duo { gap: 28px; }

  .exemples-header { margin-bottom: 36px; }
  .exemples-grid { max-width: 100%; }

  .temoignages-header { margin-bottom: 36px; }

  .cta-final { padding: 64px 0; }
  .cta-final-title { font-size: clamp(2rem, 8vw, 3.5rem); }

  .footer { padding: 48px 0 32px; }
}

/* ── SECTION : FAQ ── */
.faq {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-header h2 { margin-top: 12px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  transition: background 0.15s;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question {
  background: var(--orange-light);
  color: var(--orange);
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover { background: var(--cream); }
.faq-item[open] .faq-question:hover { background: var(--orange-light); }

.faq-answer {
  padding: 0 28px 24px;
  background: var(--orange-light);
}
.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}
.faq-answer a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
.faq-answer a:hover { text-decoration-color: var(--orange); }

@media (max-width: 600px) {
  .faq-question { padding: 18px 20px; font-size: 0.9375rem; }
  .faq-answer { padding: 0 20px 20px; }
}

/* ── SECTION : CLUBS ── */
.clubs-cta {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clubs-inner {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: space-between;
}

.clubs-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 580px;
}

.clubs-text h2 { margin-top: 8px; }
.clubs-text p  { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }

.clubs-photo {
  flex-shrink: 0;
  width: 420px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.clubs-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 900px) {
  .clubs-inner { grid-template-columns: 1fr; gap: 32px; }
  .clubs-photo { width: 100%; height: 240px; }
}

/* ── ANIMATIONS D'ENTRÉE ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.25s; }
.animate-in:nth-child(4) { animation-delay: 0.35s; }
