/* ============================================================
   CLUB VIP FINANCE- style.css
   CSS custom properties + base styles
   Phase 1 : fondations de la charte graphique
   ============================================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  /* Couleurs */
  --color-gold:            #D7BE7D;
  --color-gold-light:      rgba(215, 190, 125, 0.10);
  --color-gold-border:     rgba(215, 190, 125, 0.22);
  --color-turquoise:       #01C6B6;
  --color-turquoise-light: rgba(1, 198, 182, 0.08);
  --color-bg:              #0A0A0A;
  --color-bg-raised:       #0E0E0E;
  --color-surface:         #111111;
  --color-surface-hover:   #181818;
  --color-border:          rgba(245, 245, 240, 0.07);
  --color-text:            #F5F5F0;
  --color-text-muted:      rgba(245, 245, 240, 0.58);
  --color-text-dim:        rgba(245, 245, 240, 0.32);

  /* Typographie */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:        0.72rem;   /* 11.5px */
  --text-sm:        0.875rem;  /* 14px   */
  --text-base:      1rem;      /* 16px   */
  --text-lg:        1.125rem;  /* 18px   */
  --text-xl:        1.25rem;   /* 20px   */
  --text-2xl:       1.5rem;    /* 24px   */
  --text-3xl:       2rem;      /* 32px   */
  --text-4xl:       2.5rem;    /* 40px   */
  --text-5xl:       3.5rem;    /* 56px   */
  --text-6xl:       4.5rem;    /* 72px   */

  /* Espacement (4px base) */
  --sp-1:   0.25rem;   /* 4px  */
  --sp-2:   0.5rem;    /* 8px  */
  --sp-3:   0.75rem;   /* 12px */
  --sp-4:   1rem;      /* 16px */
  --sp-5:   1.25rem;   /* 20px */
  --sp-6:   1.5rem;    /* 24px */
  --sp-8:   2rem;      /* 32px */
  --sp-10:  2.5rem;    /* 40px */
  --sp-12:  3rem;      /* 48px */
  --sp-16:  4rem;      /* 64px */
  --sp-20:  5rem;      /* 80px */
  --sp-24:  6rem;      /* 96px */
  --sp-32:  8rem;      /* 128px */

  /* Layout */
  --max-w:            1200px;
  --gutter:           1.5rem;
  --section-py:       clamp(4.5rem, 9vw, 8rem);

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  20px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm:    0 1px 4px rgba(0, 0, 0, 0.5);
  --shadow-md:    0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg:    0 8px 40px rgba(0, 0, 0, 0.55);
  --shadow-gold:  0 4px 28px rgba(215, 190, 125, 0.18);
  --shadow-teal:  0 4px 28px rgba(1, 198, 182, 0.18);

  /* Transitions */
  --t-fast:  0.15s ease;
  --t-base:  0.25s ease;
  --t-slow:  0.4s ease;

  /* Z-index */
  --z-navbar: 1000;
  --z-menu:   999;
}

/* ---- BASE ---- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }

button { font-family: var(--font); }

ul, ol { list-style: none; }

/* ---- UTILITAIRES ---- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-turquoise);
  margin-bottom: var(--sp-4);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-turquoise);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-6);
}

.section-title em {
  font-style: normal;
  color: var(--color-gold);
}

.section-lead {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 600px;
}

/* Séparateur subtil */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin-block: var(--sp-6);
}

/* ---- NAVBAR & BOUTONS ----
   Dupliqués depuis le CSS critique inline d'index.html (above-the-fold, chargé
   en <style> pour la home). Les pages blog/admin ne chargent que ce fichier,
   donc ces règles doivent aussi exister ici — sinon navbar/hamburger/.btn
   restent non stylés sur ces pages. Garder les deux copies synchronisées. */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-navbar);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(215, 190, 125, 0.12);
}

.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.navbar__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar__links a:hover { color: var(--color-text); }

.navbar__links .btn--gold { color: #0A0A0A !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--color-gold);
  color: #0A0A0A;
  font-weight: 700;
}

