/* VersetLive Studio — site de vente. Theme sombre (2026-10-23).
   Aucune ressource externe : polices du systeme, images du site, aucune bibliotheque.
   Les animations sont decoratives : sans elles (reglage « reduire les animations »,
   ou sans JavaScript), tout le contenu reste visible et lisible. */

/* Angle anime des bordures en degrade (navigateurs recents ; ailleurs, bordure fixe). */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --fond: #08070f;
  --fond-2: #0e0c18;
  --surface: #14111f;
  --surface-2: #1b172b;
  --surface-3: #241e39;
  --bord: rgba(255, 255, 255, 0.08);
  --bord-fort: rgba(255, 255, 255, 0.15);
  --encre: #ffffff;
  --texte: #c9c4db;
  --doux: #8d87a6;
  --fond-doux: #14111f;
  --violet-nuit: #0d0a1c;
  --violet-profond: #2c0f74;
  --violet: #8b5cf6;
  --violet-clair: #b69cff;
  --magenta: #d946ef;
  --indigo: #6366f1;
  --rose-pale: #f5d0fe;
  --succes: #34d399;
  --succes-fond: rgba(52, 211, 153, 0.12);
  --erreur: #fb7185;
  --erreur-fond: rgba(251, 113, 133, 0.12);
  --rayon: 18px;
  --ombre: 0 24px 60px rgba(0, 0, 0, 0.45);
  --largeur: 1200px;
  --entete: 72px;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
  --police: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --police-titre: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --verre: rgba(255, 255, 255, 0.04);
  --verre-fort: rgba(255, 255, 255, 0.08);
  --entete-fond: rgba(8, 7, 15, 0.55);
  --entete-fond-fort: rgba(8, 7, 15, 0.85);
  --grille: rgba(255, 255, 255, 0.05);
  --pastille-fond: rgba(20, 17, 31, 0.85);
  --mot-eteint: rgba(255, 255, 255, 0.14);
  --accent-clair: #c4b5fd;
  --direct-texte: #fca5a5;
  --succes-texte: #a7f3d0;
  --promo-texte: #fecdd3;
  --avertissement: #fcd34d;
  color-scheme: dark;
}

/* Affichage clair (bouton de l'en-tete ; choix garde dans le navigateur). Les captures du logiciel
   restent dans leurs fenetres sombres, comme a l'ecran. */
:root[data-theme='clair'] {
  --fond: #f8f6fd;
  --fond-2: #f0ecf9;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #f6f2ff;
  --bord: rgba(30, 20, 70, 0.1);
  --bord-fort: rgba(30, 20, 70, 0.18);
  --encre: #16122a;
  --texte: #3c3656;
  --doux: #645e80;
  --fond-doux: #ffffff;
  --violet-clair: #6d28d9;
  --succes: #0b7a4b;
  --succes-fond: rgba(16, 185, 129, 0.12);
  --erreur: #c81e45;
  --erreur-fond: rgba(225, 29, 72, 0.08);
  --ombre: 0 20px 50px rgba(40, 20, 90, 0.12);
  --verre: rgba(30, 20, 70, 0.04);
  --verre-fort: rgba(30, 20, 70, 0.08);
  --entete-fond: rgba(248, 246, 253, 0.7);
  --entete-fond-fort: rgba(248, 246, 253, 0.92);
  --grille: rgba(30, 20, 70, 0.06);
  --pastille-fond: rgba(255, 255, 255, 0.94);
  --mot-eteint: rgba(22, 18, 42, 0.14);
  --accent-clair: #7c3aed;
  --direct-texte: #c81e3a;
  --succes-texte: #066b42;
  --promo-texte: #9f1239;
  --avertissement: #92400e;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 64px);
  background: var(--fond);
}

/* L'attribut hidden l'emporte toujours, meme sur un element mis en flex (boutons). */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--texte);
  background: var(--fond);
  font: 17px/1.65 var(--police);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

figure {
  margin: 0;
}

a {
  color: var(--violet-clair);
}

h1,
h2,
h3 {
  color: var(--encre);
  font-family: var(--police-titre);
  line-height: 1.1;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

strong {
  color: var(--encre);
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}

.conteneur {
  width: min(100% - 40px, var(--largeur));
  margin-inline: auto;
}

.etroit {
  width: min(100% - 40px, 800px);
}

.centre {
  margin-top: 3rem;
  text-align: center;
}

.petit {
  font-size: 0.9rem;
  color: var(--doux);
}

.accent {
  background: linear-gradient(100deg, var(--accent-clair), var(--magenta) 55%, var(--accent-clair));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chatoie 8s linear infinite;
}

.evitement {
  position: absolute;
  left: -9999px;
}

.evitement:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--encre);
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

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

/* Barre de progression de lecture (creee par anim.js). */
.progression {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ============================== Boutons ============================== */
.bouton {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--bord-fort);
  border-radius: 14px;
  background: var(--verre);
  color: var(--encre);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 200ms ease,
    translate 250ms var(--courbe),
    box-shadow 250ms ease,
    border-color 250ms ease,
    background-color 250ms ease;
}

.bouton:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 156, 255, 0.55);
  background: var(--verre-fort);
}

.bouton:active {
  transform: translateY(0) scale(0.98);
}

.bouton--principal {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7 50%, var(--magenta));
  background-size: 180% 180%;
  box-shadow:
    0 12px 32px rgba(139, 92, 246, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: degrade-mouvant 6s ease infinite;
}

.bouton--principal:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #a855f7 50%, var(--magenta));
  background-size: 180% 180%;
  box-shadow:
    0 16px 44px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bouton--clair {
  border-color: transparent;
  background: #fff;
  color: #1b0f3d;
}

.bouton--clair:hover {
  background: #f3efff;
}

.bouton--contour-clair {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.bouton--grand {
  min-height: 56px;
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
}

.bouton--petit {
  min-height: 38px;
  padding: 0.35rem 0.95rem;
  font-size: 0.95rem;
}

.bouton[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.bouton--brillant::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: eclat 5s ease-in-out infinite;
  pointer-events: none;
}

/* ============================== En-tete ============================== */
.entete {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--entete-fond);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms ease,
    border-color 300ms ease;
}

