/* Design System KrakIn — Inspiré GROF, identité KrakIn */

/* Fonts — Alias (Thunder Type) pour titres */
@font-face {
  font-family: 'Alias';
  src: url('../fonts/Alias-Regular.ttf') format('truetype'),
       url('../fonts/Alias-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alias';
  src: url('../fonts/Alias-Bold.ttf') format('truetype'),
       url('../fonts/Alias-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fonts — Satoshi (Fontshare) pour corps de texte */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* Tokens */
:root {
  /* Couleurs */
  --bg: #F5F2EC;
  --bg-soft: #EFEBE4;
  --bg-muted: #E8E4DC;
  --card: #FFFFFF;
  --card-hover: #FAFAF8;
  --text: #1A1A1A;
  --text-soft: #4A4A4A;
  --text-muted: #8A8A8A;
  --accent: #2563EB;
  --accent-hover: #1D4FD8;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --border: #E5E2DC;
  --border-strong: #D0CCC4;
  --success: #16A34A;
  --error: #DC2626;

  /* Typographie */
  --font-display: 'Alias', 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Échelle typo */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Espacements */
  --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;

  /* Sections */
  --section-py: clamp(5rem, 12vw, 10rem);
  --section-py-sm: clamp(3rem, 8vw, 6rem);

  /* Rayons */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);

  /* Transitions */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration: 300ms;

  /* Conteneurs */
  --container: 1024px;
  --container-wide: 1200px;
  --container-narrow: 720px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: var(--text-lg); line-height: 1.7; color: var(--text); background: var(--bg); }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typographie */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

p { color: var(--text-soft); }
strong { font-weight: 600; color: var(--text); }
em { font-style: italic; }

/* Labels uppercase — style GROF */
.label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.label-muted {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Lien avec flèche */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  color: var(--accent);
  transition: gap var(--duration) var(--ease);
}

.link-arrow:hover { gap: var(--space-3); }
.link-arrow .arrow { transition: transform var(--duration) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* Lien sur fond accent (bleu) */
.section-accent-reveal .link-arrow { color: white; }
.section-accent-reveal .link-arrow:hover { color: rgba(255,255,255,0.8); }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-6); }

.section { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }
.bg-primary { background: var(--bg); }
.bg-soft { background: var(--bg-soft); }

/* Grid */
.grid { display: grid; gap: var(--space-8); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 242, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-left { display: flex; align-items: center; gap: var(--space-10); }
.nav-links { display: flex; gap: var(--space-8); }
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-soft);
  transition: color 150ms var(--ease);
}
.nav-links a:hover { color: var(--text); }

.logo { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.logo .in { color: var(--accent); }

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

/* Menu hamburger mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; z-index: 1001; }
  .nav .btn, .nav .btn-primary { display: none; }
}

/* Menu mobile overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px var(--space-6) var(--space-8);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nav-mobile-cta {
  margin-top: auto;
  padding-top: var(--space-8);
}
.nav-mobile .nav-mobile-cta a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  padding: var(--space-4) var(--space-6);
}
.nav-mobile-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--text);
}

/* Boutons — style GROF (forme pilule arrondie) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--text-muted);
}

.btn-text {
  background: transparent;
  color: var(--text-soft);
  padding: var(--space-4) 0;
}

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

.btn-lg { padding: var(--space-5) var(--space-8); font-size: var(--text-base); }

/* Bouton pilule avec pastille flèche — fond bleu */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6);
  background: var(--accent);
  color: white;
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--duration) var(--ease);
}
.btn-pill:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-pill .arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  color: var(--accent);
  transition: transform var(--duration) var(--ease);
}
.btn-pill:hover .arrow-circle { transform: translateX(4px); }
.btn-pill .arrow-circle svg { width: 18px; height: 18px; }

