/* ════════════════════════════════════════════════════════════
   ODOS Landing | Design System
   CTA = orange #F4A261 · Liens = bleu #3b82f6
   Turquoise #5fc2d8 = déco carte · Fond blanc pastel orangé · Surfaces harmonisées
   Texte #11181C · Secondaire #64748b · Bordures chaudes #e8ddd4
   ════════════════════════════════════════════════════════════ */

:root {
  /* Sémantique CTA */
  --cta: #f4a261;
  --cta-hover: #e8913a;
  --cta-active: #d97f2a;
  --cta-text: #fff;

  /* Primaire / liens / navigation */
  --link: #3b82f6;
  --link-hover: #2563eb;

  /* Accent turquoise (déco carte, détails) */
  --teal: #5fc2d8;
  --teal-muted: rgba(95, 194, 216, 0.12);

  /* Focus tab */
  --focus: #0a7ea4;

  /* Surfaces : fond crème / pêche très léger (moins « blanc laser ») */
  --bg: #fef7f2;
  --surface: #faf2ea;
  --text: #11181c;
  --text-muted: #64748b;
  --border: #e8ddd4;
  /* Verre / header : même teinte, semi-transparent */
  --bg-glass: rgba(254, 247, 242, 0.9);
  --bg-glass-soft: rgba(254, 247, 242, 0.82);

  /* Typo */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rayons */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(17, 24, 28, 0.06);
  --shadow-md: 0 8px 28px rgba(17, 24, 28, 0.08);
  --shadow-lg: 0 16px 48px rgba(17, 24, 28, 0.1);
  --shadow-cta: 0 6px 20px rgba(244, 162, 97, 0.35);

  --header-h: 64px;

  /* Banderole vase (gauche) : largeur + hauteur d’un module SVG pour défilement boucle */
  --frieze-w: 88px;
  --frieze-tile-h: 128px;
  /* Bandeau horizontal mobile (hauteur du strip sous la barre) */
  --frieze-mobile-strip: 34px;

  /* Rythme (inspiration sites marketing très propres : plus d’air, courbes douces) */
  --container-max: 1140px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171412;
    --surface: #211d1a;
    --text: #f4efe9;
    --text-muted: #c8bcb1;
    --border: #3b342e;
    --bg-glass: rgba(23, 20, 18, 0.86);
    --bg-glass-soft: rgba(23, 20, 18, 0.8);
    --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.4);
  }

  :root:not([data-theme="light"]) .categories .container {
    background: color-mix(in srgb, var(--surface) 88%, var(--bg) 12%);
    border-color: color-mix(in srgb, var(--border) 95%, transparent);
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171412;
  --surface: #211d1a;
  --text: #f4efe9;
  --text-muted: #c8bcb1;
  --border: #3b342e;
  --bg-glass: rgba(23, 20, 18, 0.86);
  --bg-glass-soft: rgba(23, 20, 18, 0.8);
  --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .categories .container {
  background: color-mix(in srgb, var(--surface) 88%, var(--bg) 12%);
  border-color: color-mix(in srgb, var(--border) 95%, transparent);
}

html[data-theme="light"] {
  color-scheme: light;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  text-rendering: optimizeLegibility;
}

@media (min-width: 720px) {
  html {
    scroll-padding-left: var(--frieze-w);
  }
}

body {
  position: relative;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 720px) {
  body {
    padding-left: var(--frieze-w);
  }
}

/* Fond global : dégradés doux + motif type frise (esprit Méditerranée / marbre), très discret */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath fill='none' stroke='%23b8a99a' stroke-width='0.55' opacity='0.4' d='M0 24h12v12h12V12h24v24h12v-12h12v12h24M48 0v48'/%3E%3C/svg%3E");
  background-size: 96px 48px;
  opacity: 0.055;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(254, 247, 242, 0.9), transparent 55%),
    radial-gradient(ellipse 85% 55% at 5% -5%, rgba(95, 194, 216, 0.09), transparent 52%),
    radial-gradient(ellipse 75% 50% at 98% 102%, rgba(244, 162, 97, 0.1), transparent 48%),
    repeating-linear-gradient(
      -22deg,
      transparent,
      transparent 52px,
      rgba(244, 162, 97, 0.045) 52px,
      rgba(244, 162, 97, 0.045) 53px
    );
}

/* Contenu au-dessus des calques de fond ; la frise reste en dessous */
body > *:not(.vase-frieze) {
  position: relative;
  z-index: 1;
}

