/* ============================================
   ALIZÉ — Design tokens & component styles
   ============================================ */

:root,
[data-theme='light'] {
  /* Surfaces — clean cool white, tech feel */
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-2: #fbfbfe;
  --color-surface-offset: #eef0f7;
  --color-surface-offset-2: #e4e7f2;
  --color-surface-dynamic: #dde1f0;
  --color-divider: #e6e8f2;
  --color-border: #d7dae8;

  /* Text — cool near-black */
  --color-text: #12141f;
  --color-text-muted: #5a5f74;
  --color-text-faint: #9498ac;
  --color-text-inverse: #f7f8fc;

  /* Primary accent — indigo (IA, confiance, technologie) */
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-active: #3730a3;
  --color-primary-highlight: #e0e0fb;

  /* Secondary accent — teal électrique (voix, action) */
  --color-secondary: #0d9488;
  --color-secondary-hover: #0f766e;
  --color-secondary-active: #115e59;
  --color-secondary-highlight: #ccf5ef;

  --color-warning: #b45309;
  --color-warning-highlight: #fbe8c8;
  --color-error: #dc2626;
  --color-error-highlight: #fbd8d6;
  --color-success: #0d9488;
  --color-success-highlight: #ccf5ef;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.25 0.03 265 / 0.07);
  --shadow-md: 0 4px 16px oklch(0.25 0.03 265 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.25 0.03 265 / 0.16);

  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1220px;
  --content-full: 100%;

  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0a0b12;
  --color-surface: #12141f;
  --color-surface-2: #161927;
  --color-surface-offset: #1c2032;
  --color-surface-offset-2: #232839;
  --color-surface-dynamic: #2a3047;
  --color-divider: #262b3c;
  --color-border: #333952;

  --color-text: #eef0f8;
  --color-text-muted: #a7acc4;
  --color-text-faint: #6b7089;
  --color-text-inverse: #0a0b12;

  --color-primary: #818cf8;
  --color-primary-hover: #a5b4fc;
  --color-primary-active: #c7d2fe;
  --color-primary-highlight: #302c58;

  --color-secondary: #2dd4bf;
  --color-secondary-hover: #5eead4;
  --color-secondary-active: #99f6e4;
  --color-secondary-highlight: #103c38;

  --color-warning: #fbbf24;
  --color-warning-highlight: #3f2d12;
  --color-error: #f87171;
  --color-error-highlight: #3f1d1d;
  --color-success: #2dd4bf;
  --color-success-highlight: #103c38;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.55);
}

/* Fluid type scale */
: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.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.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;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Warm grain texture on the whole page, very subtle */
body {
  background-image: radial-gradient(oklch(0.3 0.05 40 / 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--color-text) 10%, transparent);
}
.site-header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
}
.brand svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.main-nav ul {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav ul li {
  list-style: none;
}
.main-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}
.main-nav a:hover {
  color: var(--color-text);
}
.main-nav a[aria-current='page'] {
  color: var(--color-text);
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: color-mix(in oklab, var(--color-text) 18%, transparent);
}
.btn-ghost:hover {
  background: var(--color-surface-offset);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-16), 10vw, var(--space-24));
}
.hero.hero-compact {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16)) clamp(var(--space-12), 6vw, var(--space-16));
}
.hero.hero-compact .hero-glow {
  height: 420px;
}
.hero.hero-compact .hero-copy .eyebrow {
  font-size: var(--text-xl);
}
.hero.hero-compact h1 {
  font-size: var(--text-2xl);
}
.hero.hero-compact .hero-visual .photo-card img {
  aspect-ratio: 4/3.6;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-text);
}
.hero-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 640px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--color-primary) 20%, transparent), transparent 60%),
    radial-gradient(circle at 80% 0%, color-mix(in oklab, var(--color-secondary) 16%, transparent), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
[data-theme='dark'] .hero-glow {
  background: radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--color-primary) 38%, transparent), transparent 60%),
    radial-gradient(circle at 80% 0%, color-mix(in oklab, var(--color-secondary) 30%, transparent), transparent 55%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-copy .eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.15;
  color: var(--color-secondary);
  margin-bottom: 0;
}
.hero-copy h1 {
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.hero-copy h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
}
.hero-copy p.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.hero-trust-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.hero-trust-item strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.hero-trust-item span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.hero-visual {
  position: relative;
  padding-bottom: var(--space-10);
}
.hero-visual .photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transform: rotate(-1.2deg);
}
.hero-visual .photo-card img {
  aspect-ratio: 4/3.4;
  object-fit: cover;
}
.hero-visual .phone-chip {
  position: absolute;
  bottom: 0;
  right: -4%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 270px;
  transform: rotate(2deg);
}
.phone-chip .icon-dot {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-secondary-highlight);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-chip .icon-dot svg {
  width: 18px;
  height: 18px;
}
.phone-chip .chip-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}
.phone-chip .chip-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---------- Section shell ---------- */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section-alt {
  background: var(--color-surface-offset);
}
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-top: var(--space-3);
}
.section-head p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* ---------- Pain points ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.pain-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.pain-card .mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-error-highlight);
  color: var(--color-error);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.pain-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.pain-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------- Features ---------- */
