/* ========================================
   COMPONENTS — Reusable UI Elements
   Mobile-first (375px base)
   cordiAlban v2.1 — inclut widgets Pace, skeleton, accordion
   ======================================== */

/* Typography */
h1 {
  font-family: var(--f1);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

h1 em {
  font-style: italic;
  color: var(--gold);
}

h2 {
  font-family: var(--f1);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 1.2rem;
}

h2 em {
  font-style: italic;
  color: var(--gold);
}

h3 {
  font-family: var(--f2);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .5rem;
}

p {
  color: var(--text2);
  margin-bottom: .8rem;
  max-width: var(--max-t);
}

p.lead {
  font-size: 1.1rem;
  line-height: 1.75;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .15s;
}

a:visited { color: var(--gold); }
a:hover { color: var(--gold2); }

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

/* Section Label */
.section-label {
  font-family: var(--f3);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold3);
  margin-bottom: 1.1rem;
}

/* Tag */
.tag {
  font-family: var(--f3);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(200, 164, 110, .07);
  padding: .2rem .55rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Card */
.card {
  background: var(--bg3);
  border: 1px solid rgba(200, 164, 110, .04);
  border-radius: var(--r);
  padding: 1.6rem;
  transition: all .25s;
}

/* Marges latérales mobile pour éviter que les bordures soient rognées (SPÉC-13) */
@media (max-width: 767px) {
  .pricing-card, .trust-card, .book-card, [class*="card"] {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}

.card:hover {
  border-color: rgba(200, 164, 110, .1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.card-number {
  font-family: var(--f1);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold3);
  line-height: 1;
  margin-bottom: .7rem;
}

.card-red h3 { color: var(--se); }

.card-gold {
  background: var(--bg2);
  border-radius: var(--r);
  padding: 2.8rem;
}

.card-emoji {
  font-size: 1.5rem;
  margin-bottom: .4rem;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f2);
  font-weight: 600;
  font-size: .88rem;
  padding: .7rem 1.4rem;
  border-radius: var(--r2);
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #0C0B09;
}

/* SPÉC-32 — :visited (0,1,1) > .btn-primary (0,1,0) → texte invisible sur fond doré */
.btn.btn-primary,
.btn-primary:visited {
  color: #0C0B09;
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-1px);
  color: #0C0B09;
}

.btn-secondary {
  border: 1px solid var(--gold3);
  color: var(--gold);
  background: transparent;
}

.btn.btn-secondary,
.btn-secondary:visited {
  color: var(--gold);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 110, .03);
  color: var(--gold);
}

.btn-gold, .cta-gold, a.btn-gold, button.btn-gold {
  background-color: #C8A46E;
  color: #0C0B09;
  border: 1px solid #C8A46E;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gold:hover, .btn-gold:focus, .cta-gold:hover, .cta-gold:focus {
  background-color: #0C0B09;
  color: #C8A46E;
  border-color: #C8A46E;
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* Badge (Score) */
.badge {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f2);
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}

.badge-a { background: var(--sa); }
.badge-b { background: var(--sb); }
.badge-c { background: var(--sc); }
.badge-d { background: var(--sd); }
.badge-e { background: var(--se); }
.badge-n { background: var(--sn); font-size: .95rem; }

/* Quote */
.quote {
  font-family: var(--f1);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  max-width: 700px;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(200, 164, 110, .07);
  border-bottom: 1px solid rgba(200, 164, 110, .07);
  margin: 2.2rem 0;
}

/* Disclaimer */
.disclaimer {
  background: var(--bg);
  border-radius: var(--r2);
  padding: 1.2rem;
  border: 1px solid rgba(200, 164, 110, .07);
  margin-top: 1.3rem;
}

.disclaimer-title {
  color: var(--gold);
  font-style: italic;
  font-family: var(--f1);
  font-size: .95rem;
  margin-bottom: .25rem;
}

.disclaimer p {
  font-size: .82rem;
  margin-bottom: 0;
}

/* Elevated section */
.elevated {
  background: var(--bg2);
  border-radius: var(--r);
  padding: 2.8rem;
  margin: 2.5rem 0;
}

/* Service card */
.service-card {
  background: var(--bg3);
  border-radius: var(--r);
  padding: 2.2rem;
  border: 1px solid rgba(200, 164, 110, .04);
}

.service-card.featured {
  border-color: var(--gold3);
  background: linear-gradient(135deg, var(--bg3), rgba(200, 164, 110, .03));
}

.service-card.gold-border {
  border-color: rgba(200, 164, 110, .15);
}

.service-price {
  font-family: var(--f1);
  font-size: 2rem;
  font-weight: 300;
  margin: 1rem 0 .15rem;
}

.service-price span {
  font-size: .85rem;
  color: var(--text2);
}

