/* ============================================================
   LUCAS MARTIN — Coach Sportif · Design System
   Réalisé par Clarentis Lite
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  --bg:      #0D1117;
  --bg-alt:  #141B22;
  --card:    #1C2530;
  --accent:  #E65A28;
  --text:    #F0EDE8;
  --muted:   rgba(240, 237, 232, 0.5);
  --line:    rgba(240, 237, 232, 0.1);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   2. RESET + BASE
   ============================================================ */

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  padding-top: 116px; /* 48px demo banner + 68px nav */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  cursor: pointer;
  font-family: inherit;
}

::selection {
  background-color: var(--accent);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--text);
}

h1 {
  font-size: 72px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 52px;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 22px;
}

p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

.lead {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

.container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-head {
  margin-bottom: 56px;
}

/* ============================================================
   5. DEMO BANNER
   ============================================================ */

.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background-color: #141B22;
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.demo-banner span {
  color: var(--muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-banner a {
  color: var(--accent);
  font-size: 0.78rem;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 16px;
  transition: opacity var(--transition-fast);
}

.demo-banner a:hover {
  opacity: 0.8;
}

/* ============================================================
   6. NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  height: 68px;
  width: 100%;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 999;
}

.nav-inner {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.nav-logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: opacity var(--transition-fast);
  line-height: 1;
}

.nav-links a:hover {
  opacity: 0.8;
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  font-weight: 500;
}

.nav-cta {
  background-color: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  line-height: 1 !important;
}

.nav-cta:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px);
}

/* Burger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
}

/* Mobile nav open state */
.site-nav.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background-color: var(--bg-alt);
  padding: 24px;
  z-index: 998;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  max-width: 900px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 90, 40, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(240, 237, 232, 0.03) 79px,
      rgba(240, 237, 232, 0.03) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(240, 237, 232, 0.03) 79px,
      rgba(240, 237, 232, 0.03) 80px
    );
  pointer-events: none;
}

/* ============================================================
   8. BUTTONS
   ============================================================ */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  line-height: 1;
  cursor: pointer;
}

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

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
}

/* ============================================================
   9. CARDS
   ============================================================ */

.card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 90, 40, 0.4);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(230, 90, 40, 0.12);
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text);
}

.card-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   10. STATS ROW
   ============================================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background-color: var(--bg-alt);
  padding: 40px 32px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   11. GRIDS
   ============================================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */

.testi-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background-color: rgba(230, 90, 40, 0.04);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 90, 40, 0.4);
}

.testi-card blockquote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

.testi-author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(230, 90, 40, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.testi-role {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   13. FAQ ACCORDION
   ============================================================ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: rgba(230, 90, 40, 0.3);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-q:hover {
  color: var(--text);
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   14. PRICING CARDS
   ============================================================ */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(230, 90, 40, 0.3);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline;
}

.price-unit {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  margin-left: 4px;
}

.price-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

.price-features li svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ============================================================
   15. COMPARISON TABLE
   ============================================================ */

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background-color: var(--bg-alt);
}

.compare-table thead th:first-child {
  text-align: left;
}

.compare-table tbody td {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.compare-table tbody td:first-child {
  color: var(--text);
  font-weight: 500;
  text-align: left;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(240, 237, 232, 0.02);
}

.check-yes {
  color: var(--accent);
}

.check-no {
  color: rgba(240, 237, 232, 0.2);
}

/* ============================================================
   16. TIMELINE
   ============================================================ */

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(230, 90, 40, 0.1));
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--bg);
  flex-shrink: 0;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.timeline-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   17. PROCESS STEPS
   ============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 28px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  transform: translateX(50%);
  pointer-events: none;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(230, 90, 40, 0.12);
  border: 1px solid rgba(230, 90, 40, 0.3);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================================
   18. BADGE
   ============================================================ */

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.badge-outline {
  border: 1px solid rgba(230, 90, 40, 0.4);
  color: var(--accent);
}

/* ============================================================
   19. SECTION HEADER
   ============================================================ */

.section-head {
  margin-bottom: 56px;
}

.section-head .eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
}

/* ============================================================
   20. CTA SECTION
   ============================================================ */