.entete--defile {
  background: var(--entete-fond-fort);
  border-bottom-color: var(--bord);
}

.entete__barre {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--entete);
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--encre);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.marque__icone {
  transition: transform 500ms var(--courbe);
}

.marque:hover .marque__icone {
  transform: rotate(-10deg) scale(1.1);
}

.marque__nom span {
  color: var(--violet-clair);
  font-weight: 600;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu a:not(.bouton) {
  position: relative;
  color: var(--texte);
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.menu a:not(.bouton):hover,
.menu a[aria-current='page']:not(.bouton) {
  color: var(--encre);
}

.menu a:not(.bouton)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--courbe);
}

.menu a:not(.bouton):hover::after,
.menu a[aria-current='page']:not(.bouton)::after {
  transform: scaleX(1);
}

.menu-bouton {
  display: none;
}

@media (max-width: 820px) {
  .menu-bouton {
    display: inline-flex;
    min-height: 42px;
    padding: 0.3rem 1rem;
    border: 1px solid var(--bord-fort);
    border-radius: 12px;
    background: transparent;
    color: var(--encre);
    font: inherit;
    font-weight: 600;
  }

  .menu {
    display: none;
    position: absolute;
    top: var(--entete);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 20px 1.2rem;
    background: var(--fond-2);
    border-bottom: 1px solid var(--bord);
    box-shadow: var(--ombre);
  }

  .menu a:not(.bouton) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--bord);
  }

  .menu a:not(.bouton)::after {
    display: none;
  }

  .menu .bouton {
    margin-top: 1rem;
  }

  .entete--ouvert .menu {
    display: flex;
    animation: monte 300ms var(--courbe) both;
  }
}

/* ============================== Typo de section ============================== */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--bord-fort);
  border-radius: 999px;
  background: var(--verre);
  color: var(--texte);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.point-direct {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--succes);
  animation: pulse-vert 2s ease-out infinite;
}

.section__surtitre {
  margin: 0 0 0.9rem;
  text-align: center;
  color: var(--violet-clair);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section__surtitre--gauche {
  text-align: left;
}

.section__titre {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 1rem;
  text-align: center;
}

.section__intro {
  max-width: 660px;
  margin: 0 auto 3.5rem;
  color: var(--doux);
  font-size: 1.1rem;
  text-align: center;
}

.chapo {
  font-size: 1.15rem;
  color: var(--texte);
}

.note-centre {
  margin: 2.5rem 0 0;
  color: var(--doux);
  font-size: 0.92rem;
  text-align: center;
}

/* Titres animes mot a mot (mots poses par anim.js). */
.titre-anime .mot {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.4em);
  animation: mot-apparait 900ms var(--courbe) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 100ms);
}

.titre-anime .accent .mot,
.titre-anime .mot.accent {
  background: inherit;
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================== Sections ============================== */
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section--serree {
  padding-top: 1.5rem;
}

.section--douce {
  background: var(--fond-2);
  border-top: 1px solid var(--bord);
  border-bottom: 1px solid var(--bord);
}

.section--sombre {
  background: var(--fond-2);
}

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.deux-colonnes h2 {
  text-align: left;
}

@media (max-width: 900px) {
  .deux-colonnes {
    grid-template-columns: 1fr;
  }
}

/* Effet « projecteur » : un halo suit le pointeur sur les cartes (position posee par anim.js). */
.spot {
  position: relative;
  isolation: isolate;
}

.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(139, 92, 246, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.spot:hover::before {
  opacity: 1;
}

/* ============================== Heros ============================== */
.heros {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 0;
  text-align: center;
}

.heros__fond {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.heros__grille-fond {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grille) 1px, transparent 1px),
    linear-gradient(90deg, var(--grille) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(55% 45% at 50% 20%, #000 15%, transparent 75%);
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: derive 22s ease-in-out infinite;
}

.halo--1 {
  width: 640px;
  height: 640px;
  top: -320px;
  left: 50%;
  margin-left: -320px;
  background: #7c3aed;
}

.halo--2 {
  width: 460px;
  height: 460px;
  top: 38%;
  right: -200px;
  background: var(--magenta);
  opacity: 0.2;
  animation-duration: 28s;
  animation-delay: -8s;
}

.halo--3 {
  width: 460px;
  height: 460px;
  top: 52%;
  left: -220px;
  background: var(--indigo);
  opacity: 0.22;
  animation-duration: 32s;
  animation-delay: -15s;
}

.heros__texte {
  max-width: 960px;
}

.heros__texte > :not(h1) {
  animation: monte 900ms var(--courbe) both;
}

.heros__texte > .surtitre {
  animation-delay: 0ms;
}

.heros__texte > .chapo {
  animation-delay: 450ms;
}

.heros__texte > .heros__actions {
  animation-delay: 550ms;
}

.heros__texte > .garanties {
  animation-delay: 650ms;
}

.heros h1 {
  margin-bottom: 0.4em;
}

.heros .chapo {
  max-width: 700px;
  margin: 0 auto 2.2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.heros__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.garanties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.8rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--texte);
  font-size: 0.95rem;
  font-weight: 600;
}

.garanties li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.garanties li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--violet), var(--magenta));
}

/* Composition produit : la regie, deux telephones, une pastille. */
.scene {
  position: relative;
  max-width: 1080px;
  margin-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  perspective: 1800px;
  animation: apparait-zoom 1200ms 500ms var(--courbe) both;
}

.scene::before {
  content: '';
  position: absolute;
  inset: 8% 6% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.5), transparent);
  filter: blur(50px);
}

.scene__principal {
  transform: rotateX(calc((1 - var(--redresse, 1)) * 22deg)) scale(calc(0.92 + var(--redresse, 1) * 0.08));
  transform-origin: 50% 0;
  transition: transform 120ms linear;
}

.fenetre {
  overflow: hidden;
  border: 1px solid var(--bord-fort);
  border-radius: 16px;
  background: #0d0b18;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(139, 92, 246, 0.12);
}