.btn--gold:hover {
  box-shadow: 0 4px 20px rgba(215, 190, 125, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid rgba(215, 190, 125, 0.5);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  background: rgba(215, 190, 125, 0.06);
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
}

.btn--turquoise {
  background: var(--color-turquoise);
  color: #0A0A0A;
}

.btn--turquoise:hover {
  box-shadow: 0 4px 20px rgba(1, 198, 182, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .navbar__links { display: none; }
  .hamburger { display: flex; }

  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: var(--z-menu);
    padding: 2rem;
  }

  .navbar__links.open a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__links.open .btn { font-size: 1.1rem; padding: 0.8rem 2rem; }
}

/* ---- CARD ---- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.card:hover {
  border-color: var(--color-gold-border);
  box-shadow: var(--shadow-gold);
}

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge--gold {
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
}

.badge--teal {
  background: var(--color-turquoise-light);
  border: 1px solid rgba(1, 198, 182, 0.22);
  color: var(--color-turquoise);
}

/* ---- SECTIONS base ---- */
section {
  padding-block: var(--section-py);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding-block: var(--sp-12);
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-raised);
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stats__item {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-6) var(--sp-8);
}

.stats__value {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats__sup {
  font-size: 0.55em;
  vertical-align: super;
  font-weight: 700;
}

.stats__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stats__sep {
  width: 1px;
  height: 56px;
  background: var(--color-border);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stats__sep { display: none; }
  .stats__item { border-bottom: 1px solid var(--color-border); padding: var(--sp-6); }
  .stats__item:last-child { border-bottom: none; }
}

/* ============================================================
   MÉTHODE B.A.S.E.
   ============================================================ */
.methode { background: var(--color-bg); }

.methode__header {
  max-width: 620px;
  margin-bottom: var(--sp-12);
}

.methode__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.methode__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}

.methode__card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.methode__card:hover {
  border-color: var(--color-gold-border);
  transform: translateY(-2px);
}

.methode__card:hover::before { opacity: 1; }

.methode__letter {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--color-gold);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: var(--sp-3);
  transition: opacity var(--t-base);
}

.methode__card:hover .methode__letter { opacity: 0.35; }

.methode__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}

.methode__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

/* ============================================================
   YOUTUBE
   ============================================================ */
.yt-section { background: var(--color-bg-raised); }

.yt-section__header {
  max-width: 620px;
  margin-bottom: var(--sp-10);
}

.yt-carousel {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.yt-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.yt-carousel__viewport::-webkit-scrollbar { display: none; }

.yt-carousel__track {
  display: flex;
  gap: var(--sp-6);
}

.yt-carousel__track .yt-card {
  flex: 0 0 calc((100% - 2 * var(--sp-6)) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.yt-carousel__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--t-base), transform var(--t-base);
}

.yt-carousel__arrow:hover {
  border-color: var(--color-gold-border);
  transform: translateY(-2px);
}

.yt-card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.yt-card:hover {
  border-color: var(--color-gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.yt-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}

.yt-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.yt-card:hover .yt-card__img { transform: scale(1.04); }

.yt-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-card__body {
  padding: var(--sp-5);
}

.yt-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-turquoise);
  margin-bottom: var(--sp-2);
}

.yt-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.yt-section__cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .yt-carousel__track .yt-card { flex-basis: 100%; }
  .yt-carousel__arrow { width: 36px; height: 36px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .yt-carousel__track .yt-card { flex-basis: calc((100% - var(--sp-6)) / 2); }
}

/* ============================================================
   BOURSE EXPRESS
   ============================================================ */
.bx { background: var(--color-bg); }

.bx__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  margin-inline: auto;
  gap: var(--sp-16);
  align-items: start;
}

.bx__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-block: var(--sp-8);
}

.bx__benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.bx__benefits li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-turquoise-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2301C6B6' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
  border: 1px solid rgba(1, 198, 182, 0.3);
  flex-shrink: 0;
  margin-top: 2px;
}

.bx__action {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.bx__price { display: flex; flex-direction: column; }

.bx__price-amount {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: -0.04em;
  line-height: 1;
}

.bx__price-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-1);
  white-space: nowrap;
}