/* Banderole gauche : motif vase antique (méandre + chevrons), toute la hauteur */
.vase-frieze {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 719px) {
  /* Bandeau collé sous la barre (même bloc header fixe) */
  .vase-frieze {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    flex-shrink: 0;
    margin-top: 0;
    height: var(--frieze-mobile-strip);
    background-color: color-mix(in srgb, #d8c8bc 20%, var(--bg) 80%);
    background-image:
      linear-gradient(180deg, rgba(44, 36, 28, 0.06) 0%, transparent 55%),
      repeating-linear-gradient(
        0deg,
        rgba(244, 162, 97, 0.07) 0 1px,
        transparent 1px 5px
      ),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='34' viewBox='0 0 128 34'%3E%3Cg fill='none' stroke='%23F4A261' stroke-width='0.9' stroke-linecap='square' opacity='0.92'%3E%3Cline x1='0' y1='3' x2='128' y2='3'/%3E%3Cpath d='M8 9h8v8h8V5h22v12h8V9h8v8h8'/%3E%3Cpath d='M66 9h8v8h8V5h22v12h8V9h8v8h8'/%3E%3Cline x1='0' y1='31' x2='128' y2='31'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%, 128px 34px;
    background-repeat: no-repeat, no-repeat, repeat-x;
    background-position: 0 0, 0 0, 0 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, var(--cta) 22%);
    animation: vase-frieze-roll-x 18s linear infinite;
  }
}

@media (min-width: 720px) {
  .vase-frieze {
    top: 0;
    right: auto;
    bottom: 0;
    width: var(--frieze-w);
    height: auto;
    background-color: color-mix(in srgb, #d8c8bc 22%, var(--bg) 78%);
    background-image:
      linear-gradient(90deg, rgba(44, 36, 28, 0.06) 0%, transparent 50%),
      repeating-linear-gradient(
        90deg,
        rgba(244, 162, 97, 0.07) 0 1px,
        transparent 1px 6px
      ),
      /* Motifs #F4A261 (même orange que le logo ODOS), tuile répétée en Y */
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='128' viewBox='0 0 88 128'%3E%3Cg fill='none' stroke='%23F4A261' stroke-width='0.95' stroke-linecap='square' opacity='0.92'%3E%3Cline x1='8' y1='0' x2='80' y2='0'/%3E%3Cpath d='M8 12h8v8h8V4h24v24h8v-8h8v8h8'/%3E%3Cpath d='M8 32h8v8h8V24h24v24h8v-8h8v8h8'/%3E%3Cline x1='8' y1='52' x2='80' y2='52'/%3E%3Cpath d='M16 62l28 11 28-11M16 82l28 11 28-11M16 102l28 11 28-11'/%3E%3Cline x1='8' y1='128' x2='80' y2='128'/%3E%3C/g%3E%3C/svg%3E");
    background-size:
      100% 100%,
      100% 100%,
      var(--frieze-w) var(--frieze-tile-h);
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-position: 0 0, 0 0, center 0;
    box-shadow:
      inset -1px 0 0 rgba(244, 162, 97, 0.2),
      inset -8px 0 18px rgba(44, 36, 28, 0.05);
    border-right: 1px solid color-mix(in srgb, var(--border) 55%, var(--cta) 22%);
    animation: vase-frieze-roll 22s linear infinite;
  }
}

@media (min-width: 720px) and (prefers-reduced-motion: reduce) {
  .vase-frieze {
    animation: none;
  }
}

@media (max-width: 719px) and (prefers-reduced-motion: reduce) {
  .vase-frieze {
    animation: none;
  }
}

/* 128px = --frieze-tile-h (tuile SVG) pour boucle sans couture */
@keyframes vase-frieze-roll {
  from {
    background-position: 0 0, 0 0, center 0;
  }

  to {
    background-position: 0 0, 0 0, center 128px;
  }
}

@keyframes vase-frieze-roll-x {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 0, 0 0, 128px 0;
  }
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--cta);
  color: var(--cta-text);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

@media (min-width: 720px) {
  .skip-link:focus {
    left: calc(var(--frieze-w) + 8px);
  }
}

.container {
  width: min(var(--container-max), 100% - 2rem);
  margin-inline: auto;
}

.container.narrow {
  width: min(680px, 100% - 2rem);
}