.scene__principal .fenetre {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0d0b18, #0d0b18) padding-box,
    conic-gradient(from var(--angle), rgba(139, 92, 246, 0.9), rgba(217, 70, 239, 0.2), rgba(99, 102, 241, 0.9), rgba(217, 70, 239, 0.2), rgba(139, 92, 246, 0.9)) border-box;
  animation: tourne 8s linear infinite;
}

.fenetre__barre {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--bord);
}

.fenetre__barre span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.fenetre__barre span:nth-child(2) {
  background: #febc2e;
}

.fenetre__barre span:nth-child(3) {
  background: #28c840;
}

.fenetre__barre em {
  margin-inline: auto;
  padding-right: 52px;
  color: var(--doux);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.03em;
}

.telephone {
  overflow: hidden;
  width: 100%;
  border: 6px solid #1e1a2e;
  border-radius: 34px;
  background: #000;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.telephone img {
  width: 100%;
}

.scene__tel {
  position: absolute;
  width: clamp(130px, 17%, 190px);
  transition: translate 120ms linear;
}

.scene__tel--gauche {
  left: -5%;
  bottom: 6%;
  rotate: -6deg;
  animation: flotte 7s ease-in-out infinite;
}

.scene__tel--droite {
  right: -4%;
  bottom: 14%;
  rotate: 5deg;
  animation: flotte 8s ease-in-out -3s infinite;
}

.pastille-flottante {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--bord-fort);
  border-radius: 16px;
  background: var(--pastille-fond);
  backdrop-filter: blur(12px);
  color: var(--encre);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: flotte 6s ease-in-out -2s infinite;
}

.pastille-flottante small {
  display: block;
  color: var(--doux);
  font-size: 0.8rem;
  font-weight: 600;
}

.pastille-flottante--internet {
  top: 10%;
  left: 7%;
}

.pastille-flottante__icone {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
}

.pastille-flottante__icone svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pastille-flottante__icone--rouge {
  background: rgba(251, 113, 133, 0.16);
}

.pastille-flottante__icone--rouge svg {
  stroke: var(--erreur);
}

@media (max-width: 900px) {
  .scene__tel {
    width: 22%;
  }

  .scene__tel--gauche {
    left: -2%;
  }

  .scene__tel--droite {
    right: -2%;
  }

  .pastille-flottante--internet {
    left: 50%;
    top: auto;
    bottom: 0;
    translate: -50% 0;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .scene__tel {
    width: 26%;
    bottom: 22%;
  }
}

/* ============================== Bande defilante ============================== */
.defilant {
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid var(--bord);
  border-bottom: 1px solid var(--bord);
  background: var(--fond-2);
}

.defilant__piste {
  display: flex;
  width: max-content;
  animation: defile 50s linear infinite;
}

.defilant:hover .defilant__piste {
  animation-play-state: paused;
}

.defilant__piste span {
  display: inline-flex;
  align-items: center;
  gap: 2.8rem;
  padding-right: 2.8rem;
  color: var(--doux);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.defilant__piste span::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

/* ============================== Manifeste (mots qui s'allument) ============================== */
.section--manifeste {
  padding: clamp(5rem, 11vw, 8rem) 0 clamp(1rem, 3vw, 2rem);
}

.manifeste {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--encre);
  font-family: var(--police-titre);
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-align: center;
}

.manifeste .mot {
  color: var(--mot-eteint);
  transition: color 300ms ease;
}

.manifeste .mot.allume {
  color: var(--encre);
}

.manifeste .mot.allume.fort {
  background: linear-gradient(100deg, var(--accent-clair), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================== Demo hors ligne ============================== */
.demo {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  overflow: hidden;
  border: 1px solid var(--bord-fort);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .demo {
    grid-template-columns: 1fr;
  }
}

.demo__ecran {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--bord);
  background: #0b0916;
}

@media (max-width: 900px) {
  .demo__ecran {
    border-right: 0;
    border-bottom: 1px solid var(--bord);
  }
}

.demo__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.demo__direct {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--direct-texte);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo__direct span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: clignote 1.4s ease-in-out infinite;
}

.demo__ecran img {
  width: calc(100% - 2.4rem);
  margin: auto 1.2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--bord-fort);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 92, 246, 0.18);
}

@media (max-width: 900px) {
  .demo__ecran img {
    margin-block: 1.2rem;
  }
}

.demo__panneau {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.6rem 1.4rem;
}

.demo__connexion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--encre);
  font-size: 1.05rem;
  font-weight: 700;
}

.interrupteur {
  position: relative;
  flex: none;
  width: 64px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.25);
  cursor: pointer;
  transition:
    background-color 300ms ease,
    border-color 300ms ease;
}

.interrupteur__bille {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateX(28px);
  transition: transform 350ms var(--courbe);
}

.interrupteur[aria-checked='false'] {
  border-color: rgba(251, 113, 133, 0.5);
  background: rgba(251, 113, 133, 0.22);
}

.interrupteur[aria-checked='false'] .interrupteur__bille {
  transform: translateX(0);
}

.demo__internet {
  align-self: flex-start;
  margin: 0.5rem 0 1rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--succes-fond);
  color: var(--succes);
  font-size: 0.82rem;
  font-weight: 800;
}

.demo--coupe .demo__internet {
  background: var(--erreur-fond);
  color: var(--erreur);
}

.demo__liste {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo__liste li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-top: 1px solid var(--bord);
  color: var(--texte);
  font-weight: 600;
}

.demo__liste b {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--succes-fond);
  color: var(--succes);
  font-size: 0.8rem;
}

.demo__liste b::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* Chaque ligne « reconfirme » son etat quand on coupe Internet. */
.demo--verifie .demo__liste li {
  animation: reconfirme 700ms var(--courbe) both;
}

.demo--verifie .demo__liste li:nth-child(2) {
  animation-delay: 120ms;
}

.demo--verifie .demo__liste li:nth-child(3) {
  animation-delay: 240ms;
}

.demo--verifie .demo__liste li:nth-child(4) {
  animation-delay: 360ms;
}

.demo--verifie .demo__liste li:nth-child(5) {
  animation-delay: 480ms;
}

.demo__message {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--verre);
  color: var(--doux);
  font-size: 0.92rem;
}

