/* ==========================================================================
   TVPRONET — feuille de style unique
   Organisation :
     1. Tokens
     2. Base & utilitaires
     3. Boutons / badges / composants
     4. Barre d'annonces + En-tete
     5. Hero
     6. Sections : chiffres, mur de marques, carrousels
     7. Maquette interface
     8. Avis clients + temoignages
     9. Appareils / Etapes / Difference
    10. Tarifs
    11. FAQ
    12. Avis (cartes portrait) + CTA final
    13. Pied de page + bouton flottant
    14. Responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
/* Poppins (SIL Open Font License 1.1) - sous-ensemble latin, 4 graisses, 31 Ko.
   Polices auto-hebergees : aucune requete vers un service tiers. */
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/poppins-800.woff2") format("woff2");
}

:root {
  /* Palette mesuree sur la capture de reference */
  --red:        #ff3b30;   /* accent (textes) */
  --red-1:      #ec1911;   /* bouton, haut du degrade   */
  --red-2:      #e10600;   /* bouton, bas du degrade    */
  --red-deep:   #a50300;   /* barre d'annonces          */
  --red-line:   #5f1411;   /* filets de section (1px)   */
  --gold:       #cfa239;   /* carte multi-ecrans        */
  --gold-line:  #745027;   /* bordure dorée             */
  --gold-txt:   #e8c96a;

  --bg:         #050101;   /* fond de page              */
  --card:       #100304;   /* carte sombre              */
  --card-2:     #0d0203;   /* carte sombre (variante)   */
  --card-3:     #1e1213;   /* carte "differance"        */
  --ink:        #ffffff;
  --ink-soft:   #d9c9c9;   /* texte secondaire          */
  --ink-mute:   #a99393;   /* texte tertiaire           */
  --ink-dark:   #6b6b6b;   /* texte sur carte blanche   */

  /* Geometrie */
  --wrap:       896px;     /* largeur de container (mesuree) */
  --pad:        20px;      /* gouttiere laterales        */
  --r:          12px;      /* arrondi standard           */
  --r-sm:       8px;
  --r-pill:     999px;
  --pad-y:      clamp(38px, 4.4vw, 58px); /* respiration verticale de section */

  /* Typo : Poppins auto-hebergee (voir @font-face ci-dessus) */
  --font: "Poppins", "Montserrat", "Century Gothic", system-ui,
          -apple-system, "Segoe UI", sans-serif;

  --shadow-btn: 0 10px 26px -10px rgba(225, 6, 0, .85);
}

/* ---------- 2. Base & utilitaires ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;              /* aucun scroll horizontal */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red-2); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - (var(--pad) * 2), var(--wrap)); margin-inline: auto; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke-width: 1.7; }

/* Titres de section ------------------------------------------------------- */
.h2 {
  font-size: clamp(25px, 3.5vw, 38px);
  line-height: 1.16;
  font-weight: 800;
  text-align: center;
  letter-spacing: -.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.h2 em { color: var(--red); font-style: normal; }
/* Filet rouge : present dans la reference uniquement sous ces deux titres */
.h2--rule::after {
  content: ""; display: block; width: 95px; height: 3px;
  margin: 16px auto 0; background: var(--red); border-radius: 2px;
}

.lead {
  max-width: 62ch; margin: 18px auto 0; text-align: center;
  color: var(--ink-soft); font-size: 15px;
}

.note { margin-top: 22px; text-align: center; color: var(--ink-soft); font-size: 15px; }

.section {
  position: relative;
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--red-line);
}
/* Texture de grain tres discrete, appliquee via le fond de la section */
.section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/backgrounds/grain.png") repeat;
  background-size: 180px 180px; opacity: .05; mix-blend-mode: overlay;
}
.section > .wrap { position: relative; z-index: 1; }

