@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
/* Manrope max weight = 800 — used for all headings */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* ── Palette ── */
  --color-primary:       #639922;
  --color-primary-light: #97C459;
  --color-primary-dark:  #3B6D11;
  --color-bg:            #F7FAF2;
  --color-bg-card:       #ffffff;
  --color-text-main:     #173404;
  --color-text-muted:    #3B6D11;
  --color-border:        #C0DD97;

  /* ── Semantic aliases (cascade automatique en dark mode) ── */
  --white:       #ffffff;       /* texte sur fond sombre — ne pas toucher */
  --black:       var(--color-text-main);
  --muted:       var(--color-text-muted);
  --border:      var(--color-border);
  --input-bg:    #e8f5d0;
  --input-focus: #d4ebb0;
  --error:       #d93025;
  --success:     #1a7f4b;

  --font:       'Manrope', system-ui, -apple-system, sans-serif;
  --pill:       9999px;
  --btn-r:      10px;
  --r-sm:       14px;
  --ease:       0.2s ease;
  --navbar-h:   4.5rem;

  /* ── Typographic scale ── */
  --type-h1:        clamp(3rem, 5.5vw, 5rem);
  --type-h2:        clamp(2.4rem, 4.5vw, 3.8rem);
  --type-h3:        clamp(1.7rem, 3vw, 2.5rem);
  --type-h4:        clamp(1.1rem, 2vw, 1.35rem);

  /* ── Shared heading tokens ── */
  --heading-weight:   800;
  --heading-tracking: -0.03em;
  --heading-lh:       1.05;
  --heading-color:    var(--color-text-main);

  /* ── Sections éditoriales (personas, market, problem, storytelling) ── */
  --section-bg:              #F0F7E8;
  --section-bg-card:         #E4F0D0;
  --section-text:            #173404;
  --section-text-muted:      #3B6D11;
  --section-text-75:         rgba(23, 52, 4, 0.75);
  --section-text-70:         rgba(23, 52, 4, 0.70);
  --section-text-65:         rgba(23, 52, 4, 0.65);
  --section-text-60:         rgba(23, 52, 4, 0.60);
  --section-text-55:         rgba(23, 52, 4, 0.55);
  --section-text-40:         rgba(23, 52, 4, 0.40);
  --section-border:          rgba(59, 109, 17, 0.18);
  --section-border-06:       rgba(59, 109, 17, 0.06);
  --section-border-15:       rgba(59, 109, 17, 0.15);
  --section-border-20:       rgba(59, 109, 17, 0.20);
  --section-border-35:       rgba(59, 109, 17, 0.35);
  --section-badge-bg:        #D4ECAA;
  --section-badge-color:     #3B6D11;
  --section-stat-bar-bg:     #DDF0BB;
  --section-stat-bar-border: #97C459;
  --section-stat-num:        #3B6D11;
  --section-card-bg:         rgba(59, 109, 17, 0.04);
  --section-nav-bg:          rgba(0, 0, 0, 0.07);
  --section-nav-hover:       rgba(0, 0, 0, 0.12);
}

/* ── Dark mode ── */
html[data-theme="dark"] {
  color-scheme: dark;
  --color-bg:         #173404;
  --color-bg-card:    #27500A;
  --color-text-main:  #EAF3DE;
  --color-text-muted: #97C459;
  --color-border:     #3B6D11;
  --input-bg:         #2d5a10;
  --input-focus:      #3a7015;

  /* ── Sections éditoriales ── */
  --section-bg:              #0f2a06;
  --section-bg-card:         #173404;
  --section-text:            #EAF3DE;
  --section-text-muted:      #97C459;
  --section-text-75:         rgba(234, 243, 222, 0.75);
  --section-text-70:         rgba(234, 243, 222, 0.70);
  --section-text-65:         rgba(234, 243, 222, 0.65);
  --section-text-60:         rgba(234, 243, 222, 0.60);
  --section-text-55:         rgba(234, 243, 222, 0.55);
  --section-text-40:         rgba(234, 243, 222, 0.40);
  --section-border:          rgba(151, 196, 89, 0.18);
  --section-border-06:       rgba(151, 196, 89, 0.06);
  --section-border-15:       rgba(151, 196, 89, 0.15);
  --section-border-20:       rgba(151, 196, 89, 0.20);
  --section-border-35:       rgba(151, 196, 89, 0.35);
  --section-badge-bg:        #27500A;
  --section-badge-color:     #97C459;
  --section-stat-bar-bg:     #1a3a0a;
  --section-stat-bar-border: #3B6D11;
  --section-stat-num:        #97C459;
  --section-card-bg:         rgba(255, 255, 255, 0.04);
  --section-nav-bg:          rgba(255, 255, 255, 0.07);
  --section-nav-hover:       rgba(255, 255, 255, 0.12);
}

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Allow scroll when hero is present */
html:has(.hero),
body:has(.hero) {
  height: auto;
  min-height: 100%;
}

/* ─── SPLIT-SCREEN ─── */

.split {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.split__content {
  flex: 1;
  padding: calc(var(--navbar-h) + 1.5rem) 4rem 3rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
}

.split__image {
  flex: 0 0 38%;
  position: relative;
  overflow: visible;
  padding: 1.5rem;
  display: flex;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 24px 56px rgba(0,0,0,0.16),
    0 6px 18px rgba(0,0,0,0.08);
}

.split__image::before {
  display: none;
}

/* ─── SPLIT CENTRÉ ─── */

.split--centered {
  justify-content: center;
  height: auto;
  overflow: visible;
}
.split--centered .split__content {
  flex: 0 1 680px;
  text-align: center;
  overflow-y: visible;
}
.split--centered .page-header {
  text-align: center;
}
.split--centered .form__label,
.split--centered .form__error,
.split--centered .step-label {
  text-align: left;
}
.split--centered .radio-cards {
  align-items: stretch;
}
.split--centered .form-nav {
  justify-content: center;
}

/* ─── SWITCHER DE LANGUE ─── */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.6rem;
}

