/* =====================================================
   BAKY ACADEMY — Design System
   Palette : Noir / Blanc / Turquoise
   Fonts   : Space Grotesk (titres) + Inter (corps)
===================================================== */

/* Fonts chargées via <link> dans header.php — pas d'@import ici pour éviter le blocage du rendu */

/* ===== VARIABLES ===== */
:root {
  --turq:        #0ECECA;
  --turq-dim:    #0AADA8;
  --turq-light:  #5EF0EC;
  --turq-glow:   rgba(14, 206, 202, 0.18);
  --turq-border: rgba(14, 206, 202, 0.25);

  --bg:       #060608;
  --surface:  #0D0D10;
  --surface2: #131317;
  --surface3: #1A1A20;
  --surface4: #222228;

  --border:   rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);

  --gold:        #C9A84C;
  --gold-light:  #E0C060;
  --gold-dim:    rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.30);

  --text:       #F0F0F2;
  --text-sub:   #A0A0A8;
  --text-muted: #606068;
  --white:      #FFFFFF;
  --black:      #000000;

  --radius:    14px;
  --radius-sm: 8px;
  --radius-xs: 5px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.35);
  --shadow:      0 8px 40px rgba(0,0,0,0.55);
  --shadow-turq: 0 4px 28px rgba(14,206,202,0.28);

  --transition: 0.22s cubic-bezier(.4,0,.2,1);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--turq); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--turq-light); }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-sub); }

.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.turq    { color: var(--turq); }
.gold    { color: var(--gold); }
.white   { color: var(--white); }
.muted   { color: var(--text-muted); }
.lead    { font-size: 1.15rem; color: var(--text-sub); line-height: 1.7; }

/* ===== LAYOUT ===== */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 820px;  margin: 0 auto; padding: 0 28px; }
.container-xs { max-width: 560px;  margin: 0 auto; padding: 0 28px; }

.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-xs { padding: 40px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.flex              { display: flex; }
.flex-center       { display: flex; align-items: center; justify-content: center; }
.flex-between      { display: flex; align-items: center; justify-content: space-between; }
.align-items-center{ align-items: center; }

.text-center { text-align: center; }
.gap-1  { gap:  6px; }
.gap-2  { gap: 12px; }
.gap-3  { gap: 20px; }
.gap-sm { gap: 10px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }

/* Spacing helpers */
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}
.mt-4{margin-top:40px}.mt-5{margin-top:64px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.mb-4{margin-bottom:40px}

/* ===== DIVIDER ===== */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--turq), var(--turq-light));
  border-radius: 2px;
  margin: 14px auto 36px;
}
.divider-left { margin-left: 0; }

