/* Hello Charline — styles vitrine */

/* Nunito Variable — typo des écrans assistant (identique au prototype) */
@font-face {
  font-family: 'Nunito Variable';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/Nunito-Variable.woff2') format('woff2');
}

:root {
  --cream: #fcf9f4;
  --ink: #2b2722;
  --ink-soft: #5a534b;
  --ink-muted: #8a8178;
  --clay: #b85a3c;
  --clay-light: #d4a088;
  --sand: #f4ebde;
  --sand-50: #faf6f0;
  --sage: #566f50;
  --sage-light: #7a9470;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(43, 39, 34, 0.10);
  --shadow-sm: 0 12px 32px rgba(43, 39, 34, 0.06);
  --radius: 1.5rem;
  --radius-lg: 2rem;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;

  /* Interface assistant */
  --asst-bg: #0d1117;
  --asst-bg-soft: #161b22;
  --asst-blue: #1d4ed8;
  --asst-blue-bright: #2563eb;
  --asst-navy: #1e3a5f;
  --asst-green: #34c759;
  --asst-green-hover: #2db84d;
  --asst-text: #ffffff;
  --asst-text-muted: #8b949e;
  --asst-frame: #1a1f26;
  --asst-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  --asst-radius: 20px;
  --asst-font: 'Nunito Variable', 'Nunito', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

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

.sr-only:focus {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 200;
  width: auto; height: auto;
  padding: 0.75rem 1.25rem;
  margin: 0;
  clip: auto;
  overflow: visible;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(252, 249, 244, 0.92);
  backdrop-filter: blur(12px);
  border-color: rgba(43, 39, 34, 0.08);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .menu-btn { color: var(--ink); }

.site-header.is-scrolled .btn-header {
  background: var(--ink);
  color: var(--cream);
}

/* Hero sombre : texte blanc (sauf header clair dédié) */
.site-header:not(.is-scrolled):not(.site-header--light) .logo,
.site-header:not(.is-scrolled):not(.site-header--light) .nav-link,
.site-header:not(.is-scrolled):not(.site-header--light) .menu-btn { color: var(--white); }

.site-header:not(.is-scrolled):not(.site-header--light) .btn-header {
  background: var(--white);
  color: var(--ink);
}

.site-header:not(.is-scrolled):not(.site-header--light) .btn-header:hover {
  background: rgba(255,255,255,0.9);
}

.site-header--light {
  background: rgba(252, 249, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 39, 34, 0.08);
}

.site-header--light .logo,
.site-header--light .nav-link,
.site-header--light .menu-btn { color: var(--ink); }

.site-header--light .btn-header {
  background: var(--ink);
  color: var(--cream);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 1.75rem;
  max-width: min(42vw, 11rem);
}

@media (min-width: 640px) {
  .logo__img { height: 2rem; max-width: 12.5rem; }
}

/* Logo sombre par défaut ; blanc sur hero */
.logo__img--light { display: none; }

.site-header:not(.is-scrolled):not(.site-header--light) .logo__img--dark { display: none; }
.site-header:not(.is-scrolled):not(.site-header--light) .logo__img--light { display: block; }

.site-header.is-scrolled .logo__img--light,
.site-header--light .logo__img--light { display: none; }

.site-header.is-scrolled .logo__img--dark,
.site-header--light .logo__img--dark { display: block; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-actions { display: none; align-items: center; gap: 0.5rem; }

.btn-header {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(43, 39, 34, 0.15);
}

.site-header:not(.is-scrolled):not(.site-header--light) .menu-btn {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.menu-btn span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--cream);
  padding: 1.5rem;
}

.mobile-menu.is-open { display: block; }

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(43,39,34,0.08);
}

@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-full { width: 100%; }
.btn svg { width: 1.25rem; height: 1.25rem; }

/* ── Hero (mobile-first) ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  min-height: 100dvh;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}

/* Photo plein écran */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink) url('../images/hero-charline.jpg') center 22% / cover no-repeat;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Mobile : visage centré en haut */
  object-position: center 22%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Mobile : fort dégradé bas pour lisibilité du texte */
  background:
    linear-gradient(
      to top,
      rgba(15, 12, 9, 0.97) 0%,
      rgba(15, 12, 9, 0.88) 28%,
      rgba(15, 12, 9, 0.45) 55%,
      rgba(15, 12, 9, 0.12) 78%,
      rgba(15, 12, 9, 0.05) 100%
    );
}

/* Contenu ancré en bas */
.hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding:
    calc(var(--header-h) + 1.25rem)
    0
    max(1.25rem, env(safe-area-inset-bottom, 0px));
}

.hero__panel {
  width: 100%;
  padding: 1.25rem 0 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
}

.hero__title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--white);
}