/* Fond de section : degrade radial rouge sombre -> noir (mesure sur la capture) */
.section--brands  { background: #070101; }
.section--demo    { background: linear-gradient(180deg, #100303 0%, #0b0202 100%); }
.section--voices  { background: radial-gradient(130% 105% at 50% 58%, #3a0a0a 0%, #1c0405 58%, #0a0102 100%); }
.section--devices { background: linear-gradient(180deg, #100304 0%, #060101 100%); }
.section--steps   { background: linear-gradient(180deg, #190304 0%, #0a0101 100%); }
.section--diff    { background: linear-gradient(180deg, #120203 0%, #050101 100%); }
.section--pricing { background: linear-gradient(180deg, #210201 0%, #050101 100%); }
.section--faq     { background: radial-gradient(120% 100% at 50% 24%, #1b0405 0%, #120203 55%, #050101 100%); }
.section--reviews { background: radial-gradient(120% 100% at 50% 62%, #180203 0%, #0c0102 55%, #050101 100%); }
.section--final   { background: radial-gradient(110% 120% at 50% 8%, #160304 0%, #0a0102 55%, #050101 100%); }

/* ---------- 3. Boutons / badges / composants ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 26px;
  background: linear-gradient(180deg, var(--red-1) 0%, var(--red-2) 100%);
  color: #fff; font-weight: 700; font-size: 15px;
  border-radius: var(--r-sm); box-shadow: var(--shadow-btn);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.tag {
  display: table; margin: 0 auto 14px; padding: 6px 18px;
  background: linear-gradient(180deg, #d11414, var(--red-2));
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; border-radius: var(--r-pill);
}

.chip {
  display: inline-block; padding: 2px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; white-space: nowrap;
}
.chip--red  { background: #f6dcdc; color: #b3120c; }
.chip--gold { background: #5a3c12; color: var(--gold-txt); }

/* ---------- 4. Barre d'annonces + En-tete -------------------------------- */
.topbar {
  overflow: hidden; background: linear-gradient(90deg, #7d0300, var(--red-deep) 45%, #b00400);
  border-bottom: 1px solid #6b0200;
}
.topbar__track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.topbar__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 26px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: #fff;
}
.topbar__item .ic { width: 15px; height: 15px; stroke: #fff; }

@keyframes slide { to { transform: translateX(-50%); } }
@keyframes slide-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.header { background: #080102; border-top: 1px solid #b32b29; position: relative; z-index: 50; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 20px;
}

.logo { font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo__tv { color: #fff; }
.logo__net { color: var(--red); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__list a { font-size: 14px; font-weight: 700; }
.nav__list a:hover { color: var(--red); }

.burger { display: none; padding: 8px; }
.burger .ic { width: 26px; height: 26px; stroke: #fff; }
.burger__x { display: none; }
.burger[aria-expanded="true"] .burger__x { display: block; }
.burger[aria-expanded="true"] .ic:not(.burger__x) { display: none; }

/* ---------- 5. Hero -------------------------------------------------------- */
.hero { position: relative; isolation: isolate; border-top: 1px solid #4c0201; }
/* Media du hero : video si elle est lue, image de repli (poster) sinon. */
.hero__media {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: #0a1206 url("../img/hero/hero-poster.webp") center / cover no-repeat;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
  /* reglage colorimetrique identique a la reference */
  filter: brightness(1.12) contrast(1.03) saturate(1.06);
}
/* Voile degrade pour la lisibilite du texte sur la video */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .20) 58%, rgba(0, 0, 0, .48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .02) 45%, rgba(0, 0, 0, .68) 100%);
}
.hero__inner { min-height: 535px; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.hero__title {
  max-width: 15ch; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.18;
  font-weight: 800; letter-spacing: -.015em;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .65);
}
.hero__text {
  max-width: 42ch; margin-top: 20px; font-size: 16px; font-weight: 700; line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
.hero__text::after {
  content: ""; display: block; width: 250px; height: 2px; margin-top: 8px;
  background: rgba(0, 0, 0, .8); border-radius: 2px;
}
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }
.hero__actions .btn { width: 272px; }

/* ---------- 6. Chiffres, mur de marques, carrousels ----------------------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px;
  max-width: 864px; margin: 6px auto 0;
}
.stat {
  background: #1a0d0d; border: 1px solid #7d1a15; border-radius: var(--r);
  padding: 14px 10px; text-align: center;
}
.stat strong { display: block; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; line-height: 1.1; }
.stat span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* Mur de marques : bandeau rouge sombre + 2 rangees defilantes */
.wall {
  margin-top: 26px; padding: 30px 0 34px;
  background: linear-gradient(180deg, #200404 0%, #2a0100 40%, #2a0100 70%, #170303 100%);
  overflow: hidden;
}
.wall__row { overflow: hidden; }
.wall__row + .wall__row { margin-top: 26px; }
.wall__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: slide 25s linear infinite; }
.wall__track--rev { animation-direction: reverse; }
.wall__track img { width: 240px; height: 90px; object-fit: contain; opacity: .95; }
.wall__track li:nth-child(2n) img { width: 200px; }

/* Carrousels : piste defilante + fondu sur les bords */
.rail { margin-top: 34px; }
/* Durees de defilement alignees sur la reference (films 45s / sport 38s inverse) */
.rail__track { animation: slide 45s linear infinite; }
.rail--rev .rail__track { animation-name: slide-rev; animation-duration: 38s; }
@media (prefers-reduced-motion: reduce) { .rail__track { animation: none; } }
.rail__title {
  text-align: center; font-size: clamp(16px, 2vw, 21px); font-weight: 800;
  padding-inline: var(--pad);
}
.rail__title em { color: var(--red); font-style: normal; }
.rail__box {
  margin-top: 18px; overflow-x: auto; overflow-y: hidden;
  padding: 8px 0 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.rail__box::-webkit-scrollbar { display: none; }
.rail__track { display: flex; gap: 13px; width: max-content; padding-inline: 40px; }
.poster { scroll-snap-align: start; }
/* Cartes films : ratio 2/3, dimensions alignees sur la reference (193x316 -> 174x284) */
.poster img {
  width: 174px; height: 284px; object-fit: cover; object-position: center;
  border-radius: 16px; border: 1px solid rgba(225, 6, 0, .18);
  background: #0d0203;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
  transition: transform .25s ease, box-shadow .25s ease;
}
.poster img:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(0, 0, 0, .5); }
/* Cartes sport : ratio 2/3 impose, comme sur la reference */
.poster--sm img {
  width: 150px; height: 225px; object-fit: cover;
  border-color: rgba(225, 6, 0, .28);
  background: rgba(8, 1, 2, .92);
}

/* ---------- 7. Maquette de l'interface ------------------------------------ */
.demo {
  display: grid; grid-template-columns: 44px 1fr 0.85fr; grid-template-areas: "rail lists screen" "foot foot foot";
  gap: 0; max-width: 780px; margin: 30px auto 0; aspect-ratio: 2.5 / 1;
  background: #0d1524; border: 1px solid #6d1512; border-radius: var(--r);
  overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}
.demo__rail {
  grid-area: rail; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 14px 0; background: #0b1220; border-right: 1px solid #1b2740;
}
.demo__dot { width: 16px; height: 16px; border-radius: 4px; background: #2b3a55; }
.demo__dot--on { background: var(--red); }

.demo__lists { grid-area: lists; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; padding: 12px; position: relative; }
.demo__ch {
  display: flex; justify-content: space-between; gap: 6px; align-items: center;
  padding: 5px 7px; font-size: 9px; font-weight: 700; letter-spacing: .04em;
  background: #16223a; border-radius: 3px; color: #cfe0f5;
}
.demo__ch b { color: #7fb2d8; font-weight: 700; }
.demo__ch--hl { background: #b8a300; color: #17130a; }
.demo__ch--hl b { color: #4a3f00; }
.demo__bubble {
  position: absolute; left: 12px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: #fff; color: #111; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800;
}
.demo__bubble .ic { width: 14px; height: 14px; stroke: #b3120c; }

.demo__screen {
  grid-area: screen; position: relative; padding: 12px;
  background: linear-gradient(160deg, #1d3557 0%, #16223a 45%, #0d1524 100%);
  border-left: 1px solid #1b2740;
}
.demo__tag {
  position: absolute; right: 10px; top: 10px; padding: 2px 6px;
  background: rgba(0, 0, 0, .55); color: #9fd0ff; font-size: 9px; font-weight: 800; border-radius: 3px;
}
.demo__live {
  position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 9px; font-weight: 800; border-radius: 3px;
}
.demo__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.demo__bar { position: absolute; left: 12px; right: 12px; bottom: 34px; height: 4px; background: rgba(255, 255, 255, .2); border-radius: 3px; }
.demo__bar i { display: block; height: 100%; width: var(--p, 30%); background: var(--red); border-radius: 3px; }
.demo__meta { position: absolute; left: 12px; bottom: 14px; font-size: 9px; color: #a8c0dd; }

.demo__foot {
  grid-area: foot; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px; font-size: 10px; color: var(--ink-mute); border-top: 1px solid #1b2740;
}
.demo__foot .ic { width: 14px; height: 14px; }

/* ---------- 8. Galerie + temoignages audio --------------------------------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.shot {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r);
  border: 1px solid #6d1512; background: #0d0203;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 46px; margin-top: 30px; }
.voice { display: flex; align-items: center; gap: 10px; }
.voice__mic {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #ff6a5e, var(--red-2) 70%);
  box-shadow: 0 6px 18px -6px rgba(225, 6, 0, .8);
  transition: transform .15s ease;
}
.voice__mic:hover { transform: scale(1.08); }
.voice__mic .ic { width: 18px; height: 18px; }
.voice__card {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: var(--r);
  background: #1a1011; border: 1px solid #5e1512;
}
.voice__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.voice__head b { font-size: 14px; font-weight: 800; }
.voice__head span { font-size: 11px; color: var(--ink-mute); }
.voice__body { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.voice__play {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #ff4438, var(--red-2));
  box-shadow: 0 4px 14px -6px rgba(225, 6, 0, .9);
}
.voice__play .ic { width: 16px; height: 16px; margin-left: 2px; }
.voice.is-playing .voice__play { background: #2b2b2b; }

.wave { display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 26px; flex: 1; min-width: 0; overflow: hidden; }
.wave i { flex: 0 1 3px; height: var(--h, 50%); min-width: 2px; border-radius: 1px; background: #c9c0c0; }
.voice.is-playing .wave i { background: var(--red); animation: pulse .9s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { animation-delay: .15s; }
.wave i:nth-child(4n) { animation-delay: .3s; }
@keyframes pulse { from { transform: scaleY(.55); } to { transform: scaleY(1.15); } }

.voice__time { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--ink-mute); }

/* ---------- 9. Appareils / Etapes / Difference ----------------------------- */
.devices {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
  max-width: 864px; margin: 28px auto 0; padding: 16px 18px;
  background: linear-gradient(180deg, #100304, #070101);
  border-radius: var(--r); border: 1px solid #3a0d0b;
}
.devices__item { display: grid; place-items: center; }
.devices__item img { width: 100%; max-width: 155px; height: 108px; object-fit: contain; opacity: .92; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; max-width: 800px; margin: 30px auto 0; }
.step {
  position: relative; text-align: center; padding: 16px 14px 20px; border-radius: var(--r);
  background: linear-gradient(180deg, #f4463e 0%, #c0120f 100%);
  box-shadow: 0 14px 34px -18px rgba(255, 60, 40, .9);
}
.step__num { display: block; font-size: 46px; font-weight: 800; line-height: 1; }
.step__ic { width: 26px; height: 26px; margin: 8px auto 10px; color: #fff; stroke: #fff; }
.step h3 { font-size: 17px; font-weight: 800; line-height: 1.2; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.card {
  text-align: center; padding: 22px 16px; border-radius: var(--r);
  background: var(--card-3); border: 1px solid #5e1512;
}
.card__ic { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--red); stroke: var(--red); }
.card h3 { font-size: 15px; font-weight: 800; line-height: 1.2; }
.card p { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

/* ---------- 10. Tarifs ------------------------------------------------------ */
.banner {
  display: table; margin: 26px auto 0; padding: 9px 22px;
  background: #fff0f0; border: 1px solid #f0b4b4; border-radius: var(--r-pill);
  color: #b3120c; font-size: 14px; font-weight: 800; text-align: center;
}
.banner .ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; }

.h3--split {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin-top: 34px; text-align: center;
  font-size: clamp(18px, 2.3vw, 24px); font-weight: 800; line-height: 1.2;
}
.h3--split::before, .h3--split::after {
  content: ""; width: 46px; height: 2px; background: var(--red-line);
}
.h3--split em { color: var(--red); font-style: normal; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; margin-top: 26px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 26px 18px 20px; border-radius: var(--r);
  background: linear-gradient(180deg, #efe3e3 0%, #fff 22%, #fff 100%);
  color: var(--ink-dark); border: 1px solid #e3cdcd;
}
.plan--gold {
  padding-top: 46px;
  background: linear-gradient(180deg, #3a0f08 0%, #6c2a16 55%, #5a2213 100%);
  border-color: var(--gold-line);
  box-shadow: 0 26px 60px -30px rgba(207, 162, 57, .55);
}
/* Ruban diagonal en coin superieur droit, rogne par la carte (comme la reference) */
.plan__ribbon {
  position: absolute; top: 36px; right: -34px; width: 170px;
  padding: 5px 0; text-align: center;
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--red-2); white-space: nowrap;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .6);
}
.plan__ribbon--gold { background: #c19a2c; }
.plan__flag {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border: 1px solid var(--gold-line); border-radius: var(--r-pill);
  background: #4a2c10; color: var(--gold-txt);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.plan__flag .ic { width: 16px; height: 16px; stroke: var(--gold-txt); }
.plan__title { font-size: 21px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.plan--gold .plan__title { color: #fff; }
.plan__pay { margin-top: 14px; font-size: 12.5px; font-weight: 700; line-height: 1.7; color: var(--red); }
.plan--gold .plan__pay { color: #f6dfae; }
.plan__price { margin-top: 12px; font-size: clamp(34px, 4.8vw, 50px); font-weight: 800; line-height: 1; color: var(--ink-dark); }
.plan__price small { font-size: 13px; font-weight: 700; }
.plan--gold .plan__price { color: #fff; }
.plan__per { margin-top: 12px; font-size: 19px; font-weight: 800; }
.plan--gold .plan__per { color: var(--gold-txt); }
.plan__note {
  margin-top: 16px; padding: 10px 12px; border-radius: var(--r-sm);
  background: #fdeaea; border: 1px solid #f3cccc;
  font-size: 12px; font-weight: 700; line-height: 1.4;
}
.plan--gold .plan__note { background: #4a2c10; border-color: #6b4a1a; color: #f6dfae; }

.plan__feats { margin-top: 18px; display: grid; gap: 9px; }
.plan__feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.4; }
.plan__feats .ic { width: 15px; height: 15px; margin-top: 1px; color: var(--red-2); stroke: var(--red-2); }
.plan--gold .plan__feats .ic { color: var(--gold-txt); stroke: var(--gold-txt); }
.plan--gold, .plan--gold .plan__feats li { color: #f3e6d8; }

.plan__cta { margin-top: 24px; width: 100%; }
.plan__badge {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; padding: 6px; border-radius: var(--r-pill);
  background: #f4f4f4; border: 1px solid #d8d8d8;
  font-size: 11px; font-weight: 800;
}
.plan--gold .plan__badge { background: #efe6d5; border-color: #d9c9a6; color: #4a3410; }
.plan__badge .ic { width: 13px; height: 13px; stroke: #2e7d32; }

.reassure {
  display: flex; align-items: center; gap: 16px;
  max-width: 891px; margin: 30px auto 0; padding: 16px 24px;
  background: #fff; color: var(--ink-dark); border-radius: var(--r);
  box-shadow: 0 16px 40px -26px rgba(0, 0, 0, .8);
}
.reassure .ic { width: 34px; height: 34px; color: var(--red); stroke: var(--red); }
.reassure b { display: block; color: var(--red-2); font-size: 19px; font-weight: 800; }
.reassure span { font-size: 13px; }

.options {
  position: relative; overflow: hidden; text-align: center;
  max-width: 896px; margin: 34px auto 0; padding: 48px 24px 40px;
  background: linear-gradient(180deg, #3a0909 0%, #2a0808 40%, #1c0505 100%);
  border: 1px solid #6d1512; border-radius: var(--r);
}
.options__blob {
  position: absolute; left: -30px; bottom: -50px; width: 260px; height: 200px;
  background: radial-gradient(closest-side, rgba(255, 59, 48, .28), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.options .lead { position: relative; }

/* ---------- 11. FAQ ---------------------------------------------------------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 30px; }
.qa {
  background: var(--card-2); border: 1px solid #4d1210; border-radius: var(--r);
  transition: border-color .2s ease, background .2s ease;
}
.qa[open] { background: #1c0505; border-color: #a3241f; }
.qa > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 800; line-height: 1.3;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa__sign {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #ff4438, var(--red-2));
  transition: transform .2s ease, background .2s ease;
}
.qa__sign .ic { width: 15px; height: 15px; stroke: #fff; transition: transform .2s ease; }
.qa[open] .qa__sign { background: #1c1c1c; }
.qa[open] .qa__sign .ic { transform: rotate(45deg); }
.qa__body { padding: 0 14px 14px; }
.qa__body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- 12. Avis (cartes portrait) + CTA final --------------------------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 30px; }
.review {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid #5e1512; background: #0b0102; aspect-ratio: 1 / 2;
}
.review { margin: 0; }
.review img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.section--final .wrap { text-align: center; }
.section--final .lead { margin-bottom: 26px; }

/* ---------- 13. Pied de page + bouton flottant -------------------------------- */
.footer {
  border-top: 1px solid #500402;
  background: linear-gradient(180deg, #1b0101 0%, #3b0302 78%, #380302 100%);
  padding: 74px 0 60px;
}
.footer__inner { display: grid; grid-template-columns: 1.05fr .8fr 1.15fr; gap: 34px; align-items: start; }
.footer__col p { margin-top: 26px; font-size: 14px; line-height: 1.55; color: #f0e2e2; max-width: 30ch; }
.footer__title { font-size: 17px; font-weight: 800; display: inline-block; }
.footer__title::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 8px; background: var(--red); }
.footer__links { margin-top: 18px; display: grid; gap: 18px; }
.footer__links a { font-size: 14px; color: #f0e2e2; }
.footer__links a:hover { color: var(--red); }

.pay { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 330px; }
.pay img { width: 100%; height: auto; display: block; border-radius: 6px; }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #4ee07a, #17a94a 70%);
  box-shadow: 0 0 0 8px rgba(23, 169, 74, .18), 0 10px 26px -8px rgba(0, 0, 0, .8);
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.07); }
.fab .ic { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ---------- 14. Responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col--about { grid-column: 1 / -1; }
  .footer__col p { max-width: none; }
}

@media (max-width: 860px) {
  /* Menu mobile */
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0c0303; border-bottom: 1px solid #6d1512;
    padding: 8px var(--pad) 18px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid #2a0d0c; }
  .nav__cta { margin-top: 16px; }

  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .plan--gold { padding-top: 46px; }

  .faq { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 720px) {
  .hero__inner { min-height: 460px; }
  .hero__actions .btn { width: 100%; }

  .stats { grid-template-columns: 1fr; max-width: 420px; }
  .wall__track { gap: 15px; }
  .wall__track img { width: 220px; height: 85px; }
  .wall__track li:nth-child(2n) img { width: 180px; }

  .steps { grid-template-columns: 1fr; max-width: 420px; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .shots { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .demo { grid-template-columns: 34px 1fr; grid-template-areas: "rail lists" "foot foot"; aspect-ratio: auto; }
  .demo__screen { display: none; }
  .reassure { flex-direction: column; text-align: center; gap: 10px; }
  .options { padding: 36px 18px 32px; }
  .h3--split::before, .h3--split::after { display: none; }
  .poster img { width: 138px; height: 225px; }
  .poster--sm img { width: 120px; height: 180px; }
  .rail__track { padding-inline: 24px; }
}

@media (max-width: 560px) {
  :root { --pad: 16px; }
  .logo { font-size: 23px; }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .footer { padding: 48px 0 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .pay { max-width: none; }
  .fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .fab .ic { width: 24px; height: 24px; }
}

/* Accessibilite : respecte la reduction des animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