/* ===== SECTION HEADER ===== */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--turq);
  margin-bottom: 14px;
}
.section-title { margin-bottom: 60px; }
.section-title p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ===== NOISE TEXTURE (opt) ===== */
.noise-bg::after {
  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.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.2px; cursor: pointer; border: none;
  text-decoration: none; transition: all var(--transition); white-space: nowrap;
}
.btn-turq {
  background: var(--turq);
  color: #000;
  box-shadow: var(--shadow-turq);
}
.btn-turq:hover {
  background: var(--turq-light);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(14,206,202,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--turq);
  border: 1.5px solid var(--turq-border);
}
.btn-outline:hover {
  background: var(--turq-glow);
  border-color: var(--turq);
  color: var(--turq-light);
}
.btn-ghost {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface4); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--black);
  font-weight: 700;
}
.btn-white:hover { background: #e8e8e8; color: var(--black); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(201,168,76,0.30);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
}
/* CTA paiement — dégradé turquoise premium */
.btn-turq-grad {
  background: linear-gradient(90deg, var(--turq), var(--turq-light));
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(14,206,202,0.32);
}
.btn-turq-grad:hover {
  background: linear-gradient(90deg, var(--turq-light), var(--turq));
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 38px rgba(14,206,202,0.5);
}
.btn-dark {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-dark:hover { background: var(--surface4); color: var(--white); }
.btn-sm  { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg  { padding: 16px 40px; font-size: 1rem; }
.btn-xl  { padding: 20px 52px; font-size: 1.05rem; border-radius: 10px; }
.btn-full{ width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(6,6,8,0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto;
  padding: 15px 28px;
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.5px;
}
.navbar-logo span { color: var(--turq); }
.navbar-links {
  display: flex; align-items: center; gap: 36px;
}
.navbar-links a {
  color: var(--text-sub); font-size: 0.88rem; font-weight: 500;
  font-family: var(--font-body); transition: color var(--transition);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }
.navbar-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all var(--transition); border-radius: 2px;
}

/* ===== HERO — SALES FUNNEL ===== */
.hero-funnel {
  position: relative; overflow: hidden;
  min-height: 62vh;
  display: flex; align-items: center;
  background: var(--bg);
}
/* Grid dot pattern */
.hero-funnel::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 60% 20%, rgba(14,206,202,0.1) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(14,206,202,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.hero-funnel::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content-wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,206,202,0.08);
  border: 1px solid var(--turq-border);
  color: var(--turq); font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 7px 16px;
  border-radius: 100px; margin-bottom: 28px;
}
.hero-title { margin-bottom: 22px; }
.hero-title em {
  font-style: normal; color: var(--turq);
  background: linear-gradient(135deg, var(--turq), var(--turq-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; color: var(--text-sub); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-proof {
  display: flex; gap: 32px; margin-top: 52px;
  padding-top: 40px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-proof-item {}
.hero-proof-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.hero-proof-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

/* ===== HERO VIDEO (desktop: cadrée à droite) ===== */
.hero-video {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 56%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.28) saturate(.72);
  z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 26%, #000 100%);
}

/* ===== GALERIE D'AMBIANCE ===== */
.gallery-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; overflow: hidden;
}
.gallery-tile {
  position: relative; height: 320px;
  overflow: hidden; background: #0B1320;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-sub);
  font-weight: 500;
}
.trust-icon { color: var(--turq); font-size: 0.9rem; }
.trust-sep { color: var(--border-2); }

/* ===== VIDEO BLOCK ===== */
.video-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  box-shadow: var(--shadow);
}
.video-block::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--turq-border), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.video-ratio { padding-bottom: 56.25%; position: relative; }
.video-ratio iframe, .video-ratio video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--surface2); cursor: pointer;
}
.play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--turq);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #000;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 0 rgba(14,206,202,0.4);
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 14px rgba(14,206,202,0.1);
}

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--turq-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-turq);
}
.card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--turq); color: #000;
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.card-body { padding: 24px; }
.card-meta {
  display: flex; gap: 14px; font-size: 0.78rem;
  color: var(--text-muted); margin-bottom: 10px;
}
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-title {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 700; margin-bottom: 8px; color: var(--white);
}
.card-desc { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 20px; line-height: 1.6; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-top: 1px solid var(--border);
}
.card-price {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 800; color: var(--turq);
}
.card-price-old {
  font-size: 0.82rem; color: var(--text-muted);
  text-decoration: line-through; margin-left: 8px;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  position: relative; transition: all var(--transition);
}
.pricing-card.featured {
  background: var(--surface2);
  border-color: var(--turq);
  box-shadow: var(--shadow-turq);
  transform: translateY(-8px);
}
.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--turq); color: #000;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  padding: 5px 16px; border-radius: 100px; text-transform: uppercase;
  letter-spacing: 0.5px; white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  color: var(--text-sub); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.pricing-amount {
  font-family: var(--font-display); font-size: 3.2rem;
  font-weight: 800; color: var(--white); line-height: 1;
  margin-bottom: 6px;
}
.pricing-amount sup { font-size: 1.4rem; vertical-align: super; }
.pricing-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { font-size: 0.88rem; color: var(--text-sub); margin: 16px 0 28px; }
.pricing-list { margin: 0 0 32px; }
.pricing-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 0.88rem; color: var(--text-sub);
  border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-check { color: var(--turq); flex-shrink: 0; margin-top: 1px; }
.pricing-cross { color: var(--text-muted); flex-shrink: 0; }

/* ===== FEATURES ===== */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; display: flex; gap: 18px;
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--turq-border); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--turq-glow); border: 1px solid var(--turq-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.feature-body h3 { font-size: 0.98rem; margin-bottom: 5px; }
.feature-body p { font-size: 0.84rem; }

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color var(--transition);
}
.testimonial:hover { border-color: var(--turq-border); }
.testimonial-stars { color: var(--turq); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-text {
  font-size: 0.9rem; color: var(--text-sub); line-height: 1.75;
  margin-bottom: 20px; flex: 1; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface3); overflow: hidden;
  border: 2px solid var(--turq-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  color: var(--turq); font-size: 0.9rem;
}
.testimonial-name { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--white); }
.testimonial-role { font-size: 0.76rem; color: var(--text-muted); margin-top: 1px; }