.feature-list {
  display: grid;
  gap: var(--space-4);
}
.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  align-items: start;
  box-shadow: var(--shadow-sm);
}
.feature-row .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-secondary-highlight);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row .icon svg {
  width: 28px;
  height: 28px;
}
.feature-row.highlight {
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  background: linear-gradient(135deg, color-mix(in oklab, var(--color-primary) 6%, var(--color-surface)), var(--color-surface));
}
.feature-row.highlight .icon {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.feature-row h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.feature-row p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.feature-tag {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ---------- Assistant chat showcase ---------- */
.chat-demo {
  max-width: 460px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-3);
}
.chat-row {
  display: flex;
}
.chat-row.user {
  justify-content: flex-end;
}
.chat-row.assistant {
  justify-content: flex-start;
}
.chat-bubble {
  max-width: 84%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.chat-bubble.user {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: var(--radius-sm);
}
.chat-bubble.assistant {
  background: var(--color-surface-offset);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: var(--radius-sm);
}
.bubble-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
}
.chat-bubble.assistant .bubble-icon {
  background: var(--color-secondary-highlight);
  color: var(--color-secondary);
}
.bubble-icon svg {
  width: 13px;
  height: 13px;
}
.assistant-note {
  max-width: 460px;
  margin: var(--space-6) auto 0;
  text-align: center;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
}
@media (max-width: 560px) {
  .chat-demo {
    padding: var(--space-5) var(--space-4);
  }
  .chat-bubble {
    max-width: 92%;
    font-size: var(--text-xs);
  }
}

/* ---------- Simplicity band ---------- */
.simplicity-band {
  background: var(--color-secondary-highlight);
  padding-block: var(--space-10);
}
.simplicity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.simplicity-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.simplicity-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}
.simplicity-item .icon svg {
  width: 20px;
  height: 20px;
}
.simplicity-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.simplicity-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
@media (max-width: 768px) {
  .simplicity-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ---------- Spotlight (site vitrine mockup) ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.spotlight-mock {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.spotlight-mock .mock-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
}
.spotlight-mock .mock-bar span:not(.mock-url) {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: var(--radius-full);
  background: var(--color-border);
}
.spotlight-mock .mock-url {
  margin-left: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.spotlight-mock .mock-bar {
  min-width: 0;
}
.spotlight-mock .mock-body {
  padding: var(--space-8) var(--space-6);
  background: linear-gradient(160deg, #f4ede0, #efe2cf);
  text-align: center;
}
[data-theme='dark'] .spotlight-mock .mock-body {
  background: linear-gradient(160deg, #2e2620, #241d17);
}
.spotlight-mock .mock-body .mock-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-secondary);
  margin-bottom: var(--space-2);
}
.spotlight-mock .mock-body h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.spotlight-mock .mock-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 auto var(--space-6);
}
.spotlight-mock .mock-cta {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}
.spotlight-list {
  list-style: none;
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
}
.spotlight-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.spotlight-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  margin-top: 3px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}
.step {
  position: relative;
  padding: var(--space-6);
}
.step .step-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary-highlight);
  -webkit-text-stroke: 1.5px var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.step h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.step p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-secondary), color-mix(in oklab, var(--color-secondary) 70%, black));
  color: var(--color-text-inverse);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.cta-band .eyebrow {
  color: color-mix(in oklab, var(--color-text-inverse) 75%, transparent);
  margin-bottom: var(--space-2);
}
.cta-band h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text-inverse);
}
.cta-band p {
  color: color-mix(in oklab, var(--color-text-inverse) 82%, transparent);
  font-size: var(--text-base);
}
.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-3);
  box-shadow: var(--shadow-lg);
}
.contact-form label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-1);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-sm);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.contact-form .btn {
  width: 100%;
  margin-top: var(--space-2);
}
.contact-form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.slots-wrapper {
  display: grid;
  gap: var(--space-2);
}
.slots-wrapper[hidden] {
  display: none;
}
.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.slot-btn {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.slot-btn:hover {
  border-color: var(--color-primary);
}
.slot-btn.selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}
.slots-empty {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}
.booking-error {
  font-size: var(--text-xs);
  color: #e11d48;
  margin: 0;
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-6) 0;
}
.form-success.visible {
  display: block;
}
.form-success svg {
  width: 40px;
  height: 40px;
  color: var(--color-secondary);
  margin: 0 auto var(--space-3);
}
.form-success p {
  color: var(--color-text);
}
.form-success p strong {
  color: var(--color-text);
}
.form-success-meet {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
  font-size: 0.9rem;
  word-break: break-all;
}
.form-success-meet a {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ---------- Teaser grid (homepage links out, vitrine inclusions) ---------- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.teaser-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
a.teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--color-primary) 30%, var(--color-border));
}
.teaser-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-secondary-highlight);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.teaser-card .icon svg {
  width: 22px;
  height: 22px;
}
.teaser-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
}
.teaser-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-grow: 1;
}
.teaser-card .teaser-link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

