html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

:root {
  --black:      #0a0a0a;
  --black2:     #141414;
  --black3:     #1f1f1f;
  --dark:       #2a2a2a;
  --orange:     #ff6b00;
  --orange2:    #ff8124;
  --orange-dim: #cc5500;
  --orange-glow:rgba(255,107,0,.18);
  --white:      #ffffff;
  --off-white:  #f7f7f7;
  --light:      #ececec;
  --light2:     #d8d8d8;
  --text:       #0a0a0a;
  --muted:      #6a6a6a;
  --border:     rgba(10,10,10,.12);
  --border2:    rgba(10,10,10,.22);
  --shadow-sm:  0 4px 16px rgba(10,10,10,.12);
  --shadow-md:  0 10px 36px rgba(10,10,10,.18);
  --shadow-lg:  0 20px 60px rgba(10,10,10,.25);
  --shadow-orange: 0 8px 28px rgba(255,107,0,.35);
  --radius:  12px;
  --radius2: 16px;
  --max:     1400px;


  --hero-title-min:   52px;
  --hero-title-scale: 8vw;
  --hero-title-max:   120px;
}

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

body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
}

a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ═══ TOPBAR ═══ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--black) 0%, var(--black) 33.33%, #ffffff 33.33%, #ffffff 66.66%, var(--orange) 66.66%, var(--orange) 100%) 1;
  transition: transform .35s ease, opacity .35s ease;
}
.topbar.is-hidden { transform: translateY(-110%); opacity: 0; pointer-events: none; }

.burger-fixed {
  display: flex;
  position: fixed; top: 16px; right: 28px; z-index: 55;
  width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transform: scale(.85);
  transition: opacity .3s ease, transform .3s ease, background .18s;
}
.burger-fixed span { width: 20px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .22s, opacity .22s; }
.burger-fixed[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-fixed[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-fixed[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.is-scrolled .burger-fixed { opacity: 1; pointer-events: auto; transform: scale(1); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 52px; height: 52px; object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--black); }
.brand-sub  { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-top: 2px; }

.nav-desktop { display: flex; gap: 2px; }
.nav-desktop a { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 8px 14px; border-radius: 8px; transition: color .18s, background .18s; position: relative; text-transform: uppercase; }
.nav-desktop a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); border-radius: 99px; transform: scaleX(0); transition: transform .22s ease; transform-origin: left; }
.nav-desktop a:hover        { color: var(--black); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-active                 { color: var(--black) !important; }
.nav-active::after          { transform: scaleX(1) !important; }

.right-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border2);
  background: var(--white); color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: var(--light); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dim); border-color: var(--orange-dim); color: #fff; box-shadow: var(--shadow-orange); }
.btn-black  { background: var(--black); border-color: var(--black); color: #fff; }
.btn-black:hover { background: var(--black3); border-color: var(--black3); color: #fff; }
.btn-ghost  { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: var(--white); }
.btn-lg  { padding: 14px 30px; font-size: 15px; }
.btn-sm  { padding: 7px 14px; font-size: 12px; }
.btn-full { width: 100%; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border2);
  background: var(--white); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: background .18s;
}
.burger span { width: 20px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .22s, opacity .22s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(10,10,10,.5); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 55;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh;
  background: var(--white); z-index: 56; padding: 80px 28px 28px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transition: right .3s cubic-bezier(.4,0,.2,1); box-shadow: -10px 0 40px rgba(0,0,0,.15);
}
.nav-panel.open { right: 0; }
.nav-panel a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--black); }
.nav-panel a:hover { color: var(--orange); }
.nav-cta { margin-top: 16px; border-bottom: none !important; }

