/* ============================================================================
   RC TRAINING PRO — Feuille de style commune
   Emplacement : /wp-content/themes/flatsome-child/assets/rc.css

   Cette feuille remplace le CSS recopié dans chaque template.
   Tout ce qui est partagé (variables, mise en page, boutons, nav, footer,
   cartes, formulaires) vit ici. Les styles propres à une seule page restent
   dans son template.

   Règle : n'utiliser QUE les variables ci-dessous. Pas de valeur en dur.
   ========================================================================== */

/* ─── 1. TOKENS ──────────────────────────────────────────────────────────── */

:root {

  /* Couleurs de fond */
  --navy:        #070C18;
  --navy-dark:   #0E1628;
  --navy-mid:    #0A1F44;
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --gray-light:  #E8EAF0;

  /* Bleu de marque
     --accent      : sur fond CLAIR et fond des boutons (5,72:1 — WCAG AA)
     --accent-soft : sur fond SOMBRE (6,25:1 sur --navy)
     L'ancien #4F6EF7 était à 4,28:1, sous le seuil de 4,5. */
  --accent:       #4059DB;
  --accent-dark:  #2F44B8;
  --accent-soft:  #6C8AFF;
  --accent-glow:  rgba(64, 89, 219, .18);
  --accent-wash:  rgba(64, 89, 219, .08);

  /* Vert — statut uniquement (✓, résultats). Jamais pour une action.
     Deux valeurs car #22C55E tombe à 2,28:1 sur blanc. */
  --green:        #22C55E;  /* sur fond sombre  — 8,57:1 */
  --green-on-light: #15803D; /* sur fond clair  — 5,02:1 */

  /* Texte sur fond clair */
  --text:        #111827;
  --gray:        #5B6472;

  /* Texte sur fond sombre — 3 niveaux, pas un de plus */
  --fg-strong:   rgba(255, 255, 255, .95);
  --fg-muted:    rgba(255, 255, 255, .72);
  --fg-subtle:   rgba(255, 255, 255, .60);

  /* Typographie — échelle fixe */
  --font-head:   'Oswald', 'Arial Narrow', sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:     0.75rem;   /* 12px */
  --text-sm:     0.875rem;  /* 14px */
  --text-base:   1rem;      /* 16px */
  --text-lg:     1.25rem;   /* 20px */
  --text-xl:     1.5rem;    /* 24px */
  --text-2xl:    2rem;      /* 32px */
  --text-3xl:    2.5rem;    /* 40px */
  --text-4xl:    3.5rem;    /* 56px */

  /* Espacements — grille de 4 */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-6: 24px;  --space-8: 32px;
  --space-12: 48px; --space-18: 72px;

  /* Rayons */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-sm:   0 4px 20px rgba(0, 0, 0, .30);
  --shadow-lg:   0 24px 80px rgba(0, 0, 0, .60);

  /* Mise en page */
  --max-w:       1160px;
  --sec-y:       var(--space-18);

  /* Cible tactile minimale (WCAG 2.5.5) */
  --tap-min:     44px;

  /* ── Alias hérités ─────────────────────────────────────────────────────
     Noms utilisés dans les templates avant la centralisation. Conservés
     pour ne rien casser. À remplacer progressivement par les noms ci-dessus,
     puis à supprimer d'ici. */
  --r:           var(--radius-md);   /* 12px */
  --r-lg:        var(--radius-lg);   /* 20px */
  --border:      rgba(255, 255, 255, .06);
  --navy-card:   #0C1222;
  --navy-light:  #111A2E;
  --text-bright: #F1F3F7;

  /* Accents secondaires (badges d'article, mises en avant).
     Assombris : #F5A623 était à 2,05:1 sur blanc, #F59E0B à 2,15:1. */
  --gold:        #B45309;
  --orange:      #B45309;
  --gold-on-dark:   #FCD34D;
  --orange-on-dark: #FCD34D;
}

@media (max-width: 900px) { :root { --sec-y: 56px; } }
@media (max-width: 600px) { :root { --sec-y: 44px; } }


/* ─── 2. RESET ───────────────────────────────────────────────────────────── */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