.demo--coupe .demo__message {
  background: var(--succes-fond);
  color: var(--succes-texte);
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (max-width: 820px) {
  .trio {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

.trio__point h3 {
  margin-bottom: 0.4rem;
}

.trio__point p {
  margin: 0;
  color: var(--doux);
}

.icone {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  transition:
    transform 500ms var(--courbe),
    background-color 300ms ease;
}

.icone svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--violet-clair);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================== Frise abonnement / licence ============================== */
.frise {
  --colonnes: 150px repeat(5, 1fr) 0.8fr;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.8rem;
  border: 1px solid var(--bord);
  border-radius: 24px;
  background: var(--surface);
}

.frise__axe,
.frise__ligne {
  display: grid;
  grid-template-columns: var(--colonnes);
  align-items: center;
  gap: 0.6rem;
}

.frise__axe {
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--bord-fort);
  color: var(--doux);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.frise__ligne {
  padding: 1.2rem 0;
}

.frise__ligne + .frise__ligne {
  border-top: 1px solid var(--bord);
}

.frise__nom {
  margin: 0;
  color: var(--encre);
  font-weight: 800;
}

.frise__piste {
  display: contents;
}

.frise__paiement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.3rem 0.5rem;
  border-radius: 10px;
  background: var(--erreur-fond);
  color: var(--promo-texte);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.frise__suite {
  color: var(--erreur);
  font-weight: 800;
  text-align: center;
}

.frise__paiement--unique {
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.4);
}

.frise__barre {
  grid-column: span 5;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.08);
  color: var(--succes);
  font-size: 0.9rem;
  font-weight: 800;
}

.frise__barre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.35), rgba(52, 211, 153, 0.08));
  transform-origin: left;
}

.frise__barre span {
  position: relative;
}

.frise__barre::after {
  content: '∞';
  position: relative;
  margin-left: auto;
  font-size: 1.5rem;
  line-height: 1;
}

/* Animation quand la frise arrive a l'ecran. */
.frise.revele--visible .frise__ligne--abo .frise__paiement,
.frise.revele--visible .frise__suite {
  animation: pose 500ms var(--courbe) both;
}

.frise.revele--visible .frise__ligne--abo :nth-child(3) {
  animation-delay: 180ms;
}

.frise.revele--visible .frise__ligne--abo :nth-child(4) {
  animation-delay: 360ms;
}

.frise.revele--visible .frise__ligne--abo :nth-child(5) {
  animation-delay: 540ms;
}

.frise.revele--visible .frise__ligne--abo :nth-child(6) {
  animation-delay: 720ms;
}

.frise.revele--visible .frise__ligne--abo :nth-child(7) {
  animation-delay: 900ms;
}

.frise.revele--visible .frise__barre::before {
  animation: trace 1600ms 300ms var(--courbe) both;
}

@media (max-width: 760px) {
  .frise {
    --colonnes: repeat(5, 1fr) 0.9fr;
    padding: 1.2rem;
  }

  .frise__axe span:first-child {
    display: none;
  }

  .frise__axe {
    font-size: 0.68rem;
  }

  .frise__nom {
    grid-column: 1 / -1;
  }

  .frise__paiement {
    font-size: 0;
    min-height: 34px;
  }

  .frise__paiement::before {
    content: '✕';
    font-size: 0.9rem;
  }

  .frise__paiement--unique::before {
    content: '1×';
  }

  .frise__barre {
    font-size: 0.78rem;
  }
}

.avantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 2rem auto 0;
}

.avantages p {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--bord);
  border-radius: 16px;
  background: var(--surface);
  color: var(--doux);
}

@media (max-width: 820px) {
  .avantages {
    grid-template-columns: 1fr;
  }
}

.a-partir {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--texte);
  font-size: 1.1rem;
}

.a-partir strong {
  font-size: 1.25rem;
}

