/* ============================================================
   HERITAGE CONCEPT — Multi-page Storytelling MVP
   Palette : noir charbon · or mat · pierre · sable
   Typographie : Clash Display (display) · Inter (corps)
   Style : Andrew Tate campus / Belfort urgency
   ============================================================ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.6rem,   0.5rem  + 5vw,    5rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --radius-sm: 0.25rem; --radius-md: 0.5rem; --radius-lg: 0.875rem; --radius-full: 9999px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-narrow: 680px; --content-default: 1000px; --content-wide: 1200px;
}

/* ── Dark Mode (default) ──────────────────────────────────── */
:root, [data-theme="dark"] {
  --color-bg:             #0C0B07;
  --color-surface:        #141209;
  --color-surface-2:      #1A1810;
  --color-surface-offset: #111009;
  --color-border:         #2E2B22;
  --color-divider:        #242118;
  --color-text:           #E8E4DC;
  --color-text-muted:     #8A8680;
  --color-text-faint:     #4A4844;
  --color-text-inverse:   #0C0B07;
  --color-gold:           #C9A55A;
  --color-gold-hover:     #DDB96A;
  --color-gold-light:     #2A2415;
  --color-gold-text:      #0C0B07;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

/* ── Light Mode ───────────────────────────────────────────── */
[data-theme="light"] {
  --color-bg:             #F5F3EF;
  --color-surface:        #FAF8F5;
  --color-surface-2:      #FFFFFF;
  --color-surface-offset: #EDE9E3;
  --color-border:         #D9D5CE;
  --color-divider:        #E3DFD8;
  --color-text:           #1A1714;
  --color-text-muted:     #6B6760;
  --color-text-faint:     #B0ADA7;
  --color-text-inverse:   #FAF8F5;
  --color-gold:           #9A7B3C;
  --color-gold-hover:     #7D6128;
  --color-gold-light:     #F0E8D5;
  --color-gold-text:      #1A1714;
  --shadow-sm: 0 1px 3px rgba(20,16,10,0.07);
  --shadow-md: 0 4px 16px rgba(20,16,10,0.09);
  --shadow-lg: 0 12px 40px rgba(20,16,10,0.12);
}

/* ── Base Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-20); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { min-height: 100dvh; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65; color: var(--color-text); background-color: var(--color-bg); transition: background-color var(--transition), color var(--transition); }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: color-mix(in srgb, var(--color-gold) 25%, transparent); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-6), 5vw, var(--space-16)); }
.container-tight { max-width: 780px; margin-inline: auto; padding-inline: clamp(var(--space-6), 5vw, var(--space-16)); }
.container-form { max-width: 700px; margin-inline: auto; padding-inline: clamp(var(--space-6), 5vw, var(--space-16)); }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section-dark { background: var(--color-surface); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.04em; padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent;
  white-space: nowrap; transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--color-gold); color: var(--color-gold-text); border-color: var(--color-gold); }
.btn-gold:hover { background: var(--color-gold-hover); border-color: var(--color-gold-hover); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--color-text); color: var(--color-bg); }
.btn-primary:hover { opacity: 0.88; }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-text); background: color-mix(in srgb, var(--color-text) 6%, transparent); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: color-mix(in srgb, var(--color-text) 30%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-text) 8%, transparent); border-color: var(--color-text); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-xl { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); }
.btn-full { width: 100%; }
.btn-header { font-size: var(--text-xs); padding: var(--space-2) var(--space-5); }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 68px; }
.logo { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text); flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.04em; }
.logo svg { color: var(--color-gold); flex-shrink: 0; }
.nav-list { display: flex; align-items: center; gap: var(--space-6); list-style: none; }
.nav-link { font-size: var(--text-sm); letter-spacing: 0.04em; color: var(--color-text-muted); transition: color var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--color-text); }
.nav-link.active { border-bottom: 2px solid var(--color-gold); padding-bottom: 2px; }
.header-actions { display: flex; align-items: center; gap: var(--space-4); flex-shrink: 0; }
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-full); color: var(--color-text-muted); }
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }
.mobile-menu-btn { display: none; color: var(--color-text); }
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.nav-open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); padding: var(--space-6); z-index: 99; }
  .nav.nav-open .nav-list { flex-direction: column; align-items: flex-start; gap: var(--space-4); width: 100%; }
  .nav.nav-open .nav-link { font-size: var(--text-lg); }
  .header-actions .btn { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%, color-mix(in srgb, var(--color-gold) 6%, transparent) 0%, transparent 60%), radial-gradient(ellipse 50% 80% at 10% 80%, color-mix(in srgb, var(--color-gold) 4%, transparent) 0%, transparent 60%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding-block: var(--space-32); max-width: 780px; }
.hero-eyebrow { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-6); font-weight: 600; }
.hero-heading { font-family: var(--font-display); font-size: var(--text-hero); font-weight: 600; line-height: 1.05; color: var(--color-text); margin-bottom: var(--space-8); letter-spacing: -0.02em; }
.hero-heading em { font-style: normal; color: var(--color-gold); }
.hero-sub { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 58ch; line-height: 1.6; margin-bottom: var(--space-10); font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-16); }
.hero-stats { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: var(--space-1); }
.stat-value { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-text); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--color-divider); flex-shrink: 0; }

/* ── Section headers ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: clamp(var(--space-12), 5vw, var(--space-20)); }
.section-eyebrow { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-4); font-weight: 600; }
.eyebrow-muted { color: var(--color-text-faint); }
.section-title, .story-heading { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-6); letter-spacing: -0.02em; }
.story-heading em { font-style: normal; color: var(--color-gold); }
.section-sub { font-size: var(--text-base); color: var(--color-text-muted); max-width: 60ch; margin-inline: auto; line-height: 1.7; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero { padding-top: clamp(var(--space-16), 8vw, var(--space-24)); padding-bottom: clamp(var(--space-8), 4vw, var(--space-16)); text-align: center; }
.page-hero-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-6); letter-spacing: -0.02em; }
.page-hero-sub { font-size: var(--text-base); color: var(--color-text-muted); max-width: 56ch; margin-inline: auto; line-height: 1.7; }

/* ═════════════════════════════════════════════════════════════
   STORYTELLING SECTIONS (Accueil)
   ═════════════════════════════════════════════════════════════ */

/* ── Problem Section ──────────────────────────────────────── */
.problem-section .story-heading { text-align: center; margin-bottom: var(--space-12); }
.story-blocks { display: flex; flex-direction: column; gap: var(--space-10); margin-bottom: var(--space-12); }
.story-block { display: flex; gap: var(--space-6); align-items: flex-start; }
.story-num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-text-faint); flex-shrink: 0; min-width: 44px; line-height: 1.3; letter-spacing: -0.02em; }
.story-block p { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.75; max-width: 60ch; }
.story-block strong { color: var(--color-text); }
.story-punchline { text-align: center; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--color-text); letter-spacing: -0.01em; }
.story-punchline em { color: var(--color-gold); font-style: normal; }