/* Bouton pilule avec pastille flèche — fond blanc (pour sections bleues) */
.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6);
  background: white;
  color: var(--accent);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--duration) var(--ease);
}
.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-pill-white .arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  color: white;
  transition: transform var(--duration) var(--ease);
}
.btn-pill-white:hover .arrow-circle { transform: translateX(4px); }
.btn-pill-white .arrow-circle svg { width: 18px; height: 18px; }

/* Bouton pilule outline — contour */
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6);
  background: white;
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  transition: all var(--duration) var(--ease);
}
.btn-pill-outline:hover { border-color: var(--accent); }
.btn-pill-outline .arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border-radius: 50%;
  color: var(--text);
  transition: all var(--duration) var(--ease);
}
.btn-pill-outline:hover .arrow-circle {
  background: var(--accent);
  color: white;
  transform: translateX(4px);
}
.btn-pill-outline .arrow-circle svg { width: 18px; height: 18px; }

.btn .arrow { transition: transform var(--duration) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Cartes — style GROF */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

/* Formulaire */
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-size: var(--text-sm); font-weight: 500; color: var(--text); }

.form-input {
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 150ms var(--ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder { color: var(--text-muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* Animations — style GROF */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; }
.reveal.visible { animation: fadeInUp 0.6s var(--ease) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal.visible { animation: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* Footer */
.footer {
  background: var(--bg-muted);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-tagline { font-size: var(--text-sm); color: var(--text-soft); margin-top: var(--space-4); }

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { font-size: var(--text-sm); color: var(--text-soft); transition: color 150ms var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; } }

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(72px + var(--space-16)) 0 var(--space-16);
}

.hero-content { max-width: 800px; }
.hero h1 { margin-bottom: var(--space-6); }
.hero-lead { font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl)); max-width: 640px; margin-bottom: var(--space-8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Bandeau réassurance */
.reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: var(--space-16);
}

.reassurance span {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Cartes offres */
.offer-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-10);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.offer-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.offer-card h3 { margin: 0; }
.offer-card p { flex: 1; font-size: var(--text-base); margin: 0; }

/* Cartes constats */
.constat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration) var(--ease);
}

.constat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.constat-card p { font-size: var(--text-base); margin: 0; }

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-12), 8vw, var(--space-24));
  flex-wrap: wrap;
  margin-top: var(--space-12);
}

.stat-block { text-align: center; }

.stat-value {
  font-size: clamp(var(--text-5xl), 8vw, var(--text-7xl));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* Barres comparaison */
.compare-bars { display: flex; flex-direction: column; gap: var(--space-6); max-width: 400px; }
.compare-bar { display: flex; flex-direction: column; gap: var(--space-2); }
.compare-bar-label { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.compare-bar-fill { height: 12px; border-radius: 6px; }
.compare-bar-fill.long { width: 100%; background: var(--text-muted); }
.compare-bar-fill.short { width: 10%; background: var(--accent); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  transition: color 150ms var(--ease);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: transform var(--duration) var(--ease);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding-bottom: var(--space-6); color: var(--text-soft); }

/* Utilitaires */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.max-w-narrow { max-width: var(--container-narrow); }

/* ========================================
   DRAWER CONTACT
   ======================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: white;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) var(--space-8);
}
.drawer-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}
.drawer-close:hover { border-color: var(--text); }
.drawer-close svg { width: 20px; height: 20px; }

.drawer-body {
  flex: 1;
  padding: 0 var(--space-8) var(--space-8);
}
.drawer-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 var(--space-8);
}
.drawer-title strong { font-weight: 700; color: var(--accent); }

.drawer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.drawer-form .full { grid-column: 1 / -1; }

.drawer-input {
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
}
.drawer-input::placeholder { color: var(--text-muted); }
.drawer-input:focus { outline: none; border-color: var(--accent); }

.drawer-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 24px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: var(--space-4);
}
.drawer-submit:hover { background: var(--accent-hover); }
.drawer-submit .arrow-circle {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.drawer-submit .arrow-circle svg { width: 16px; height: 16px; }

.drawer-footer {
  padding: var(--space-8);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.drawer-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.drawer-contact-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.drawer-contact-value a { color: var(--text); }
.drawer-contact-value a:hover { color: var(--accent); }

/* Success state drawer */
.drawer-success {
  text-align: center;
  padding: var(--space-10) 0;
}
.drawer-success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}
.drawer-success-icon svg { width: 32px; height: 32px; color: white; }
.drawer-success h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 var(--space-2);
}
.drawer-success p { color: var(--text-soft); margin: 0; }

