﻿/* ===== QRC25 – Quingey Roller Club ===== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --orange:    #F47920;
  --orange-d:  #D66010;
  --orange-l:  #FF9A3A;
  --orange-gl: linear-gradient(160deg, #FF9A3A 0%, #F47920 48%, #D45B0A 100%);
  --dark:      #3a3733;
  --brown:     #55504a;
  --cream:     #f5f2ee;
  --light:     #faf8f5;
  --gray:      #8CA4BC;
  --white:     #ffffff;
  --nav-h:     72px;
  --radius:    12px;
  --shadow:    0 8px 32px rgba(0,0,0,.12);
  --glow:      0 6px 24px rgba(244,121,32,.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

/* Garde-fou anti-débordement horizontal (mobile) : empêche tout scroll latéral
   accidentel dû aux animations/décors, sans casser le sticky ni le scroll vertical. */
html, body { overflow-x: clip; }

/* ── Champ mot de passe avec bouton « afficher » (œil) ── */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap > input { padding-right: 44px !important; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 6px;
  font-size: 1.05rem; line-height: 1; opacity: .55; border-radius: 6px;
}
.pw-toggle:hover { opacity: 1; }
.pw-toggle:focus-visible { outline: 2px solid var(--orange); opacity: 1; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.65;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .04em;
  line-height: 1.05;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.4rem; }
p  { font-size: 1.05rem; }

.lead { font-size: 1.2rem; font-weight: 300; color: var(--brown); }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

.orange { color: var(--orange); }
.tag {
  display: inline-block;
  background: var(--orange-gl);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,210,120,.35), 0 2px 6px rgba(244,121,32,.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s;
}
.btn-primary {
  background: var(--orange-gl);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255,210,120,.4),
    inset 0 -2px 0 rgba(0,0,0,.15),
    0 4px 14px rgba(244,121,32,.35);
  position: relative;
  overflow: hidden;
}
/* Reflet animé au survol */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,230,150,.25);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 120%; }
.btn-primary:hover {
  background: linear-gradient(160deg, #FFAA44 0%, #F47920 40%, #C44E08 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,230,150,.5),
    inset 0 -2px 0 rgba(0,0,0,.2),
    var(--glow);
}

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

.btn-dark {
  background: var(--dark-gl);
  color: var(--white);
  box-shadow:
    var(--dark-hl),
    var(--dark-hl2),
    0 4px 14px rgba(0,0,0,.4);
  position: relative;
  overflow: hidden;
}
.btn-dark::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,190,90,.12);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}
.btn-dark:hover::after { left: 120%; }
.btn-dark:hover {
  background: var(--brown-gl);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,200,100,.2),
    inset 0 -2px 0 rgba(0,0,0,.4),
    var(--dark-glow);
}

/* ── Variantes utilitaires de boutons (partagées site + admin) ──────────────── */
/* Ces modificateurs étaient utilisés dans le HTML sans définition CSS : les
   boutons de même fonction s'affichaient donc à des tailles différentes.        */
.btn-sm   { padding: 8px 18px; font-size: .85rem; border-radius: 6px; }
.btn-full { width: 100%; justify-content: center; }

/* Bouton clair (sur fond sombre / orange) — remplace les styles inline blanc/orange */
.btn-light {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* Bouton fantôme (secondaire discret) */
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* Bouton danger (désinscription, suppression…) */
.btn-danger {
  background: #e53e3e;
  color: var(--white);
  border-color: transparent;
}
.btn-danger:hover { background: #c53030; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(229,62,62,.35); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(61,36,22,.96) 0%, rgba(26,17,10,.97) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,190,90,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,190,90,.1),
    0 4px 16px rgba(0,0,0,.5);
  transition: all .3s;
}
#nav .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .1em;
  color: var(--white);
}
.nav-logo span { color: var(--orange); }
.nav-logo-img { height: 46px; width: auto; filter: drop-shadow(0 0 3px rgba(255,255,255,.7)); }

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: nowrap;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--orange-gl);
  color: var(--white) !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 600 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,210,120,.35),
    0 3px 10px rgba(244,121,32,.4);
}
.nav-cta:hover {
  background: linear-gradient(160deg, #FFAA44 0%, #F47920 50%, #C44E08 100%);
  box-shadow: inset 0 1px 0 rgba(255,220,150,.4), var(--glow);
}
.nav-cta::after { display: none !important; }

.nav-login {
  border: 2px solid rgba(255,255,255,.45);
  color: var(--white) !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .2s, border-color .2s;
}
.nav-login:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.nav-login::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--dark);
  padding: 24px;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--orange); }