.service-features {
  list-style: none;
  margin-top: 1rem;
}

.service-features li {
  padding: .4rem 0;
  border-bottom: 1px solid rgba(200, 164, 110, .04);
  color: var(--text2);
  font-size: .85rem;
}

.service-features li::before {
  content: '\2713';
  color: var(--gold);
  margin-right: .5rem;
  font-weight: 600;
}

/* Value card */
.value-card {
  padding: 1.6rem;
  background: var(--bg3);
  border-radius: var(--r2);
  border: 1px solid rgba(200, 164, 110, .04);
}

.value-card h3 { color: var(--text); }
.value-card p { font-size: .82rem; margin-bottom: 0; }

/* Mode card */
.mode-card {
  background: var(--bg);
  border: 1px solid rgba(200, 164, 110, .05);
  border-radius: var(--r2);
  padding: 1.2rem;
  transition: all .25s;
}

.mode-card:hover {
  border-color: var(--gold3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
}

.mode-card h3 { font-size: .88rem; margin-bottom: .25rem; }
.mode-card p { font-size: .79rem; margin-bottom: 0; }

/* Axis card (Pace) */
.axis-card {
  background: var(--bg);
  border-radius: var(--r2);
  padding: 1.2rem;
  border: 1px solid rgba(58, 158, 92, .06);
}

.axis-letter {
  font-family: var(--f1);
  font-size: 2rem;
  font-weight: 300;
  color: var(--pace);
  line-height: 1;
}

.axis-name {
  font-size: .72rem;
  color: var(--pace3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: .3rem 0;
}

.axis-card p { font-size: .82rem; margin-bottom: 0; }

/* Score scale legend */
.score-legend {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.score-legend-item {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.score-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.score-legend-text {
  font-size: .74rem;
  color: var(--text2);
}

/* Anti-tunnel encart */
.anti-tunnel {
  background: rgba(200, 164, 110, .02);
  border: 1px solid rgba(200, 164, 110, .06);
  border-radius: var(--r2);
  padding: 1.2rem;
  margin-bottom: 1.8rem;
}

.anti-tunnel p {
  font-size: .82rem;
  margin-bottom: .3rem;
  color: var(--text3);
}

.anti-tunnel p:last-child { margin-bottom: 0; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
}

.animate.visible {
  animation: fadeUp .5s ease-out forwards;
}

.animate:nth-child(2) { animation-delay: .07s; }
.animate:nth-child(3) { animation-delay: .14s; }
.animate:nth-child(4) { animation-delay: .21s; }

/* Form */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  color: var(--text2);
  margin-bottom: .35rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg2);
  border: 1px solid rgba(200, 164, 110, .08);
  border-radius: var(--r2);
  padding: .75rem 1rem;
  color: var(--text);
  font-family: var(--f2);
  font-size: .95rem;
  width: 100%;
  transition: border-color .15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text3);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239B9484' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ========================================
   NAVIGATION — Header sticky
   ======================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid rgba(200, 164, 110, .06);
  transition: background var(--tt, 0.3s ease);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 58px;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--f1);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.nav-logo:hover { color: var(--gold2); }

.nav-links {
  display: flex;
  gap: .1rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  padding: .4rem .65rem;
  border-radius: 6px;
  transition: all .15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(200, 164, 110, .06);
}

.nav-links a.active { color: var(--gold); }

/* CTA navigation */
.nav-cta {
  background: var(--gold);
  color: var(--bg) !important;
  font-weight: 600 !important;
  padding: .4rem 1rem !important;
  border-radius: var(--r2) !important;
}

.nav-cta:hover {
  background: var(--gold2);
  transform: translateY(-1px);
  color: var(--bg) !important;
}

/* Toggle thème */
.theme-toggle {
  background: none;
  border: 1px solid rgba(200, 164, 110, .15);
  color: var(--text2);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .15s;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}

.theme-toggle:hover {
  border-color: var(--gold3);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  padding: .3rem;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ========================================
   STRUCTURE PAGE — Layout de base
   ======================================== */
main { padding-top: 58px; }

section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* CTA group */
.cta-group {
  display: flex;
  gap: .7rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.cta-group.center { justify-content: center; }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 1.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero::after {
  content: '';
  position: fixed;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(200, 164, 110, .04), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-label {
  font-family: var(--f3);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold3);
  margin-bottom: 1.4rem;
}

.hero p.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-label {
  font-family: var(--f3);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold3);
  margin-bottom: 1.1rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header p {
  margin-top: .6rem;
  font-size: 1.05rem;
}

/* ========================================
   CARDS — Base + Service + Value
   ======================================== */
.card {
  background: var(--bg3);
  border: 1px solid rgba(200, 164, 110, .04);
  border-radius: var(--r);
  padding: 1.6rem;
  transition: all .25s;
}

.card:hover {
  border-color: rgba(200, 164, 110, .1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

/* Pace card dominante */
.card-pace {
  background: var(--bg3);
  border: 1px solid rgba(45, 139, 70, .15);
  border-radius: var(--r);
  padding: 2rem;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(45, 139, 70, .08);
}

.card-pace:hover {
  border-color: rgba(45, 139, 70, .3);
  box-shadow: 0 8px 32px rgba(45, 139, 70, .15);
  transform: translateY(-2px);
}

.card-pace h3 { color: var(--pace2); }

.value-card {
  padding: 1.6rem;
  background: var(--bg3);
  border-radius: var(--r2);
  border: 1px solid rgba(200, 164, 110, .04);
}

.value-card h3 { color: var(--text); font-size: 1rem; }
.value-card p { font-size: .9rem; margin-bottom: 0; }

/* ========================================
   BOUTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f2);
  font-weight: 600;
  font-size: .88rem;
  padding: .7rem 1.4rem;
  border-radius: var(--r2);
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border: none;
  min-height: 44px;
}

.btn-primary {
  background: var(--gold);
  color: #0C0B09;
}

/* SPÉC-32 — :visited (0,1,1) > .btn-primary (0,1,0) → texte invisible sur fond doré */
.btn.btn-primary,
.btn-primary:visited {
  color: #0C0B09;
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-1px);
  color: #0C0B09;
}

.btn-secondary {
  border: 1px solid var(--gold3);
  color: var(--gold);
  background: transparent;
}

.btn.btn-secondary,
.btn-secondary:visited {
  color: var(--gold);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 110, .03);
  color: var(--gold);
}

.btn-pace {
  background: var(--pace);
  color: #fff;
}

.btn-pace:hover {
  background: var(--pace2);
  transform: translateY(-1px);
  color: #fff;
}

.btn-pace-outline {
  border: 1px solid rgba(45, 139, 70, .4);
  color: var(--pace2);
  background: transparent;
  font-size: .82rem;
}

.btn-pace-outline:hover {
  border-color: var(--pace2);
  background: rgba(45, 139, 70, .05);
  color: var(--pace2);
}

/* ========================================
   BADGES GRADE INFO-SCORE
   ======================================== */
/* Grand badge (46px) */
.badge {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f2);
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  flex-shrink: 0;
}

/* Petit badge compact (pour widgets) */
.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-family: var(--f2);
  font-weight: 700;
  font-size: .82rem;
  color: #fff;
  flex-shrink: 0;
}

.badge-a, .grade-a { background: var(--sa); }
.badge-b, .grade-b { background: var(--sb); }
.badge-c, .grade-c { background: var(--sc); }
.badge-d, .grade-d { background: var(--sd); }
.badge-e, .grade-e { background: var(--se); }
.badge-n, .grade-n { background: var(--sn); }

/* Badge "En direct" */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f3);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pace2);
  background: rgba(45, 139, 70, .1);
  border: 1px solid rgba(45, 139, 70, .2);
  padding: .25rem .6rem;
  border-radius: 20px;
  font-weight: 600;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pace2);
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ========================================
   SKELETON SCREENS
   ======================================== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg3) 25%,
    var(--bg4) 50%,
    var(--bg3) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--r2);
}