.lang-switch__item {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.lang-switch__item:hover {
  color: var(--black);
}

.lang-switch__item.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.lang-switch__sep {
  font-size: 0.6rem;
  color: var(--border);
}

/* ─── EN-TÊTE ─── */

.page-header {
  margin-bottom: 1.8rem;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

/* ─── TYPOGRAPHIC SYSTEM ─────────────────── */

/* H1 — main page titles */
.heading {
  font-family: var(--font);
  font-size: var(--type-h1);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-lh);
  color: var(--heading-color);
  margin-bottom: 1.1rem;
}

/* Dans le split__content, le heading descend au format H2 */
.split__content .heading {
  font-size: var(--type-h2);
}

/* Accented word inside a heading */
.heading span:not(.heading-badge):not(.btn__arrow) {
  color: var(--color-primary);
}

/* Inline badge component (screenshot-style) */
.heading-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  padding: 0.06em 0.45em 0.1em 0.32em;
  background: var(--black);
  color: var(--white);
  border-radius: 0.28em;
  font-size: 0.75em;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.55;
  vertical-align: middle;
  white-space: nowrap;
}

/* H4 — card / component titles */
.heading-4 {
  font-size: var(--type-h4);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-lh);
  color: var(--heading-color);
}

/* Subheading / body-under-title */
.subheading {
  font-size: 0.94rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

/* ─── INDICATEUR D'ÉTAPES ─── */

.steps-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease);
}

.step-dot.active {
  background: var(--black);
  transform: scale(1.4);
}

.step-dot.done {
  background: var(--black);
  opacity: 0.3;
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 8px;
  transition: background var(--ease), opacity var(--ease);
}

.step-line.done {
  background: var(--black);
  opacity: 0.25;
}

/* ─── ÉTIQUETTE D'ÉTAPE ─── */

.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

/* ─── RADIO PILLS ─── */

.radio-cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.radio-card {
  display: block;
  cursor: pointer;
  width: 100%;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.radio-card__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.35rem;
  border: none;
  border-radius: var(--btn-r);
  background: var(--input-focus);
}

.radio-card:hover .radio-card__inner {
  background: var(--color-border);
}

.radio-card input:checked + .radio-card__inner {
  background: var(--color-border);
}

.radio-card__marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary-dark);
  flex-shrink: 0;
  position: relative;
  background: var(--color-bg-card);
}

.radio-card input:checked + .radio-card__inner .radio-card__marker {
  border-color: var(--color-primary-dark);
  border-width: 2px;
  background: var(--color-primary);
}

.radio-card__marker::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
  transform: scale(0);
}

.radio-card input:checked + .radio-card__inner .radio-card__marker::after {
  transform: scale(1);
}

.radio-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
  display: block;
  letter-spacing: -0.01em;
}

/* masqué partout mais conservé dans le DOM pour les autres étapes */
.radio-card__desc {
  display: none;
}

/* ─── FORMULAIRE ─── */

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: slideIn 0.24s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 2 colonnes côte à côte */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.form__group {
  margin-bottom: 1.4rem;
}

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.form__label em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

/* Inputs pill-shaped, fond gris, sans bordure */
.form__input,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1.2rem;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--black);
  background: var(--input-bg);
  border: none;
  border-radius: var(--btn-r);
  outline: none;
  appearance: none;
  transition: background var(--ease), box-shadow var(--ease);
}

.form__textarea {
  border-radius: var(--btn-r);
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

select.form__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.8rem;
  cursor: pointer;
}

.form__input:focus,
.form__textarea:focus {
  background: var(--input-focus);
  box-shadow: 0 0 0 2.5px rgba(0,0,0,0.12);
}

.form__input.is-invalid,
.form__textarea.is-invalid {
  background: #fbeaea;
  box-shadow: 0 0 0 2px rgba(217,48,37,0.25);
}

.form__input.is-valid,
.form__textarea.is-valid {
  background: #eaf4ee;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #b0b0b0;
}

.form__error {
  display: none;
  margin-top: 0.3rem;
  padding-left: 0.4rem;
  font-size: 0.73rem;
  color: var(--error);
}

.form__error.visible {
  display: block;
}

.form__success {
  display: none;
  margin-top: 1.1rem;
  padding: 0.85rem 1.1rem;
  background: #eaf4ee;
  border-left: 2.5px solid var(--success);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--success);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.form__success.visible {
  display: block;
}

/* ─── NAVIGATION FORMULAIRE ─── */

.form-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.form-nav .btn--primary {
  width: 100%;
  justify-content: center;
}

button[type="submit"] .btn__arrow,
.btn--submit .btn__arrow {
  display: none;
}
button[type="submit"].btn--primary,
.btn--submit.btn--primary {
  padding-right: 1.2rem;
}

a.btn .btn__arrow {
  display: none;
}
a.btn--primary {
  padding-right: 1.2rem;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}
.btn--secondary[href^="#"]:hover {
  animation: scroll-bounce 0.6s ease-in-out;
}

/* Retour — lien discret centré */
.form-nav .btn--ghost {
  align-self: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.4rem 0;
}