/* ── Solution Section ─────────────────────────────────────── */
.solution-section .story-heading { text-align: center; margin-bottom: var(--space-12); }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
@media (max-width: 700px) { .solution-grid { grid-template-columns: 1fr; } }
.sol-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); transition: transform var(--transition), box-shadow var(--transition); }
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sol-icon { color: var(--color-gold); }
.sol-card h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; color: var(--color-text); }
.sol-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* ── Process Section ──────────────────────────────────────── */
.process-section .section-header { text-align: center; }
.process-timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin-inline: auto; position: relative; }
.process-timeline::before { content: ''; position: absolute; left: 28px; top: 28px; bottom: 28px; width: 1px; background: var(--color-divider); }
.timeline-step { display: flex; gap: var(--space-8); align-items: flex-start; padding-block: var(--space-8); position: relative; }
.tl-num { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--color-gold); width: 56px; height: 56px; border-radius: var(--radius-full); border: 1px solid var(--color-gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--color-surface); position: relative; z-index: 1; }
.tl-content { padding-top: var(--space-3); }
.tl-content h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-2); }
.tl-content p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; max-width: 48ch; }

/* ── Réalisations Gallery ─────────────────────────────────── */
.realisations-section .section-header { text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); }
.gallery-item.gallery-large { grid-column: span 2; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-item.gallery-large { grid-column: 1; } }
.gallery-placeholder { aspect-ratio: 16/10; background: var(--color-surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); color: var(--color-text-faint); }
.gallery-placeholder span { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.gallery-label { padding: var(--space-4) var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.gallery-label strong { color: var(--color-text); }

/* ── Forfaits Preview Cards ───────────────────────────────── */
.forfaits-preview .section-header { text-align: center; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-bottom: var(--space-10); }
@media (max-width: 800px) { .preview-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; } }
.preview-card { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); background: #111009; border: 2px solid var(--neon, var(--color-border)); text-align: center; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.preview-card:hover { transform: translateY(-4px); box-shadow: 0 0 24px var(--neon-glow, rgba(0,0,0,0)); }
.preview-gold { --neon: #F5A623; --neon-glow: rgba(245,166,35,0.25); }
.preview-blue { --neon: #3B82FF; --neon-glow: rgba(59,130,255,0.25); }
.preview-red  { --neon: #E53E3E; --neon-glow: rgba(229,62,62,0.25); }
.preview-badge { position: absolute; top: var(--space-3); right: var(--space-3); font-size: var(--text-xs); background: var(--neon); color: #0a0908; padding: 2px var(--space-3); border-radius: var(--radius-full); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.preview-tier { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #E8E4DC; }
.preview-price { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 700; color: #E8E4DC; }
.preview-price span { font-size: var(--text-sm); font-weight: 400; color: var(--color-text-muted); }
.preview-desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; flex: 1; }
.preview-link { font-size: var(--text-xs); color: var(--neon); letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; }
.preview-cta { text-align: center; margin-top: var(--space-10); }

/* ── CTA Final (Tate urgency) ─────────────────────────────── */
.cta-final { background: var(--color-bg); position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 60%, color-mix(in srgb, var(--color-gold) 6%, transparent) 0%, transparent 70%); pointer-events: none; }
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-main-heading { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; line-height: 1.1; color: var(--color-text); margin-bottom: var(--space-8); letter-spacing: -0.02em; }
.cta-main-heading em { color: var(--color-gold); font-style: normal; }
.cta-text { font-size: var(--text-base); color: var(--color-text-muted); max-width: 56ch; margin-inline: auto; line-height: 1.75; margin-bottom: var(--space-10); }
.cta-text strong { color: var(--color-text); }
.cta-btn { margin-inline: auto; }
.cta-micro { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-6); letter-spacing: 0.04em; }
.cta-section .cta-box { text-align: center; padding: clamp(var(--space-12), 6vw, var(--space-20)); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.cta-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-4); letter-spacing: -0.01em; }
.cta-sub { font-size: var(--text-base); color: var(--color-text-muted); margin-bottom: var(--space-8); }

/* ═════════════════════════════════════════════════════════════
   FORFAITS PAGE — Neon Cards
   ═════════════════════════════════════════════════════════════ */
.forfaits-hero { background: #0a0908; }
.forfaits { background: #0a0908; }
.forfaits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
@media (max-width: 900px) { .forfaits-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.neon-gold  { --neon: #F5A623; --neon-glow: rgba(245,166,35,0.35); --neon-glow2: rgba(245,166,35,0.12); }
.neon-blue  { --neon: #3B82FF; --neon-glow: rgba(59,130,255,0.35); --neon-glow2: rgba(59,130,255,0.12); }
.neon-red   { --neon: #E53E3E; --neon-glow: rgba(229,62,62,0.35);  --neon-glow2: rgba(229,62,62,0.12); }

.neon-card { position: relative; background: #111009; border: 2px solid var(--neon); border-radius: var(--radius-lg); padding: var(--space-10) var(--space-8); display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; overflow: hidden; box-shadow: 0 0 18px var(--neon-glow), inset 0 0 40px var(--neon-glow2); transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s cubic-bezier(0.16,1,0.3,1); }
.neon-card:hover { transform: translateY(-6px); box-shadow: 0 0 32px var(--neon-glow), 0 0 80px var(--neon-glow2), inset 0 0 60px var(--neon-glow2); }
.neon-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; border-radius: inherit; }
.neon-glow { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 200px; height: 120px; background: radial-gradient(ellipse, var(--neon-glow) 0%, transparent 70%); pointer-events: none; filter: blur(10px); }
.neon-icon { color: var(--neon); position: relative; z-index: 1; filter: drop-shadow(0 0 8px var(--neon)); margin-top: var(--space-2); }
.neon-tier { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; letter-spacing: 0.18em; color: #E8E4DC; position: relative; z-index: 1; }
.neon-price-block { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); position: relative; z-index: 1; }
.neon-price { font-family: var(--font-body); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; line-height: 1; color: #E8E4DC; letter-spacing: -0.02em; }
.neon-price-unit { font-size: var(--text-xs); color: #8A8680; letter-spacing: 0.04em; }
.neon-features { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); text-align: left; width: 100%; position: relative; z-index: 1; flex: 1; }
.neon-features li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); color: #C8C4BC; line-height: 1.5; }
.check { color: var(--neon); font-size: 0.85rem; flex-shrink: 0; margin-top: 0.1em; font-weight: 700; }
.neon-heritage-text { font-size: var(--text-base); color: #8A8680; line-height: 1.6; position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding-block: var(--space-8); }
.neon-btn { display: block; width: 100%; padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-align: center; position: relative; z-index: 1; transition: filter 0.2s, transform 0.2s; cursor: pointer; }
.neon-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.neon-btn-gold { background: #F5A623; color: #0a0908; border: none; }
.neon-btn-blue { background: #3B82FF; color: #fff; border: none; }
.neon-btn-ghost { background: transparent; color: #E8E4DC; border: 1.5px solid #4A4844; }
.neon-btn-ghost:hover { border-color: var(--neon); color: var(--neon); }
.forfaits-disclaimer { text-align: center; margin-top: var(--space-10); }
.forfaits-disclaimer p { font-size: var(--text-xs); color: #4A4844; max-width: 60ch; margin-inline: auto; }

/* ── Compare Table ────────────────────────────────────────── */
.inclusions { background: var(--color-bg); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: var(--text-sm); }
.compare-table th, .compare-table td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--color-divider); }
.compare-table th { font-weight: 600; color: var(--color-text); background: var(--color-surface); position: sticky; top: 0; }
.compare-table td { color: var(--color-text-muted); }
.col-gold { color: #F5A623 !important; text-align: center; }
.col-blue { color: #3B82FF !important; text-align: center; }
.col-red  { color: #E53E3E !important; text-align: center; }
.compare-table thead th.col-gold,
.compare-table thead th.col-blue,
.compare-table thead th.col-red { text-align: center; }

/* ═════════════════════════════════════════════════════════════
   FORMULAIRE (Soumission page)
   ═════════════════════════════════════════════════════════════ */
.form-hero { background: var(--color-surface); }
.form-section { background: var(--color-bg); }
.lead-form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(var(--space-8), 4vw, var(--space-12)); display: flex; flex-direction: column; gap: var(--space-8); }
.form-fieldset { border: none; display: flex; flex-direction: column; gap: var(--space-6); padding: 0; }
.form-fieldset-sm { gap: var(--space-4); }
.fieldset-legend { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-2); width: 100%; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-divider); letter-spacing: -0.01em; }
.form-row { display: flex; gap: var(--space-4); }
.form-row-2 > * { flex: 1 1 200px; }
@media (max-width: 600px) { .form-row { flex-direction: column; } }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-size: var(--text-sm); font-weight: 500; color: var(--color-text); letter-spacing: 0.02em; }
.required { color: var(--color-gold); margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: var(--text-base); color: var(--color-text); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-faint); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-gold) 18%, transparent); }
.form-input.input-error, .form-select.input-error { border-color: #c0392b; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8680' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-4) center; padding-right: var(--space-10); cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-error { font-size: var(--text-xs); color: #c0392b; min-height: 1em; }

/* Radio groups */
.radio-group { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.radio-option { display: flex; align-items: center; gap: var(--space-3); cursor: pointer; font-size: var(--text-sm); color: var(--color-text); user-select: none; }
.radio-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-custom { width: 18px; height: 18px; border-radius: var(--radius-full); border: 1.5px solid var(--color-border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; transition: border-color var(--transition), background var(--transition); }
.radio-option input[type="radio"]:checked + .radio-custom { border-color: var(--color-gold); background: var(--color-gold); }
.radio-custom::after { content: ''; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--color-surface-2); opacity: 0; transition: opacity var(--transition); }
.radio-option input[type="radio"]:checked + .radio-custom::after { opacity: 1; }

/* Radio cards (forfaits picker) */
.radio-group-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 500px) { .radio-group-cards { grid-template-columns: 1fr; } }
.radio-card { cursor: pointer; user-select: none; }
.radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card-inner { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4) var(--space-5); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); }
.radio-card input[type="radio"]:checked + .radio-card-inner { border-color: var(--color-gold); background: var(--color-gold-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-gold) 15%, transparent); }
.radio-card:hover .radio-card-inner { border-color: var(--color-gold); }
.radio-card-gold .radio-card-inner { border-color: color-mix(in srgb, #F5A623 30%, var(--color-border)); }
.radio-card-blue .radio-card-inner { border-color: color-mix(in srgb, #3B82FF 30%, var(--color-border)); }
.radio-card-red  .radio-card-inner { border-color: color-mix(in srgb, #E53E3E 30%, var(--color-border)); }
.radio-card-title { font-size: var(--text-sm); font-weight: 500; color: var(--color-text); }
.radio-card-price { font-size: var(--text-xs); color: var(--color-gold); letter-spacing: 0.02em; }

/* Checkbox */
.checkbox-option { display: flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; user-select: none; }
.checkbox-option input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-custom { width: 18px; height: 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; transition: border-color var(--transition), background var(--transition); }
.checkbox-option input[type="checkbox"]:checked + .checkbox-custom { border-color: var(--color-gold); background: var(--color-gold); }
.checkbox-custom::after { content: ''; width: 5px; height: 9px; border: 1.5px solid var(--color-surface-2); border-left: none; border-top: none; transform: rotate(45deg) translateY(-1px); opacity: 0; transition: opacity var(--transition); }
.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after { opacity: 1; }
.form-consent { margin-top: var(--space-2); }
.btn-submit { align-self: center; min-width: 320px; margin-top: var(--space-4); }
@media (max-width: 600px) { .btn-submit { min-width: 0; width: 100%; } }

/* Form success */
.form-success { text-align: center; padding: var(--space-12) var(--space-8); border: 1px solid var(--color-gold); border-radius: var(--radius-lg); background: var(--color-gold-light); margin-top: var(--space-4); }
.success-icon { font-size: var(--text-2xl); color: var(--color-gold); margin-bottom: var(--space-4); }
.success-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-4); letter-spacing: -0.01em; }
.success-msg { font-size: var(--text-base); color: var(--color-text-muted); max-width: 50ch; margin-inline: auto; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--color-surface); border-top: 1px solid var(--color-divider); padding-block: var(--space-16); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-12); flex-wrap: wrap; margin-bottom: var(--space-12); }
.footer-brand { max-width: 340px; }
.footer-desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); line-height: 1.65; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid var(--color-divider); padding-top: var(--space-8); }
.footer-legal { font-size: var(--text-xs); color: var(--color-text-faint); text-align: center; }

/* ── Upload zone ─────────────────────────────────────────── */
.form-label-optional { font-weight: 400; color: var(--color-text-faint); font-size: var(--text-xs); margin-left: var(--space-2); }
.form-hint { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: calc(-1 * var(--space-1)); margin-bottom: var(--space-2); line-height: 1.5; }
.upload-input { position: absolute; opacity: 0; width: 0; height: 0; }
.upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3); padding: var(--space-8) var(--space-6);
  border: 2px dashed var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-bg); cursor: pointer; text-align: center;
  transition: border-color var(--transition), background var(--transition);
  min-height: 160px; position: relative;
}
.upload-zone:hover, .upload-zone:focus-within { border-color: var(--color-gold); background: color-mix(in srgb, var(--color-gold) 4%, var(--color-bg)); }
.upload-zone.drag-over { border-color: var(--color-gold); background: color-mix(in srgb, var(--color-gold) 8%, var(--color-bg)); }
.upload-zone.has-file { border-style: solid; border-color: var(--color-gold); }
.upload-icon { color: var(--color-text-faint); transition: color var(--transition); }
.upload-zone:hover .upload-icon, .upload-zone.has-file .upload-icon { color: var(--color-gold); }
.upload-text { display: flex; flex-direction: column; gap: var(--space-1); }
.upload-cta { font-size: var(--text-sm); font-weight: 500; color: var(--color-gold); }
.upload-or { font-size: var(--text-xs); color: var(--color-text-faint); }
.upload-preview { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.preview-img { max-height: 160px; max-width: 100%; border-radius: var(--radius-md); object-fit: cover; box-shadow: var(--shadow-md); }
.preview-name { font-size: var(--text-xs); color: var(--color-text-muted); }
.upload-remove { align-self: flex-start; font-size: var(--text-xs); color: var(--color-text-faint); text-decoration: underline; cursor: pointer; margin-top: var(--space-1); background: none; border: none; padding: 0; }
.upload-remove:hover { color: #c0392b; }

/* ── Utilities ────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