/* ═══════════════════ BOUTONS ═══════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    transform 0.18s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn-cta {
  background: var(--cta);
  color: var(--cta-text);
  border-color: var(--cta);
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: var(--cta-text);
  box-shadow: 0 8px 28px rgba(244, 162, 97, 0.45);
}

.btn-cta:active {
  background: var(--cta-active);
  border-color: var(--cta-active);
  color: var(--cta-text);
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 22%;
  height: 340%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(22deg);
  transition: transform 0.55s ease;
}

.btn-cta:hover::after {
  transform: translateX(380%) rotate(22deg);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--link);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--link);
  background: rgba(59, 130, 246, 0.06);
  color: var(--link-hover);
}

/* ═══════════════════ HEADER ═══════════════════ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* Coque sans filtre : la frise enfant peut rester en fixed pleine hauteur (desktop) */
  background: transparent;
}

.header-bar {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--bg) 65%, transparent);
}

@media (max-width: 719px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* Une seule séparation visuelle : fin du bandeau décoratif */
  .header-bar {
    border-bottom: 0;
    box-shadow: none;
  }
}

main {
  padding-top: var(--header-h);
}

@media (max-width: 719px) {
  /* Barre + bandeau frise intégrés au header fixe */
  main {
    padding-top: calc(var(--header-h) + var(--frieze-mobile-strip));
  }
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  transition: transform 0.2s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.05);
}

.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--cta);
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 1rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-desktop a:hover {
  color: var(--text);
}

.btn-header-cta {
  display: none;
  min-height: 40px;
  padding: 0.45rem 1.2rem;
  font-size: 0.875rem;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--cta) 42%, var(--border));
  background: color-mix(in srgb, var(--surface) 82%, var(--cta) 18%);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.theme-toggle-icon {
  display: none;
  pointer-events: none;
}

.theme-toggle[data-mode="system"] .theme-toggle-icon--system,
.theme-toggle[data-mode="light"] .theme-toggle-icon--light,
.theme-toggle[data-mode="dark"] .theme-toggle-icon--dark {
  display: block;
}

@media (max-width: 767px) {
  .theme-toggle {
    margin-left: auto;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .btn-header-cta {
    display: inline-flex;
  }

  .burger {
    display: none !important;
  }
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--r-sm);
}

.burger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 1rem;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a:not(.btn) {
  display: block;
  padding: 0.6rem 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
}

.nav-mobile a:not(.btn):hover {
  color: var(--cta);
}

.mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* ═══════════════════ HERO ═══════════════════ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(3rem, 5vw, 4rem);
  }
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-logo {
  width: clamp(48px, 10vw, 64px);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(244, 162, 97, 0.3));
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cta);
}