/* ─── BOUTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.55rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--btn-r);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition:
    background    var(--ease),
    box-shadow    var(--ease),
    transform     var(--ease),
    opacity       var(--ease);
}

/* ── Arrow → badge inscrit dans le bouton avec gap uniforme ──
   Technique : align-self stretch + marges négatives pour
   s'étendre dans la zone de padding tout en gardant un gap
   identique sur les 3 côtés (haut, bas, droite).
   gap = padding_vertical - |margin-block| = 0.82 - 0.47 = 0.35rem ── */
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  aspect-ratio: 1 / 1;
  width: auto;
  height: auto;
  margin-block: -0.47rem;
  border-radius: calc(var(--btn-r) - 4px);
  background: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease);
}

/* ── Primary (vert) ── */
.btn--primary {
  background: var(--color-primary);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(99, 153, 34, 0.36);
  padding-right: 0.35rem; /* = gap uniforme autour du badge arrow */
}

.btn--primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(99, 153, 34, 0.46);
}

.btn--primary:hover:not(:disabled) .btn__arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(2px);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(99, 153, 34, 0.28);
}

.btn--primary:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── Full width ── */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Secondary : outline sombre ── */
.btn--secondary {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px var(--black);
}

.btn--secondary:active:not(:disabled) {
  transform: translateY(0);
}

/* ── Ghost / retour ── */
.btn--ghost {
  background: none;
  color: var(--muted);
  padding: 0.82rem 0;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 0;
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--black);
  background: none;
  transform: none;
  box-shadow: none;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1000px) {
  .split {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .split__content {
    padding: 2.4rem 2rem;
    overflow-y: visible;
    order: 2;
  }

  .split__image {
    flex: none;
    height: 42vh;
    order: 1;
  }

  .heading {
    font-size: clamp(2.2rem, 8vw, var(--type-h1));
  }

  .hero__heading {
    font-size: clamp(2rem, 7vw, var(--type-h2));
  }

  .apps-bar__title {
    font-size: clamp(1.6rem, 5vw, var(--type-h3));
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .split__content {
    padding: calc(var(--navbar-h) + 1rem) 1.2rem 2rem;
  }
}

/* ─── NAVBAR ─── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 1.25rem;
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: var(--color-bg-card);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 6px 24px rgba(0,0,0,0.07);
  border: 1px solid var(--color-border);
  pointer-events: all;
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
  flex: 1;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}


.navbar__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--black);
  border-radius: 8px;
  flex-shrink: 0;
}

.navbar__logo-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}

.navbar__link:hover {
  background: var(--input-bg);
}

.navbar__chevron {
  font-size: 0.58rem;
  opacity: 0.4;
  line-height: 1;
  transition: opacity var(--ease);
}

.navbar__link:hover .navbar__chevron {
  opacity: 0.75;
}

.btn--blue {
  background: var(--color-primary);
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(99, 153, 34, 0.36);
}

.btn--blue:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(99, 153, 34, 0.46);
}

.btn--blue:hover:not(:disabled) .btn__arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(2px);
}

.btn--blue:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(99, 153, 34, 0.28);
}

/* ─── BACK LINK (contact / merci) ─── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color var(--ease);
}

.back-link:hover {
  color: var(--black);
}

/* ─── LANGUAGE DROPDOWN ─── */

.lang-dropdown {
  position: relative;
}

.lang-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  border-radius: 8px;
  list-style: none;
  user-select: none;
  white-space: nowrap;
  transition: background var(--ease);
}

.lang-dropdown__btn::-webkit-details-marker,
.lang-dropdown__btn::marker {
  display: none;
}

.lang-dropdown__btn:hover {
  background: var(--input-bg);
}

.lang-dropdown__chevron {
  transition: transform var(--ease);
  flex-shrink: 0;
}

details.lang-dropdown[open] .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  background: var(--color-bg-card);
  border-radius: 12px;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.10),
    0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  padding: 0.35rem;
  list-style: none;
  min-width: 78px;
  z-index: 200;
  animation: dropdownIn 0.14s ease;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-dropdown__item {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.04em;
  transition: background var(--ease), color var(--ease);
}

.lang-dropdown__item:hover,
.lang-dropdown__item.active {
  background: var(--input-bg);
  color: var(--black);
}

/* ─── RESPONSIVE NAVBAR ─── */

@media (max-width: 860px) {
  /* Cacher les liens desktop, montrer le toggle */
  .navbar__links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    z-index: 200;
    gap: 0.15rem;
  }

  .navbar {
    padding: 0.5rem;
    padding-left: 1rem;
  }
}

@media (max-width: 1000px) {
  .split__content {
    padding-top: calc(var(--navbar-h) + 1rem);
  }
}

/* ═══════════════════════════════════════
   APPS BAR
═══════════════════════════════════════ */

/* ══════════════════════════════════════════
   PERSONAS
══════════════════════════════════════════ */
#personas {
  background: var(--section-bg);
  padding: 80px 5%;
}

.personas-container {
  max-width: 1100px;
  margin: 0 auto;
}

.personas__heading {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--section-text);
}

/* Carte englobante avec bordure arrondie */
.personas-card {
  border: 1px solid var(--section-border);
  border-radius: 20px;
  overflow: hidden;
}

.personas-slides {
  position: relative;
}

.persona-slide {
  display: flex;
  flex-direction: row;
  height: 360px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 300ms ease;
}

.persona-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

/* Colonne gauche */
.persona-content {
  width: 50%;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: var(--section-bg-card);
}

.persona-route {
  font-size: 14px;
  color: var(--section-text-75);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.7;
}

.persona-stat-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.persona-stat-bar span {
  font-size: 13px;
  color: var(--section-text);
  background: var(--section-stat-bar-bg);
  border: 1px solid var(--section-stat-bar-border);
  border-radius: 6px;
  padding: 6px 14px;
  white-space: nowrap;
  font-weight: 500;
}