p, ul, ol { margin: 0; }
ul, ol    { list-style: none; padding: 0; }
a         { color: inherit; text-decoration: none; }
img, svg  { max-width: 100%; display: block; }
button    { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ─── 3. FOCUS CLAVIER ───────────────────────────────────────────────────── */
/* Il n'y avait aucune règle :focus-visible sur le site. */

:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
  border-radius: 2px;
}

.section--dark :focus-visible,
.footer :focus-visible,
.nav :focus-visible { outline-color: var(--accent-soft); }

/* Lien d'évitement clavier */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: var(--space-3) var(--space-4);
  background: var(--accent); color: #fff; font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }


/* ─── 4. MISE EN PAGE ────────────────────────────────────────────────────── */

.container      { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-6); }
.section        { padding: var(--sec-y) 0; }
.section--dark  { background: var(--navy); color: var(--fg-strong); }
.section--gray  { background: var(--off-white); }
.text-center    { text-align: center; }
.mx-auto        { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: var(--space-8); } }


/* ─── 5. TYPOGRAPHIE DE SECTION ──────────────────────────────────────────── */

.label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.label--light { color: var(--accent-soft); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, var(--text-3xl));
  font-weight: 700;
  color: var(--text);
}
.section-title--white { color: var(--fg-strong); }
.section-title span   { color: var(--accent); }
.section--dark .section-title span,
.section-title--white span { color: var(--accent-soft); }

.section-lead {
  font-size: var(--text-base);
  color: var(--gray);
  max-width: 52ch;
  margin-top: var(--space-3);
}
.section-lead--light { color: var(--fg-muted); }


/* ─── 6. BOUTONS ─────────────────────────────────────────────────────────── */
/* Deux variantes (plein / contour), deux tailles. Rien d'autre.
   .btn-primary et .btn--primary coexistaient : les deux fonctionnent ici. */

.btn, .btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap-min);
  padding: var(--space-3) var(--space-8);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn-primary, .btn--primary { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-outline-dark { border-color: var(--gray-light); color: var(--text); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { min-height: 52px; padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

.btn svg, .btn .icon { width: 18px; height: 18px; flex: none; }


/* ─── 7. NAVIGATION ──────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 12, 24, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: var(--space-6);
}

/* Le logo couleur était quasi invisible sur le header sombre.
   filter le rend blanc sans avoir à réexporter le fichier.
   À remplacer par un vrai PNG blanc quand tu en as un. */
.nav-logo img,
.footer-logo img {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer-logo img { height: 30px; }

.nav-links { display: flex; align-items: center; gap: var(--space-8); }
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }

/* Le CTA du header faisait 32px de haut — sous le minimum tactile. */
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: var(--tap-min);
  padding: var(--space-2) var(--space-4);
  background: var(--accent);
  border-radius: var(--radius-sm);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-hamburger {
  display: none;
  width: var(--tap-min); height: var(--tap-min);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
/* .open est la convention déjà utilisée dans tes templates */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  /* pleine hauteur : le contenu ne reste plus visible derrière le panneau */
  position: fixed; inset: 64px 0 0 0; z-index: 99;
  overflow-y: auto;
  flex-direction: column; gap: var(--space-2);
  padding: var(--space-6);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  min-height: var(--tap-min);
  display: flex; align-items: center;
  padding: var(--space-3) 0;
  color: var(--fg-strong);
  font-size: var(--text-base); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.mobile-menu .btn { margin-top: var(--space-2); text-transform: none; letter-spacing: 0; }

/* Menu déroulant des formules (survol ou clavier sur ordinateur, liste en retrait sur mobile) */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nav-links .nav-caret { display: inline-block; flex-shrink: 0; width: 12px; height: 12px; margin: 0; transition: transform .2s; }
.has-sub:hover .nav-caret, .has-sub:focus-within .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 330px;
  padding: 8px; border-radius: 16px;
  background: #0B1224; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .nav-sub a { display: block; padding: 10px 12px; border-radius: 10px; text-transform: none; letter-spacing: 0; color: #fff; }
.nav-links .nav-sub a:hover { background: rgba(255, 255, 255, .06); }
.nav-sub b { display: block; font-size: .92rem; font-weight: 600; }
.nav-sub span { display: block; font-size: .8rem; font-weight: 400; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.nav-links .nav-sub .nav-sub-all { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 10px 10px; font-size: .85rem; font-weight: 600; color: var(--accent-soft); }
.mobile-menu .mobile-sub { min-height: 40px; padding: 6px 0 6px 18px; font-size: .95rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--fg-muted); }
@media (prefers-reduced-motion: reduce) { .nav-sub, .nav-caret { transition: none; } }

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


/* ─── 8. CARTES DE FORMULE ───────────────────────────────────────────────── */
/* Les titres passaient sur 1 ou 2 lignes selon la formule, ce qui décalait
   les descriptions. Les hauteurs minimales règlent l'alignement. */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}
@media (max-width: 1000px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .offer-grid { grid-template-columns: 1fr; } }

.offer-card {
  display: flex; flex-direction: column;
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
}
.offer-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--fg-strong);
}

.offer-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: var(--space-6);
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
  color: var(--accent);
}
.offer-card--featured .offer-card__icon {
  background: rgba(255, 255, 255, .08);
  color: var(--accent-soft);
}
.offer-card__icon svg { width: 20px; height: 20px; }