.hero-baseline {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.hero-desc {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 44ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: min(168px, 44vw);
  height: 48px;
  line-height: 0;
  transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.store-badge-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/*
  À hauteur égale, le SVG Apple est ~22 % plus large que le badge Google (ratios natifs).
  Échelle uniforme + même cadre : visuel équilibré sans déformer les assets officiels.
*/
.store-badge-link--apple .store-badge-img {
  transform: scale(0.815);
  transform-origin: center center;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(17, 24, 28, 0.12);
  filter: brightness(1.06);
}

.store-badge-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Hero visual */
.hero-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

/* Device mockup */
.device {
  position: relative;
}

.device-frame {
  border-radius: 32px;
  padding: 8px;
  background: linear-gradient(155deg, #1e293b 0%, #0f172a 100%);
  box-shadow: var(--shadow-lg);
}

.device-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 25px;
  background: var(--surface);
}

.device--hero .device-frame {
  width: min(280px, 80vw);
}

.device--sm .device-frame {
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
}

/* Hero decorative blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.hero-blob--1 {
  width: 600px;
  height: 600px;
  background: var(--teal);
  top: -200px;
  right: -200px;
}

.hero-blob--2 {
  width: 400px;
  height: 400px;
  background: var(--cta);
  bottom: -100px;
  left: -150px;
  opacity: 0.1;
}

/* ═══════════════════ CHIPS ═══════════════════ */

.categories {
  padding: 1.25rem 0 1.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: transparent;
}

.categories .container {
  padding: 0.55rem 0.85rem;
  background: color-mix(in srgb, var(--bg) 78%, var(--surface) 22%);
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.chips {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  padding: 0.52rem 1.15rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.chip:hover {
  border-color: var(--cta);
  color: var(--cta);
}

.chip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.chip--active,
.chip[aria-pressed="true"] {
  background: var(--cta);
  color: var(--cta-text);
  border-color: var(--cta);
  box-shadow: 0 2px 8px rgba(244, 162, 97, 0.25);
}

/* ═══════════════════ SECTIONS COMMUN ═══════════════════ */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cta);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

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

.section-intro {
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1.35vw, 1.125rem);
  max-width: 54ch;
  line-height: 1.72;
  margin-bottom: 2.75rem;
}

/* ═══════════════════ SHOWCASE ═══════════════════ */

.showcase {
  background: var(--surface);
}

.showcase-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.showcase-card {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  border-radius: var(--r-lg);
}

/* Halo derrière le téléphone (Aperçu) */
.showcase-card .device {
  position: relative;
  z-index: 0;
}

.showcase-card .device::after {
  content: "";
  position: absolute;
  inset: -8px -6px -14px;
  border-radius: 38px;
  background: radial-gradient(
    ellipse 72% 58% at 50% 42%,
    color-mix(in srgb, var(--cta) 28%, transparent),
    color-mix(in srgb, var(--link) 12%, transparent) 45%,
    transparent 72%
  );
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.showcase-card:hover .device::after {
  opacity: 1;
}

.showcase-card .device-frame {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    filter 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-2px);
}

.showcase-card:hover .device-frame {
  transform: translateY(-12px) scale(1.04);
  box-shadow:
    var(--shadow-lg),
    0 22px 56px rgba(17, 24, 28, 0.12),
    0 0 0 1px color-mix(in srgb, var(--cta) 35%, transparent),
    0 18px 48px color-mix(in srgb, var(--link) 14%, transparent);
  filter: brightness(1.04) saturate(1.04);
}

@media (prefers-color-scheme: dark) {
  /* Après les règles light : ombre « argent » uniquement sur les mockups Aperçu */
  html:not([data-theme="light"]) .showcase-card .device-frame {
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(203, 213, 225, 0.22),
      0 2px 0 rgba(248, 250, 252, 0.07) inset,
      0 24px 56px rgba(148, 163, 184, 0.16);
  }

  html:not([data-theme="light"]) .showcase-card:hover .device-frame {
    box-shadow:
      0 26px 64px rgba(0, 0, 0, 0.58),
      0 0 0 1px rgba(226, 232, 240, 0.32),
      0 0 48px rgba(203, 213, 225, 0.22),
      0 2px 0 rgba(248, 250, 252, 0.1) inset;
  }
}

html[data-theme="dark"] .showcase-card .device-frame {
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(203, 213, 225, 0.22),
    0 2px 0 rgba(248, 250, 252, 0.07) inset,
    0 24px 56px rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .showcase-card:hover .device-frame {
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(226, 232, 240, 0.32),
    0 0 48px rgba(203, 213, 225, 0.22),
    0 2px 0 rgba(248, 250, 252, 0.1) inset;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card:hover .device-frame {
    transform: none;
    filter: none;
  }

  .showcase-card:hover .device::after {
    opacity: 0.55;
  }
}

.showcase-card--featured {
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--cta) 22%, var(--border));
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .showcase-card--featured {
    margin-top: -1rem;
    padding-top: 2rem;
  }
}

.showcase-card h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.showcase-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 30ch;
  margin-inline: auto;
}

/* ═══════════════════ FEATURES ═══════════════════ */

.features {
  background: var(--bg);
}

.features-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
  border-radius: 20px;
  transition:
    border-color 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card,
.step-card,
.showcase-card,
.store-badge-link {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  margin-bottom: 1rem;
}

.feature-icon--blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--link);
}

.feature-icon--teal {
  background: var(--teal-muted);
  color: #0a7ea4;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════ STEPS ═══════════════════ */

.steps {
  background: var(--surface);
}

.steps-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.step-card {
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
  border-radius: 20px;
  text-align: center;
  transition: box-shadow 0.28s var(--ease-out);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  font-size: 1.25rem;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.1);
  color: var(--link);
  margin-bottom: 1rem;
}