/* ── PAGE WRAPPER ── */
main { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(58,55,51,.2) 0%, rgba(58,55,51,.7) 70%, var(--dark) 100%),
    url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1600&q=80') center 40%/cover no-repeat;
  background-color: var(--dark);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, #FF9A3A, #F47920, #D45B0A);
  box-shadow: 0 0 6px rgba(244,121,32,.6);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em {
  /* Texte orange avec reflet doré */
  background: linear-gradient(160deg, #FFBB55 0%, #F47920 50%, #D45B0A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(244,121,32,.5));
  font-style: normal;
}
.hero p { color: rgba(255,255,255,.75); font-size: 1.2rem; max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px; right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 56px; }
.section-header .pre {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  background: linear-gradient(90deg, #FF9A3A, #F47920, #D45B0A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray); max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── FLAME CANVAS (injecté par main.js sur .hero et .page-hero) ── */
.hero > canvas[aria-hidden],
.page-hero > canvas[aria-hidden] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero .container,
.hero .hero-scroll,
.page-hero .container {
  position: relative;
  z-index: 2;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(170deg, #514c46 0%, #3f3b36 30%, #3a3733 60%, #2b2825 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,121,32,.15) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .pre {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.65); max-width: 600px; font-size: 1.1rem; }

/* ── SECTIONS ── */
section { padding: 100px 0; }
.section-dark {
  background: linear-gradient(175deg, #47443f 0%, #3a3733 35%, #2b2825 100%);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,190,90,.08);
}
.section-dark .section-header p { color: rgba(255,255,255,.5); }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-cream { background: var(--cream); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  gap: 28px;
}
.card-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
}
.card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244,121,32,.22) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 1;
  pointer-events: none;
}
.card:hover .card-img::before { opacity: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s; }
.card:hover .card-img img { transform: scale(1.07); filter: brightness(1.05) saturate(1.1); }

.card-body { padding: 28px; }
.card-body .tag { margin-bottom: 12px; }
.card-body h3, .card-body h4 { margin-bottom: 10px; }
.card-body p { color: var(--gray); font-size: .95rem; line-height: 1.6; }
.card-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 18px;
  transition: gap .2s;
}
.card-body .card-link:hover { gap: 10px; }

/* Dark cards */
.card-dark {
  background: linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    inset 0 1px 0 rgba(255,190,90,.12),
    inset 0 -1px 0 rgba(0,0,0,.2);
}
.card-dark:hover {
  background: linear-gradient(160deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,200,110,.2),
    0 6px 20px rgba(0,0,0,.35);
}
.card-dark .card-body p { color: rgba(255,255,255,.55); }

/* ── COURSES PAGE ── */
.course-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.course-block:last-of-type { border-bottom: none; }
.course-block.reverse { direction: rtl; }
.course-block.reverse > * { direction: ltr; }

.course-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--orange), var(--orange-d));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(244,121,32,.3);
}
.course-block h3 { margin-bottom: 6px; }
.course-schedule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 20px;
}
.course-block p { color: var(--gray); margin-bottom: 12px; }
.course-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.course-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── EVENTS PAGE ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: all .3s;
}
.event-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.event-card .event-type {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.event-card h4 { margin-bottom: 10px; font-size: 1.2rem; }
.event-card p { color: var(--gray); font-size: .92rem; line-height: 1.6; }

/* ── BLOG PAGE ── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 32px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: all .3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-header {
  background: linear-gradient(145deg, #514c46 0%, #3f3b36 40%, #3a3733 100%);
  box-shadow: var(--dark-hl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.post-card-header::after {
  content: '🛼';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  opacity: .15;
}
.post-card-header .date {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.post-card-header h3 {
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.2;
}
.post-card-body { padding: 24px; }
.post-card-body p { color: var(--gray); font-size: .92rem; line-height: 1.6; }
.post-card-link { text-decoration: none; display: block; color: inherit; }
.post-card-link .post-card { transition: transform .25s, box-shadow .25s; }
.post-card-link:hover .post-card { transform: translateY(-5px); box-shadow: var(--shadow); }
.read-more { display: inline-block; margin-top: 12px; color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .03em; }

/* ── ABOUT PAGE ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro .text-col blockquote {
  border-left: 4px solid var(--orange);
  padding-left: 24px;
  margin: 28px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-d));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(244,121,32,.3);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: .85rem; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
.team-card p { font-size: .85rem; color: var(--gray); }

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(175deg, #FF9A3A 0%, #F47920 40%, #D45B0A 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,220,130,.35),
    inset 0 -3px 0 rgba(0,0,0,.2),
    0 6px 24px rgba(244,121,32,.4);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,.3);
}
.stat-item .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info { }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--orange);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-item p { color: var(--gray); font-size: .92rem; }

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0,0,0,.1);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: var(--light);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── GALLERY ── */
.gallery-note {
  background: var(--cream);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-bottom: 48px;
}
.gallery-note p { color: var(--gray); }
.gallery-note a { color: var(--orange); font-weight: 600; }

.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s;
}
.social-link:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.social-link svg { width: 22px; height: 22px; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 80px 0 40px;
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo-img { height: 70px; width: auto; filter: drop-shadow(0 0 3px rgba(255,255,255,.7)); }
.footer-brand .logo span { color: var(--orange); }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer-col h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--orange); }