/* Sélecteur de thème dans le menu burger */
.nav-theme-switch {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.nav-theme-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.nav-theme-options {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 4px; background: var(--off-white); border-radius: 10px;
  border: 1px solid var(--border);
}
.nav-theme-btn {
  border: none; background: transparent; cursor: pointer;
  padding: 10px 6px; border-radius: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: background .18s, color .18s;
}
.nav-theme-btn:hover { color: var(--black); }
.nav-theme-btn[aria-checked="true"] {
  background: var(--black); color: var(--orange);
}
.nav-theme-icon { font-size: 16px; }

/* ═══ HERO ═══ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--black2) 50%, var(--black3) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  min-height: 560px;
  display: flex; align-items: center;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('images/photo-2.jpeg');
  background-size: cover; background-position: center;
  opacity: .28;
  filter: grayscale(.3) contrast(1.1);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,107,0,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,107,0,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-stripe {
  position: absolute; top: 0; right: -10%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, var(--orange-glow) 50%, transparent 100%);
  transform: skewX(-14deg);
  pointer-events: none;
}
.hero-logo-bg {
  position: absolute; right: -30px; bottom: -20px;
  width: 240px; opacity: .12;
  pointer-events: none;
}
.hero-logo-bg img { width: 100%; height: auto; }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1400px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 600;
  margin-bottom: 28px;
}
.hero-eyebrow::before { content:""; width:32px; height:2px; background: var(--orange); flex-shrink: 0; }
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(var(--hero-title-min), var(--hero-title-scale), var(--hero-title-max));
  line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
  margin: 0 0 22px;
  width: 100%;
}
.hero-line {
  display: block;
  white-space: nowrap;
}
/* L'italique deborde a droite : marge de securite pour le dernier glyphe */
.hero-line-em { padding-right: .08em; }
.hero-title em { font-style: italic; color: var(--orange); font-weight: 900; }
/* Chevauchement volontaire, en em pour suivre la taille de police */
.hero-sub { margin-top: -.14em; }
.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px); color: rgba(255,255,255,.82);
  max-width: 680px; margin: 0 0 36px; line-height: 1.55;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14);
  flex-wrap: wrap;
}
.hero-stat-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 52px; color: var(--orange); line-height: 1; }
.hero-stat-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }
.hero-stats > div:not(:first-child) { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats { gap: 0; }
.hero-stats > div { margin-right: 40px; }
.hero-stats > div:last-child { margin-right: 0; }

/* ═══ SECTIONS ═══ */
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-light { background: var(--off-white); }
.section-light .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.section-light .card img {
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}
.section-light .card .btn {
  margin-top: auto;
}
.section-black { background: var(--black); color: var(--white); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange); font-weight: 700; margin-bottom: 10px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(32px, 5vw, 54px);
  line-height: 1; letter-spacing: -.01em; text-transform: uppercase;
  margin: 0 0 14px;
}
.section-title em { color: var(--orange); font-style: italic; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.section-black .section-sub { color: rgba(255,255,255,.7); }

/* ═══ CARDS / GRID ═══ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white); border-radius: var(--radius2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }

.card-img {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--light); position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.card-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15; margin: 0; text-transform: uppercase; }
.card-desc { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 12px; }
.card-price { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 24px; color: var(--black); }
.card-price span { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }

/* ═══ LIVRE — POURQUOI ═══ */
.livre-pourquoi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.livre-pourquoi-photo img {
  width: 100%;
  border-radius: var(--radius2);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.livre-photo-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}
@media (max-width: 600px) {
  .livre-pourquoi-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .livre-pourquoi-photo { max-width: 320px; margin: 0 auto; }
}

/* ═══ SOMMAIRE LIVRE ═══ */
.sommaire-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: sommaire;
}
.sommaire-list li {
  counter-increment: sommaire;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--black);
  line-height: 1.4;
}
.sommaire-list li:last-child { border-bottom: none; }
.sommaire-list li::before {
  content: counter(sommaire, decimal-leading-zero);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--orange);
  min-width: 36px;
  line-height: 1;
}
body.theme-dark .sommaire-list li { color: var(--white); border-bottom-color: rgba(255,255,255,.08); }

/* ═══ FAQ ═══ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
body.theme-dark .faq-question { color: var(--white); }
body.theme-dark .faq-item { border-bottom-color: rgba(255,255,255,.08); }
body.theme-dark .faq-item:first-child { border-top-color: rgba(255,255,255,.08); }
body.theme-dark .faq-answer { color: rgba(255,255,255,.65); }

/* ═══ CALENDRIER ═══ */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.cal-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius2);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cal-date-block {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius1);
  padding: 10px 6px;
}
.cal-date-day {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
}
.cal-date-month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}
.cal-body { flex: 1; min-width: 0; }
.cal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 4px;
}
.cal-circuit {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
.cal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--orange-glow);
  color: var(--orange);
}
.cal-badge.perso {
  background: rgba(0,0,0,.06);
  color: var(--muted);
}
body.theme-dark .cal-card { background: var(--black2); border-color: rgba(255,255,255,.08); }
body.theme-dark .cal-title { color: var(--white); }
body.theme-dark .cal-circuit { color: rgba(255,255,255,.5); }
body.theme-dark .cal-badge.perso { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }

/* ═══ COACHING CARDS ═══ */
.coaching-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow .24s, border-color .24s;
}
.coaching-card:hover { transform: translateY(-3px); box-shadow: inset 4px 0 0 var(--orange), var(--shadow-sm); border-color: var(--orange); }
.coaching-card.featured {
  background: linear-gradient(180deg, var(--black) 0%, var(--black2) 100%);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
.coaching-card.featured .coaching-price { color: var(--orange); }
.coaching-card.featured .coaching-feature { color: rgba(255,255,255,.85); }
.coaching-card.featured .coaching-feature::before { color: var(--orange); }
.coaching-badge {
  position: absolute; top: 0; right: 0;
  background: var(--orange); color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 0;
}
.coaching-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 26px; text-transform: uppercase; margin: 0 0 6px; }
.coaching-tagline { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.coaching-card.featured .coaching-tagline { color: rgba(255,255,255,.7); }
.coaching-price-wrap { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.coaching-card.featured .coaching-price-wrap { border-bottom-color: rgba(255,255,255,.15); }
.coaching-price { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 48px; line-height: 1; color: var(--black); }
.coaching-price-unit { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.coaching-card.featured .coaching-price-unit { color: rgba(255,255,255,.6); }
.coaching-price-alt { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.coaching-card.featured .coaching-price-alt { color: rgba(255,255,255,.5); }
.coaching-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.coaching-feature { font-size: 14px; padding-left: 26px; position: relative; }
.coaching-feature::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; font-size: 16px; }

/* ═══ ABOUT / FEATURES ═══ */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius2); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img::after {
  content: ""; position: absolute; inset: 0;
  border: 3px solid var(--orange);
  border-radius: var(--radius2);
  transform: translate(16px, 16px);
  z-index: -1;
}
.about-img-wrap { position: relative; }

.features { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 34px;
  color: var(--orange); line-height: 1;
  min-width: 44px; flex-shrink: 0;
  padding-top: 3px;
}
.feature-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; text-transform: uppercase; margin: 0 0 4px; }
.feature-desc { font-size: 14px; color: var(--muted); margin: 0; }

/* ═══ GALLERY ═══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden; border-radius: 0;
  cursor: pointer; position: relative;
  background: var(--light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,.5) 100%);
  opacity: 0; transition: opacity .24s;
}
.gallery-item:hover::after { opacity: 1; }
.g-1 { grid-column: span 7; grid-row: span 2; }
.g-2 { grid-column: span 5; grid-row: span 1; }
.g-3 { grid-column: span 5; grid-row: span 1; }
.g-4 { grid-column: span 4; grid-row: span 1; }
.g-5 { grid-column: span 4; grid-row: span 1; }
.g-6 { grid-column: span 4; grid-row: span 1; }

/* ═══ BOOK SECTION ═══ */
.book-hero {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
}
.book-cover-wrap {
  flex-shrink: 0;
  transform: rotate(-2deg);
  transition: transform .3s;
}
.book-cover-wrap:hover { transform: rotate(0) scale(1.02); }
.book-cover-img {
  width: 100%; max-width: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.book-bullets { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.book-bullets li { padding-left: 26px; position: relative; font-size: 15px; }
.book-bullets li::before {
  content: ""; width: 8px; height: 8px; background: var(--orange);
  border-radius: 50%; position: absolute; left: 0; top: 9px;
}

/* ═══ TESTIMONIALS ═══ */
.testimonial {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-stars { font-size: 15px; letter-spacing: 2px; color: var(--orange); margin: 0; }
.testimonial-text { font-size: 15px; color: var(--text); margin: 0; font-style: italic; line-height: 1.6; }
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 18px;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted); }

/* ═══ TESTIMONIALS : carrousel glissière (tous les avis sur une ligne) ═══ */
.testimonial-carousel-wrap { display: flex; align-items: stretch; gap: 16px; }
.testimonial-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.testimonial-track { display: flex; gap: 24px; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.testimonial-item { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
.testimonial-item .testimonial { height: 100%; }
@media (max-width: 900px) { .testimonial-item { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .testimonial-item { flex-basis: 100%; }
  /* Une seule carte visible : plus besoin d'aligner les hauteurs entre elles.
     On stoppe l'étirement, chaque avis prend sa hauteur réelle (fini le vide
     blanc sous les avis courts). */
  .testimonial-carousel-wrap { align-items: flex-start; }
  .testimonial-item .testimonial { height: auto; }
  /* Les flèches ne se centrent plus sur toute la hauteur d'une carte longue :
     on les cale en haut, au niveau des étoiles, pour qu'elles restent à portée. */
  .testimonial-arrow { align-self: flex-start; margin-top: 40px; }
}
.testimonial-arrow {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; align-self: center;
  background: var(--white); border: 1px solid var(--border); color: var(--text);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.testimonial-arrow:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
body.theme-dark .testimonial-arrow { background: var(--black2); border-color: rgba(255,255,255,.15); color: var(--white); }

/* ═══ FORMS ═══ */
.form-wrap {
  background: var(--white); border-radius: var(--radius2);
  padding: 40px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--black);
}
.form-label .req { color: var(--orange); }
.form-control {
  padding: 12px 14px; border: 1px solid var(--border2); border-radius: 8px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  background: var(--white); color: var(--text);
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.form-control:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
textarea.form-control { min-height: 130px; resize: vertical; font-family: 'Barlow', sans-serif; }
select.form-control { cursor: pointer; }

.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.form-check input { margin-top: 4px; accent-color: var(--orange); }
.form-check label { font-size: 14px; color: var(--muted); }

.alert {
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px;
  font-size: 14px; border: 1px solid;
}
.alert-success { background: #e8f5e9; border-color: #81c784; color: #2e7d32; }
.alert-error   { background: #ffebee; border-color: #e57373; color: #c62828; }
.alert-info    { background: var(--orange-glow); border-color: var(--orange); color: var(--orange-dim); }

/* ═══ CTA BANNER ═══ */
.cta-banner {
  background: linear-gradient(135deg, var(--black) 0%, var(--black2) 100%);
  color: var(--white);
  border-radius: var(--radius2);
  padding: 56px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
}
.cta-banner-content { position: relative; z-index: 2; max-width: 620px; }
.cta-banner h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 36px; line-height: 1; text-transform: uppercase; margin: 0 0 12px; }
.cta-banner h3 em { color: var(--orange); font-style: italic; }
.cta-banner p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }
.cta-banner-actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-shrink: 0; }

/* ═══ FOOTER ═══ */
.footer {
  background: var(--black); color: var(--white);
  padding: 56px 0 24px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--black) 0%, var(--black) 33.33%, #ffffff 33.33%, #ffffff 66.66%, var(--orange) 66.66%, var(--orange) 100%) 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand .brand-logo { width: 56px; height: 56px; }
.footer-brand .brand-name { color: var(--white); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.65); max-width: 320px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .18s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.5);
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, border-color .18s;
  color: rgba(255,255,255,.7);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ═══ PAGE HEADER ═══ */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--black2) 100%);
  color: var(--white);
  padding: 60px 0 70px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,107,0,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,107,0,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.page-header-inner { position: relative; z-index: 2; }
.page-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(36px, 6vw, 64px); line-height: 1; text-transform: uppercase; margin: 10px 0 12px; }
.page-title em { color: var(--orange); font-style: italic; }
.page-subtitle { color: rgba(255,255,255,.75); max-width: 640px; margin: 0 auto; font-size: 16px; }
.page-breadcrumb { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-weight: 700; }

/* ═══ FILTERS ═══ */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
  padding: 16px; background: var(--white); border-radius: 12px; border: 1px solid var(--border);
}
.filter-btn {
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border2);
  background: var(--white); color: var(--muted); cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  transition: all .18s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--black); border-color: var(--black); color: #fff; }