/* ---------- CTA mini (link-only bottom-of-page banner) ---------- */
.cta-mini {
  text-align: center;
  padding: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
}
.cta-mini .eyebrow {
  display: block;
  margin-bottom: var(--space-2);
}
.cta-mini h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.cta-mini p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.cta-mini .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Second mock (vitrine variety) ---------- */
.spotlight-mock.spotlight-mock-alt .mock-body {
  background: linear-gradient(160deg, #eef1fb, #e3e7fa);
}
[data-theme='dark'] .spotlight-mock.spotlight-mock-alt .mock-body {
  background: linear-gradient(160deg, #1c2032, #171a29);
}
.spotlight-mock.spotlight-mock-alt .mock-body .mock-logo {
  color: var(--color-primary);
}
.spotlight-mock.spotlight-mock-alt .mock-cta {
  background: var(--color-primary);
}
.mock-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  max-width: 32ch;
}
.footer-links {
  display: flex;
  gap: var(--space-8);
}
.footer-links h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.footer-links ul {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--color-text);
}
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: var(--content-narrow);
  margin-inline: auto;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: var(--text-lg);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}

/* ---------- Editorial two-column (vitrine / fonctionnalites detail) ---------- */
.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.editorial-row.reverse .editorial-media {
  order: -1;
}
.editorial-media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3.2;
  object-fit: cover;
}
@media (max-width: 900px) {
  .editorial-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .editorial-row.reverse .editorial-media {
    order: 0;
  }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .hero-visual {
    order: -1;
  }
  .hero-visual .phone-chip {
    right: 4%;
    bottom: -8%;
  }
  .spotlight {
    grid-template-columns: 1fr;
  }
  .spotlight-mock {
    order: -1;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .mock-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-actions .btn-lg-desktop {
    display: none;
  }
  .feature-row {
    grid-template-columns: 48px 1fr;
    gap: var(--space-4);
  }
  .feature-row .icon {
    width: 44px;
    height: 44px;
  }
  .feature-row .icon svg {
    width: 22px;
    height: 22px;
  }
}