.offer-card__title {
  min-height: 2.4em;              /* 2 lignes : aligne toutes les cartes */
  font-size: var(--text-lg);
  text-transform: uppercase;
}
.offer-card--featured .offer-card__title { color: #fff; }

.offer-card__lead {
  min-height: 5.2em;              /* réserve la place du texte le plus long */
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gray);
}
.offer-card--featured .offer-card__lead { color: var(--fg-muted); }

.card-price { margin: var(--space-4) 0 0; }
.card-price__amount { font-family: var(--font-head); font-size: var(--text-2xl); font-weight: 700; }
.card-price__unit   { font-size: var(--text-sm); color: var(--gray); }
.offer-card--featured .card-price__unit { color: var(--fg-subtle); }

.offer-features { margin: var(--space-6) 0; }
.offer-features li {
  display: flex; align-items: flex-start; gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: var(--text-sm);
}
.offer-card--featured .offer-features li { border-bottom-color: rgba(255, 255, 255, .10); }
/* Il y avait un séparateur sous le dernier élément, qui ne séparait rien. */
.offer-features li:last-child { border-bottom: 0; }

.offer-features .icon {
  width: 16px; height: 16px; flex: none; margin-top: 4px;
  color: var(--green-on-light);   /* #22C55E tombait à 2,28:1 sur blanc */
}
.offer-card--featured .offer-features .icon { color: var(--green); }

/* Pousse le bouton en bas, quel que soit le contenu au-dessus */
.offer-card .btn { margin-top: auto; width: 100%; }

.offer-card__badge {
  position: absolute; top: var(--space-4); right: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}


/* ─── 9. FORMULAIRES ─────────────────────────────────────────────────────── */

.field { margin-bottom: var(--space-4); }

.field label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg-strong);
}
.field .optional { font-weight: 400; color: var(--fg-subtle); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--tap-min);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-base);   /* < 16px déclenche un zoom auto sur iOS */
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .35); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-soft);
  background: rgba(255, 255, 255, .07);
}

.field-hint  { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--fg-subtle); }
.field-error { margin-top: var(--space-2); font-size: var(--text-xs); color: #FCA5A5; }

.form-legal {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--fg-subtle);
}
.form-legal a { color: var(--accent-soft); text-decoration: underline; }


/* ─── 10. FOOTER ─────────────────────────────────────────────────────────── */