/* ═══ LIGHTBOX ═══ */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--black);
  border: none; cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  border: 2px solid rgba(255,255,255,.3); cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev, .lightbox-next { z-index: 1; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero-logo-bg { width: 160px; opacity: .08; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-hero { grid-template-columns: 1fr; gap: 40px; }
  .book-cover-img { max-width: 280px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-banner-actions { justify-content: center; }
  .gallery-grid { grid-auto-rows: 140px; }
  .right-actions .btn:not(.burger) { display: none; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats > div { margin-right: 24px; margin-bottom: 12px; }
  .hero-stats > div:not(:first-child) { padding-left: 24px; }
  .hero-stat-num { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px; }
  .brand-sub { display: none; }
  .cta-banner h3 { font-size: 26px; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .g-1 { grid-column: span 6; grid-row: span 2; }
  .g-2, .g-3, .g-4, .g-5, .g-6 { grid-column: span 6; grid-row: span 1; }
}

/* ═══ ADMIN STYLES ═══ */
.admin-body { background: var(--off-white); min-height: 100vh; }
.admin-header {
  background: var(--black); color: var(--white);
  padding: 16px 0; border-bottom: 3px solid var(--orange);
}
.admin-header-inner { display: flex; justify-content: space-between; align-items: center; }
.admin-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.admin-brand img { width: 40px; height: 40px; }
.admin-brand h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 20px; margin: 0; letter-spacing: .1em; text-transform: uppercase; }
.admin-brand span { font-size: 11px; color: var(--orange); letter-spacing: .15em; text-transform: uppercase; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav a {
  padding: 8px 14px; font-size: 13px; color: rgba(255,255,255,.7);
  border-radius: 6px; font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  transition: background .18s;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: var(--orange); }
.admin-main { padding: 32px 0; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; display: flex; justify-content: space-between; align-items: center;
}
.stat-card-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.stat-card-value { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 30px; line-height: 1; color: var(--black); margin-top: 6px; }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-glow); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}

.admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.admin-tab {
  padding: 12px 20px; background: none; border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .18s;
}
.admin-tab:hover { color: var(--black); }
.admin-tab.active { color: var(--orange); border-bottom-color: var(--orange); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-table {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  width: 100%; border-collapse: collapse;
}
.admin-table th {
  background: var(--black); color: var(--white);
  padding: 14px 16px; text-align: left;
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700;
}
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: var(--off-white); }
.admin-table img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
}
.badge-orange { background: var(--orange-glow); color: var(--orange-dim); }
.badge-green  { background: #e8f5e9; color: #2e7d32; }
.badge-gray   { background: var(--light); color: var(--muted); }
.badge-red    { background: #ffebee; color: #c62828; }

.admin-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid var(--border2); background: var(--white);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: all .18s; color: var(--muted);
}
.icon-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.icon-btn.danger:hover { background: #c62828; border-color: #c62828; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius2);
  max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; text-transform: uppercase; margin: 0; }
.modal-body { padding: 24px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

.login-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, var(--black2) 100%);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.login-box {
  background: var(--white); border-radius: var(--radius2);
  padding: 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--orange);
}
.login-box h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 28px; letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 6px; text-align: center;
}
.login-box p { text-align: center; color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.login-logo { width: 80px; margin: 0 auto 20px; display: block; }

/* ═══ THEME TOGGLE ═══ */
.theme-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 40;
  background: var(--black); color: var(--orange);
  border: 2px solid var(--orange); border-radius: 99px;
  padding: 10px 18px; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
  transition: all .18s;
}
.theme-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.theme-toggle-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