/* Footer auteur */
.persona-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.persona-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.persona-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--section-border-15);
  flex-shrink: 0;
  border: 2px solid var(--section-border-35);
}

.persona-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--section-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.persona-meta {
  font-size: 15px;
  color: var(--section-text-muted);
  margin: 0;
}

.persona-readmore {
  font-size: 14px;
  color: var(--section-text-muted);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  transition: opacity 150ms;
}

.persona-readmore:hover {
  opacity: 0.75;
}

/* Colonne droite */
.persona-image {
  width: 50%;
}

.persona-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.persona-map {
  width: 100%;
  height: 100%;
  border-radius: 0 20px 20px 0;
}

/* Tooltips Leaflet custom */
.persona-map-label {
  background: var(--section-bg-card) !important;
  border: 1px solid var(--section-text-muted) !important;
  color: var(--section-text) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
  white-space: nowrap !important;
}

.persona-map-label::before {
  display: none !important;
}

/* Navigation */
.personas-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 28px;
}

.nav-names {
  display: flex;
  gap: 32px;
}

.nav-name {
  font-size: 15px;
  color: var(--section-text-40);
  cursor: pointer;
  transition: color 200ms, font-weight 200ms;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  font-weight: 400;
}

.nav-name.active {
  color: var(--section-text);
  font-weight: 700;
  border-bottom: 1.5px solid var(--section-text-muted);
}

.nav-arrows {
  position: absolute;
  right: 0;
  display: flex;
  gap: 8px;
}

.nav-prev,
.nav-next {
  background: var(--section-nav-bg);
  border: 1px solid var(--section-border-20);
  border-radius: 8px;
  color: var(--section-text);
  font-size: 16px;
  cursor: pointer;
  padding: 6px 12px;
  transition: background 150ms;
  line-height: 1;
}

.nav-prev:hover,
.nav-next:hover {
  background: var(--section-nav-hover);
}

@media (max-width: 768px) {
  .persona-slide {
    flex-direction: column;
    height: auto;
  }

  .persona-content,
  .persona-image {
    width: 100%;
  }

  .persona-image {
    height: 260px;
  }

  .nav-arrows {
    position: static;
    margin-left: 24px;
  }
}

/* ══════════════════════════════════════════
   MARKET
══════════════════════════════════════════ */
.market {
  background: var(--section-bg);
  padding: 80px 5%;
}

.market__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.market__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.market__badge {
  display: inline-block;
  background: var(--section-badge-bg);
  color: var(--section-badge-color);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.market__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--section-text);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.market__sub {
  max-width: 680px;
  font-size: 17px;
  color: var(--section-text-65);
  line-height: 1.65;
  margin: 0;
}

.market__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.market__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  background: var(--section-card-bg);
  border: 1px solid var(--section-border-15);
  border-radius: 16px;
}

.market__stat-num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--section-stat-num);
  line-height: 1;
  letter-spacing: -0.03em;
}

.market__stat-label {
  font-size: 14px;
  color: var(--section-text-60);
  line-height: 1.5;
}

.market__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--section-border-20);
}

.market__col-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--section-text);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.market__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.market__list li {
  font-size: 15px;
  color: var(--section-text-70);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.market__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--section-text-muted);
}

.market__col-text {
  font-size: 15px;
  color: var(--section-text-70);
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

.market__conclusion {
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--section-text);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--section-border-20);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .market__stats {
    grid-template-columns: 1fr;
  }

  .market__columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ══════════════════════════════════════════
   STORYTELLING — deux colonnes + mur photos
══════════════════════════════════════════ */
.storytelling {
  padding: 80px 5%;
  background: var(--section-bg-card);
}

.storytelling__layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.storytelling__heading {
  max-width: 620px;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--section-text);
}

.storytelling__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.storytelling__badge {
  display: inline-block;
  width: fit-content;
  background: var(--section-badge-bg);
  color: var(--section-badge-color);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.storytelling__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--section-text);
  line-height: 1.2;
  margin: 0;
}

.storytelling__para {
  color: var(--section-text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.storytelling__signature {
  font-size: 14px;
  color: var(--color-primary);
  font-style: italic;
  margin: 0;
}

/* ── Mur de cadres — grid 4 cols × 3 lignes ──
   Layout :
   [fp-1 fp-1][fp-2][fp-3]    ← row 1 : 200px
   [fp-4][fp-5 fp-5][fp-6]    ← row 2 : 160px  fp-6 s'étend sur rows 2-3
   [fp-7 fp-7][fp-8][fp-6]    ← row 3 : 170px
   ── */
.founder-wall {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr 1fr;
  grid-template-rows: 200px 160px 170px 140px;
  gap: 10px;
  width: 100%;
}

/* Placements individuels (sur les wrappers .founder-frame) */
.fp-1 { grid-column: 1 / 3; grid-row: 1; }
.fp-2 { grid-column: 3;     grid-row: 1; }
.fp-3 { grid-column: 4;     grid-row: 1; }
.fp-4 { grid-column: 1;     grid-row: 2; }
.fp-5 { grid-column: 2 / 4; grid-row: 2; }
.fp-6 { grid-column: 4;     grid-row: 2 / 4; }
.fp-7 { grid-column: 1 / 3; grid-row: 3; }
.fp-8 { grid-column: 3;     grid-row: 3; }
.fp-9 { grid-column: 1 / 5; grid-row: 4; }

.founder-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.founder-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fp-7 .founder-photo { object-position: center calc(50% - 25px); }
.fp-9 .founder-photo { object-position: center 40%; }

.founder-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px 7px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .storytelling__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .storytelling {
    padding: 60px 5%;
  }
}

@media (max-width: 600px) {
  .founder-wall {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 130px 150px;
  }

  .fp-1 { grid-column: 1 / 3; grid-row: 1; }
  .fp-2 { grid-column: 1;     grid-row: 2; }
  .fp-3 { grid-column: 2;     grid-row: 2; }
  .fp-4 { grid-column: 1;     grid-row: 3; }
  .fp-5 { grid-column: 2;     grid-row: 3; }
  .fp-6, .fp-7, .fp-8 { display: none; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .storytelling__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .storytelling {
    padding: 60px 5%;
  }

  .founder-wall {
    height: 400px;
  }
}

/* ══════════════════════════════════════════
   LE PROBLÈME — section sombre permanente
══════════════════════════════════════════ */
.problem {
  background: var(--section-bg);
  padding: 7rem 2rem;
}

.problem__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ── Header ── */
.problem__header {
  text-align: center;
  margin-bottom: 5rem;
}

.problem__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--section-text);
  margin: 0 0 1.5rem;
}