.cta-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   21. FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-logo .dot {
  color: var(--accent);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom a {
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ── Card hover effect ── */
.card:hover,
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -12px rgba(230, 90, 40, 0.18);
}

/* ── Smooth page-wide scroll ── */
html {
  scroll-behavior: auto; /* JS handles this instead for custom easing */
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */

/* --- 1024px breakpoint --- */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* --- 768px breakpoint --- */
@media (max-width: 768px) {
  body {
    padding-top: 116px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Hide nav links, show burger */
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Cacher le CTA nav sur mobile — burger suffit */
  .nav-cta {
    display: none;
  }

  .demo-banner span {
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 180px);
  }

  .demo-banner a {
    font-size: 0.7rem;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

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

/* --- 480px breakpoint --- */
@media (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .stat-item {
    padding: 28px 20px;
  }

  .stat-num {
    font-size: 44px;
  }

  .price-amount {
    font-size: 44px;
  }

  .card {
    padding: 24px;
  }

  .price-card {
    padding: 24px;
  }

  .testi-card {
    padding: 24px;
  }
}

/* ============================================================
   PAGE-VEIL — transition de page (identique au site principal)
   ============================================================ */
.page-veil {
  position: fixed;
  inset: 0;
  background: var(--bg, #0D1117);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-veil.show {
  opacity: 1;
}

/* ============================================================
   CURSOR-DOT — curseur signature (identique au site principal)
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #E65A28);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: normal;
}
.cursor-dot.is-hover {
  width: 28px;
  height: 28px;
  background: rgba(230, 90, 40, 0.18);
  border: 1.5px solid var(--accent, #E65A28);
}

/* ============================================================
   WORD SPANS — text-reveal-active (identique au site principal)
   ============================================================ */
.text-reveal-active .word {
  opacity: 0.16;
  transition: opacity 0.1s linear;
}

/* ============================================================
   UPGRADES PREMIUM — Clarentis Lite v2
   ============================================================ */

/* ── Hero canvas background ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero split layout ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 116px);
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-right {
  position: relative;
  align-self: center;
}

/* ── Score card (hero right) ── */
.score-card {
  background: rgba(28, 37, 48, 0.92);
  border: 1px solid rgba(230, 90, 40, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 90, 40, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.score-card-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.score-row {
  margin-bottom: 20px;
}

.score-row:last-of-type {
  margin-bottom: 0;
}

.score-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}

.score-name {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text);
}

.score-val {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

.score-bar {
  height: 4px;
  background: rgba(240, 237, 232, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent), #ff8c5a);
  border-radius: 2px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-card-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.score-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-rating-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.score-rating-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.score-stars {
  display: flex;
  gap: 3px;
}

.score-stars svg {
  color: var(--accent);
}

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  writing-mode: horizontal-tb;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ── Résultats avant/après ── */
.results-section {
  background-color: var(--bg);
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 96px;
}

.result-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.result-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.result-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(230, 90, 40, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.result-delta {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.result-delta.positive {
  color: #5bc87a;
}

.result-delta.negative-good {
  color: var(--accent);
}

.result-metric {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.result-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.result-context {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
}

.result-duration {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  background: rgba(240, 237, 232, 0.05);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}


/* ── Marquee logos ── */
.marquee-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: hidden;
}

.marquee-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.35;
  white-space: nowrap;
  transition: opacity var(--transition-base);
  cursor: default;
  user-select: none;
}

.marquee-item:hover {
  opacity: 0.75;
}

.marquee-dot {
  font-size: 10px;
  color: var(--accent);
  opacity: 0.6;
  align-self: center;
}

/* ── Testimonials masonry ── */
.testi-masonry {
  columns: 2;
  column-gap: 24px;
}

.testi-masonry .testi-card {
  break-inside: avoid;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}

.testi-featured-quote {
  font-size: 1.18rem;
  line-height: 1.7;
}

.testi-highlighted {
  border-color: rgba(230, 90, 40, 0.35);
  background: rgba(230, 90, 40, 0.05);
}

/* ── Service card glow effect ── */
.service-card {
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(230, 90, 40, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

/* ── CTA section enhanced ── */
.cta-section-premium {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}

.cta-section-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 24px,
      rgba(230, 90, 40, 0.025) 24px,
      rgba(230, 90, 40, 0.025) 25px
    );
  pointer-events: none;
}

.cta-section-premium::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(230, 90, 40, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section-premium .container {
  position: relative;
  z-index: 2;
}

.cta-section-premium h2 {
  font-size: 72px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}

.cta-section-premium p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 200, 122, 0.1);
  border: 1px solid rgba(91, 200, 122, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #5bc87a;
  margin-bottom: 32px;
}

.cta-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bc87a;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── Section heading upgrades ── */
.section-head .eyebrow {
  position: relative;
  padding-left: 20px;
}

.section-head .eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background: var(--accent);
}

/* ── Phase connector orange glow ── */
.phase-line {
  position: relative;
}

.phase-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(230, 90, 40, 0.8);
}

/* ── Card upgrade: orange bottom glow on hover ── */
.card:hover {
  box-shadow: 0 24px 80px -12px rgba(230, 90, 40, 0.2), 0 4px 16px rgba(0,0,0,0.4);
}

.testi-card:hover {
  box-shadow: 0 24px 80px -12px rgba(230, 90, 40, 0.2), 0 4px 16px rgba(0,0,0,0.4);
}

/* ── Nav: active item underline ── */
.nav-links a.active {
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ── Section divider with accent ── */
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 20px 0 0;
}

/* ── Highlighted quote mark ── */
.testi-card blockquote::before {
  content: '"';
  display: block;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: rgba(230, 90, 40, 0.15);
  line-height: 0.7;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

/* ── Carousel wrapper ── */
.results-carousel {
  overflow: hidden;
  position: relative;
}

.results-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  /* no cursor:grab — navigation via buttons */
}

.results-track::-webkit-scrollbar {
  display: none;
}

.result-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  scroll-snap-align: center;
}

/* ── Carousel nav bar ── */
.results-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.results-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.results-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), width var(--transition-base);
  flex-shrink: 0;
}

.results-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
  transform: none;
}

.results-arrows {
  display: flex;
  gap: 8px;
}

.results-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.results-arrow:hover {
  border-color: var(--accent);
  background: rgba(230, 90, 40, 0.08);
  transform: scale(1.05);
}

.results-arrow:active {
  transform: scale(0.95);
}

.results-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   RESPONSIVE MOBILE — touch-optimisé
   ============================================================ */

/* ── 960px : hero passe en colonne, score card cachée ── */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero-right {
    display: none;
  }

  .cta-section-premium h2 {
    font-size: 48px;
  }

  .testi-masonry {
    columns: 1;
  }
}

/* ── 768px : layout général mobile ── */
@media (max-width: 768px) {
  /* Hero : titre plus compact, pills sur 2 colonnes */
  .hero-split {
    padding-top: 40px;
    padding-bottom: 52px;
  }

  .hero-pills {
    gap: 8px;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Hero stats : pleine largeur, horizontal */
  .hero-stats {
    max-width: 100%;
  }

  /* Counter grid : 2 colonnes sur mobile */
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-num {
    font-size: 56px;
  }

  .counter-cell {
    padding: 32px 20px 28px;
  }

  /* Phases 12 semaines : colonne simple */
  .transform-phases {
    grid-template-columns: 1fr;
  }

  .phase-connector {
    display: none;
  }

  .phase-num {
    font-size: 56px;
  }

  /* Quick FAQ : colonne simple */
  .quick-faq-grid {
    grid-template-columns: 1fr;
  }

  /* Section padding réduit */
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .results-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* CTA premium */
  .cta-section-premium {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta-section-premium h2 {
    font-size: 40px;
    line-height: 1.05;
  }

  /* Témoignages : pas de masonry */
  .testi-masonry {
    columns: 1;
  }

  .testi-card blockquote::before {
    font-size: 56px;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Boutons hero en colonne */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ── 480px : petit mobile ── */
@media (max-width: 480px) {
  /* Typographie */
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }

  /* Container padding réduit */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero */
  .hero-eyebrow {
    font-size: 0.72rem;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  /* Compteurs 2x2 */
  .counter-num {
    font-size: 44px;
  }

  .counter-cell {
    padding: 24px 16px;
  }

  .counter-label {
    font-size: 0.72rem;
  }

  /* Cards */
  .card {
    padding: 20px;
  }

  .testi-card {
    padding: 20px;
  }

  .price-card {
    padding: 20px;
  }

  .result-item {
    padding: 24px 20px;
  }

  /* Phases */
  .transform-phase {
    padding: 24px 20px;
  }

  .phase-num {
    font-size: 44px;
  }

  /* Résultats carousel : 1 carte visible */
  .result-item {
    flex: 0 0 calc(100vw - 32px);
    min-width: 0;
  }

  .result-delta {
    font-size: 44px;
  }

  /* Stats */
  .stat-item {
    padding: 28px 16px;
  }

  .stat-num {
    font-size: 44px;
  }

  /* Prix */
  .price-amount {
    font-size: 44px;
  }

  /* Section head */
  .section-head {
    margin-bottom: 36px;
  }

  /* Quick FAQ cards */
  .quick-faq-card {
    padding: 20px;
  }

  /* Service cards */
  .service-card {
    padding: 24px 20px;
  }

  /* CTA */
  .cta-section-premium h2 {
    font-size: 34px;
  }

  .cta-section-premium p {
    font-size: 1rem;
  }

  /* Arrows carousel */
  .results-arrow {
    width: 40px;
    height: 40px;
  }

  /* Scroll indicator caché sur mobile */
  .scroll-indicator {
    display: none;
  }

  /* Marquee ralenti sur mobile pour lisibilité */
  .marquee-track {
    animation-duration: 30s;
  }

  /* Footer */
  .footer-brand p {
    max-width: 100%;
  }

  .site-footer {
    padding-top: 48px;
  }

  /* Demo banner */
  .demo-banner span {
    font-size: 0.68rem;
    max-width: calc(100vw - 160px);
  }

  .demo-banner a {
    font-size: 0.68rem;
  }
}