/* Dark theme overrides */
body.theme-dark {
  background: var(--black);
  color: var(--white);
}
body.theme-dark .topbar {
  background: rgba(10,10,10,.92);
}
body.theme-dark .topbar .brand-name { color: var(--white); }
body.theme-dark .nav-desktop a { color: rgba(255,255,255,.6); }
body.theme-dark .nav-desktop a:hover, body.theme-dark .nav-active { color: var(--white) !important; }
body.theme-dark .btn:not(.btn-orange):not(.btn-black):not(.btn-ghost) {
  background: var(--black3); color: var(--white); border-color: rgba(255,255,255,.15);
}
body.theme-dark .btn:not(.btn-orange):not(.btn-black):not(.btn-ghost):hover {
  background: var(--dark);
}
body.theme-dark .section-white { background: var(--black2); color: var(--white); }
body.theme-dark .section-light { background: var(--black); color: var(--white); }
body.theme-dark .card {
  background: var(--black2); border-color: rgba(255,255,255,.08); color: var(--white);
}
body.theme-dark .card-price { color: var(--white); }
body.theme-dark .card-desc { color: rgba(255,255,255,.6); }
body.theme-dark .coaching-card:not(.featured) {
  background: var(--black2); border-color: rgba(255,255,255,.1); color: var(--white);
}
body.theme-dark .coaching-card:not(.featured) .coaching-price { color: var(--white); }
body.theme-dark .coaching-card:not(.featured) .coaching-tagline { color: rgba(255,255,255,.6); }
body.theme-dark .coaching-card:not(.featured) .coaching-price-wrap { border-bottom-color: rgba(255,255,255,.1); }
body.theme-dark .testimonial { background: var(--black2); border-color: rgba(255,255,255,.08); color: var(--white); }
body.theme-dark .testimonial-text { color: var(--white); }
body.theme-dark .form-wrap {
  background: var(--black2); border-color: rgba(255,255,255,.08); color: var(--white);
}
body.theme-dark .form-control {
  background: var(--black3); border-color: rgba(255,255,255,.12); color: var(--white);
}
body.theme-dark .form-label { color: var(--white); }
body.theme-dark .form-check label { color: rgba(255,255,255,.7); }
body.theme-dark .filters { background: var(--black2); border-color: rgba(255,255,255,.08); }
body.theme-dark .filter-btn { background: var(--black3); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
body.theme-dark .filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
body.theme-dark .section-title { color: var(--white); }
body.theme-dark .section-sub { color: rgba(255,255,255,.65); }
body.theme-dark .nav-panel { background: var(--black2); }
body.theme-dark .nav-panel a { color: var(--white); border-bottom-color: rgba(255,255,255,.1); }
body.theme-dark .burger { background: var(--black3); border-color: rgba(255,255,255,.15); }
body.theme-dark .burger span { background: var(--white); }
body.theme-dark .burger-fixed { background: rgba(20,20,20,.94); border-color: rgba(255,255,255,.15); }
body.theme-dark .burger-fixed span { background: var(--white); }
body.theme-dark .feature-desc { color: rgba(255,255,255,.65); }
body.theme-dark .nav-theme-switch { border-top-color: rgba(255,255,255,.1); }
body.theme-dark .nav-theme-options { background: var(--black3); border-color: rgba(255,255,255,.1); }
body.theme-dark .nav-theme-btn { color: rgba(255,255,255,.5); }
body.theme-dark .nav-theme-btn:hover { color: var(--white); }
body.theme-dark .nav-theme-btn[aria-checked="true"] { background: var(--black); color: var(--orange); }

/* ═══════════════════════════════════════════
   PASTILLE IDENTITÉ (client connecté, header)
   ═══════════════════════════════════════════ */
.hd-user { position: relative; }
.hd-user-btn {
  display: flex; align-items: center; gap: 9px;
  background: var(--black3); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 4px 12px 4px 4px;
  color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  transition: border-color .15s ease;
}
.hd-user-btn:hover { border-color: var(--orange); }
.hd-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--orange);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 14px; letter-spacing: .5px; flex-shrink: 0;
}
.hd-user-chevron { font-size: 9px; color: rgba(255,255,255,.55); }
.hd-user-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: var(--white); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  padding: 6px; display: none; z-index: 300;
}
.hd-user-menu.open { display: block; }
.hd-user-head { padding: 10px 12px 9px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.hd-user-head strong { display: block; font-size: 14px; }
.hd-user-head span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.hd-user-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: var(--text); font-weight: 500; }
.hd-user-menu a:hover { background: var(--off-white); }
.hd-user-menu a.hd-user-deco { color: #c62828; }
.hd-user-menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.hd-user-theme { padding: 2px 6px 4px; }
.hd-user-theme .nav-theme-label { display: block; padding: 4px 6px 0; }
@media (max-width: 960px) {
  .hd-user-nom, .hd-user-chevron { display: none; }
  .hd-user-btn { padding: 3px; }
  .hd-user-menu { min-width: 230px; }
}
body.theme-dark .hd-user-menu { background: var(--black2); color: var(--white); border-color: rgba(255,255,255,.12); }
body.theme-dark .hd-user-menu a { color: var(--white); }
body.theme-dark .hd-user-menu a:hover { background: rgba(255,255,255,.06); }
body.theme-dark .hd-user-menu a.hd-user-deco { color: #ef7070; }
body.theme-dark .hd-user-head { border-bottom-color: rgba(255,255,255,.12); }
body.theme-dark .hd-user-head span { color: rgba(255,255,255,.55); }
body.theme-dark .hd-user-menu hr { border-top-color: rgba(255,255,255,.12); }

/* Bandeau chrono : visible uniquement pendant un roulage en cours */
.bandeau-chrono {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: var(--orange, #ff6b00); color: #4A1B0C; text-decoration: none;
  padding: 10px 18px; font-weight: 700; font-size: 14px; text-align: center;
}
.bandeau-chrono:hover { background: #ff7d1f; }
.bandeau-chrono-cta { text-decoration: underline; white-space: nowrap; }
@media (max-width: 560px) {
  .bandeau-chrono { font-size: 13px; gap: 8px; padding: 9px 14px; }
}