.problem__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--section-text-60);
  max-width: 56ch;
  margin: 0 auto;
}

/* ── Statement — bloc texte fort entre sous-titre et cartes ── */
.problem__statement {
  max-width: 780px;
  margin: 0 auto 4.5rem;
  text-align: center;
  border-top: 1px solid var(--section-border);
  padding-top: 3.5rem;
}

.problem__statement-main {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--section-text);
  margin: 0 0 1.25rem;
}

.problem__statement-detail {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--section-text-muted);
  margin: 0;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Cards grid ── */
.problem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.problem__card {
  background: var(--section-card-bg);
  border: 1px solid var(--section-border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  transition: background var(--ease), border-color var(--ease);
}

.problem__card-icon--lg {
  margin-bottom: 1.5rem;
}

.problem__card:hover {
  background: var(--section-border-06);
  border-color: var(--section-border-35);
}

.problem__card-icon {
  margin-bottom: 1.25rem;
}

/* ── Stat number ── */
.problem__stat {
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--section-stat-num);
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  margin-bottom: 0.5rem;
}

.problem__stat-unit {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--section-stat-num);
}

.problem__card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--section-text);
  margin: 0 0 0.6rem;
}

.problem__card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--section-text-55);
  margin: 0;
}

/* ── Conclusion ── */
.problem__conclusion {
  text-align: center;
  margin-top: 4.5rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--section-text);
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .problem__cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .problem {
    padding: 5rem 1.5rem;
  }

  .problem__header {
    margin-bottom: 3rem;
  }
}

@media (min-width: 480px) and (max-width: 860px) {
  .problem__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.apps-bar {
  padding: 5rem 2rem;
  background: var(--color-bg);
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.apps-bar__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* H3 — subsection titles */
.apps-bar__title {
  font-size: var(--type-h3);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  color: var(--heading-color);
  line-height: var(--heading-lh);
  margin-bottom: 0.75rem;
}

.apps-bar__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  opacity: 0.85;
}

.apps-bar__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Cercle d'apps ── */
.apps-orbit {
  position: relative;
  width: 820px;
  height: 560px;
  margin: 0 auto;
}

.apps-orbit__sat {
  position: absolute;
  width: 140px;
}

.apps-orbit__center {
  position: absolute;
  left: 330px;
  top: 75px;
}

.apps-orbit__center .app-card__icon {
  width: 140px !important;
  height: 140px !important;
}

/* ── Slot animé central — marquee vertical style Stripe ──
   Principe : 2 séries identiques d'images bout à bout.
   On anime translateY(0 → -50%) en linear infinite.
   Quand la série 1 sort par le haut, la série 2 prend
   exactement sa place → boucle seamless sans saut.       */
.center-slot {
  width: 140px;
  height: 340px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
  /* Fade en haut et en bas — image centrale toujours nette */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 28%,
    black 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 28%,
    black 72%,
    transparent 100%
  );
}

.center-marquee {
  display: flex;
  flex-direction: column;
  /* 8 images × 160px (140 + 20 gap) = 1280px total
     -50% = -640px = exactement 1 série → retour seamless */
  gap: 20px;
  animation: verticalMarquee 16000ms linear infinite;
}

@keyframes verticalMarquee {
  0%   { transform: translateY(0); }
  100% { transform: translateY(calc(-50% - 10px)); }
}

.center-marquee img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  flex-shrink: 0;
}

.apps-orbit__center .app-card__name {
  font-size: 22px !important;
  font-weight: 800 !important;
}

.app-card__value {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.35;
  max-width: 140px;
  opacity: 0.8;
}