.bx__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.bx__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.bx__badge svg { color: var(--color-turquoise); flex-shrink: 0; }

.bx__visual { position: sticky; top: 6rem; }

.bx__card {
  background: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-gold);
}

.bx__card-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-turquoise);
  margin-bottom: var(--sp-2);
}

.bx__card-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.bx__card-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--sp-5);
}

.bx__card-hr {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--sp-5);
}

.bx__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.bx__card-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.bx__card-list li::before {
  content: '✓';
  color: var(--color-turquoise);
  font-weight: 700;
}

.bx__card-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 860px) {
  .bx__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .bx__visual { position: static; }
}

/* ============================================================
   PERFORMANCE- content-visibility sur sections below-the-fold
   ============================================================ */
.skool, .apropos, .rdv, .footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ============================================================
   SKOOL / TÉMOIGNAGES
   ============================================================ */
.skool { background: var(--color-bg-raised); }

.skool__header {
  max-width: 640px;
  margin-bottom: var(--sp-12);
}

.temoignages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.temoignage {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  transition: border-color var(--t-base);
}

.temoignage:hover { border-color: var(--color-gold-border); }

.temoignage__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.temoignage__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.temoignage__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.temoignage__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.temoignage__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}

.skool__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.skool__cta-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

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

@media (min-width: 641px) and (max-width: 860px) {
  .temoignages { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

/* ============================================================
   À PROPOS
   ============================================================ */
.apropos { background: var(--color-bg); }

.apropos__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.apropos__photo-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.apropos__photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.apropos__photo {
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: var(--radius-2xl);
}

.apropos__socials {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

.apropos__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.apropos__social-link:hover {
  border-color: var(--color-gold-border);
  color: var(--color-text);
}

.apropos__bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.apropos__bio strong { color: var(--color-text); font-weight: 600; }

.apropos__cta { margin-top: var(--sp-4); }

@media (max-width: 860px) {
  .apropos__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .apropos__photo { aspect-ratio: 4 / 3; object-position: center 35%; }
}

/* ============================================================
   RDV iCLOSED
   ============================================================ */
.rdv {
  background: var(--color-bg-raised);
  border-top: 1px solid var(--color-border);
}

.rdv__header {
  max-width: 600px;
  margin-bottom: var(--sp-10);
}

.rdv__widget {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
}

.rdv__scarcity {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-top: 1.5rem;
  opacity: 0.85;
}

.apropos__rdv-teaser {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-turquoise);
  background: rgba(1, 198, 182, 0.05);
  border-radius: 0 8px 8px 0;
}

.apropos__rdv-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050505;
  border-top: 1px solid var(--color-border);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--sp-16);
  align-items: start;
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--sp-8);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  margin-bottom: var(--sp-4);
}

.footer__logo img { border-radius: var(--radius-sm); }

.footer__logo span {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer__nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--sp-4);
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__nav a:hover { color: var(--color-text); }