/* ============================== Bento des fonctionnalites ============================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 1.1rem;
}

.tuile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bord);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition:
    transform 400ms var(--courbe),
    border-color 300ms ease,
    box-shadow 400ms ease;
}

.tuile:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.tuile__texte {
  padding: 1.5rem 1.5rem 0;
}

.tuile__texte h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.tuile__texte p {
  margin: 0;
  color: var(--doux);
  font-size: 0.95rem;
}

.tuile__visuel {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 1.2rem 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--bord-fort);
  border-bottom: 0;
  border-right: 0;
  border-radius: 14px 0 0 0;
}

.tuile__visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 900ms var(--courbe);
}

.tuile:hover .tuile__visuel img {
  transform: scale(1.04);
}

.tuile__visuel--telephone {
  margin: 1.2rem auto 0;
  width: 72%;
  border: 5px solid #1e1a2e;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.tuile--bible {
  grid-column: span 2;
  grid-row: span 2;
}

.tuile--telecommande,
.tuile--fidele {
  grid-row: span 2;
}

.tuile--chants,
.tuile--plan,
.tuile--obs {
  grid-column: span 2;
}

.tuile--obs .tuile__visuel img {
  object-position: center bottom;
}

.tuile--multiview .tuile__visuel img {
  object-position: center;
}

.tuile--chants .tuile__visuel img {
  object-position: 26% 12%;
}

.tuile--plan .tuile__visuel img {
  object-position: 8% 18%;
}

.tuile--styles .tuile__visuel img {
  object-position: 10% 14%;
}

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tuile--bible {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .tuile--bible,
  .tuile--chants,
  .tuile--plan,
  .tuile--obs {
    grid-column: auto;
  }

  .tuile--telecommande,
  .tuile--fidele {
    grid-row: span 1;
  }

  .tuile--telecommande,
  .tuile--fidele {
    height: 460px;
  }
}

/* ============================== Recit (defilement guide) ============================== */
.recit__grille {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.recit__etapes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recit__etape {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62vh;
  padding: 1rem 0 1rem 1.6rem;
  border-left: 2px solid var(--bord);
  opacity: 0.35;
  transition:
    opacity 500ms ease,
    border-color 500ms ease;
}

.recit__etape.est-active {
  border-left-color: var(--violet);
  opacity: 1;
}

.recit__numero {
  margin-bottom: 0.6rem;
  color: var(--violet-clair);
  font-family: var(--police-titre);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.recit__etape h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
}

.recit__etape p {
  max-width: 440px;
  color: var(--doux);
  font-size: 1.08rem;
}

.recit__mobile {
  display: none;
}

.recit__visuel {
  position: sticky;
  top: calc(var(--entete) + 12vh);
}

.recit__images {
  display: grid;
}

.recit__images img {
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 700ms ease,
    transform 900ms var(--courbe);
}

.recit__images img.est-active {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .recit__grille {
    grid-template-columns: 1fr;
  }

  .recit__visuel {
    display: none;
  }

  .recit__etape {
    min-height: 0;
    padding: 0 0 0 1.2rem;
    margin-bottom: 3rem;
    opacity: 1;
    border-left-color: var(--violet);
  }

  .recit__mobile {
    display: block;
    margin-top: 1rem;
    border: 1px solid var(--bord-fort);
    border-radius: 14px;
  }
}

/* ============================== Tarifs ============================== */
.section--offres {
  padding-top: 2.5rem;
}

.offres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 980px) {
  .offres {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

.offre {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.8rem 1.8rem;
  border: 1px solid var(--bord);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  text-align: left;
  transition:
    transform 400ms var(--courbe),
    box-shadow 400ms ease,
    border-color 300ms ease;
}

.offre:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.offre--recommandee {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, var(--surface-3), var(--surface)) padding-box,
    conic-gradient(from var(--angle), var(--violet), var(--magenta), var(--indigo), var(--violet)) border-box;
  box-shadow: 0 30px 90px rgba(124, 58, 237, 0.32);
  animation: tourne 6s linear infinite;
}

.offre--recommandee:hover {
  border-color: transparent;
}

@media (min-width: 981px) {
  .offre--recommandee {
    padding-top: 2.9rem;
    padding-bottom: 2.4rem;
  }
}

.offre__badge {
  position: absolute;
  top: -0.9rem;
  left: 1.8rem;
  margin: 0;
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.offre__remise {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  margin: 0;
  padding: 0.25rem 0.6rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #e11d48, #f97316);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
  animation: battement 2.4s ease-in-out infinite;
}

.offre__nom {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.offre__vie {
  align-self: flex-start;
  margin: 0 0 1.1rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  color: var(--violet-clair);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offre__avant {
  margin: 0;
  min-height: 1.6em;
}

.offre__prix {
  margin: 0;
  color: var(--encre);
}

.offre__montant {
  font-family: var(--police-titre);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.offre__devise {
  color: var(--doux);
  font-weight: 700;
}

.offre__unefois {
  margin: 0 0 0.8rem;
  color: var(--doux);
  font-size: 0.9rem;
}

.offre__economie {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--succes-fond);
  color: var(--succes);
  font-size: 0.85rem;
  font-weight: 700;
}

.offre__resume {
  color: var(--doux);
}

.offre__points {
  flex: 1;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.offre__points li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.8rem;
  border-top: 1px solid var(--bord);
  color: var(--texte);
}

.offre__points li::before,
.coches li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 1em;
  width: 0.8rem;
  height: 0.45rem;
  border-left: 2.5px solid var(--succes);
  border-bottom: 2.5px solid var(--succes);
  transform: rotate(-45deg);
}

.paiement-unique {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--bord);
  border-radius: 18px;
  background: var(--surface);
  color: var(--texte);
  text-align: center;
}

.paiement-unique p {
  margin: 0;
}

.bandeau-provisoire {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--avertissement);
  font-weight: 600;
}

.centre-promo {
  margin-bottom: 2.2rem;
  text-align: center;
}

.promo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.1);
  color: var(--promo-texte);
  font-weight: 700;
  text-align: left;
}

.promo__pastille {
  flex: none;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #f97316);
  color: #fff;
  font-weight: 800;
  animation: pulse-rouge 2s ease-out infinite;
}

.prix-barre {
  color: var(--doux);
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: #fb7185;
  text-decoration-thickness: 2px;
}

/* ============================== Questions ============================== */
details {
  border-bottom: 1px solid var(--bord);
  padding: 1.15rem 0;
}

summary {
  position: relative;
  padding-right: 2.5rem;
  list-style: none;
  cursor: pointer;
  color: var(--encre);
  font-weight: 700;
  transition: color 200ms ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border: 1px solid var(--bord-fort);
  border-radius: 50%;
  background:
    linear-gradient(var(--violet-clair), var(--violet-clair)) center / 10px 2px no-repeat,
    linear-gradient(var(--violet-clair), var(--violet-clair)) center / 2px 10px no-repeat;
  transition: transform 300ms var(--courbe);
}

details[open] summary::after {
  transform: rotate(45deg);
}

summary:hover {
  color: var(--violet-clair);
}

details p {
  margin: 0.75rem 0 0;
  color: var(--doux);
}

details[open] > :not(summary) {
  animation: monte 400ms ease both;
}

.faq {
  text-align: left;
}

.faq h2 {
  margin-top: 2.6rem;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}

/* ============================== Page Fonctionnalites ============================== */
.sommaire {
  position: sticky;
  top: var(--entete);
  z-index: 20;
  border-top: 1px solid var(--bord);
  border-bottom: 1px solid var(--bord);
  background: var(--entete-fond-fort);
  backdrop-filter: blur(16px);
}

.sommaire__liste {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.sommaire__liste a {
  flex: none;
  padding: 0.45rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--doux);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    color 250ms ease,
    background-color 250ms ease,
    border-color 250ms ease;
}

.sommaire__liste a:hover {
  color: var(--encre);
}

.sommaire__liste a.est-actif {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.16);
  color: var(--encre);
}

.chapitre {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-bottom: 1px solid var(--bord);
}