.hero__title-muted {
  display: block;
  margin-top: 0.15em;
  color: rgba(255, 255, 255, 0.68);
}

.hero__desc {
  margin: 0.875rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero__desc strong {
  font-weight: 600;
  color: var(--white);
}

/* CTA : colonne pleine largeur sur mobile */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.hero__btn {
  width: 100%;
  justify-content: center;
}

.hero__reasons {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__reasons-label {
  margin: 0 0 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}

.hero__reasons-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero__reasons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.hero__reasons-list svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--clay-light);
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
}

.hero__status-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay-light);
}

/* Tablette */
@media (min-width: 640px) {
  .hero__photo {
    object-position: 42% 30%;
  }

  .hero__scrim {
    background:
      linear-gradient(
        to top,
        rgba(15, 12, 9, 0.92) 0%,
        rgba(15, 12, 9, 0.65) 35%,
        rgba(15, 12, 9, 0.2) 65%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        rgba(15, 12, 9, 0.55) 0%,
        rgba(15, 12, 9, 0.2) 45%,
        transparent 70%
      );
  }

  .hero__body {
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__panel {
    max-width: 36rem;
    padding-top: 1.5rem;
  }

  .hero__title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
  }

  .hero__desc {
    margin-top: 1rem;
    font-size: 1.0625rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero__btn {
    width: auto;
  }

  .hero__reasons-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .hero__reasons-list li:last-child {
    grid-column: 1 / -1;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero__photo {
    object-position: 62% center;
  }

  .hero__scrim {
    background:
      linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.35) 42%,
        rgba(0, 0, 0, 0.12) 100%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.35) 38%,
        transparent 62%
      );
  }

  .hero__body {
    padding:
      calc(var(--header-h) + 2rem)
      0
      max(3.5rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__panel {
    max-width: 42rem;
    padding-top: 2rem;
  }

  .hero__title {
    font-size: clamp(2.75rem, 4.2vw, 4.25rem);
    letter-spacing: -0.035em;
  }

  .hero__desc {
    margin-top: 1.25rem;
    font-size: 1.1875rem;
    line-height: 1.65;
    max-width: 32rem;
  }

  .hero__actions {
    margin-top: 2rem;
  }

  .hero__reasons {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .hero__reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
  }

  .hero__reasons-list li:last-child {
    grid-column: auto;
  }

  .hero__status {
    margin-top: 1.5rem;
    font-size: 0.875rem;
  }
}

/* Grand écran : contenu à gauche, photo respire à droite */
@media (min-width: 1280px) {
  .hero__panel {
    max-width: 46rem;
  }

  .hero__photo {
    object-position: 68% center;
  }
}

.hero .reveal,
.hero .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Composants interface assistant ── */
.asst-frame,
.asst-frame * {
  font-family: var(--asst-font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'wght' 500;
}

.asst-frame {
  background: var(--asst-frame);
  border-radius: calc(var(--asst-radius) + 8px);
  padding: 10px;
  box-shadow: var(--asst-shadow);
}

.asst-frame--lg { padding: 12px; }

.asst-screen {
  border-radius: var(--asst-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

/* Mode veille */
.asst-screen--standby {
  background: var(--asst-bg);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.asst-greeting {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--asst-text-muted);
}

.asst-clock {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  font-variation-settings: 'wght' 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--asst-text);
}

.asst-separator {
  width: 2.5rem;
  height: 1px;
  background: rgba(139, 148, 158, 0.45);
  margin: 1rem auto;
}

.asst-date {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--asst-text-muted);
}

/* Carte interaction (question) */
.asst-screen--prompt {
  background: var(--asst-blue);
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.asst-question {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  font-weight: 600;
  font-variation-settings: 'wght' 600;
  line-height: 1.5;
  color: var(--asst-text);
  max-width: 24ch;
}

.asst-btn-oui {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.8125rem 2.5rem;
  border: none;
  border-radius: 999px;
  background: var(--asst-green);
  color: var(--asst-text);
  font-size: 1.125rem;
  font-weight: 700;
  font-variation-settings: 'wght' 700;
  box-shadow: 0 4px 14px rgba(52, 199, 89, 0.35);
  cursor: default;
}

/* Carte message reçu */
.asst-screen--message {
  background: var(--asst-blue-bright);
  position: relative;
  padding: 2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.asst-message-text {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  font-weight: 600;
  font-variation-settings: 'wght' 600;
  line-height: 1.5;
  color: var(--asst-text);
  text-align: center;
  max-width: 28ch;
}

.asst-pill {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.4375rem 1.125rem;
  border-radius: 999px;
  background: var(--asst-navy);
  color: var(--asst-text);
  font-size: 0.875rem;
  font-weight: 600;
  font-variation-settings: 'wght' 600;
}

/* Showcase démonstration */
.assistant-flow {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

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

.assistant-flow__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.assistant-flow__label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--asst-text-muted);
}

.section--dark .assistant-flow__label { color: rgba(252, 249, 244, 0.55); }

.assistant-flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--asst-green);
  color: var(--asst-text);
  font-family: var(--asst-font);
  font-size: 0.75rem;
  font-weight: 700;
  font-variation-settings: 'wght' 700;
  flex-shrink: 0;
}

.assistant-flow__caption {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.section--dark .assistant-flow__caption,
.section--assistant .assistant-flow__caption {
  color: rgba(252, 249, 244, 0.65);
}

.assistant-flow__tagline {
  margin: 3rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: rgba(252, 249, 244, 0.85);
}

.section--assistant {
  background: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  color: var(--cream);
}

.section--assistant h2 .muted { color: rgba(252, 249, 244, 0.5); }
.section--assistant .lead { color: rgba(252, 249, 244, 0.65); }

/* Aperçu produit (photos prototype) */
.product-preview {
  margin-top: 0;
  margin-bottom: 3rem;
  padding-top: 0;
  border-top: none;
}

.product-preview__header {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.product-preview__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.product-preview__disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(252, 249, 244, 0.45);
}

.product-preview__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .product-preview__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.product-preview__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.product-preview__figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.assistant-flow__arrow {
  display: none;
  align-self: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .assistant-flow--connected {
    position: relative;
  }

  .assistant-flow--connected::before {
    content: '';
    position: absolute;
    top: 42%;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(52, 199, 89, 0.35), rgba(52, 199, 89, 0.35), transparent);
    pointer-events: none;
  }
}

/* Étapes avec aperçu intégré */
.step-with-screen {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

.step-with-screen .asst-frame {
  max-width: 100%;
  width: 100%;
}

.step-with-screen .asst-screen { aspect-ratio: 4 / 3; }

.step-with-screen .asst-greeting { font-size: 0.5625rem; letter-spacing: 0.28em; margin-bottom: 0.75rem; }
.step-with-screen .asst-clock { font-size: 1.75rem; }
.step-with-screen .asst-separator { width: 1.5rem; margin: 0.5rem auto; }
.step-with-screen .asst-date { font-size: 0.5rem; letter-spacing: 0.15em; }
.step-with-screen .asst-question { font-size: 0.6875rem; margin-bottom: 1rem; }
.step-with-screen .asst-btn-oui { font-size: 0.75rem; padding: 0.5rem 1.25rem; min-width: auto; }
.step-with-screen .asst-message-text { font-size: 0.6875rem; }
.step-with-screen .asst-pill { font-size: 0.625rem; padding: 0.25rem 0.625rem; right: 0.5rem; bottom: 0.5rem; }

/* Hero : écran veille compact */
/* Sections */
.section { padding: 5rem 0; scroll-margin-top: var(--header-h); }
.section--lg { padding: 7rem 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--sand { background: var(--sand-50); }

.section-header { max-width: 40rem; margin-bottom: 3.5rem; }
.section-header--center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay);
  margin-bottom: 1rem;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

h2 .muted, .h2 .muted { color: var(--ink-muted); }
.section--dark h2 .muted { color: rgba(252,249,244,0.55); }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 1.5rem 0 0;
}

.section--dark .lead { color: rgba(252,249,244,0.7); }

.reveal {
  opacity: 1;
  transform: none;
}

.no-js .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0; }