.skeleton-line {
  height: 1em;
  border-radius: 4px;
  margin-bottom: .6rem;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 65%; }
.skeleton-line.full { width: 100%; }

.skeleton-card {
  background: var(--bg3);
  border: 1px solid rgba(200, 164, 110, .04);
  border-radius: var(--r);
  padding: 1.4rem;
  overflow: hidden;
}

.skeleton-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.skeleton-title {
  height: 1.1em;
  border-radius: 4px;
  flex: 1;
}

/* ========================================
   WIDGETS PACE — Brèves + Classement
   ======================================== */
.widget-breves,
.widget-classement {
  background: var(--bg2);
  border: 1px solid rgba(200, 164, 110, .06);
  border-radius: var(--r);
  padding: 1.5rem;
  overflow: hidden;
}

.widget-title {
  font-family: var(--f3);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold3);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* Item brève */
.breve-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(200, 164, 110, .05);
  transition: opacity .15s;
}

.breve-item:last-child { border-bottom: none; padding-bottom: 0; }
.breve-item:first-child { padding-top: 0; }

.breve-content { flex: 1; min-width: 0; }

.breve-title {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.breve-meta {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .72rem;
  color: var(--text3);
}

.breve-source { font-family: var(--f3); }

.breve-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.breve-item a:hover .breve-title { color: var(--gold); }

/* Item classement sources */
.source-rank-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(200, 164, 110, .05);
}

.source-rank-item:last-child { border-bottom: none; }
.source-rank-item:first-child { padding-top: 0; }