@media (max-width: 500px) {
  .drawer { max-width: 100%; }
  .drawer-form { grid-template-columns: 1fr; }
  .drawer-footer { grid-template-columns: 1fr; }
}

/* =============================================
   STICKY SCROLL STACKING
   ============================================= */
.sticky-stack {
  position: relative;
}
.sticky-section {
  position: sticky;
  top: 72px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-strong);
  z-index: 1;
}
.sticky-section:nth-child(odd) { z-index: 2; }
.sticky-section:nth-child(even) { z-index: 3; }
.sticky-section:nth-child(3) { z-index: 4; }
.sticky-section:nth-child(4) { z-index: 5; }
.sticky-section:nth-child(5) { z-index: 6; }
.sticky-section:nth-child(6) { z-index: 7; }
.sticky-section:nth-child(7) { z-index: 8; }
.sticky-section.bg-primary { background: var(--bg); }
.sticky-section.bg-soft { background: var(--bg-soft); }
.sticky-section.section-accent-reveal { border-bottom-color: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
  .sticky-section {
    position: relative;
    top: 0;
    min-height: auto;
  }
}

/* =============================================
   SECTION ACCENT — Clip-path reveal
   ============================================= */
.section-accent-reveal {
  background: var(--accent);
  color: white;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.section-accent-reveal.in-view {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.section-accent-reveal h2 { color: white; }
.section-accent-reveal h2 strong { color: white; }
.section-accent-reveal p { color: rgba(255,255,255,0.85); }
.section-accent-reveal strong { color: white; }
.section-accent-reveal .label { color: rgba(255,255,255,0.7); }

/* =============================================
   TEXT REVEAL — Word by word animation
   ============================================= */
.text-reveal-wrapper {
  display: inline-block;
  overflow: visible;
  vertical-align: bottom;
  padding-top: 0.15em;
  padding-bottom: 0.1em;
}
.text-reveal-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.text-reveal-container.in-view .text-reveal-word {
  transform: translateY(0);
}
.text-reveal-wrapper:nth-child(1) .text-reveal-word { transition-delay: 0s; }
.text-reveal-wrapper:nth-child(2) .text-reveal-word { transition-delay: 0.06s; }
.text-reveal-wrapper:nth-child(3) .text-reveal-word { transition-delay: 0.12s; }
.text-reveal-wrapper:nth-child(4) .text-reveal-word { transition-delay: 0.18s; }
.text-reveal-wrapper:nth-child(5) .text-reveal-word { transition-delay: 0.24s; }
.text-reveal-wrapper:nth-child(6) .text-reveal-word { transition-delay: 0.30s; }
.text-reveal-wrapper:nth-child(7) .text-reveal-word { transition-delay: 0.36s; }
.text-reveal-wrapper:nth-child(8) .text-reveal-word { transition-delay: 0.42s; }

/* =============================================
   PAIN CARDS — Design amélioré
   ============================================= */
.pain-card {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-6);
  overflow: hidden;
}
.pain-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.pain-card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  opacity: 0.8;
}
.pain-card-icon svg {
  width: 100%;
  height: 100%;
}
.pain-card-num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--border-strong);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  right: 12px;
  pointer-events: none;
}
.pain-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

@keyframes cardReveal {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.pain-card.reveal.visible { animation: cardReveal 0.5s var(--ease) forwards; }
.pain-card.reveal.visible.delay-1 { animation-delay: 0.15s; }
.pain-card.reveal.visible.delay-2 { animation-delay: 0.3s; }