.footer-yt-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 20px;
  margin-bottom: 8px;
}
.footer-yt {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* ── MINIATURE VIDÉO FOOTER ── */
.footer-video-wrap {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #2b2825;
}
.footer-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.footer-video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(145deg, #514c46 0%, #3f3b36 55%, #2b2825 100%);
  transition: opacity .4s ease;
  z-index: 2;
}
.footer-video-poster.hidden {
  opacity: 0;
  pointer-events: none;
}
.poster-logo {
  width: 68px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(244,121,32,.7));
  animation: posterPulse 3s ease-in-out infinite;
}
@keyframes posterPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(244,121,32,.6)); }
  50%       { filter: drop-shadow(0 0 16px rgba(244,121,32,.9)); }
}
.poster-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(160deg, #FF9A3A 0%, #F47920 48%, #D45B0A 100%);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px; /* centrage visuel du triangle */
  box-shadow:
    inset 0 1px 0 rgba(255,210,120,.4),
    inset 0 -2px 0 rgba(0,0,0,.25),
    0 4px 16px rgba(244,121,32,.55);
  transition: transform .2s, box-shadow .2s;
}
.poster-play:hover {
  transform: scale(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255,230,150,.5),
    0 6px 24px rgba(244,121,32,.75);
}
.poster-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.footer-yt iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}

/* ═══════════════════════════════════════════════════
   GRADIENTS VARIABLES MARRON/GRIS
   ═══════════════════════════════════════════════════ */