/* ===== GUARANTEE ===== */
.guarantee-box {
  display: flex; align-items: center; gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 36px;
}
.guarantee-icon {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  border: 3px solid var(--turq);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  background: var(--turq-glow);
}
.guarantee-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.guarantee-text { font-size: 0.9rem; color: var(--text-sub); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; }
.faq-question {
  width: 100%; background: var(--surface); border: none; color: var(--text);
  padding: 20px 24px; text-align: left; font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--surface2); }
.faq-icon { color: var(--turq); font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  background: var(--surface2); color: var(--text-sub);
  font-size: 0.88rem; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  line-height: 1.75;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-display); font-size: 0.82rem;
  font-weight: 600; color: var(--text);
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--surface2);
  border: 1.5px solid var(--border-2); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body); font-size: 0.93rem;
  padding: 13px 16px; transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--turq);
  box-shadow: 0 0 0 3px rgba(14,206,202,0.12);
}
.form-input::placeholder { color: var(--text-muted); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23606068'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint  { font-size: 0.75rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.76rem; color: #FF5E5E; margin-top: 5px; }

/* ===== ALERT ===== */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px;
  font-size: 0.88rem; display: flex; align-items: flex-start; gap: 10px;
}
.alert-error   { background: rgba(255,94,94,.08);  border: 1px solid rgba(255,94,94,.25);  color: #FF5E5E; }
.alert-success { background: rgba(14,206,202,.08); border: 1px solid rgba(14,206,202,.25); color: var(--turq); }
.alert a { color: inherit; text-decoration: underline; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
}
.badge-turq  { background: var(--turq-glow);  color: var(--turq);      border: 1px solid var(--turq-border); }
.badge-gold  { background: var(--gold-dim);   color: var(--gold);      border: 1px solid var(--gold-border); }
.badge-green { background: rgba(72,199,142,.1); color: #48C78E; }
.badge-gray  { background: var(--surface3);   color: var(--text-muted); }
.badge-red   { background: rgba(255,94,94,.1); color: #FF5E5E; }

/* ===== PROGRESS BAR ===== */
.progress-bar    { height: 6px; background: var(--surface3); border-radius: 100px; overflow: hidden; }
.progress-fill   { height: 100%; background: linear-gradient(90deg, var(--turq), var(--turq-light)); border-radius: 100px; transition: width 0.5s ease; }
.course-progress { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ===== MODULE ACCORDION ===== */
.module-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.module-header {
  background: var(--surface); padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none;
  transition: background var(--transition);
}
.module-header:hover { background: var(--surface2); }
.module-title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  display: flex; align-items: center; gap: 10px; color: var(--white);
}
.module-icon { color: var(--turq); }
.module-count { font-size: 0.76rem; color: var(--text-muted); }
.module-lessons { background: var(--surface2); }
.lesson-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-top: 1px solid rgba(255,255,255,.03);
  cursor: pointer; transition: background var(--transition);
  color: var(--text-sub); font-size: 0.86rem;
}
.lesson-item:hover { background: rgba(14,206,202,.04); color: var(--text); }
.lesson-item.completed { color: var(--turq); }
.lesson-check {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
}
.lesson-item.completed .lesson-check { background: var(--turq); border-color: var(--turq); color: #000; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.order-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: sticky; top: 90px;
}
.order-item { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.order-total { display: flex; justify-content: space-between; padding: 18px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

/* ===== MEMBER AREA ===== */
.member-layout { display: flex; min-height: calc(100vh - 65px); }
.sidebar {
  width: 270px; flex-shrink: 0;
  background: var(--surface); border-right: 1px solid var(--border);
  min-height: calc(100vh - 65px);
}
.sidebar-logo { padding: 22px 18px; border-bottom: 1px solid var(--border); }
.sidebar-nav { padding: 14px 10px; overflow-y: auto; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-sub); font-size: 0.87rem; font-weight: 500;
  transition: all var(--transition); margin-bottom: 3px;
  text-decoration: none;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--turq-glow); color: var(--turq);
}
.main-content { flex: 1; padding: 40px; }

/* ===== STEP INDICATOR ===== */
.step-indicator { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; align-items: center; }
.step-dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  transition: all var(--transition);
}
.step-dot.active   { background: var(--turq); color: #000; box-shadow: 0 0 0 4px rgba(14,206,202,0.2); }
.step-dot.done     { background: var(--turq); color: #000; }
.step-dot.inactive { background: var(--surface3); color: var(--text-muted); }
.step-line { width: 80px; height: 2px; background: var(--border); margin: 0 4px; }
.step-line.done { background: var(--turq); }
.step-label { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 5px; }

/* ===== INLINE STATS ===== */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-lbl { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

/* ===== INSTRUCTOR ===== */
.instructor-img {
  border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  background: var(--surface2); aspect-ratio: 4/5;
}
.instructor-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer-brand p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin-top: 12px; max-width: 240px; }
.footer-col-title {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--turq); margin-bottom: 16px;
}
.footer-links a {
  display: block; color: var(--text-muted); font-size: 0.86rem;
  padding: 5px 0; transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.88rem;
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--turq); color: var(--turq); background: var(--turq-glow); }

/* ===== GLOW EFFECT ===== */
.glow-turq {
  position: relative;
}
.glow-turq::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--turq), transparent 70%);
  opacity: 0.5; z-index: -1;
  filter: blur(12px);
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex; gap: 16px; justify-content: center;
}
.cd-box {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 18px; text-align: center;
  min-width: 70px;
}
.cd-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.cd-label { font-size: 0.66rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ===== CAPTURE PROSPECTS (footer) ===== */
.footer-capture {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 28px;
  padding: 4px 0 28px; margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-capture-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-capture-sub { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; max-width: 420px; }
.footer-capture-form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 440px; }
.footer-capture-input {
  flex: 1; min-width: 0; background: var(--surface2);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--white); font: inherit; font-size: 0.9rem;
}
.footer-capture-input::placeholder { color: var(--text-muted); }
.footer-capture-input:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(14,206,202,0.12); }
.footer-capture-msg { flex-basis: 100%; font-size: 0.82rem; margin: 2px 0 0; min-height: 1em; }
.footer-capture-msg.ok  { color: var(--turq); }
.footer-capture-msg.err { color: #FF5E7D; }

/* ===== RESPONSIVE ===== */

/* Garde-fous globaux : jamais de scroll horizontal, médias fluides, tap propre */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* décale les ancres sous la navbar sticky */
}
body { overflow-x: clip; } /* clip (pas hidden) : bloque le scroll latéral sans casser la navbar sticky */
img, video, canvas, svg { max-width: 100%; }
* { -webkit-tap-highlight-color: rgba(14,206,202,0.18); }