.footer {
  padding: var(--space-18) 0 var(--space-8);
  background: #050810;
  color: var(--fg-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

.footer h4 {
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-strong);
}

.footer-brand .footer-logo { display: inline-block; margin-bottom: var(--space-4); }
.footer-desc  { font-size: var(--text-sm); color: var(--fg-subtle); max-width: 42ch; }
.footer-links li { margin-bottom: var(--space-3); }

/* Les liens étaient à 0,4 d'opacité → 3,75:1, sous le seuil. */
.footer-links a {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap;
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: var(--text-xs);
  color: var(--fg-subtle);
}

.footer-social { display: flex; gap: var(--space-2); }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap-min); height: var(--tap-min);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  color: var(--fg-muted);
  transition: border-color .2s, color .2s;
}
.social-link:hover { border-color: var(--accent-soft); color: #fff; }
.social-link svg { width: 18px; height: 18px; }


/* ─── 11. ÉLÉMENTS FLOTTANTS ─────────────────────────────────────────────── */

.contact-float-btn {
  position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-float-btn:hover { background: var(--accent-dark); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none;
  /* masquée tant qu'on n'a pas dépassé le hero (classe .visible posée en JS) */
  transform: translateY(110%);
  transition: transform .25s ease;
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  background: rgba(7, 12, 24, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.sticky-cta .btn { width: 100%; }

@media (max-width: 700px) {
  .sticky-cta { display: block; }
  .sticky-cta.visible { transform: translateY(0); }
  /* le bouton contact ne remonte que quand la barre est visible */
  .contact-float-btn { bottom: 24px; transition: bottom .25s ease; }
  body.has-sticky-visible .contact-float-btn { bottom: 84px; }
}


/* ─── 12. BLOG & ARTICLES ────────────────────────────────────────────────── */
/* Badges de catégorie — les couleurs vives d'origine (#22C55E à 2,28:1,
   #F59E0B à 2,15:1) étaient illisibles sur fond clair. */

.cat-competition, .cat-programmation, .cat-technique, .cat-coaching {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cat-competition   { background: rgba(21, 128, 61, .12);  color: var(--green-on-light); }
.cat-programmation { background: rgba(180, 83, 9, .12);   color: #B45309; }
.cat-technique,
.cat-coaching      { background: var(--accent-wash);      color: var(--accent); }

.section--dark .cat-competition   { background: rgba(34, 197, 94, .15);  color: var(--green); }
.section--dark .cat-programmation { background: rgba(245, 158, 11, .15); color: #FCD34D; }
.section--dark .cat-technique,
.section--dark .cat-coaching      { background: rgba(108, 138, 255, .15); color: var(--accent-soft); }

/* Carte auteur.
   Couleurs en dur, pas en variables : cette carte à fond clair apparaît sur
   des pages sombres qui redéfinissent --text/--gray en tons clairs — via
   variables, le titre devenait gris pâle sur gris pâle. */
.author-card {
  display: flex; gap: var(--space-6); align-items: flex-start;
  padding: var(--space-8);
  background: #F8F9FC;
  border-radius: var(--radius-lg);
  color: #111827;
}
.author-card > img {
  width: 72px; height: 72px; flex: none;
  border-radius: 50%; object-fit: cover;
}
.author-card-info h4 { font-size: var(--text-lg); margin-bottom: var(--space-2); color: #111827; }
.author-card-info p  { font-size: var(--text-sm); color: #5B6472; }
.author-card-links a { color: #4059DB; }
.author-card-links   { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-4); }
.author-card-links a {
  min-height: var(--tap-min); display: inline-flex; align-items: center;
  font-size: var(--text-sm); font-weight: 600; color: var(--accent);
}
.author-card-links a:hover { text-decoration: underline; }

@media (max-width: 600px) { .author-card { flex-direction: column; gap: var(--space-4); } }

/* Placeholder d'image d'article */
.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-2);
  width: 100%;
  background: var(--off-white);
  border: 1px dashed var(--gray-light);
  border-radius: var(--radius-md);
  color: var(--gray);
  font-size: var(--text-xs);
}
.img-placeholder svg { width: 28px; height: 28px; }


/* ─── 13. QUESTIONNAIRE ──────────────────────────────────────────────────── */
/* Les paliers de formule étaient des <div onclick> : invisibles au clavier.
   Devenus des <button>, ils ont besoin d'un reset. */

.budget-stop {
  display: block;
  width: 100%;
  min-height: var(--tap-min);
  padding: var(--space-3) var(--space-2);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: border-color .2s, color .2s, background .2s;
}
.budget-stop:hover { border-color: var(--accent-soft); color: #fff; }
.budget-stop.active,
.budget-stop[aria-pressed="true"] {
  border-color: var(--accent-soft);
  background: var(--accent-wash);
  color: #fff;
}
.budget-stop-name { display: block; }

/* Mention RGPD sous la première étape */
.form-privacy {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--fg-subtle);
}
.form-privacy a { color: var(--accent-soft); text-decoration: underline; }