:root {
  --dark-gl:  linear-gradient(170deg, #514c46 0%, #3f3b36 45%, #2b2825 100%);
  --brown-gl: linear-gradient(170deg, #5f5a53 0%, #4a453f 50%, #34312d 100%);
  --gray-gl:  linear-gradient(160deg, #B0C4D8 0%, #8CA4BC 50%, #5F7E98 100%);
  --dark-glow: 0 6px 20px rgba(0,0,0,.55);
  --dark-hl:   inset 0 1px 0 rgba(255,190,90,.18);
  --dark-hl2:  inset 0 -2px 0 rgba(0,0,0,.35);
}

/* ── STRIPE DECORATION ── */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #FF9A3A 0, #F47920 38px, #D45B0A 40px,
    var(--dark) 40px, var(--dark) 80px
  );
  box-shadow: 0 2px 8px rgba(244,121,32,.4);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .course-block { grid-template-columns: 1fr; gap: 40px; }
  .course-block.reverse { direction: ltr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-scroll { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   EFFETS REFLET & RELIEF ORANGE
   ═══════════════════════════════════════════════════ */

/* Cartes : liseré supérieur avec reflet doré */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9A3A, #F47920, #D45B0A);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover::before { opacity: 1; }

/* Post-cards : même effet */
.post-card {
  position: relative;
  overflow: hidden;
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9A3A, #F47920, #D45B0A);
  opacity: 0;
  transition: opacity .3s;
}
.post-card:hover::before { opacity: 1; }

/* Lien actif nav : underline avec reflet */
.nav-links a.active::after {
  background: linear-gradient(90deg, #FF9A3A, #F47920, #D45B0A) !important;
  box-shadow: 0 0 6px rgba(244,121,32,.6);
}

/* Hover nav links */
.nav-links a:hover::after {
  background: linear-gradient(90deg, #FF9A3A, #F47920) !important;
}

/* Sidebar nav active (mon-compte) */
.sidebar-nav a.active {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(255,154,58,.12), transparent) !important;
}

/* (btn-dark relief déjà défini dans la section boutons) */

/* Pré (page hero inner) gradient aussi */
.page-hero .pre,
.hero-eyebrow {
  background: linear-gradient(90deg, #FF9A3A, #F47920, #D45B0A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow autour des éléments orange au focus/active */
.btn-primary:focus-visible,
.btn-primary:active {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,220,150,.5),
    0 0 0 3px rgba(244,121,32,.35),
    var(--glow);
}

/* Scroll-line : teinte orange */
.scroll-line {
  background: linear-gradient(to bottom, transparent, rgba(244,121,32,.5)) !important;
}

/* Footer socials : lueur orange au survol des icônes */
.footer-socials a {
  transition: transform .2s, filter .2s;
}
.footer-socials a:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 6px rgba(244,121,32,.7));
}

/* ═══════════════════════════════════════════════════
   EFFETS REFLET & RELIEF MARRON / GRIS ARGENTÉ
   ═══════════════════════════════════════════════════ */

/* Footer : relief sombre avec reflet chaud en haut */
footer {
  background: linear-gradient(175deg, #47443f 0%, #3a3733 35%, #2b2825 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,190,90,.12),
    inset 0 2px 0 rgba(255,190,90,.06);
}
footer h5 {
  background: linear-gradient(90deg, #B0C4D8, #8CA4BC, #5F7E98);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-bottom {
  border-top: 1px solid rgba(255,190,90,.1);
  background: linear-gradient(90deg, transparent, rgba(255,190,90,.04), transparent);
}

/* Crédit développeur */
.footer-credit {
  text-align: center;
  padding: 10px 0 4px;
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.22);
  font-family: 'Outfit', sans-serif;
}
.footer-credit span {
  color: #f47920;
  text-shadow: 0 0 10px rgba(244,121,32,.7), 0 0 24px rgba(244,121,32,.35);
  font-weight: 600;
  letter-spacing: .08em;
}

/* Mobile menu : même relief sombre */
.mobile-menu {
  background: linear-gradient(180deg, #47443f 0%, #3a3733 60%, #2b2825 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,190,90,.1),
    0 8px 32px rgba(0,0,0,.6);
}

/* Hero : reflet en haut de la section sombre */
.hero-bg {
  background:
    linear-gradient(to bottom, rgba(61,36,22,.25) 0%, rgba(26,17,10,.75) 65%, #3a3733 100%),
    url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1600&q=80') center 40%/cover no-repeat !important;
  background-color: #3a3733 !important;
}

/* Licence box (page cours) : gradient + reflet */
.licence-box {
  background: linear-gradient(145deg, #514c46 0%, #47443f 40%, #3a3733 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,190,90,.2),
    inset 0 -3px 0 rgba(0,0,0,.3),
    var(--dark-glow);
}

/* ══════════════════════════════════════════════════
   AESTHETIC ENHANCEMENTS
   ══════════════════════════════════════════════════ */

/* ── 1. READING PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #D45B0A, #F47920, #FFB347, #F47920, #D45B0A);
  background-size: 300% 100%;
  animation: progressFlow 3s linear infinite;
  z-index: 99999;
  box-shadow: 0 0 10px rgba(244,121,32,.65), 0 0 20px rgba(244,121,32,.3);
  pointer-events: none;
}
@keyframes progressFlow {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ── 2. BACK TO TOP BUTTON ── */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #F47920, #D45B0A);
  border: 1.5px solid rgba(255,190,90,.3);
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(244,121,32,.55), inset 0 1px 0 rgba(255,220,140,.3);
  opacity: 0;
  transform: translateY(14px) scale(.85);
  transition: opacity .35s, transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  z-index: 9998;
  pointer-events: none;
  line-height: 1;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#back-to-top:hover {
  box-shadow: 0 8px 28px rgba(244,121,32,.8), inset 0 1px 0 rgba(255,230,150,.4);
  transform: translateY(-3px) scale(1.05);
}

/* ── 3. CUSTOM CURSOR — désactivé ── */

/* ── 4. SKELETON SHIMMER ── */
@keyframes skelShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel {
  background: linear-gradient(90deg,
    rgba(255,255,255,.04) 0%,
    rgba(255,255,255,.10) 40%,
    rgba(255,255,255,.04) 80%);
  background-size: 200% 100%;
  animation: skelShimmer 1.6s ease-in-out infinite;
  border-radius: 6px;
}
.post-card.loading .post-card-img {
  aspect-ratio: 16/9;
}
.post-card.loading .post-card-img,
.post-card.loading .skel { }

/* ── 5. FADE VARIANTS (left / right / zoom) ── */
.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-zoom {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-left.visible,
.fade-right.visible,
.fade-zoom.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* ── 6. PARALLAX — le contenu hero se décale légèrement ── */
.hero .container,
.page-hero .container {
  will-change: transform;
}

/* ── 7. ANIMATED COUNTERS — style de base inchangé ── */
.stat-item .num {
  transition: color .3s;
}

/* ── 8. NAV UNDERLINE GLOW (upgrade) ── */
.nav-links a::after {
  box-shadow: 0 0 8px rgba(244,121,32,.0);
  transition: transform .28s cubic-bezier(.34,1.2,.64,1), box-shadow .28s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  box-shadow: 0 0 8px rgba(244,121,32,.55);
}

/* Gris argenté : éléments d'interface */
/* Labels, inputs au focus → bordure argentée avec glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(140,164,188,.2);
}

/* Bouton outline : reflet argenté */
.btn-outline {
  background: linear-gradient(160deg, rgba(255,255,255,.08) 0%, transparent 100%);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(0,0,0,.2);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  box-shadow:
    0 4px 14px rgba(140,164,188,.35),
    inset 0 1px 0 rgba(255,255,255,.9);
}

/* Séparateurs stat-item : gradient argenté */
.stat-item:not(:last-child)::after {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(140,164,188,.4) 30%,
    rgba(255,255,255,.5) 50%,
    rgba(140,164,188,.4) 70%,
    transparent 100%
  );
}

/* Section créme : ombre légère en haut */
.section-cream {
  box-shadow: inset 0 2px 12px rgba(26,17,10,.06);
}

/* Cards blanches : reflet subtil en haut */
.card:not(.card-dark) {
  box-shadow: 0 2px 12px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.9);
}
.card:not(.card-dark):hover {
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.95);
}

/* Post-cards */
.post-card {
  box-shadow: 0 2px 12px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.9);
}
.post-card:hover {
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.95);
}