@media (max-width: 800px) {
  .apps-orbit {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    padding: 0.5rem 0;
    max-width: 380px;
    margin: 0 auto;
  }

  .apps-orbit::before { display: none; }

  .apps-orbit__sat {
    position: static;
    width: auto;
    transform: none;
    order: 0;
    justify-self: center;
  }

  /* Le bloc +100 OTAs passe en bas, centré sur les 2 colonnes */
  .apps-orbit__center {
    position: static;
    width: auto;
    transform: none;
    order: 10;
    grid-column: 1 / 3;
    justify-self: center;
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: default;
}

.app-card__icon {
  width: 90px;
  height: 90px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform var(--ease), box-shadow var(--ease);
}

/* ── Image-based icon : logo remplissant (cover) ── */
.app-card__icon--img {
  padding: 0;
  overflow: hidden;
}
.app-card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Image-based icon : logo transparent centré (contain + padding) ── */
.app-card__icon--pad {
  padding: 16%;
  box-sizing: border-box;
}
.app-card__icon--pad img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app-card:hover .app-card__icon {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.app-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

.app-card__desc {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
  max-width: 96px;
  margin-top: 0.1rem;
}

/* ── Ticker v2 : la card entière monte et disparaît, remplacée par la suivante ── */

.app-card__ticker-v2 {
  width: 90px;
  height: 90px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform var(--ease), box-shadow var(--ease);
}

.app-card:hover .app-card__ticker-v2 {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.ticker-v2__slot {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  opacity: 0;
  animation: slotCycle 9s ease-in-out infinite;
}

.ticker-v2__slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Décalage de phase : chaque logo apparaît toutes les 3 s */
.ticker-v2__slot:nth-child(1) { animation-delay:  0s; }
.ticker-v2__slot:nth-child(2) { animation-delay: -6s; }
.ticker-v2__slot:nth-child(3) { animation-delay: -3s; }

/*
  Cycle 9 s / 3 logos = 3 s par logo
  0 %  → 3 % : glisse depuis le bas    (0 → 0.27 s)
  3 %  → 30 % : visible                (0.27 → 2.7 s)
  30 % → 33 % : glisse vers le haut    (2.7 → 2.97 s)
  33 % → 100 % : caché en bas (attente)
*/
@keyframes slotCycle {
  0%         { transform: translateY(100%);  opacity: 0; }
  3%         { transform: translateY(0);     opacity: 1; }
  30%        { transform: translateY(0);     opacity: 1; }
  33%        { transform: translateY(-105%); opacity: 0; }
  34%, 100%  { transform: translateY(100%);  opacity: 0; }
}

@media (max-width: 600px) {
  .apps-bar {
    padding: 3.5rem 1.5rem;
  }
  .apps-bar__grid {
    gap: 1.5rem;
  }
  .app-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
  .app-card__ticker-v2 {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
}

/* ══════════════════════════════════════════
   FEATURE TABS
══════════════════════════════════════════ */
.feature-tabs {
  padding: 7rem 2rem;
  background: var(--color-bg);
}

/* ── Header centré au-dessus du layout ── */
.feature-tabs__header {
  max-width: 660px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.feature-tabs__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text-main);
  margin: 0 0 0.75rem;
}

.feature-tabs__subheading {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.feature-tabs__layout {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 4.5rem;
}

.feature-tabs--reversed .feature-tabs__layout {
  flex-direction: row-reverse;
}

/* ── LEFT: Visual (prend tout l'espace restant, comme .hero__text) ── */
.feature-tabs__visual {
  flex: 1;
  min-width: 0;
}

.feature-tabs__frame {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-bg-card);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, .06),
    0 24px 64px rgba(0, 0, 0, .13);
}

.feature-tabs__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  overflow: hidden;
}

.feature-tabs__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-tabs__img.is-active {
  opacity: 1;
}

/* ── RIGHT: Colonne droite wrapper (largeur fixe, comme .hero__visual) ── */
.feature-tabs__side {
  flex-shrink: 0;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Carte blanche/thémée — grandit pour remplir la hauteur de l'image ── */
.feature-tabs__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
}

/* ── Step indicators ── */
.feature-tabs__steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.feature-tab-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--btn-r);
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease);
}

.feature-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.feature-tab-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.06);
}

.feature-tabs__connector {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  max-width: 64px;
  min-width: 12px;
}

/* ── Panels ── */
.feature-tab-panel {
  display: none;
}

.feature-tab-panel.is-active {
  display: block;
  animation: ftFadeUp 0.4s ease both;
}

@keyframes ftFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.feature-tabs__title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin: 0 0 0.9rem;
}

.feature-tabs__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}


/* ── Actions — sous la carte, boutons égaux sans arrow badge ── */
.feature-tabs__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
}

.feature-tabs__actions .btn {
  flex: 1;
  justify-content: center;
  padding-block: 1.1rem;
  padding-inline: 1.55rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .feature-tabs {
    padding: 4rem 1.5rem;
  }

  .feature-tabs__layout,
  .feature-tabs--reversed .feature-tabs__layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .feature-tabs__visual {
    width: 100%;
  }

  .feature-tabs__frame {
    height: 300px;
  }

  .feature-tabs__side {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .feature-tabs__frame {
    height: 240px;
  }
}

/* ─── APP WAITLIST ─── */

.app-waitlist {
  background: var(--color-bg);
  padding: 3.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.app-waitlist__text {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1.6rem;
  line-height: 1.5;
}

.app-waitlist__stores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0.35;
  filter: grayscale(1);
  pointer-events: none;
  user-select: none;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  background: #000;
  border-radius: 10px;
  color: white;
  min-width: 148px;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.store-badge__text small {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.store-badge__text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-waitlist__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.app-waitlist__email {
  flex: 1;
  min-width: 0;
  padding: 0.82rem 1.2rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--color-text-main);
  background: var(--color-bg-card);
  background: var(--color-bg-card);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.app-waitlist__email:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 153, 34, 0.18);
}

.app-waitlist__email::placeholder {
  color: var(--muted);
}

@media (max-width: 520px) {
  .app-waitlist {
    padding: 3rem 1.5rem;
  }
  .app-waitlist__stores {
    flex-wrap: wrap;
  }
  .app-waitlist__form {
    flex-direction: column;
  }
  .app-waitlist__email {
    width: 100%;
  }
  .app-waitlist__form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
  padding: calc(var(--navbar-h) + 4rem) 2rem 4rem;
  overflow: hidden;
  background: var(--color-bg);
}

/* Decorative asterisks */
.hero__star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  color: var(--black);
  opacity: 0.75;
}