.step-number--accent {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ═══════════════════ MAP BANNER ═══════════════════ */

.map-banner {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.map-banner-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .map-banner-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.map-banner-copy p {
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.7;
}

.testimonial {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--cta);
  background: var(--bg);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.testimonial p {
  font-style: italic;
  color: var(--text) !important;
  margin-bottom: 0.5rem;
}

.testimonial footer {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cite-note {
  font-style: normal;
  opacity: 0.7;
}

/* Map illustration (pure CSS) */
.map-illustration {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  background: linear-gradient(
    160deg,
    rgba(95, 194, 216, 0.08) 0%,
    var(--surface) 42%,
    rgba(244, 162, 97, 0.06) 100%
  );
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-road {
  position: absolute;
  background: var(--border);
  border-radius: 2px;
}

.map-road--1 {
  width: 80%;
  height: 2px;
  top: 45%;
  left: 10%;
  transform: rotate(-8deg);
}

.map-road--2 {
  width: 2px;
  height: 60%;
  top: 20%;
  left: 55%;
  transform: rotate(5deg);
}

.map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2.5px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.map-pin--orange {
  background: var(--cta);
  top: 32%;
  left: 28%;
}

.map-pin--blue {
  background: var(--link);
  top: 50%;
  left: 62%;
}

.map-pin--teal {
  background: var(--teal);
  top: 22%;
  left: 68%;
}

.map-label {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ═══════════════════ PARTENAIRES (B2B) ═══════════════════ */

.partners {
  background: var(--bg-glass-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--border);
}

.partners-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .partners-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
  }
}

.partners-copy .section-intro.partners-lead {
  margin-bottom: 1.5rem;
}

.partners-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partners-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.partners-points strong {
  color: var(--text);
  font-weight: 600;
}

.partners-points-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--teal-muted);
  color: var(--focus);
}

.partners-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.partners-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.55;
}

.partners-aside {
  display: none;
}

@media (min-width: 900px) {
  .partners-aside {
    display: block;
  }
}

.partners-deco {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 400px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(168deg, color-mix(in srgb, var(--bg) 96%, white) 0%, var(--surface) 48%, color-mix(in srgb, var(--surface) 92%, var(--bg)) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(10, 126, 164, 0.045) 11px,
      rgba(10, 126, 164, 0.045) 12px
    );
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.partners-deco::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%235fc2d8' stroke-width='0.4' opacity='0.25' d='M0 40h10v10h10V20h20v30h10V30h10v10h20M40 0v80'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
}

.partners-deco::after {
  content: "";
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 42%;
  border-radius: 4px 4px var(--r-md) var(--r-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom-width: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), var(--surface));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg) 80%, white);
  opacity: 0.65;
  pointer-events: none;
}

/* ═══════════════════ WAITLIST ═══════════════════ */

.waitlist-section {
  background: var(--bg-glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.waitlist-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.waitlist-logo {
  margin-inline: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 10px rgba(244, 162, 97, 0.25));
}

.waitlist-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.waitlist-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.waitlist-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.waitlist-form {
  max-width: 420px;
  margin-inline: auto;
}

.waitlist-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .waitlist-row {
    flex-direction: row;
  }
}

.waitlist-row input[type="email"] {
  flex: 1;
  min-height: 48px;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.9375rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-row input:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2);
}

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

.waitlist-check {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.waitlist-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cta);
}

.waitlist-status {
  min-height: 1.35rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.waitlist-status[data-state="success"] {
  color: #15803d;
}

.waitlist-status[data-state="error"] {
  color: #b91c1c;
}

/* ═══════════════════ FAQ ═══════════════════ */

.faq-section {
  background: var(--surface);
}

.faq-list {
  margin: 0;
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

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

.faq-q:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--cta);
  border-bottom: 2px solid var(--cta);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(-135deg);
}

.faq-a {
  margin: 0;
  padding-bottom: 1.1rem;
}

.faq-a p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-a a {
  color: var(--link);
  font-weight: 600;
}

/* ═══════════════════ FOOTER ═══════════════════ */

.footer {
  background: var(--bg);
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  padding: clamp(2.75rem, 5vw, 3.5rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.footer-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  color: var(--cta);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--link);
}

.footer-contact-blurb {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 32ch;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ═══════════════════ ANIMATIONS DOUCES ═══════════════════ */

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .showcase-card,
  .feature-card,
  .step-card,
  .waitlist-card,
  .partners-grid {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
  }

  .hero-content { animation-delay: 0.1s; }
  .partners-grid { animation-delay: 0.12s; }
  .hero-visual { animation: fadeUp 0.6s 0.25s ease forwards; opacity: 0; transform: translateY(20px); }

  .showcase-card:nth-child(1) { animation-delay: 0.1s; }
  .showcase-card:nth-child(2) { animation-delay: 0.2s; }
  .showcase-card:nth-child(3) { animation-delay: 0.3s; }

  .feature-card:nth-child(1) { animation-delay: 0.1s; }
  .feature-card:nth-child(2) { animation-delay: 0.15s; }
  .feature-card:nth-child(3) { animation-delay: 0.2s; }
  .feature-card:nth-child(4) { animation-delay: 0.25s; }

  .step-card:nth-child(1) { animation-delay: 0.1s; }
  .step-card:nth-child(2) { animation-delay: 0.2s; }
  .step-card:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