.footer__socials {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.footer__social:hover {
  border-color: var(--color-gold-border);
  color: var(--color-gold);
  background: var(--color-gold-light);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

.footer__legal {
  display: flex;
  gap: var(--sp-5);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__legal a:hover { color: var(--color-text-muted); }

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .footer__socials { flex-direction: row; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   OPTIMISATIONS PAGESPEED
   ============================================================ */

/* Réduire les repaints sur les éléments animés */
.btn, .methode__card, .yt-card, .temoignage {
  will-change: transform;
}

/* Éviter le layout shift sur les images */
img { aspect-ratio: attr(width) / attr(height); }

/* Améliorer le LCP sur le hero */
.hero__photo { will-change: auto; }

.hero__proof {
  font-size: 0.9rem;
  color: var(--color-turquoise);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-turquoise);
  line-height: 1.5;
}

/* Contain layout sur les sections indépendantes */
.stats, .methode, .yt-section, .bx, .skool, .apropos, .rdv {
  contain: layout style;
}

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

/* Touch targets minimum 44px */
@media (max-width: 768px) {
  .btn { min-height: 44px; }

  .apropos__social-link {
    min-height: 44px;
    padding-block: 0.5rem;
  }

  .footer__social { width: 44px; height: 44px; }

  .footer__nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Section lead full width */
  .section-lead { max-width: 100%; }

  /* Skool CTA pleine largeur */
  .skool__cta .btn { width: 100%; max-width: 420px; }

  /* RDV widget */
  .rdv__widget { overflow: hidden; }

  /* Footer socials en ligne */
  .footer__socials { flex-direction: row; flex-wrap: wrap; }

  /* Footer légaux */
  .footer__bottom { align-items: center; text-align: center; }
  .footer__legal { flex-wrap: wrap; justify-content: center; }
}

/* Petit mobile (< 480px) */
@media (max-width: 480px) {
  .container { padding-inline: 1.25rem; }

  /* Section titles */
  .section-title { letter-spacing: -0.025em; }

  /* Stats : une colonne pleine largeur */
  .stats__grid { flex-direction: column; }
  .stats__item { flex: 1 1 auto; width: 100%; }
  .stats__value { font-size: var(--text-4xl); }

  /* Méthode : padding réduit */
  .methode__card { padding: var(--sp-6); }
  .methode__letter { font-size: 3rem; }

  /* YouTube : padding réduit sur les cards */
  .yt-card__body { padding: var(--sp-4); }

  /* Bourse Express : masquer carte décorative, empiler */
  .bx__visual { display: none; }
  .bx__inner { grid-template-columns: 1fr !important; gap: var(--sp-8); }
  .bx__action { flex-direction: column; align-items: stretch; }
  .bx__action .btn { width: 100%; justify-content: center; }
  .bx__price-amount { font-size: var(--text-3xl); }

  /* Skool CTA pleine largeur */
  .skool__cta .btn { width: 100%; max-width: 100%; }

  /* À propos : photo moins haute */
  .apropos__photo { aspect-ratio: 3 / 2; }

  /* Footer */
  .footer__bottom { align-items: center; text-align: center; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: var(--sp-4); }
  .footer__tagline { max-width: 100%; }
}

/* ============================================================
   BLOG — liste des articles
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}

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

@media (min-width: 641px) and (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   BLOG — page article
   ============================================================ */
.article-page {
  max-width: 760px;
}

.article__header {
  margin-bottom: var(--sp-8);
}

.article__meta {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--sp-2);
}

.article__cover {
  width: 100%;
  border-radius: var(--radius-xl);
  margin-bottom: var(--sp-10);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__content {
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.article__content p { margin-bottom: var(--sp-6); }

.article__content h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: var(--sp-10) 0 var(--sp-4);
}

.article__content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--sp-8) 0 var(--sp-3);
}

.article__content ul {
  margin: 0 0 var(--sp-6);
  padding-left: var(--sp-6);
}

.article__content li { margin-bottom: var(--sp-2); }

.article__content strong { color: var(--color-gold); font-weight: 700; }
.article__content em { font-style: italic; }

.article__content a {
  color: var(--color-turquoise);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   ADMIN — back-office articles
   ============================================================ */
.admin-body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
}

.admin-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--sp-10) var(--sp-6);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-8);
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.admin-topbar h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0;
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}

.admin-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.admin-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  resize: vertical;
}

.admin-field textarea { font-family: ui-monospace, monospace; font-size: var(--text-sm); }

.admin-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}

.admin-alert {
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  color: var(--color-text);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.admin-alert--ok {
  background: var(--color-turquoise-light);
  border-color: rgba(1, 198, 182, 0.3);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.admin-table th {
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
}

.admin-table__actions {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.admin-table__actions form { margin: 0; }

.admin-link-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  padding: 0;
  text-decoration: underline;
}

.admin-link-btn:hover { color: var(--color-turquoise); }

.admin-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-badge--ok {
  background: var(--color-turquoise-light);
  color: var(--color-turquoise);
}

.admin-badge--draft {
  background: var(--color-gold-light);
  color: var(--color-gold);
}

@media (max-width: 640px) {
  .admin-table { display: block; overflow-x: auto; }
}