/* Left background glow blob */
.hero__blob {
  position: absolute;
  top: -12%;
  left: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,153,34,0.18) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4.5rem;
}

/* ── Left: text ── */

.hero__text {
  flex: 1;
  min-width: 0;
}

/* H1 — hero heading : grand, lourd, impactant */
.hero__heading {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.hero__actions .btn {
  flex: 1;
  justify-content: center;
  padding-block: 1.1rem;
  padding-inline: 1.55rem;
}

.hero__play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: opacity var(--ease);
}

.hero__play-btn:hover {
  opacity: 0.55;
}

.hero__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.18);
  flex-shrink: 0;
  transition: border-color var(--ease), background var(--ease);
}

.hero__play-btn:hover .hero__play-icon {
  border-color: var(--black);
  background: var(--input-bg);
}

/* Award / badge pill */
.hero__award {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  background: var(--input-bg);
  border-radius: var(--pill);
}

.hero__award-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.hero__award-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.hero__award-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* ── Right: phone mockups ── */

.hero__visual {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  height: 510px;
}

/* Glow behind phones */
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,153,34,0.22) 0%, transparent 62%);
  pointer-events: none;
}

.hero__phones {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone {
  position: absolute;
  width: 215px;
  height: 435px;
  background: #111;
  border-radius: 40px;
  border: 6px solid #222;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.28),
    0 8px 20px rgba(0,0,0,0.12);
}

.phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #111;
  border-radius: 20px;
  z-index: 10;
}

.phone__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast; /* Safari — netteté screenshots */
}

.phone--back {
  top: 60px;
  right: 0;
  z-index: 0;
}

.phone--front {
  top: 0;
  left: 10px;
  z-index: 1;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity var(--ease);
  z-index: 2;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll-arrow {
  animation: heroScrollBounce 1.6s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── Responsive hero ── */

@media (max-width: 900px) {
  .hero {
    padding: calc(var(--navbar-h) + 2.5rem) 1.5rem 3rem;
    min-height: auto;
  }

  .hero__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__visual {
    width: 300px;
    height: 420px;
  }

  .phone {
    width: 168px;
    height: 340px;
    border-radius: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--navbar-h) + 1.5rem) 1.2rem 2.5rem;
  }

  .hero__visual {
    width: 260px;
    height: 370px;
  }

  .phone {
    width: 148px;
    height: 300px;
    border-radius: 28px;
    border-width: 5px;
  }

  .hero__blob {
    width: 300px;
    height: 300px;
  }
}

/* ═══════════════════════════════════════
   DARK MODE — adaptations spécifiques
═══════════════════════════════════════ */

html[data-theme="dark"] .split__content {
  background: var(--color-bg);
}

html[data-theme="dark"] .form__input,
html[data-theme="dark"] .form__textarea {
  color: var(--color-text-main);
  background: var(--input-bg);
}

html[data-theme="dark"] .form__input::placeholder,
html[data-theme="dark"] .form__textarea::placeholder {
  color: var(--color-text-muted);
}

html[data-theme="dark"] .form__input:focus,
html[data-theme="dark"] .form__textarea:focus {
  background: var(--input-focus);
  box-shadow: 0 0 0 2.5px rgba(99,153,34,0.3);
}

/* ═══════════════════════════════════════
   TOGGLE DARK / LIGHT MODE
═══════════════════════════════════════ */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--input-bg);
  color: var(--color-text-main);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--ease), color var(--ease);
  padding: 0;
}

.theme-toggle:hover {
  background: var(--color-border);
}

.theme-toggle__moon { display: block; }
.theme-toggle__sun  { display: none;  }

html[data-theme="dark"] .theme-toggle__moon { display: none;  }
html[data-theme="dark"] .theme-toggle__sun  { display: block; }

/* ── Storytelling — élève légèrement le bg en dark pour créer une hiérarchie ── */
html[data-theme="dark"] .storytelling {
  background: var(--color-bg-card);  /* #27500A — un niveau au-dessus de --section-bg-card (#173404) */
}

/* ── Store badges — visibles en dark ── */
html[data-theme="dark"] .store-badge {
  background: #0d0d0d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

/* ── Waitlist email input ── */
html[data-theme="dark"] .app-waitlist__email {
  background: var(--input-bg);
  color: var(--color-text-main);
}

/* ── Select — flèche claire en dark ── */
html[data-theme="dark"] select.form__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2397C459' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── Form états validation ── */
html[data-theme="dark"] .form__input.is-invalid,
html[data-theme="dark"] .form__textarea.is-invalid {
  background: #3a1515;
  box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.4);
}

html[data-theme="dark"] .form__input.is-valid,
html[data-theme="dark"] .form__textarea.is-valid {
  background: var(--input-bg);
}

html[data-theme="dark"] .form__success {
  background: #163322;
}

/* ═══════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════ */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 2rem;
  transition: border-color 0.25s ease;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer__contact-label {
  font-weight: 600;
  color: var(--black);
}

.site-footer__contact-link {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}

.site-footer__contact-link:hover {
  color: var(--black);
}

.site-footer__sep {
  opacity: 0.4;
  user-select: none;
}