.chapitre__grille {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.chapitre--inverse .chapitre__texte {
  order: 2;
}

.chapitre__texte h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.chapitre__chapo {
  color: var(--texte);
  font-size: 1.12rem;
}

.coches {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.coches li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  border-top: 1px solid var(--bord);
  color: var(--doux);
}

.chapitre__visuel {
  transform: rotateX(calc((1 - var(--redresse, 1)) * 14deg)) translateY(calc((1 - var(--redresse, 1)) * 40px));
  transform-origin: 50% 100%;
  transition: transform 120ms linear;
}

.chapitre__visuel--pile {
  position: relative;
  padding-bottom: 14%;
}

.chapitre__visuel--pile .fenetre--decalee {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 70%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.chapitre__visuel--telephones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

.chapitre__visuel--telephones .telephone {
  width: min(42%, 230px);
}

.chapitre__visuel--telephones .telephone:nth-child(2) {
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .chapitre__grille {
    grid-template-columns: 1fr;
  }

  .chapitre--inverse .chapitre__texte {
    order: 0;
  }

  .chapitre__visuel--pile .fenetre--decalee {
    right: 0;
  }
}

.config {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1.6rem;
  margin: 0;
  padding: 1.8rem;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  background: var(--surface);
}

.config dt {
  color: var(--encre);
  font-weight: 700;
}

.config dd {
  margin: 0;
}

/* Anciennes cartes (pages interieures). */
.grille-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .grille-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grille-3 {
    grid-template-columns: 1fr;
  }
}

.carte {
  position: relative;
  padding: 1.8rem;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.carte p {
  color: var(--doux);
}

.liste-coches {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.liste-coches li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
}

.liste-coches li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--succes);
  border-bottom: 2.5px solid var(--succes);
  transform: rotate(-45deg);
}

.liste-coches--colonnes {
  columns: 2 280px;
  column-gap: 2.5rem;
}

/* ============================== En-tete des pages interieures ============================== */
.en-tete-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 6.5rem) 0 2.5rem;
  text-align: center;
}

.en-tete-page::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  width: 820px;
  height: 560px;
  margin-left: -410px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.32), transparent);
  filter: blur(20px);
  animation: derive 22s ease-in-out infinite;
}

.en-tete-page h1 {
  max-width: 960px;
  margin-inline: auto;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
}

.en-tete-page .chapo {
  max-width: 720px;
  margin-inline: auto;
}

.en-tete-page .chapo,
.en-tete-page .promo,
.en-tete-page .garanties,
.en-tete-page .contact-actions,
.en-tete-page .centre-promo,
.en-tete-page .section__surtitre {
  animation: monte 800ms var(--courbe) both;
}

.en-tete-page .chapo {
  animation-delay: 200ms;
}

.en-tete-page .garanties,
.en-tete-page .contact-actions,
.en-tete-page .centre-promo {
  animation-delay: 320ms;
}

.en-tete-page .centre-promo {
  margin: 2rem 0 0;
}

.texte-legal {
  text-align: left;
}

/* ============================== Telechargement ============================== */
.etapes {
  counter-reset: etape;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 0;
}

@media (max-width: 860px) {
  .etapes {
    grid-template-columns: 1fr;
  }
}

.etapes li {
  counter-increment: etape;
  padding: 1.7rem;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  background: var(--surface);
  text-align: left;
}

.etapes li::before {
  content: counter(etape);
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  font-weight: 800;
}

.etapes li p {
  margin: 0;
  color: var(--doux);
}

/* ============================== Achat ============================== */
.formulaire {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: left;
}

.formulaire label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--encre);
  font-weight: 600;
}

.formulaire__ligne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .formulaire__ligne {
    grid-template-columns: 1fr;
  }
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--bord-fort);
  border-radius: 12px;
  background: var(--fond-2);
  color: var(--encre);
  font: inherit;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

input::placeholder {
  color: var(--doux);
}

input:focus,
select:focus {
  border-color: var(--violet);
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.22);
}

.formulaire .case {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--texte);
}

.case input {
  width: 1.2rem;
  min-height: 1.2rem;
  margin-top: 0.3rem;
  accent-color: var(--violet);
}

.formulaire__total {
  margin: 0;
  font-size: 1.2rem;
}

.formulaire__total .prix-barre {
  margin-right: 0.35rem;
}

.notice {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.notice--erreur {
  background: var(--erreur-fond);
  color: var(--erreur);
}

.moyens {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Cle de licence et carte a gratter */
.cle {
  margin: 0.5rem 0 1rem;
  padding: 1rem;
  border: 1px solid var(--bord-fort);
  border-radius: 12px;
  background: var(--fond-2);
  color: var(--violet-clair);
  font: 700 1.35rem/1.3 'Cascadia Mono', Consolas, monospace;
  letter-spacing: 0.03em;
  text-align: center;
  word-break: break-all;
}

.grattage {
  position: relative;
  margin: 0.5rem 0 0.75rem;
}

.grattage .cle {
  margin: 0;
  padding: 1.6rem 1rem;
}

.grattage__couche {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
  transition: opacity 400ms ease;
}

.grattage--revelee .grattage__couche {
  opacity: 0;
  pointer-events: none;
}

.grattage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.petites-etapes {
  padding-left: 1.2rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ============================== Pages legales ============================== */
.texte-legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.identite {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  background: var(--surface);
}

.identite dt {
  color: var(--encre);
  font-weight: 700;
}

.identite dd {
  margin: 0;
}

.a-completer {
  color: var(--avertissement);
}

/* ============================== Appel final ============================== */
.appel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
}

.appel__contenu {
  position: relative;
  max-width: 920px;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 32px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(139, 92, 246, 0.38), transparent 70%) padding-box,
    linear-gradient(180deg, var(--surface-2), var(--surface)) padding-box,
    conic-gradient(from var(--angle), rgba(139, 92, 246, 0.8), rgba(217, 70, 239, 0.15), rgba(99, 102, 241, 0.8), rgba(217, 70, 239, 0.15), rgba(139, 92, 246, 0.8)) border-box;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
  animation: tourne 10s linear infinite;
}

.appel h2 {
  color: var(--encre);
}

.appel__contenu p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--texte);
}

.appel__contenu .promo {
  margin-bottom: 1.5rem;
}

.appel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

/* ============================== Pied ============================== */
.pied {
  padding: 4rem 0 1.6rem;
  border-top: 1px solid var(--bord);
  background: var(--fond-2);
  color: var(--doux);
}

.pied__grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 760px) {
  .pied__grille {
    grid-template-columns: 1fr 1fr;
  }
}

