/* ============================================================
   REALTY BOOST — style.css
   Thème sombre inspiré de la maquette : fond bleu nuit/prune,
   halos violets diffus, accent dégradé rouge → orangé.
   Mobile-first, aucune dépendance hors Google Fonts (Inter).
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  /* Fonds */
  --bg: #0e0c15;            /* fond principal, prune très sombre */
  --bg-soft: #14111f;       /* sections / cartes */
  --bg-card: #191526;       /* cartes */
  --border: rgba(255, 255, 255, 0.08);

  /* Texte */
  --text: #f2f0f7;
  --text-muted: #9a93ac;

  /* Accents */
  --red: #ff3d2e;           /* rouge signature (boutons) */
  --red-hover: #ff5546;
  --grad-accent: linear-gradient(100deg, #ff3d2e 10%, #ff7a45 90%);
  --violet: #7c5cff;        /* halos et panneau lumineux */

  /* Divers */
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Texte en dégradé rouge → orangé (titres) */
.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); font-weight: 500; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 61, 46, 0.35);
}
.btn--primary:hover { background: var(--red-hover); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
}
.btn--outline:hover { border-color: rgba(255, 255, 255, 0.4); }

.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.icon-wa { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.header.is-scrolled {
  background: rgba(14, 12, 21, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo__img {
  height: 36px;
  width: auto;
  /* la flèche du logo monte plus haut que la maison : on redescend
     légèrement l'icône pour un centrage optique avec le texte */
  transform: translateY(2px);
}
.logo__text span { color: #ffb49d; }

/* Navigation desktop */
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav__list a:hover { color: var(--text); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sélecteur de langue (drapeaux) ---------- */
.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  flex: none;
}

.lang__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.lang__btn:hover { opacity: 0.85; }

/* Langue active : drapeau en pleine couleur, léger fond */
.lang__btn.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.lang__btn svg {
  width: 21px;
  height: 15px;
  border-radius: 2px;
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 40px;
  text-align: center;
  overflow: hidden;
}

/* Halos violets diffus derrière le hero */
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 380px at 20% 15%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(700px 420px at 80% 30%, rgba(255, 61, 46, 0.10), transparent 70%),
    radial-gradient(900px 600px at 50% 110%, rgba(124, 92, 255, 0.12), transparent 70%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.hero__subtitle {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Grand cadre vidéo arrondi sous le hero */
.hero__frame {
  position: relative;
  margin-top: 36px;
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(closest-side, rgba(124, 92, 255, 0.25), transparent),
    var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.hero__frame video {
  position: relative;   /* passe au-dessus du visuel d'attente dès qu'elle charge */
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.section { padding: 88px 0; }

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio__grid {
  display: grid;
  gap: 28px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.video-card:hover { border-color: rgba(255, 255, 255, 0.18); }

.video-card video {
  width: 100%;
  /* format 16:9 — celui des visites générées par l'IA (V2).
     Une vidéo dans un autre format est légèrement recadrée
     pour que les deux cartes gardent la même hauteur. */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a0810;
  cursor: pointer;
}

/* ---------- Lecteur personnalisé (sans plein écran) ---------- */
.player { position: relative; }

/* Gros bouton central, visible tant que la vidéo est à l'arrêt */
.player__big {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 10px 34px rgba(255, 61, 46, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.player__big svg { width: 28px; height: 28px; fill: #fff; margin-left: 3px; }
.player__big:hover { transform: translate(-50%, -50%) scale(1.07); }
.player.is-playing .player__big {
  opacity: 0;
  pointer-events: none;
}

/* Barre de contrôle en bas de la vidéo */
.player__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(8, 6, 14, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
/* La barre s'efface pendant la lecture pour ne pas gêner la vidéo.
   Elle réapparaît au survol, au clavier, et dès la mise en pause
   (sur mobile : un appui sur la vidéo met en pause et la fait revenir). */
.player:not(.is-playing) .player__bar,
.player:hover .player__bar,
.player:focus-within .player__bar { opacity: 1; }

.player__bar button {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.player__bar button:hover { background: rgba(255, 255, 255, 0.26); }
.player__bar button svg { width: 17px; height: 17px; }

/* Bascule des icônes lecture / pause */
.player__play .ico-play,
.player__play .ico-pause { fill: currentColor; }
.player__play .ico-pause,
.player.is-playing .player__play .ico-play { display: none; }
.player.is-playing .player__play .ico-pause { display: block; }

/* Barre de progression */
.player__seek {
  flex: 1;
  min-width: 0;
  height: 5px;
  margin: 0;
  border-radius: 999px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(
    to right,
    #ff5a3d 0%,
    #ff5a3d var(--progress, 0%),
    rgba(255, 255, 255, 0.3) var(--progress, 0%),
    rgba(255, 255, 255, 0.3) 100%
  );
}
.player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.player__seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.player__time {
  flex: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.video-card figcaption {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.video-card figcaption strong { font-size: 1.02rem; font-weight: 700; }
.video-card figcaption span { color: var(--text-muted); font-size: 0.88rem; }

/* ============================================================
   COMMENT ÇA MARCHE
   ============================================================ */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: steps;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.step { position: relative; }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.step__title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   BÉNÉFICES
   ============================================================ */

.benefits {
  display: grid;
  gap: 20px;
}

.benefit h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}
.benefit p { color: var(--text-muted); font-size: 0.95rem; }

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
}
.benefit__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit__icon--red    { background: rgba(255, 61, 46, 0.15);  color: #ff8073; }
.benefit__icon--violet { background: rgba(124, 92, 255, 0.15); color: #a68eff; }
.benefit__icon--blue   { background: rgba(64, 156, 255, 0.15); color: #7ab8ff; }
.benefit__icon--amber  { background: rgba(255, 176, 32, 0.15); color: #ffc95e; }

/* Les contrôles natifs du navigateur sont désactivés au profit du
   lecteur personnalisé (voir « Lecteur personnalisé » plus haut) :
   c'est le seul moyen fiable de retirer le plein écran sur Safari. */
.video-card video::-webkit-media-controls { display: none !important; }

/* ============================================================
   ACCROCHE HERO — offre de la 1re vidéo gratuite
   ============================================================ */
.hero__offer {
  max-width: 52ch;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: rgba(255, 61, 46, 0.1);
  border: 1px solid rgba(255, 61, 46, 0.3);
  color: #ffd2c7;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ============================================================
   TARIFS — même style de cartes que les bénéfices
   ============================================================ */
.plans {
  display: grid;
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan__name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 2px;
}
.plan__amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}
.plan__per {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.plan__note {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff8a6a;
}

.plan__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   AVANT / APRÈS — photo d'origine vs visite immersive
   ============================================================ */
.ba {
  display: grid;
  gap: 20px;
}

.ba__item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.ba__item img,
.ba__item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Le côté "après" est légèrement mis en valeur */
.ba__item--after {
  border-color: rgba(255, 61, 46, 0.45);
  box-shadow: 0 20px 60px rgba(255, 61, 46, 0.15);
}

.ba__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 12, 21, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ba__tag--after { background: var(--grad-accent); }

/* ============================================================
   FORMATS — téléphone qui passe de l'horizontal au vertical
   La vidéo est un carré de la hauteur de l'écran, contre-tourné
   en même temps que le téléphone : elle reste droite et remplit
   l'écran dans les deux orientations.
   ============================================================ */
.formats {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 56px;
  padding: 36px 26px;
}

.formats__title {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.formats__lead {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--text-muted);
}

.formats__list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.formats__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.formats__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 61, 46, 0.12);
  color: #ff8073;
}
.formats__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.formats__item-title { display: block; font-weight: 700; }
.formats__item-text { color: var(--text-muted); font-size: 0.92rem; }

.formats__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* --u : unité de taille du téléphone (réduite sur petits écrans) */
.device {
  --u: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(400 * var(--u));
  height: calc(400 * var(--u));
}

.phone {
  position: relative;
  width: calc(180 * var(--u));
  height: calc(364 * var(--u));
  padding: calc(9 * var(--u));
  border-radius: calc(38 * var(--u));
  background: linear-gradient(145deg, #2c2640, #110e19);
  box-shadow:
    0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, 0.09),
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(255, 61, 46, 0.14);
  animation: phone-rotate 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(30 * var(--u));
  background: #000;
}

.phone__video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(346 * var(--u));   /* = hauteur de l'écran */
  height: calc(346 * var(--u));
  max-width: none;
  object-fit: cover;
  animation: phone-counter 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.phone__notch {
  position: absolute;
  top: calc(16 * var(--u));
  left: 50%;
  width: calc(54 * var(--u));
  height: calc(16 * var(--u));
  border-radius: 999px;
  background: #0b0912;
  transform: translateX(-50%);
}

@keyframes phone-rotate {
  0%, 30%   { transform: rotate(-90deg); }
  42%, 80%  { transform: rotate(0deg); }
  92%, 100% { transform: rotate(-90deg); }
}
@keyframes phone-counter {
  0%, 30%   { transform: translate(-50%, -50%) rotate(90deg); }
  42%, 80%  { transform: translate(-50%, -50%) rotate(0deg); }
  92%, 100% { transform: translate(-50%, -50%) rotate(90deg); }
}

/* Étiquette synchronisée avec l'orientation */
.device__label {
  display: grid;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.device__label > span {
  grid-area: 1 / 1;
  justify-self: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.device__label-a { animation: label-a 8s ease-in-out infinite; }
.device__label-b { opacity: 0; animation: label-b 8s ease-in-out infinite; }

@keyframes label-a {
  0%, 30%   { opacity: 1; }
  36%, 83%  { opacity: 0; }
  89%, 100% { opacity: 1; }
}
@keyframes label-b {
  0%, 34%   { opacity: 0; }
  40%, 80%  { opacity: 1; }
  86%, 100% { opacity: 0; }
}

/* Petits écrans : le téléphone et sa zone de rotation tiennent dans la carte.
   92px = marges du conteneur (2 × 20px) + marges de la carte (2 × 26px). */
.formats > * { min-width: 0; }
@media (max-width: 479px) {
  .device { --u: calc((100vw - 92px) / 400); }
}

/* ============================================================
   BOUTONS DES OFFRES
   ============================================================ */
.plan__btn {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 0.92rem;
  white-space: normal;
  text-align: center;
}

/* Bouton animé de l'essai gratuit : halo qui pulse + reflet qui balaie */
.btn--pulse {
  position: relative;
  overflow: hidden;
  animation: btn-pulse 2.2s ease-in-out infinite;
}
.btn--pulse::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 61, 46, 0.35), 0 0 0 0 rgba(255, 61, 46, 0.55); }
  60%      { box-shadow: 0 6px 24px rgba(255, 61, 46, 0.35), 0 0 0 12px rgba(255, 61, 46, 0); }
}
@keyframes btn-shine {
  0%, 55% { left: -60%; }
  100%    { left: 130%; }
}

/* Mouvements réduits : animations coupées, les deux étiquettes restent visibles */
@media (prefers-reduced-motion: reduce) {
  .phone, .phone__video, .device__label-a, .device__label-b,
  .btn--pulse, .btn--pulse::after { animation: none !important; }
  .phone__video { transform: translate(-50%, -50%); }
  .device__label { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .device__label-b { opacity: 1; }
}

/* ============================================================
   LISTE DE MOTS-CLÉS (clin d'œil maquette)
   ============================================================ */
.wordlist {
  text-align: center;
  padding: 40px 0 72px;
}
.wordlist__item {
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.wl-1 { color: var(--text); }
.wl-2 { color: #d8d4e6; }
.wl-3 { color: #b3adc7; }
.wl-4 {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wl-5 { color: #6e6885; }
.wl-6 { color: #4d4763; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq__chevron {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__q[aria-expanded="true"] .faq__chevron { transform: rotate(-135deg); }

.faq__a { padding: 0 20px 18px; }
.faq__a p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 400px at 50% 100%, rgba(124, 92, 255, 0.16), transparent 70%);
}
.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta__title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta__text {
  color: var(--text-muted);
  max-width: 50ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: #0b0912;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.footer__nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__nav a:hover { color: var(--text); }

.footer__copy {
  text-align: center;
  color: #5b5570;
  font-size: 0.85rem;
  margin-top: 32px;
}

/* ============================================================
   RESPONSIVE — à partir des tablettes
   ============================================================ */

/* Mobile : le menu passe en panneau plein écran */
@media (max-width: 899px) {
  .burger { display: flex; }

  /* Le sélecteur de langue reste dans la barre, à côté du burger */
  .lang { margin-left: auto; margin-right: 4px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 20px 24px;
    background: rgba(14, 12, 21, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list a {
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__cta { margin-top: 16px; }
}

@media (min-width: 640px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 112px 0; }

  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
  .formats { grid-template-columns: 1.1fr 1fr; padding: 48px 56px; }
  .ba { grid-template-columns: repeat(2, 1fr); }

}

@media (min-width: 1100px) {
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Accessibilité : réduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