.source-rank-pos {
  font-family: var(--f1);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gold3);
  min-width: 1.4rem;
  text-align: right;
  flex-shrink: 0;
}

.source-rank-name {
  flex: 1;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
}

.source-rank-score {
  font-family: var(--f3);
  font-size: .78rem;
  color: var(--text2);
}

/* ========================================
   ARTICLE EN VITRINE (storytelling)
   ======================================== */
.featured-article {
  background: var(--bg2);
  border: 1px solid rgba(200, 164, 110, .08);
  border-radius: var(--r);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.featured-article::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pace), transparent);
}

.featured-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.featured-score-block {
  text-align: center;
  flex-shrink: 0;
}

.featured-score-num {
  font-family: var(--f1);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-top: .3rem;
}

.featured-title {
  font-family: var(--f1);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  flex: 1;
}

.featured-meta {
  display: flex;
  gap: .8rem;
  align-items: center;
  font-size: .75rem;
  color: var(--text3);
  font-family: var(--f3);
  margin-top: .5rem;
  flex-wrap: wrap;
}

/* Jauge de score */
.score-gauge {
  height: 4px;
  background: rgba(200, 164, 110, .08);
  border-radius: 2px;
  margin: 1rem 0;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  border-radius: 2px;
  transition: width .6s ease;
}

/* Indicateurs RUB */
.rub-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.rub-indicator {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-family: var(--f3);
  padding: .3rem .6rem;
  border-radius: 20px;
  border: 1px solid;
}

.rub-indicator.rub-r {
  color: var(--gold);
  border-color: var(--gold-muted);
  background: rgba(200, 164, 110, .06);
}

.rub-indicator.rub-u {
  color: var(--gold);
  border-color: rgba(200, 164, 110, .25);
  background: rgba(200, 164, 110, .06);
}

.rub-indicator.rub-b {
  color: var(--pace2);
  border-color: rgba(45, 139, 70, .25);
  background: rgba(45, 139, 70, .06);
}

/* ========================================
   ACCORDION — Section Biais
   ======================================== */
.accordion {
  margin-top: 1.5rem;
}

details {
  border-bottom: 1px solid rgba(200, 164, 110, .07);
  overflow: hidden;
}

details:first-child { border-top: 1px solid rgba(200, 164, 110, .07); }

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: .92rem;
  color: var(--text);
  gap: 1rem;
  user-select: none;
  min-height: 44px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--gold3);
  flex-shrink: 0;
  transition: transform .2s;
  font-weight: 300;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary { color: var(--gold); }

.accordion-body {
  padding: 0 0 1.2rem;
  color: var(--text2);
  font-size: .9rem;
  line-height: 1.65;
}

.accordion-body p { margin-bottom: .5rem; max-width: 100%; }
.accordion-body p:last-child { margin-bottom: 0; }

/* ========================================
   FOOTER
   ======================================== */
footer {
  border-top: 1px solid rgba(200, 164, 110, .05);
  padding: 3rem 1.5rem 2rem;
  background: var(--bg);
  text-align: left;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--f1);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: .6rem;
}

.footer-desc {
  font-size: .82rem;
  color: var(--text3);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--f3);
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold3);
  margin-bottom: .9rem;
  font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: .4rem; }

.footer-col a {
  font-size: .84rem;
  color: var(--text3);
  transition: color .15s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(200, 164, 110, .05);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
}

.footer-copy {
  font-size: .75rem;
  color: var(--text3);
  margin: 0;
  max-width: 100%;
}

/* ========================================
   QUOTE / CITATION
   ======================================== */
.quote {
  font-family: var(--f1);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  max-width: 700px;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(200, 164, 110, .07);
  border-bottom: 1px solid rgba(200, 164, 110, .07);
  margin: 2.2rem 0;
}

/* ========================================
   ANIMATIONS — fadeUp (scroll)
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate { opacity: 0; }

.animate.visible {
  animation: fadeUp .5s ease-out forwards;
}

.animate:nth-child(2) { animation-delay: .07s; }
.animate:nth-child(3) { animation-delay: .14s; }
.animate:nth-child(4) { animation-delay: .21s; }

/* ── Pricing Grid (SPÉC-04) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--gold-muted);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: transform .2s, border-color .2s;
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-3px);
}

.pricing-card-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: .2rem .6rem;
  border-radius: 20px;
  background: var(--gold);
  color: var(--bg);
  margin-bottom: .8rem;
}

.pricing-card-name {
  font-family: var(--f1);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .5rem;
}

.pricing-card-price {
  font-family: var(--f1);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin: .8rem 0 .3rem;
}

.pricing-card-period {
  font-size: .8rem;
  color: var(--text3);
  margin-bottom: 1rem;
}

.pricing-card-desc {
  font-size: .85rem;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: none;
}

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

@media (max-width: 1023px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-3px); }
}

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