@media (max-width: 640px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — Corrections globales
   Breakpoints : ≤ 860px déjà gérés section par section.
   Ce bloc cible ≤ 480px (petits téléphones) et quelques
   correctifs inter-sections manquants.
═══════════════════════════════════════════════════════════════ */

/* ── Navbar ≤ 480px ──
   Logo icon reste visible, nom du texte supprimé pour éviter overflow. */
@media (max-width: 480px) {
  .navbar__logo-name {
    display: none;
  }
  .navbar {
    gap: 0.35rem;
  }
}

/* ── Hero ≤ 380px ── */
@media (max-width: 380px) {
  .hero__heading {
    font-size: 2.4rem;
  }
  .hero__visual {
    width: 230px;
    height: 330px;
  }
  .phone {
    width: 130px;
    height: 270px;
    border-radius: 26px;
    border-width: 4px;
  }
}

/* ── Problem section ≤ 480px ── */
@media (max-width: 480px) {
  .problem {
    padding: 3.5rem 1.25rem;
  }
  .problem__header {
    margin-bottom: 2rem;
  }
  .problem__title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
  .problem__sub {
    font-size: 0.95rem;
  }
  .problem__conclusion {
    margin-top: 2.5rem;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }
}

/* ── Storytelling ≤ 480px ── */
@media (max-width: 480px) {
  .storytelling {
    padding: 3.5rem 1.25rem;
  }
  .storytelling__heading {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 2rem;
  }
  .storytelling__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }
  .storytelling__para {
    font-size: 0.93rem;
  }
}

/* ── Market ≤ 480px ── */
@media (max-width: 480px) {
  .market {
    padding: 3.5rem 1.25rem;
  }
  .market__inner {
    gap: 2rem;
  }
  .market__title {
    font-size: clamp(1.6rem, 5.5vw, 2rem);
  }
  .market__sub {
    font-size: 0.93rem;
  }
  .market__stat-num {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }
}

/* ── Personas ≤ 480px ── */
@media (max-width: 480px) {
  #personas {
    padding: 3.5rem 1.25rem;
  }
  .personas__heading {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 1.75rem;
  }
  .persona-content {
    padding: 22px 18px;
    gap: 18px;
  }
  .persona-avatar {
    width: 52px;
    height: 52px;
  }
  .persona-name {
    font-size: 17px;
  }
  .persona-meta {
    font-size: 13px;
  }
  .persona-image {
    height: 200px;
  }
  .persona-route {
    font-size: 12px;
    line-height: 1.6;
  }
  .persona-stat-bar span {
    font-size: 11px;
    padding: 5px 10px;
  }
  .nav-names {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-name {
    font-size: 13px;
  }
  .personas-nav {
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-arrows {
    position: static;
    margin-left: 0;
  }
}

/* ── Apps bar ≤ 480px ── */
@media (max-width: 480px) {
  .apps-bar {
    padding: 3rem 1.25rem;
  }
  .apps-bar__title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }
  .apps-bar__sub {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  .apps-orbit {
    gap: 1.25rem 1.5rem;
    max-width: 300px;
  }
  .center-slot {
    height: 240px;
    width: 110px;
  }
  .center-marquee img {
    width: 110px;
    height: 110px;
  }
}

/* ── Feature tabs ≤ 480px ── */
@media (max-width: 480px) {
  .feature-tabs {
    padding: 3rem 1.25rem;
  }
  .feature-tabs__header {
    margin-bottom: 2rem;
  }
  .feature-tabs__heading {
    font-size: clamp(1.5rem, 5.5vw, 1.9rem);
  }
  .feature-tabs__content {
    padding: 1.5rem 1.25rem;
  }
  .feature-tabs__steps {
    margin-bottom: 1.75rem;
  }
  .feature-tab-btn {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
  .feature-tabs__actions {
    flex-direction: column;
  }
  .feature-tabs__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── App waitlist ≤ 480px ── */
@media (max-width: 480px) {
  .app-waitlist {
    padding: 3rem 1.25rem;
  }
  .app-waitlist__text {
    font-size: 0.9rem;
  }
}

/* ── Form (split) ≤ 480px ── */
@media (max-width: 480px) {
  .split__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ═══════════════════════════════════════
   MODAL PARTENAIRE
═══════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(20px);
  transition: transform 0.22s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: var(--input-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
  padding: 0;
}

.modal__close:hover {
  background: var(--color-border);
  color: var(--color-text-main);
}

.modal__title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin: 0 0 0.5rem;
  padding-right: 2rem;
}

.modal__sub {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.modal__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-main);
  letter-spacing: 0.01em;
}

.modal__label span {
  color: var(--color-primary);
}

.modal__input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--color-text-main);
  background: var(--input-bg);
  border: none;
  border-radius: var(--btn-r);
  outline: none;
  transition: background var(--ease), box-shadow var(--ease);
}

.modal__input:focus {
  background: var(--input-focus);
  box-shadow: 0 0 0 2.5px rgba(99, 153, 34, 0.25);
}

.modal__input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.modal__success {
  padding: 0.9rem 1.1rem;
  background: #eaf4ee;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--btn-r) var(--btn-r) 0;
  font-size: 0.88rem;
  color: var(--success);
  font-weight: 500;
}

html[data-theme="dark"] .modal__success {
  background: #163322;
}

html[data-theme="dark"] .modal__input {
  background: var(--input-bg);
  color: var(--color-text-main);
}

html[data-theme="dark"] .modal__input:focus {
  background: var(--input-focus);
}

html[data-theme="dark"] .modal__input::placeholder {
  color: var(--color-text-muted);
}

.modal__submit {
  margin-top: 0.25rem;
}

@media (max-width: 520px) {
  .modal {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }
  .modal__row {
    grid-template-columns: 1fr;
  }
  .modal__title {
    font-size: 1.35rem;
  }
}

/* ── Footer ≤ 480px ── */
@media (max-width: 480px) {
  .site-footer {
    padding: 1rem 1.25rem;
  }
  .site-footer__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .site-footer__sep {
    display: none;
  }
}