.pied__marque {
  color: var(--encre);
  font-weight: 800;
  font-size: 1.1rem;
}

.pied__texte {
  max-width: 360px;
  font-size: 0.95rem;
}

.pied__titre {
  margin-bottom: 0.7rem;
  color: var(--encre);
  font-weight: 700;
}

.pied nav a {
  display: block;
  padding: 0.22rem 0;
  color: var(--doux);
  text-decoration: none;
  transition: color 200ms ease;
}

.pied nav a:hover {
  color: var(--encre);
}

.pied__copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 2.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--bord);
  font-size: 0.88rem;
}

.pied__copyright a {
  color: var(--doux);
}

.pied__editeur {
  color: var(--encre) !important;
  font-weight: 700;
  text-decoration: none;
}

.pied__editeur:hover {
  color: var(--violet-clair) !important;
}

/* ============================== Apparitions au defilement ============================== */
.revele {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms ease,
    transform 900ms var(--courbe);
  transition-delay: calc(var(--ordre, 0) * 90ms);
}

.revele--visible {
  opacity: 1;
  transform: none;
}

/* ============================== Images-cles ============================== */
@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mot-apparait {
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes apparait-zoom {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flotte {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes derive {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(5%, -6%) scale(1.1);
  }
  66% {
    transform: translate(-6%, 5%) scale(0.94);
  }
}

@keyframes chatoie {
  to {
    background-position: 200% center;
  }
}

@keyframes tourne {
  to {
    --angle: 360deg;
  }
}

@keyframes pulse-vert {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
  }
}

@keyframes pulse-rouge {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(244, 63, 94, 0);
  }
}

@keyframes clignote {
  50% {
    opacity: 0.3;
  }
}

@keyframes reconfirme {
  0% {
    background: transparent;
  }
  35% {
    background: rgba(52, 211, 153, 0.1);
  }
  100% {
    background: transparent;
  }
}

@keyframes pose {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes trace {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes defile {
  to {
    transform: translateX(-50%);
  }
}

@keyframes eclat {
  0%,
  70% {
    transform: translateX(-120%) skewX(-20deg);
  }
  100% {
    transform: translateX(320%) skewX(-20deg);
  }
}

@keyframes battement {
  0%,
  100% {
    transform: rotate(-4deg) scale(1);
  }
  50% {
    transform: rotate(-4deg) scale(1.08);
  }
}

@keyframes degrade-mouvant {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ============================== Affichage clair : ajustements ============================== */
:root[data-theme='clair'] .halo {
  opacity: 0.16;
}

:root[data-theme='clair'] .scene::before {
  opacity: 0.45;
}

:root[data-theme='clair'] .tuile:hover,
:root[data-theme='clair'] .offre:hover {
  box-shadow: 0 26px 60px rgba(40, 20, 90, 0.14);
}

:root[data-theme='clair'] .demo,
:root[data-theme='clair'] .appel__contenu,
:root[data-theme='clair'] .offre--recommandee,
:root[data-theme='clair'] .pastille-flottante {
  box-shadow: 0 30px 80px rgba(40, 20, 90, 0.14);
}

:root[data-theme='clair'] .tuile,
:root[data-theme='clair'] .offre,
:root[data-theme='clair'] .frise,
:root[data-theme='clair'] .avantages p,
:root[data-theme='clair'] .paiement-unique {
  box-shadow: 0 8px 30px rgba(40, 20, 90, 0.06);
}

/* ============================== Bouton clair / sombre ============================== */
.theme-bouton {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--bord-fort);
  border-radius: 12px;
  background: var(--verre);
  color: var(--encre);
  cursor: pointer;
  transition:
    border-color 250ms ease,
    background-color 250ms ease,
    transform 200ms ease;
}

.theme-bouton:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: var(--verre-fort);
  transform: translateY(-1px);
}

.theme-bouton svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 500ms var(--courbe),
    opacity 300ms ease;
}