.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: 999px;
  border: 1px solid rgba(43,39,34,0.1);
  font-weight: 500; color: var(--ink-soft);
}

.tag svg { width: 1rem; height: 1rem; color: var(--clay); }

.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { border-radius: var(--radius); padding: 2rem; }
.card--light { background: var(--sand-50); border: 1px solid rgba(43,39,34,0.08); }
.card--dark { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.card--white { background: var(--white); border: 1px solid rgba(43,39,34,0.08); box-shadow: var(--shadow-sm); }

.card-label {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-muted); margin-bottom: 1.75rem;
}

.card--dark .card-label { color: rgba(252,249,244,0.7); }

.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: rgba(43,39,34,0.05); color: var(--ink-muted);
}

.card--dark .card-icon { background: rgba(255,255,255,0.1); color: var(--cream); }

.card-icon svg { width: 1.25rem; height: 1.25rem; }

.check-list, .cross-list { list-style: none; margin: 0; padding: 0; }

.check-list li, .cross-list li {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0;
  font-size: 1rem;
}

.check-list .icon {
  display: flex; align-items: center; justify-content: center;
  width: 1.625rem; height: 1.625rem; border-radius: 50%;
  background: var(--clay); color: var(--cream); flex-shrink: 0;
}

.card--dark .check-list .icon {
  background: var(--asst-green);
  color: var(--white);
}