/* Accessibilité : coupe les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Accessibilité : anneau de focus visible au clavier (pas à la souris) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid var(--turq);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── ≤1100px : tablette paysage ── */
@media (max-width: 1100px) {
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .order-summary { position: static; }
  .pricing-card.featured { transform: none; }
}

/* ── ≤900px : tablette portrait — la vidéo hero passe en plein fond ── */
@media (max-width: 900px) {
  .grid-3       { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Hero vidéo : plein cadre derrière le texte, assombrie, fondu vers le haut */
  .hero-video {
    width: 100%;
    filter: brightness(.24) saturate(.7);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 60%);
            mask-image: linear-gradient(to top, transparent 0%, #000 60%);
  }
  .hero-content-wrap { max-width: 100% !important; }

  /* Galerie : 2×2 au lieu de 4 colonnes minuscules */
  .gallery-band { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile { height: 240px; }
}

/* ── ≤768px : grand téléphone / mobile paysage ── */
@media (max-width: 768px) {
  /* Grilles */
  .grid-2        { grid-template-columns: 1fr; gap: 24px; }
  .grid-4        { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Espacements de section fluides */
  .section    { padding: clamp(40px, 9vw, 56px) 0; }
  .section-sm { padding: clamp(28px, 7vw, 40px) 0; }
  .section-xs { padding: 24px 0; }
  .container  { padding: 0 18px; }
  .container-sm { padding: 0 18px; }

  /* Grille inline (gap:64px) réduite quand elle empile */
  .grid-2[style*="gap"] { gap: 32px !important; }

  /* Navbar */
  .navbar-links { display: none; }
  .navbar-cta   { gap: 6px; }
  .navbar-cta .btn-ghost { display: none; }
  .hamburger    { display: block; }

  /* Hero */
  .hero-funnel  { min-height: 78vh; padding: 44px 0; }
  .hero-sub     { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof   { gap: 18px 16px; margin-top: 34px; padding-top: 28px; }
  .hero-proof-item { min-width: calc(50% - 10px); flex: 1 1 calc(50% - 10px); }
  .hero-proof-num { font-size: 1.7rem; }

  /* Cibles tactiles confortables */
  .btn { min-height: 44px; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer        { padding: 40px 0 24px; }

  /* Cards */
  .card-footer { flex-wrap: wrap; gap: 10px; }
  .card-footer .btn { width: 100%; justify-content: center; }

  /* Checkout / inscription */
  .checkout-layout { gap: 24px; }

  /* Espace membre */
  .member-layout  { flex-direction: column; }
  .sidebar        { width: 100%; min-height: auto; max-height: 280px; overflow-y: auto; }
  .main-content   { padding: 20px 16px; }

  /* Misc */
  .guarantee-box  { flex-direction: column; text-align: center; padding: 24px 20px; }
  .guarantee-icon { margin: 0 auto; }
  .stats-row      { gap: 16px; }
  .trust-bar-inner { gap: 8px; }
  .trust-sep      { display: none; }

  /* Tables admin : défilement horizontal isolé */
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 600px; }
}

/* ── ≤560px : téléphones — cartes en pleine largeur ── */
@media (max-width: 560px) {
  .grid-3       { grid-template-columns: 1fr; gap: 18px; }
  .gallery-tile { height: 190px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 24px; }
}

/* ── ≤480px : petits téléphones ── */
@media (max-width: 480px) {
  /* Typographie (plancher pour tenir sur écran étroit) */
  h1 { font-size: clamp(1.85rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.5rem, 6.5vw, 1.75rem); }
  h3 { font-size: 1.15rem; }

  /* Boutons */
  .btn-xl { padding: 15px 24px; font-size: 0.95rem; }
  .btn-lg { padding: 13px 22px; font-size: 0.92rem; }

  /* Hero */
  .hero-funnel  { min-height: 74vh; padding: 34px 0; }
  .hero-eyebrow { font-size: 0.66rem; padding: 6px 13px; margin-bottom: 22px; }
  .hero-sub     { font-size: 0.96rem; }
  .hero-proof   { gap: 16px; }
  .hero-proof-num { font-size: 1.5rem; }

  /* Cards */
  .card-body   { padding: 18px; }
  .card-footer { padding: 14px 18px; }

  /* Grids avec gap */
  .grid-2 { gap: 16px; }
  .grid-4 { gap: 12px; }
  .gallery-tile { height: 165px; }

  /* Sections */
  .section    { padding: 36px 0; }
  .section-sm { padding: 26px 0; }

  /* Checkout / navbar / sidebar / footer */
  .step-line     { width: 40px; }
  .order-summary { padding: 20px 16px; }
  .navbar-inner  { padding: 12px 16px; }
  .navbar-logo   { font-size: 1.15rem; }
  .sidebar       { max-height: 220px; }
  .main-content  { padding: 16px 14px; }
  .guarantee-box { padding: 20px 16px; }
  .footer        { padding: 32px 0 20px; }
}

/* ── ≤380px : très petits écrans — steps/features en 1 colonne ── */
@media (max-width: 380px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* Menu mobile ouvert */
@media (max-width: 768px) {
  .navbar-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 57px; left: 0; right: 0;
    background: rgba(6,6,8,0.98); backdrop-filter: blur(16px);
    padding: 20px 20px; border-bottom: 1px solid var(--border);
    gap: 14px; z-index: 999;
    max-height: calc(100vh - 57px); overflow-y: auto;
  }
  .navbar-links.open a { font-size: 1rem; padding: 8px 0; }
}

/* ===== SIDEBAR MOBILE ===== */
@media (max-width: 768px) {
  #sidebar { transition: max-height 0.3s ease, overflow 0.3s; }
  #sidebar.sidebar-open { max-height: none !important; overflow: visible !important; }
}

/* ===== STRIPE ELEMENT ===== */
.stripe-element {
  background: var(--surface2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color var(--transition);
}
.stripe-element:focus-within { border-color: var(--turq); box-shadow: 0 0 0 3px rgba(14,206,202,0.12); }

/* ===== UTILITIES ===== */
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.fade-in { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══ Section centrée (pages de confirmation) — responsive ═══ */
.section-center { min-height: 82vh; display: flex; align-items: center; }

/* ═══ PAYSAGE (mobile/tablette retourné) : compacter le vertical pour tout garder visible ═══ */
@media (orientation: landscape) and (max-height: 600px) {
  .section            { padding: 44px 0; }
  .hero, .hero-funnel { min-height: auto; padding: 84px 0 44px; }
  .section-center     { min-height: auto; align-items: flex-start; }
  .navbar-links.open  { max-height: calc(100dvh - 52px); }
  .checkout-layout    { gap: 20px; }
  .order-summary      { position: static; }
}