/* Theme sombre : le soleil propose de passer au clair. Theme clair : la lune. */
.theme-bouton__lune {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

:root[data-theme='clair'] .theme-bouton__soleil {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

:root[data-theme='clair'] .theme-bouton__lune {
  opacity: 1;
  transform: none;
}

/* Bascule : le nouveau theme s'etend en cercle depuis le bouton (navigateurs recents). */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: bascule-theme 650ms var(--courbe);
}

@keyframes bascule-theme {
  from {
    clip-path: circle(0 at var(--bascule-x, 100%) var(--bascule-y, 0));
  }
  to {
    clip-path: circle(150vmax at var(--bascule-x, 100%) var(--bascule-y, 0));
  }
}

/* ============================== Telechargement Mac ============================== */
.telechargements {
  margin: 0.5rem 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.bouton svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.bouton--bientot {
  cursor: default;
  opacity: 0.75;
}

.bouton--bientot:hover {
  transform: none;
  border-color: var(--bord-fort);
  background: var(--verre);
}

.bouton--bientot small {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: var(--violet-clair);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================== Page d'achat ============================== */
.en-tete-page--compact {
  padding-bottom: 1rem;
}

.achat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 980px) {
  .achat {
    grid-template-columns: minmax(0, 1fr);
  }
}

.achat__formulaire {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.achat__etape {
  margin: 0;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  border: 1px solid var(--bord);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.achat__etape.formulaire {
  gap: 1.1rem;
}

.achat__titre {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  float: left;
  width: 100%;
  margin: 0 0 1.3rem;
  padding: 0;
  color: var(--encre);
  font-family: var(--police-titre);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.achat__titre + * {
  clear: both;
}

.achat__numero {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

/* Formules a choisir */
.choix-formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

@media (max-width: 720px) {
  .choix-formules {
    grid-template-columns: 1fr;
  }
}

.choix-formule {
  position: relative;
  display: block;
  cursor: pointer;
}

.choix-formule input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choix-formule__carte {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.1rem 1.1rem;
  border: 1.5px solid var(--bord-fort);
  border-radius: 18px;
  background: var(--fond-2);
  transition:
    border-color 250ms ease,
    background-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms var(--courbe);
}

.choix-formule:hover .choix-formule__carte {
  border-color: rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

.choix-formule input:checked + .choix-formule__carte {
  border-color: var(--violet);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 92, 246, 0.2), transparent 60%),
    var(--fond-2);
  box-shadow:
    0 0 0 3px rgba(139, 92, 246, 0.2),
    0 18px 40px rgba(124, 58, 237, 0.2);
}

.choix-formule input:focus-visible + .choix-formule__carte {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

.choix-formule__badge {
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.choix-formule__coche {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 22px;
  height: 22px;
  border: 2px solid var(--bord-fort);
  border-radius: 50%;
  transition:
    background-color 250ms ease,
    border-color 250ms ease;
}

.choix-formule input:checked + .choix-formule__carte .choix-formule__coche {
  border-color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat,
    linear-gradient(135deg, var(--violet), var(--magenta));
}

.choix-formule__nom {
  padding-right: 1.8rem;
  color: var(--encre);
  font-family: var(--police-titre);
  font-size: 1.15rem;
  font-weight: 800;
}

.choix-formule__postes {
  margin: 0.15rem 0 1rem;
  color: var(--doux);
  font-size: 0.88rem;
}

.choix-formule__prix {
  margin-top: auto;
  color: var(--doux);
  font-size: 0.85rem;
  font-weight: 700;
}

.choix-formule__prix .prix-barre {
  display: block;
  font-size: 0.85rem;
}

.choix-formule__prix strong {
  color: var(--encre);
  font-family: var(--police-titre);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

/* Moyens de paiement, avec leurs logos */
.moyens__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.6rem;
}

.moyen {
  position: relative;
}

.moyen input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.moyen__carte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.5rem 0.75rem;
  border: 1.5px solid var(--bord-fort);
  border-radius: 16px;
  background: var(--fond-2);
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--courbe);
}

.moyen__carte:hover {
  border-color: rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

.moyen input:checked + .moyen__carte {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.moyen input:focus-visible + .moyen__carte {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

.moyen__nom {
  color: var(--encre);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.moyens .case {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.2rem;
  color: var(--texte);
}

/* Logos des moyens de paiement : une tuile de meme taille pour chacun, dans la couleur de
   fond du logo (MTN jaune, Moov bleu, les autres blancs). Lisibles dans les deux themes. */
.logo-paiement {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 92px;
  height: 56px;
  padding: 9px 12px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--logo-fond, #fff);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.22);
}

.logo-paiement img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-paiement--mtn {
  --logo-fond: #ffcc00;
  padding: 6px 10px;
}

.logo-paiement--moov {
  --logo-fond: #0067b3;
  padding: 4px 10px;
}

.logo-paiement--orange,
.logo-paiement--djamo {
  padding: 8px 6px;
}

:root[data-theme='clair'] .logo-paiement {
  box-shadow:
    inset 0 0 0 1px rgba(30, 20, 70, 0.1),
    0 6px 16px rgba(40, 20, 90, 0.1);
}

/* Bandeau « Paiement unique » : logos avec leur nom, lien vers le site officiel. */
.liens-paiement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lien-paiement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--doux);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 250ms ease;
}

.lien-paiement .logo-paiement {
  transition:
    transform 300ms var(--courbe),
    box-shadow 300ms ease;
}

.lien-paiement:hover,
.lien-paiement:focus-visible {
  color: var(--encre);
}

.lien-paiement:hover .logo-paiement,
.lien-paiement:focus-visible .logo-paiement {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    0 0 0 2px var(--violet),
    0 14px 28px rgba(124, 58, 237, 0.3);
}

.lien-paiement:focus-visible {
  outline: none;
}

/* Petites tuiles (recapitulatif de la commande). */
.logos-paiement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.logos-paiement .logo-paiement {
  width: 54px;
  height: 34px;
  padding: 4px 6px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.moyen__carte .logo-paiement {
  width: 84px;
  height: 50px;
}

/* Recapitulatif (reste visible a cote du formulaire) */
.recap {
  position: sticky;
  top: calc(var(--entete) + 1.2rem);
  padding: 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 24px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%) padding-box,
    linear-gradient(180deg, var(--surface-3), var(--surface)) padding-box,
    conic-gradient(from var(--angle), var(--violet), var(--magenta), var(--indigo), var(--violet)) border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: tourne 8s linear infinite;
}

@media (max-width: 980px) {
  .recap {
    position: static;
  }
}

.recap__titre {
  margin: 0 0 1rem;
  color: var(--violet-clair);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.recap__formule {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bord);
}

.recap__formule p {
  margin: 0;
}

.recap__nom {
  color: var(--encre);
  font-family: var(--police-titre);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.recap__postes {
  color: var(--texte);
}

.recap__vie {
  display: inline-block;
  margin-top: 0.6rem !important;
  padding: 0.12rem 0.6rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  color: var(--violet-clair);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.recap__lignes {
  margin: 0;
  padding: 0.6rem 0;
}

.recap__lignes > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.recap__lignes dt {
  color: var(--doux);
}

.recap__lignes dd {
  margin: 0;
  white-space: nowrap;
  color: var(--succes);
  font-weight: 700;
}

.recap__remise {
  display: inline-block;
  white-space: nowrap;
  margin-left: 0.3rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #f97316);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.recap__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--bord);
  color: var(--texte);
  font-weight: 700;
}

.recap__total strong {
  font-family: var(--police-titre);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.recap__montant--change {
  animation: pose 450ms var(--courbe);
}

.recap__unefois {
  margin: 0.2rem 0 1.2rem;
  color: var(--doux);
  font-size: 0.88rem;
  text-align: right;
}

.recap .notice {
  margin-bottom: 1rem;
}

.recap__payer {
  width: 100%;
}

.recap__securite {
  margin: 0.9rem 0 1rem;
  color: var(--doux);
  font-size: 0.82rem;
  text-align: center;
}

:root[data-theme='clair'] .recap {
  box-shadow: 0 30px 80px rgba(40, 20, 90, 0.14);
}

/* ============================== Sans animations ============================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .revele,
  .titre-anime .mot {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .manifeste .mot {
    color: var(--encre);
  }

  .scene__principal,
  .chapitre__visuel {
    transform: none;
  }
}