.check-list .icon svg,
.cross-list .icon svg {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
  flex-shrink: 0;
}

.cross-list .icon {
  display: flex; align-items: center; justify-content: center;
  width: 1.625rem; height: 1.625rem; border-radius: 50%;
  background: rgba(43,39,34,0.06); color: var(--ink-muted); flex-shrink: 0;
}

.cross-list span {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(43,39,34,0.15);
}

.card-foot {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(252, 249, 244, 0.6);
}

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

.step {
  padding: 2rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--clay); color: var(--cream);
  font-family: var(--font-display); font-weight: 600;
  margin-bottom: 1.25rem;
}

.step h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 0.75rem; }
.step p { margin: 0; font-size: 0.9375rem; color: rgba(252,249,244,0.7); }

/* Ancien demo chat — conservé pour compatibilité minimale */
.demo-wrap { display: none; }

.media-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .media-grid { grid-template-columns: repeat(4, 1fr); } }

.media-card {
  text-align: center; padding: 2rem 1.5rem;
  border-radius: var(--radius); background: var(--white);
  border: 1px solid rgba(43,39,34,0.08);
}

.media-icon {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem;
  border-radius: 1rem; background: var(--sand); color: var(--clay);
}

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

.philosophy-item {
  padding: 2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(43,39,34,0.08);
  border-top: 3px solid var(--clay);
}

.stat { border-top: 1px solid rgba(43,39,34,0.1); padding-top: 1.25rem; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; margin: 0; }
.stat-label { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--ink-soft); }

.quote { text-align: center; max-width: 40rem; margin: 4rem auto 0; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500; line-height: 1.3; margin: 0;
}

.testimonial {
  padding: 1.75rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(43,39,34,0.08); height: 100%;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 500; margin: 0;
}

.signup-card {
  max-width: 28rem; margin: 3rem auto 0; padding: 2rem;
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow); border: 1px solid rgba(43,39,34,0.05);
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; }

.form-group input {
  width: 100%; padding: 0.875rem 1.25rem; border: none;
  border-radius: 1rem; background: var(--cream); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(43,39,34,0.1);
}

.form-group input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }

.form-hint { margin-top: 0.75rem; text-align: center; font-size: 0.875rem; color: var(--ink-muted); }

.form-message { margin-top: 1rem; padding: 0.875rem; border-radius: 0.75rem; text-align: center; display: none; }
.form-message.is-error { display: block; background: #fef2f2; color: #991b1b; }
.form-message.is-success { display: block; background: #f0fdf4; color: #166534; }

.signup-perks {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.75rem 1.75rem; margin-top: 2.5rem;
  list-style: none; padding: 0;
}

.signup-perks li { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-soft); font-weight: 500; }
.signup-perks svg { width: 1rem; height: 1rem; color: var(--sage); }

.site-footer {
  border-top: 1px solid var(--sand);
  background: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-grid { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) {
  .footer-grid { flex-direction: row; justify-content: space-between; }
}

.footer-brand p {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
}

.footer-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 3rem;
}

.footer-nav a { color: var(--ink-soft); }
.footer-nav a:hover { color: var(--clay); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-align: center;
}

.footer-bottom__line {
  margin: 0;
  line-height: 1.5;
}

.footer-bottom__sep {
  margin: 0 0.5rem;
  color: var(--ink-muted);
  opacity: 0.6;
}

@media (min-width: 640px) {
  .footer-bottom__line {
    white-space: nowrap;
  }
}

.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--ink); color: var(--cream);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600; line-height: 1.08;
  max-width: 20ch; margin: 0 0 1.5rem;
}

.investor-highlight { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .investor-highlight { grid-template-columns: repeat(2, 1fr); } }

.highlight-card {
  padding: 2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(43,39,34,0.08);
}

.roadmap { padding-left: 2rem; border-left: 2px solid var(--sand); }
.roadmap-item { position: relative; padding-bottom: 2.5rem; }
.roadmap-item:last-child { padding-bottom: 0; }

.roadmap-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.roadmap-item--active::before {
  background: var(--asst-green);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.22);
}

.roadmap-item--pending::before {
  background: var(--cream);
  border: 2px solid rgba(43, 39, 34, 0.18);
  width: 8px;
  height: 8px;
  left: calc(-2rem - 4px);
}

.roadmap-item h3 {
  margin: 0 0 0.375rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.roadmap-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.cta-band {
  padding: 4rem 2rem; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--cream); text-align: center;
}

.legal-content {
  max-width: 42rem;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 2.25rem; margin: 0 0 2rem;
}

.legal-content p, .legal-content li { color: var(--ink-soft); line-height: 1.7; }

.page-404 {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: 6rem; color: var(--clay); margin: 0;
}
