/* =========================================================
   TISMA — feuille de style
   Ambiance « aurore dans un observatoire de nuit » (inspiration Huly) :
   fond presque noir, faisceau lumineux violet-bleu → corail dans l'accueil,
   alternance de bandes sombres et claires, cartes lumineuses.
   Pensée d'abord pour le mobile, puis élargie pour l'ordinateur.
   ========================================================= */

:root {
  /* Couleurs */
  --void: #090a0c;          /* fond sombre principal */
  --card: #111111;          /* cartes sur fond sombre */
  --card-2: #16171a;
  --edge: #232428;          /* bordures discrètes sur sombre */
  --edge-2: #4a4b50;        /* bordures plus visibles */
  --iron: #6b6c6d;
  --smoke: #95979e;         /* texte secondaire */
  --ash: #a9a9aa;
  --frost: #d1d1d1;
  --linen: #e5e5e7;
  --snow: #ffffff;
  --paper: #f6f6f6;         /* bande claire secondaire */
  --ink: #050506;           /* texte sur fond clair */
  --ink-2: #303236;
  --iris: #5683da;          /* action principale */
  --iris-light: #8fb0ff;
  --iris-deep: #3d6fd6;
  --ember: #ff8964;         /* accent chaud */
  --ember-deep: #d9552c;
  --sun: #ffd3a8;

  --grad: linear-gradient(100deg, var(--iris-light) 0%, var(--iris) 28%, var(--ember) 72%, var(--sun) 100%);
  --grad-light: linear-gradient(100deg, var(--iris-deep) 0%, #7a63d6 45%, var(--ember-deep) 100%);

  /* Polices */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  /* Formes, espaces, mouvements */
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(88px, 11vw, 150px);
  --header-h: 68px;
  --shadow-xl: 0 6px 25px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--void);
}

body {
  margin: 0;
  background: var(--void);
  color: var(--snow);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: var(--iris); color: #fff; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--snow);
  color: var(--ink);
  font-size: 14px;
}
.skip-link:focus { top: 10px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { position: relative; padding: var(--section) 0; }
.dark { background: var(--void); color: var(--snow); overflow: hidden; overflow: clip; }
.method { overflow: visible; } /* sinon le téléphone ne peut pas rester collé à l'écran */
.light { background: var(--snow); color: var(--ink); }
.light--linen { background: var(--paper); }

/* ---------- Typographie ---------- */

.display {
  font-family: var(--font-display);
  font-size: clamp(42px, 1.2rem + 6.2vw, 84px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.title {
  font-family: var(--font-display);
  font-size: clamp(34px, 1.1rem + 3.6vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

/* Texte en dégradé violet-bleu → corail */
.grad,
.grad .w {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.light .grad,
.light .grad .w { background-image: var(--grad-light); }
/* Chaque mot découpé garde un dégradé continu */
.grad .w { background-size: 300% 100%; background-position: var(--gx, 0%) 0; }

/* Petites étiquettes « pilule » */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}
.chip--iris { background: rgba(86, 131, 218, .14); color: var(--iris-light); }
.chip--ember { background: rgba(255, 137, 100, .14); color: var(--ember); }
.light .chip--iris { background: rgba(86, 131, 218, .12); color: var(--iris-deep); }
.light .chip--ember { background: rgba(255, 137, 100, .15); color: var(--ember-deep); }
.chip--xs { padding: 3px 9px; font-size: 11px; }
.chip__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
}
.chip__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--ember);
  animation: ping 2.2s var(--ease-out) infinite;
}

/* ---------- Boutons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--iris {
  background: var(--iris);
  color: #fff;
  box-shadow: 0 8px 26px rgba(86, 131, 218, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--iris:hover { background: #6a93e6; box-shadow: 0 0 0 6px rgba(86, 131, 218, .22), 0 10px 34px rgba(86, 131, 218, .55); }

.btn--white {
  background: var(--snow);
  color: var(--void);
  box-shadow: 0 8px 30px rgba(255, 255, 255, .12);
}
.btn--white:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 10px 40px rgba(255, 137, 100, .35); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--snow);
  background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover { background: var(--snow); color: var(--void); border-color: var(--snow); }

.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* Lien avec flèche */
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--iris-light);
  font-weight: 500;
}
.more::after {
  content: "→";
  transition: transform .3s var(--ease);
}
.more:hover::after { transform: translateX(5px); }
.light .more { color: var(--iris-deep); }

/* ---------- 1. En-tête ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.header.is-scrolled::before,
.menu-open .header::before {
  background: rgba(9, 10, 12, .86);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .02em;
}
.logo__mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--iris), var(--ember), var(--sun), var(--iris));
  animation: spin 8s linear infinite;
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--void);
}
.logo--small { font-size: 16px; }
.logo--small .logo__mark { width: 20px; height: 20px; }

.nav { display: none; }
.header__tel { display: none; }

.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--snow);
  transition: transform .35s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(60% 40% at 80% 100%, rgba(255, 137, 100, .22), transparent 70%),
    radial-gradient(50% 40% at 10% 20%, rgba(86, 131, 218, .2), transparent 70%),
    var(--void);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .3s var(--ease), visibility 0s;
}
.menu__list a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.menu__item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.menu.is-open .menu__item {
  opacity: 1;
  transform: none;
  transition-delay: calc(80ms + var(--i) * 55ms);
}
.menu__cta {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 36px;
}
body.menu-open { overflow: hidden; }

/* ---------- 2. Accueil ---------- */

.hero {
  --p: 0;   /* avancement du scroll dans l'accueil (0 → 1) */
  --tx: 0;  /* position de la souris (-1 → 1) */
  --ty: 0;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 72px;
  background: var(--void);
  isolation: isolate;
}

/* Le faisceau lumineux */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.aurora__beam,
.aurora__core {
  position: absolute;
  top: -25%;
  left: 62%;
  height: 150%;
  transform-origin: 50% 0;
}
.aurora__beam {
  width: clamp(170px, 24vw, 380px);
  background: linear-gradient(180deg,
    rgba(86, 131, 218, 0) 0%,
    rgba(86, 131, 218, .55) 26%,
    rgba(160, 120, 220, .55) 44%,
    rgba(255, 137, 100, .8) 64%,
    rgba(255, 236, 220, .95) 84%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(46px);
  opacity: .9;
  transform: translateX(-50%) rotate(14deg);
  animation: beam 9s ease-in-out infinite alternate;
}
.aurora__core {
  width: 3px;
  background: linear-gradient(180deg, transparent 10%, #cfe0ff 38%, #ffd9c9 70%, transparent 95%);
  filter: blur(1.5px);
  opacity: .75;
  transform: translateX(-50%) rotate(14deg);
  animation: beam 9s ease-in-out infinite alternate;
}
.aurora__glow {
  position: absolute;
  left: 58%;
  bottom: -38%;
  width: 130vw;
  max-width: 1500px;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 129, .5), rgba(255, 218, 159, .14) 45%, transparent 100%);
  transform: translateX(-50%);
  animation: glow 7s ease-in-out infinite alternate;
}
.aurora__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .9), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.4px 1.4px at 44% 12%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1px 1px at 52% 44%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.3px 1.3px at 71% 22%, rgba(255, 255, 255, .9), transparent),
    radial-gradient(1px 1px at 83% 58%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.2px 1.2px at 91% 14%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1px 1px at 6% 78%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.2px 1.2px at 36% 86%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1px 1px at 64% 80%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.3px 1.3px at 18% 40%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1px 1px at 96% 40%, rgba(255, 255, 255, .6), transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
}
/* Halo qui suit la souris (ordinateur) */
.hero__spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(86, 131, 218, .16), transparent 62%);
  opacity: 0;
  transition: opacity .5s ease;
}
.hero:hover .hero__spot { opacity: 1; }

.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__text { position: relative; z-index: 2; }
.hero__kicker {
  margin-top: 22px;
  color: var(--smoke);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__title {
  margin-top: 14px;
  font-size: clamp(42px, 1rem + 5.4vw, 70px);
}
.hero__lead {
  max-width: 32em;
  margin-top: 24px;
  color: var(--ash);
  font-size: clamp(17px, 15px + .4vw, 19px);
  line-height: 1.55;
}
.hero__lead strong { color: var(--snow); font-weight: 500; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Maquettes qui flottent */
.shots {
  position: relative;
  aspect-ratio: 1 / .92;
  z-index: 1;
}
.shot {
  position: absolute;
  translate: calc(var(--tx) * var(--depth, 10px)) calc(var(--ty) * var(--depth, 10px) + var(--p) * var(--lift, -40px) * var(--lift-k, .4));
  transition: translate .12s ease-out; /* suit la souris presque sans retard */
}
.shot--main,
.shot--side {
  overflow: hidden;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-xl), 0 30px 80px rgba(86, 131, 218, .18);
}
.shot img { width: 100%; }
.shot--main { top: 6%; left: 0; width: 88%; --depth: 12px; --lift: -30px; }
.shot--side { right: 0; bottom: 8%; z-index: 2; width: 56%; --depth: 22px; --lift: -70px; box-shadow: var(--shadow-xl), 0 30px 80px rgba(255, 137, 100, .2); }
.shot--phone { left: 4%; bottom: 0; z-index: 3; width: 24%; --depth: 30px; --lift: -110px; }
.shot--price {
  top: 0;
  right: 2%;
  z-index: 4;
  display: grid;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(17, 17, 17, .62);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-xl);
  --depth: 36px;
  --lift: -90px;
}
.shot__price-label { color: var(--smoke); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.shot__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shot__price-sub { color: var(--ash); font-size: 11px; }

/* Barre de fenêtre de navigateur */
.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  background: var(--card-2);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.frame__bar i:nth-child(2) { background: #febc2e; }
.frame__bar i:nth-child(3) { background: #28c840; }

/* Téléphone */
.iphone {
  padding: 4.2%;
  border-radius: 16% / 7.6%;
  background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #3a3b40, var(--shadow-xl), 0 30px 70px rgba(86, 131, 218, .28);
}
.iphone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 12.5% / 5.8%;
  background: #fff;
  container-type: inline-size;
  isolation: isolate;
}
.iphone__screen > img {
  position: absolute;
  top: 6.5%;
  left: 0;
  width: 100%;
  height: 93.5%;
  object-fit: cover;
  object-position: 50% 0;
}
.iphone__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.5%;
  padding: 0 9% 0 12%;
  color: #1d1d1f;
  font-size: 7px;
  font-size: 5.2cqw;
  letter-spacing: 0;
}
.iphone__status svg { width: 16px; width: 15cqw; height: auto; }
.iphone__island {
  position: absolute;
  top: 1.6%;
  left: 50%;
  z-index: 4;
  width: 31%;
  height: 3.3%;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

/* ---------- Bandeau qui défile ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  background: var(--void);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(18px, 14px + 1vw, 26px);
  font-weight: 500;
  letter-spacing: -.03em;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}
.marquee i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(255, 137, 100, .6);
}

/* ---------- Titres de section ---------- */

.head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.head .title { margin-top: 16px; }
.head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.head--center .title { max-width: 16em; }

/* ---------- 3. Pourquoi : recherche + cartes ---------- */

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 580px;
  height: 62px;
  margin-top: 32px;
  padding: 0 8px 0 22px;
  border-radius: 9999px;
  background: var(--snow);
  border: 1px solid var(--frost);
  box-shadow: 0 10px 40px rgba(86, 131, 218, .14), 0 4px 6px rgba(0, 0, 0, .04);
  color: var(--ink);
  font-size: 17px;
  text-align: left;
}
.search__icon { width: 20px; height: 20px; color: var(--iron); }
.search__query { overflow: hidden; white-space: nowrap; }
.search__caret {
  flex: none;
  width: 2px;
  height: 22px;
  margin-left: -11px;
  border-radius: 1px;
  background: var(--iris);
  animation: blink 1.1s steps(1) infinite;
}
.search__btn {
  flex: none;
  margin-left: auto;
  padding: 11px 18px;
  border-radius: 9999px;
  background: var(--iris);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.cards3 { display: grid; gap: 16px; }

/* Carte sombre lumineuse */
.card,
.ctile,
.offer,
.tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--edge);
  color: var(--snow);
  transition: transform .5s var(--ease), border-color .4s ease;
}
.card__num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .07);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title {
  margin-top: auto;
  padding-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(21px, 18px + .6vw, 25px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.03em;
}

/* Halo de couleur dans un coin des cartes */
.glow::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 137, 100, .42), rgba(255, 218, 159, .1) 55%, transparent);
  transition: transform .8s var(--ease);
}
.glow--iris::before { background: radial-gradient(closest-side, rgba(86, 131, 218, .5), rgba(143, 176, 255, .1) 55%, transparent); }
.glow--mix::before { background: radial-gradient(closest-side, rgba(170, 120, 230, .45), rgba(255, 137, 100, .12) 55%, transparent); }

/* Lumière qui suit la souris sur les cartes */
[data-spot]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .09), transparent 45%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
@media (hover: hover) {
  [data-spot]:hover::after { opacity: 1; }
  .card:hover,
  .ctile:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); }
  .card:hover.glow::before,
  .ctile:hover.glow::before { transform: scale(1.25) translate(-20px, 20px); }
}

/* ---------- 4. Offres ---------- */

.section__halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 100% 100%, rgba(255, 137, 100, .16), transparent 70%),
    radial-gradient(40% 45% at 0% 0%, rgba(86, 131, 218, .16), transparent 70%);
}
.section__halo--left { display: none; }
@media (min-width: 960px) { .section__halo--left { display: block; } }
.section__halo--left {
  background:
    radial-gradient(45% 55% at 0% 50%, rgba(86, 131, 218, .18), transparent 70%),
    radial-gradient(30% 40% at 100% 0%, rgba(255, 137, 100, .1), transparent 70%);
}

.offers { display: grid; gap: 20px; }
.offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #141518, var(--card));
  border: 1px solid var(--edge);
}
.offer__name {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(26px, 20px + 1vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.offer__desc { margin-top: 8px; color: var(--ash); }
.offer__price {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.offer__from { color: var(--smoke); font-size: 13px; }
.offer__amount {
  font-family: var(--font-display);
  font-size: clamp(48px, 36px + 2.4vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}
.offer--featured .offer__amount {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.features {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 30px 0 34px;
  padding-top: 26px;
  border-top: 1px solid var(--edge);
}
.features li { display: flex; align-items: center; gap: 12px; color: #e8e8ea; }
.features .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(86, 131, 218, .16);
  color: var(--iris-light);
}
.offer--featured .features .icon { background: rgba(255, 137, 100, .16); color: var(--ember); }
.offer .btn { margin-top: auto; }

/* Bordure lumineuse qui tourne autour de l'offre complète */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.offer--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #16161a, #111111) padding-box,
    conic-gradient(from var(--angle), var(--iris), var(--ember), var(--sun), rgba(255, 255, 255, .08), var(--iris)) border-box;
  box-shadow: 0 30px 80px rgba(255, 137, 100, .12), 0 0 0 1px rgba(255, 255, 255, .02);
  animation: turn 6s linear infinite;
}
.offer--featured::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 137, 100, .3), transparent);
}

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--ash);
}
.note .icon { width: 20px; height: 20px; color: var(--ember); }

/* ---------- 5. Réalisations : carrousel ---------- */

.gallery { position: relative; }
.gallery__track {
  --edge-gap: max(var(--gutter), calc((100% - var(--max)) / 2));
  position: relative;
  display: flex;
  gap: 20px;
  padding: 0 var(--edge-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--edge-gap);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -2px; }
.gallery__item {
  flex: 0 0 auto;
  width: min(84vw, 980px);
  scroll-snap-align: start;
}
.tile {
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  padding: 26px 26px 0;
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--snow);
}
.tile__cap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tile__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 18px + 1.8vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.tile__media { position: relative; flex: 1; margin-top: 24px; }
.window {
  position: absolute;
  top: 0;
  left: 0;
  right: -16%;
  bottom: -12%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-xl);
}
.window img {
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: calc(100% - 26px);
  object-fit: cover;
  object-position: var(--pos, 0 0);
}
.js .window {
  transform: translate3d(0, 10%, 0);
  transition: transform 1.2s var(--ease-out);
}
.js .is-active .window { transform: none; }

/* Commandes du carrousel : points + lecture/pause */
.gallery__controls { display: none; }
.js .gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.gallery__dots {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 16px;
  border-radius: 9999px;
  background: var(--void);
}
.dot { display: block; padding: 12px 6px; }
.dot__track {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  transition: width .5s var(--ease), background-color .3s ease;
}
.dot:hover .dot__track { background: rgba(255, 255, 255, .6); }
.dot.is-active .dot__track { width: 52px; background: rgba(255, 255, 255, .18); }
.dot__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.dot.is-active .dot__fill { animation: dotfill 5s linear forwards; }
.gallery.is-paused .dot.is-active .dot__fill { animation-play-state: paused; }
.gallery.is-stopped .dot.is-active .dot__fill { animation: none; transform: none; }
.gallery__play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--void);
  color: var(--snow);
  transition: transform .25s var(--ease), background-color .25s ease;
}
.gallery__play:hover { background: var(--iris); transform: scale(1.06); }
.gallery__play .icon { grid-area: 1 / 1; width: 20px; height: 20px; }
.gallery__play .icon--play,
.gallery.is-stopped .gallery__play .icon--pause { display: none; }
.gallery.is-stopped .gallery__play .icon--play { display: block; }

/* ---------- 6. Méthode : téléphone collant + étapes ---------- */

.method { --pw: min(46vw, calc((50vh - 70px) * .483)); }
@supports (height: 1svh) {
  .method { --pw: min(46vw, calc((50svh - 70px) * .483)); }
}
.method__wrap { position: relative; }
.method__stage {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 0 14px;
  background: var(--void);
}
.method__stage::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(var(--void), rgba(9, 10, 12, 0));
  pointer-events: none;
}
.iphone--method { width: var(--pw); }
.method__dots { display: flex; gap: 8px; }
.method__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--edge-2);
  transition: background-color .4s var(--ease), transform .4s var(--ease), width .4s var(--ease);
}
.method[data-step="1"] .method__dots i:nth-child(1),
.method[data-step="2"] .method__dots i:nth-child(2),
.method[data-step="3"] .method__dots i:nth-child(3) { width: 22px; border-radius: 999px; background: var(--grad); }

.method__steps { position: relative; z-index: 1; }
/* Mobile : chaque étape occupe l'espace visible sous le téléphone */
.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(50vh - 49px);
  min-height: calc(50svh - 49px);
}
.step__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--edge-2);
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--smoke);
  font-size: 14px;
  font-weight: 500;
}
.step__text {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 1.1rem + 2.4vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
  transition: color .5s var(--ease);
}
.js .step__text { color: var(--iron); }
.js .method[data-step="1"] .step:nth-child(1) .step__text,
.js .method[data-step="2"] .step:nth-child(2) .step__text,
.js .method[data-step="3"] .step:nth-child(3) .step__text { color: var(--snow); }
.method[data-step="1"] .step:nth-child(1) .step__num,
.method[data-step="2"] .step:nth-child(2) .step__num,
.method[data-step="3"] .step:nth-child(3) .step__num {
  border-color: transparent;
  background: var(--grad);
  color: var(--void);
  box-shadow: 0 0 30px rgba(255, 137, 100, .45);
}

/* Les trois écrans du téléphone */
.scr {
  position: absolute;
  top: 6.5%;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.method[data-step="1"] .scr--1,
.method[data-step="2"] .scr--2,
.method[data-step="3"] .scr--3 { opacity: 1; }
.scr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

/* Écran 1 : la démo se construit bloc par bloc */
.sk {
  position: absolute;
  left: 7%;
  height: 1.9%;
  border-radius: 999px;
  background: #e8e8ed;
  transform-origin: 0 50%;
}
.sk--logo { top: 3%; width: 26%; height: 2.4%; background: #d2d2d7; }
.sk--menu { top: 3%; left: auto; right: 7%; width: 9%; height: 2.4%; background: #d2d2d7; }
.sk--img {
  top: 9%;
  right: 7%;
  height: 33%;
  border-radius: 5cqw;
  background: linear-gradient(135deg, rgba(86, 131, 218, .35), rgba(255, 137, 100, .35));
  transform-origin: 50% 50%;
}
.sk--h { top: 46.5%; width: 80%; height: 3.4%; background: #c9c9d0; }
.sk--h2 { top: 51.5%; width: 56%; height: 3.4%; background: #c9c9d0; }
.sk--l1 { top: 59%; width: 86%; }
.sk--l2 { top: 63%; width: 80%; }
.sk--l3 { top: 67%; width: 58%; }
.sk--btn { top: 74%; width: 44%; height: 5.6%; background: var(--iris); }
.scr--1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
  transform: translateX(-100%);
}
.method[data-step="1"] .sk { animation: build .8s var(--ease-out) calc(.15s + var(--i) * .12s) backwards; }
.method[data-step="1"] .sk--img { animation-name: build-img; }
.method[data-step="1"] .scr--1::after { animation: shimmer 2.2s ease-in-out 1.2s infinite; }

/* Écran 2 : on ajuste ensemble (sélection, curseur, couleurs) */
.select {
  position: absolute;
  top: 51%;
  left: 3%;
  width: 78%;
  height: 24%;
  border: 1.5px solid var(--iris);
  border-radius: 1.5cqw;
}
.select i {
  position: absolute;
  width: 4cqw;
  height: 4cqw;
  border: 1.5px solid var(--iris);
  border-radius: 1cqw;
  background: #fff;
}
.select i:nth-child(1) { top: -2cqw; left: -2cqw; }
.select i:nth-child(2) { top: -2cqw; right: -2cqw; }
.select i:nth-child(3) { bottom: -2cqw; left: -2cqw; }
.select i:nth-child(4) { bottom: -2cqw; right: -2cqw; }
.cursor {
  position: absolute;
  top: 73.5%;
  left: 79%;
  width: 11cqw;
  height: 11cqw;
}
.palette {
  position: absolute;
  left: 50%;
  top: 3%;
  display: flex;
  gap: 3.5cqw;
  padding: 2.6cqw 4cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  transform: translateX(-50%);
}
.palette i { width: 6.5cqw; height: 6.5cqw; border-radius: 50%; background: var(--iris); }
.palette i:nth-child(2) { background: var(--ember); }
.palette i:nth-child(3) { background: #1d1d1f; }
.method[data-step="2"] .select { animation: select 5s var(--ease) .4s infinite; }
.method[data-step="2"] .cursor { animation: cursor 5s var(--ease) .4s infinite; }
.method[data-step="2"] .palette i { animation: ring 4.5s linear infinite; }
.method[data-step="2"] .palette i:nth-child(2) { animation-delay: 1.5s; }
.method[data-step="2"] .palette i:nth-child(3) { animation-delay: 3s; }

/* Écran 3 : le site est en ligne (barre d'adresse en bas,
   notification « En ligne » qui sort de la Dynamic Island) */
.urlbar {
  position: absolute;
  bottom: 2.5%;
  left: 9%;
  right: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8cqw;
  height: 9.5cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  color: #1d1d1f;
  font-size: 8px;
  font-size: 4.6cqw;
  font-weight: 500;
}
.urlbar svg { width: 3.6cqw; height: 3.6cqw; }
.live {
  position: absolute;
  top: -5.6%;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2cqw;
  width: 58%;
  height: 6.3%;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-size: 5cqw;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  transform-origin: 50% 30%;
}
.live svg {
  width: 7cqw;
  height: 7cqw;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.live circle { stroke: rgba(48, 209, 88, .35); }
.live path { stroke: #30d158; stroke-dasharray: 14; stroke-dashoffset: 14; }
.method[data-step="3"] .urlbar { animation: bar-up .7s var(--ease-out) .2s backwards; }
.method[data-step="3"] .live { animation: live .8s cubic-bezier(.3, 1.3, .5, 1) .5s backwards; }
.method[data-step="3"] .live path { animation: draw .5s ease 1s forwards; }

/* ---------- 7. Questions fréquentes ---------- */

.faq-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--linen);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.faq details.is-open,
.faq details[open] {
  background: var(--snow);
  border-color: var(--frost);
  box-shadow: 0 14px 40px rgba(86, 131, 218, .12);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 16px + .5vw, 21px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.025em;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--snow);
  border: 1px solid var(--frost);
  transition: transform .45s var(--ease), background-color .3s ease, border-color .3s ease, color .3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  margin: -.9px 0 0 -6px;
  border-radius: 1px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { transform: rotate(45deg); }
.js .faq details .faq__icon { transform: none; }
.js .faq details.is-open .faq__icon,
.faq details.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--iris);
  border-color: var(--iris);
  color: #fff;
}
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 64px 24px 24px; color: var(--ink-2); }

/* ---------- 8. Contact ---------- */

.contact { text-align: center; }
.contact__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 45% at 50% 105%, rgba(255, 137, 100, .4), rgba(255, 218, 159, .08) 55%, transparent 75%),
    radial-gradient(30% 60% at 50% 0%, rgba(86, 131, 218, .22), transparent 70%);
  animation: breathe 7s ease-in-out infinite alternate;
}
.contact__inner { position: relative; max-width: calc(940px + 2 * var(--gutter)); }
.contact__title { margin-top: 20px; }
.contact__lead {
  max-width: 30em;
  margin: 22px auto 0;
  color: var(--ash);
  font-size: clamp(17px, 15px + .5vw, 20px);
}
.contact__cta { margin-top: 34px; }
.contact__tiles {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: clamp(48px, 7vw, 72px) auto 0;
}
.ctile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 34px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--edge);
  transition: transform .5s var(--ease), border-color .4s ease;
}
.ctile .card__icon { margin-bottom: 10px; }
.ctile__label { color: var(--smoke); font-size: 14px; }
.ctile__value {
  font-family: var(--font-display);
  font-size: clamp(21px, 18px + 1vw, 28px);
  font-weight: 600;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

/* ---------- 9. Pied de page ---------- */

.footer {
  background: var(--void);
  border-top: 1px solid var(--edge);
  color: var(--smoke);
  font-size: 13px;
}
.footer__inner {
  display: grid;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  padding-right: calc(var(--gutter) + 64px); /* laisse la place au bouton WhatsApp */
}
.footer .logo { color: var(--snow); margin-right: 0; justify-self: start; }
.footer__links { display: flex; gap: 8px; }
.footer__links a { color: var(--snow); }
.footer__links a:hover { color: var(--ember); }

/* ---------- 10. Bouton WhatsApp flottant ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a93e6, var(--iris));
  color: #fff;
  box-shadow: 0 10px 30px rgba(86, 131, 218, .5), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--iris);
  animation: ping 2.6s var(--ease-out) infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) {
  .wa-float:hover { transform: scale(1.08); }
}

/* =========================================================
   Animations
   ========================================================= */

/* Entrée de l'accueil (déclenchée par la classe .is-loaded) */
.js:not(.is-loaded) .hero__in,
.js:not(.is-loaded) .shot,
.js:not(.is-loaded) .aurora,
.js:not(.is-loaded) .wa-float { opacity: 0; }

.js.is-loaded .hero__in { animation: rise 1s var(--ease-out) calc(var(--d) * 90ms) backwards; }
.js.is-loaded .aurora { animation: fade 2.2s ease .1s backwards; }
.js.is-loaded .shot--main { animation: shot-in 1.3s var(--ease-out) .55s backwards, float 7s ease-in-out 2s infinite alternate; }
.js.is-loaded .shot--side { animation: shot-in 1.3s var(--ease-out) .8s backwards, float 8s ease-in-out 2.2s infinite alternate-reverse; }
.js.is-loaded .shot--phone { animation: shot-in 1.3s var(--ease-out) 1s backwards, float 6s ease-in-out 2.4s infinite alternate; }
.js.is-loaded .shot--price { animation: pop .9s cubic-bezier(.3, 1.4, .5, 1) 1.4s backwards, float 5s ease-in-out 2.6s infinite alternate-reverse; }
.js.is-loaded .wa-float { animation: pop .7s cubic-bezier(.3, 1.4, .5, 1) 2s backwards; }

/* Titres qui apparaissent mot à mot */
[data-split] .w { display: inline-block; }
.js [data-split]:not(.is-in) { opacity: 0; }
.js [data-split].is-in .w { animation: word .9s var(--ease-out) calc(var(--w0, 0ms) + var(--i) * 65ms) backwards; }
.hero__title { --w0: 150ms; }

/* Apparition douce des blocs au scroll */
.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal.is-in { animation: rise 1s var(--ease-out) var(--delay, 0ms) backwards; }
.js .reveal--zoom.is-in { animation-name: zoom; }
.js .offer.is-in .features li { animation: rise .7s var(--ease-out) calc(var(--delay, 0ms) + 350ms + var(--i) * 90ms) backwards; }
.js .offer--featured.is-in { animation: rise 1s var(--ease-out) var(--delay, 0ms) backwards, turn 6s linear infinite; }

@keyframes rise { from { opacity: 0; transform: translate3d(0, 34px, 0); } }
@keyframes zoom { from { opacity: 0; transform: scale(.92); } }
@keyframes fade { from { opacity: 0; } }
@keyframes word { from { opacity: 0; transform: translate3d(0, .45em, 0) rotate(3deg); filter: blur(6px); } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }
@keyframes shot-in { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(.94) rotate(-2deg); } }
@keyframes float { to { transform: translate3d(0, -12px, 0); } }
@keyframes beam {
  from { transform: translateX(-50%) rotate(14deg) scaleX(1); opacity: .75; }
  to { transform: translateX(-42%) rotate(9deg) scaleX(1.3); opacity: 1; }
}
@keyframes glow { to { transform: translateX(-50%) scale(1.12); opacity: .8; } }
@keyframes twinkle { to { opacity: .35; } }
@keyframes breathe { to { opacity: .7; transform: scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping {
  0% { transform: scale(1); opacity: .8; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes turn { to { --angle: 360deg; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dotfill { to { transform: scaleX(1); } }
@keyframes build { from { opacity: 0; transform: scaleX(.15); } }
@keyframes build-img { from { opacity: 0; transform: scale(.9); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes select {
  0%, 36% { top: 51%; left: 3%; width: 78%; height: 24%; }
  50%, 86% { top: 89%; left: 3%; width: 34%; height: 9%; }
  100% { top: 51%; left: 3%; width: 78%; height: 24%; }
}
@keyframes cursor {
  0%, 36% { top: 73.5%; left: 79%; }
  50%, 86% { top: 92%; left: 35%; }
  100% { top: 73.5%; left: 79%; }
}
@keyframes ring {
  0%, 30% { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px var(--iris); }
  34%, 100% { box-shadow: 0 0 0 0 #fff, 0 0 0 0 rgba(86, 131, 218, 0); }
}
@keyframes bar-up { from { opacity: 0; transform: translateY(70%); } }
@keyframes live { from { opacity: 0; transform: translateX(-50%) scale(.5, .55); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Si l'appareil demande moins d'animations : on garde des fondus doux,
   sans grands mouvements. Ajouter ?anim=1 à l'adresse force tout. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion).js.is-loaded .hero__in,
  html:not(.force-motion).js.is-loaded .shot,
  html:not(.force-motion).js.is-loaded .wa-float,
  html:not(.force-motion).js .reveal.is-in,
  html:not(.force-motion).js .offer.is-in .features li,
  html:not(.force-motion) .method[data-step="1"] .sk,
  html:not(.force-motion) .method[data-step="3"] .urlbar,
  html:not(.force-motion) .method[data-step="3"] .live { animation: fade 1s ease backwards; }
  html:not(.force-motion).js [data-split].is-in { animation: fade .9s var(--ease-out) backwards; }
  html:not(.force-motion) .aurora__beam,
  html:not(.force-motion) .aurora__core,
  html:not(.force-motion) .aurora__glow,
  html:not(.force-motion) .aurora__stars,
  html:not(.force-motion) .contact__aurora,
  html:not(.force-motion) .marquee__track,
  html:not(.force-motion) .logo__mark,
  html:not(.force-motion) .chip__dot::after,
  html:not(.force-motion) .wa-float::before,
  html:not(.force-motion) .method[data-step="1"] .scr--1::after,
  html:not(.force-motion) .method[data-step="2"] .select,
  html:not(.force-motion) .method[data-step="2"] .cursor,
  html:not(.force-motion) .method[data-step="2"] .palette i { animation: none; }
  html:not(.force-motion) .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--gutter); }
  html:not(.force-motion) .palette i:first-child { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px var(--iris); }
  html:not(.force-motion).js .window { transform: none; transition: none; }
  html:not(.force-motion) .menu__item { transform: none; }
}

/* ---------- Page mentions légales ---------- */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: var(--void);
  isolation: isolate;
}
.legal-hero .aurora__beam { left: 80%; opacity: .6; }
.legal-hero .aurora__core { left: 80%; }
.legal-hero .display { margin-top: 18px; font-size: clamp(40px, 1.2rem + 5vw, 72px); }
.legal { padding: clamp(56px, 8vw, 96px) 0 var(--section); }
.legal .container { max-width: calc(780px + 2 * var(--gutter)); }
.legal h2 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 18px + 1vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 10px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; margin: 12px 0; }
.legal strong { color: var(--ink); }
.legal a:not(.btn):not(.more) { color: var(--iris-deep); }
.legal a:not(.btn):not(.more):hover { text-decoration: underline; }
.legal .more { margin-top: 40px; }

/* =========================================================
   Tablette et plus
   ========================================================= */

@media (min-width: 768px) {
  .cards3 { grid-template-columns: repeat(3, 1fr); }
  .card { min-height: 300px; }
  .offers { grid-template-columns: 1fr 1fr; }
  .tile { aspect-ratio: 16 / 9; padding: 40px 44px 0; }
  .window { left: 5%; right: 5%; bottom: -14%; }
  .contact__tiles { grid-template-columns: 1fr 1fr; }
  .contact__tiles--3 { max-width: 1080px; }
  .contact__tiles--3 .ctile:first-child { grid-column: 1 / -1; }
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding-right: calc(var(--gutter) + 72px);
  }
}

/* =========================================================
   Ordinateur
   ========================================================= */

@media (min-width: 960px) {
  .nav { display: flex; flex: 1; justify-content: center; }
  .nav__links { display: flex; gap: 6px; }
  .nav__links a {
    display: block;
    padding: 8px 14px;
    border-radius: 9999px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .nav__links a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
  .logo { margin-right: 0; }
  .burger, .menu { display: none; }

  /* Méthode : téléphone à gauche, étapes à droite */
  .method { --pw: min(300px, calc((100vh - 190px) * .483)); }
  @supports (height: 1svh) {
    .method { --pw: min(300px, calc((100svh - 190px) * .483)); }
  }
  .method__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .method__stage {
    top: calc((100vh + var(--header-h) - var(--pw) * 2.07) / 2);
    align-self: start;
    padding: 0;
    background: none;
  }
  .method__stage::after { display: none; }
  .method__steps { padding: 0 0 36vh 40px; }  /* marge en bas : l'étape 3 reste visible avec le téléphone */
  .method__steps::before,
  .method__steps::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 36vh;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: var(--edge);
  }
  .method__steps::after {
    background: linear-gradient(180deg, var(--iris), var(--ember));
    box-shadow: 0 0 16px rgba(255, 137, 100, .5);
    transform: scaleY(var(--mp, 0));
    transform-origin: 50% 0;
  }
  .step {
    min-height: 72vh;
    min-height: 72svh;
  }

  .wa-float { right: 28px; bottom: 28px; width: 62px; height: 62px; }
}

@media (min-width: 1024px) {
  .hero { --lift-k: 1; min-height: 100vh; display: flex; align-items: center; padding-bottom: 88px; }
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 48px; }
  .shots { aspect-ratio: 1 / 1; }
  .shot--main { top: 14%; left: 4%; width: 100%; }
  .shot--side { right: -10%; bottom: 10%; width: 58%; }
  .shot--phone { left: 0; bottom: 2%; width: 24%; }
  .shot--price { top: 2%; right: -2%; }
  .aurora__beam, .aurora__core { left: 68%; }
}

@media (min-width: 1200px) {
  .header__tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    transition: color .2s ease;
  }
  .header__tel .icon { width: 16px; height: 16px; }
  .header__tel:hover { color: #fff; }
}

/* Logo TISMA (lettres métal) */
.logo__img { display: block; height: 30px; width: auto; }
.logo--small .logo__img { height: 24px; }
@media (min-width: 960px) { .header .logo__img { height: 34px; } }

/* =========================================================
   EFFETS (à garder ou retirer selon ton avis) — numérotés
   ========================================================= */

/* 1. Curseur personnalisé (ordinateur uniquement) */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease;
}
.has-cursor.cursor-in .cursor-dot,
.has-cursor.cursor-in .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
  mix-blend-mode: difference;
}
.cursor-ring {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: opacity .3s ease, width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out),
    background-color .3s ease, border-color .3s ease, font-size .2s ease;
}
.cursor-ring.is-link {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--iris);
  background: rgba(86, 131, 218, .14);
}
.cursor-ring.is-label {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-color: transparent;
  background: var(--grad);
  font-size: 13px;
  box-shadow: 0 10px 40px rgba(255, 137, 100, .45);
}
.cursor-ring.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor-ring.on-light:not(.is-label) { border-color: rgba(5, 5, 6, .45); }
.cursor-dot.on-light { background: var(--ink); mix-blend-mode: normal; }

/* 2. Traînée d'étincelles */
.sparks { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

/* 3 + 4. Boutons magnétiques et reflet lumineux */
.btn, .pill, .gallery__play { translate: var(--bx, 0) var(--by, 0); transition: translate .25s var(--ease-out), transform .25s var(--ease), box-shadow .3s ease, background-color .25s ease, border-color .25s ease, color .25s ease; }
.btn { overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  z-index: -1;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(143, 176, 255, .35), transparent); }
@media (hover: hover) {
  .btn:hover::after { animation: shine .75s var(--ease-out); }
}
@keyframes shine { to { left: 130%; } }

/* 5. Particules au clic */
.burst {
  position: fixed;
  z-index: 9997;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  pointer-events: none;
}

/* 6. Cartes inclinées en 3D */
[data-tilt] { transition: transform .5s var(--ease-out), border-color .4s ease; transform-style: preserve-3d; will-change: transform; }
[data-tilt].is-tilting { transition: transform .12s ease-out, border-color .4s ease; }

/* 8. Barre de progression de lecture */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 137, 100, .6);
  transform: scaleX(var(--sp, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* 9. Dégradé qui ondule dans les mots colorés */
.grad { background-size: 200% 100%; animation: flow 6s ease-in-out infinite alternate; }
.js [data-split].is-in .grad .w {
  animation: word .9s var(--ease-out) calc(var(--w0, 0ms) + var(--i) * 65ms) backwards,
             flow-w 5s ease-in-out calc(var(--i) * -.6s) infinite alternate;
}
@keyframes flow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes flow-w { from { background-position: calc(var(--gx, 0%) - 25%) 0; } to { background-position: calc(var(--gx, 0%) + 25%) 0; } }

/* 11. Zoom des maquettes au survol */
.window img { transition: transform .9s var(--ease-out); }
@media (hover: hover) {
  .tile:hover .window img { transform: scale(1.06); }
}

/* =========================================================
   6. Méthode (version claire) : 3 cartes d'étapes illustrées
   ========================================================= */
.process-section { overflow: hidden; overflow: clip; }
.process__intro { max-width: 22em; color: var(--ash); font-size: 17px; }
.process { display: grid; gap: 20px; }
.pstep {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #141518, var(--card));
  border: 1px solid var(--edge);
}
.pstep__top { display: flex; align-items: center; gap: 14px; }
.pstep__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--edge-2);
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
  transition-delay: calc(var(--delay, 0ms) + 350ms);
}
.pstep.is-in .pstep__num,
html:not(.js) .pstep__num {
  border-color: transparent;
  background: var(--grad);
  color: var(--void);
  box-shadow: 0 0 30px rgba(255, 137, 100, .45);
}
.pstep__line { display: none; }

.pstep__visual {
  position: relative;
  display: grid;
  place-items: center;
  margin: 22px 0;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(86, 131, 218, .28), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(255, 137, 100, .22), transparent 70%),
    #0c0d10;
  border: 1px solid rgba(255, 255, 255, .06);
}
.pstep__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--ash);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pstep__label { display: flex; align-items: center; gap: 10px; color: var(--smoke); font-size: 13px; font-weight: 500; }
.pstep__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(21px, 18px + .7vw, 25px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.03em;
}
.pstep__text { margin-top: 10px; color: var(--ash); font-size: 15px; }

/* Mini fenêtre de site (illustration neutre) */
.mini {
  width: 80%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-2deg);
}
.pstep:nth-child(2) .mini { transform: rotate(1.5deg); }
.mini__bar { display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; background: #ececf1; }
.mini__bar i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.mini__bar i:nth-child(2) { background: #febc2e; }
.mini__bar i:nth-child(3) { background: #28c840; }
.mini__bar em {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 auto;
  padding: 1px 10px;
  border-radius: 999px;
  background: #fff;
  color: #444;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}
.mini__bar em svg { width: 7px; height: 7px; }
.mini__body { position: relative; aspect-ratio: 16 / 9.5; }
.mb { position: absolute; left: 6%; border-radius: 999px; background: #e1e1e8; }
.mb--logo { top: 8%; width: 18%; height: 6%; background: #c9c9d2; }
.mb--nav { top: 8%; left: auto; right: 6%; width: 28%; height: 6%; }
.mb--hero { top: 21%; right: 6%; height: 37%; border-radius: 6px; background: linear-gradient(120deg, rgba(86, 131, 218, .55), rgba(255, 137, 100, .55)); }
.mb--t1 { top: 65%; width: 58%; height: 7%; background: #cfcfd8; }
.mb--t2 { top: 76%; width: 40%; height: 5%; }
.mb--btn { top: 86%; width: 24%; height: 9%; background: var(--iris); }

/* Étape 1 : la page se construit en boucle */
.mini--build .mb { animation: mb-build 5s var(--ease-out) infinite backwards; }
.mini--build .mb:nth-child(2) { animation-delay: .1s; }
.mini--build .mb:nth-child(3) { animation-delay: .3s; }
.mini--build .mb:nth-child(4) { animation-delay: .5s; }
.mini--build .mb:nth-child(5) { animation-delay: .65s; }
.mini--build .mb:nth-child(6) { animation-delay: .85s; }
@keyframes mb-build {
  0% { opacity: 0; transform: scaleX(.15); transform-origin: 0 50%; }
  14%, 82% { opacity: 1; transform: none; transform-origin: 0 50%; }
  92%, 100% { opacity: 0; }
}

/* Étape 2 : on change couleurs et blocs */
.mini--tune .mb--hero { animation: tune-hero 6s steps(1) infinite; }
.mini--tune .mb--btn { animation: tune-btn 6s steps(1) infinite; }
@keyframes tune-hero {
  0% { background: linear-gradient(120deg, rgba(86, 131, 218, .55), rgba(255, 137, 100, .55)); }
  33% { background: linear-gradient(120deg, rgba(255, 137, 100, .7), rgba(255, 211, 168, .8)); }
  66% { background: linear-gradient(120deg, rgba(40, 200, 120, .45), rgba(86, 131, 218, .55)); }
}
@keyframes tune-btn {
  0% { background: var(--iris); }
  33% { background: var(--ember); }
  66% { background: #1d1d1f; }
}
.tune__sel {
  position: absolute;
  border: 1.5px solid var(--iris);
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(86, 131, 218, .18);
  animation: tune-sel 6s var(--ease) infinite;
}
@keyframes tune-sel {
  0%, 26% { top: 18%; left: 3%; width: 94%; height: 43%; }
  33%, 59% { top: 83%; left: 3%; width: 30%; height: 15%; }
  66%, 92% { top: 62%; left: 3%; width: 64%; height: 22%; }
  100% { top: 18%; left: 3%; width: 94%; height: 43%; }
}
.tune__palette {
  position: absolute;
  right: 5%;
  bottom: 6%;
  display: flex;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.tune__palette i { width: 9px; height: 9px; border-radius: 50%; background: var(--iris); animation: ring 6s linear infinite; }
.tune__palette i:nth-child(2) { background: var(--ember); animation-delay: 2s; }
.tune__palette i:nth-child(3) { background: #1d1d1f; animation-delay: 4s; }

/* Étape 3 : le site passe « En ligne » */
.live2 {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: #0b0b0c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
  animation: live-loop 4s cubic-bezier(.3, 1.3, .5, 1) infinite;
}
.live2 svg { width: 18px; height: 18px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.live2 circle { stroke: rgba(48, 209, 88, .35); }
.live2 path { stroke: #30d158; stroke-dasharray: 14; animation: draw-loop 4s ease infinite; }
@keyframes live-loop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  12%, 86% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
}
@keyframes draw-loop {
  0%, 14% { stroke-dashoffset: 14; }
  30%, 100% { stroke-dashoffset: 0; }
}

/* Ordinateur : 3 colonnes reliées par une ligne qui se remplit */
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .pstep__line {
    display: block;
    position: relative;
    flex: 1;
    height: 2px;
    margin-right: -48px; /* rejoint le numéro de l'étape suivante */
    border-radius: 2px;
    background: var(--edge);
    overflow: hidden;
    z-index: 1;
  }
  .pstep__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.2s var(--ease-out);
    transition-delay: calc(var(--delay, 0ms) + 700ms);
  }
  .pstep.is-in .pstep__line::after { transform: scaleX(1); }
}

/* =========================================================
   Tarifs : lancement, paiement en plusieurs fois, maintenance
   ========================================================= */
.offer__launch { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.offer__save {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--void);
  font-size: 12px;
  font-weight: 700;
}
.offer__launch + .offer__price { margin-top: 12px; }
.offer__from s { color: var(--ash); text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.offer:not(.offer--featured) .offer__amount {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offer--featured .offer__amount { background: none; color: var(--snow); }
.pay { display: grid; gap: 8px; width: 100%; margin-top: 18px; }
.pay li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--edge);
  font-size: 13px;
}
.pay b { color: var(--snow); font-weight: 600; }
.pay span { color: var(--ash); }

/* Carte maintenance */
.maint {
  position: relative;
  display: grid;
  gap: 24px;
  margin-top: 20px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(86, 131, 218, .2), transparent 70%),
    linear-gradient(180deg, #141518, var(--card));
  border: 1px solid var(--edge);
  overflow: hidden;
  isolation: isolate;
}
.maint__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 19px + 1.2vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.maint__price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.maint__amount {
  font-family: var(--font-display);
  font-size: clamp(44px, 34px + 2vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}
.maint__per { color: var(--ash); font-size: 17px; }
.maint__gift { margin-top: 12px; }
.maint__list { margin: 0; padding-top: 0; border-top: 0; align-content: center; }
@media (min-width: 900px) {
  .maint { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
  .maint__list { padding-left: 40px; border-left: 1px solid var(--edge); }
}

/* Offre réseaux sociaux */
.social-head { margin-top: clamp(72px, 9vw, 120px); }
.social-head__lead { max-width: 40em; margin-top: 14px; color: var(--ash); }
.offers--3 .offer__name { font-size: clamp(24px, 19px + .9vw, 30px); }
.social-terms {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #141518, var(--card));
  border: 1px solid var(--edge);
}
.social-terms li { display: flex; align-items: flex-start; gap: 10px; color: var(--ash); }
.social-terms .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ember); }
.social-terms b { color: var(--snow); font-weight: 600; }
@media (min-width: 1024px) {
  .offers--3 { grid-template-columns: repeat(3, 1fr); }
  .social-terms { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Comparatif sur 3 ans */
.cost {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 20px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(50% 80% at 0% 100%, rgba(255, 137, 100, .16), transparent 70%),
    linear-gradient(180deg, #141518, var(--card));
  border: 1px solid var(--edge);
  overflow: hidden;
  isolation: isolate;
}
.cost__lead { margin-top: 12px; color: var(--ash); max-width: 34ch; }
.cost__rows { display: grid; gap: 26px; }
.cost__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px 16px;
}
.cost__label { display: flex; flex-direction: column; gap: 2px; }
.cost__label b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cost__label span { color: var(--smoke); font-size: 13px; }
.cost__total {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: clamp(30px, 24px + 1.4vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}
.cost__row:not(.cost__row--us) .cost__total { color: var(--smoke); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 137, 100, .7); }
.cost__row--us .cost__total { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cost__bar {
  grid-column: 1 / -1;
  position: relative;
  height: 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.cost__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) .25s;
}
.cost__bar--rent::after { background: repeating-linear-gradient(135deg, #4a4b50 0 8px, #3a3b40 8px 16px); }
.cost__bar--us::after { background: var(--grad); box-shadow: 0 0 24px rgba(255, 137, 100, .45); }
.js .cost.reveal:not(.is-in) .cost__bar::after { transform: scaleX(0); }
.cost__note { grid-column: 1 / -1; color: var(--ash); font-size: 14px; }
.cost__row--us .cost__note { color: var(--snow); }
.cost__save {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 12px 18px;
  border-radius: 99px;
  background: rgba(255, 137, 100, .12);
  border: 1px solid rgba(255, 137, 100, .3);
  color: var(--sun);
  font-size: 15px;
}
.cost__save b { color: var(--snow); font-weight: 600; }
.cost__save .icon { width: 18px; height: 18px; color: var(--ember); }
@media (min-width: 900px) {
  .cost { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 28px 48px; }
  .cost__rows { padding-left: 40px; border-left: 1px solid var(--edge); }
  .cost__save { grid-column: 2; margin-left: 40px; }
}

/* Retouches : étiquettes de la Méthode en bas, email qui tient sur une ligne */
.mini { width: 72%; margin-top: -14px; }
.pstep__tag { top: auto; bottom: 12px; }
a.ctile[href^="mailto:"] .ctile__value { font-size: clamp(17px, 13px + .9vw, 22px); overflow-wrap: normal; word-break: break-all; }
@media (min-width: 640px) { a.ctile[href^="mailto:"] .ctile__value { word-break: normal; } }

@media (max-width: 599px) { .pstep__tag { display: none; } .mini { margin-top: 0; } }

/* 7. Menu : effet « rouleau » doux + soulignement dégradé */
.nav__links a { position: relative; }
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll__a, .roll__b { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.roll__b { transform: translateY(105%); color: #fff; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) {
  .nav__links a:hover .roll__a { transform: translateY(-105%); }
  .nav__links a:hover .roll__b { transform: none; }
  .nav__links a:hover::after { transform: scaleX(1); }
}

/* 11. Le zoom de la maquette passe sous la barre de fenêtre (boutons rouge, jaune, vert) */
.window .frame__bar { position: relative; z-index: 2; }

/* =========================================================
   Réalisations : un écran différent par maquette
   (iPhone, tablette, écran de bureau + tour, portable, télévision)
   ========================================================= */
.tile { padding-bottom: 28px; }
.tile .tile__media {
  display: grid;
  place-items: end center;
  container-type: size;
  min-height: 0;
}
/* Taille : le plus grand possible dans la carte, en gardant les proportions */
.gdev {
  position: relative;
  width: min(100cqw, 100cqh * var(--r));
  aspect-ratio: var(--r);
  transition: transform 1.2s var(--ease-out);
}
.js .gallery__item:not(.is-active) .gdev { transform: translateY(6%) scale(.96); }
.gdev__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.gdev__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
@media (hover: hover) {
  .tile:hover .gdev__screen img { transform: scale(1.06); }
}

/* 1. iPhone */
.gdev--phone {
  --r: .49;
  padding: 4.5%;
  border-radius: 16% / 7.8%;
  background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #44454a, 0 30px 60px rgba(0, 0, 0, .55), 0 0 60px rgba(255, 137, 100, .15);
}
.gdev--phone .gdev__screen { inset: 4.5%; border-radius: 12% / 5.6%; }
.gdev__island {
  position: absolute;
  top: 1.8%;
  left: 50%;
  width: 30%;
  height: 3.2%;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

/* 2. Tablette à l'horizontale */
.gdev--tablet {
  --r: 1.38;
  border-radius: 5% / 7%;
  background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #4a4b50, 0 30px 70px rgba(0, 0, 0, .55), 0 0 70px rgba(86, 131, 218, .18);
}
.gdev--tablet .gdev__screen { inset: 4.4% 3.3%; border-radius: 2.4% / 3.4%; }
.gdev__cam {
  position: absolute;
  top: 50%;
  left: 1.4%;
  width: 1%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2a2b30;
  transform: translateY(-50%);
}

/* 3. Écran de bureau sur pied + tour */
.gdev--desk { --r: 1.55; }
.desk__monitor {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 78%;
  border-radius: 2.4% / 3.8%;
  background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #4a4b50, 0 30px 70px rgba(0, 0, 0, .5);
}
.desk__monitor .gdev__screen { inset: 3% 2.2% 7%; border-radius: 1%; }
.desk__monitor::after {           /* menton de l'écran */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2.2%;
  width: 4%;
  height: 2.4%;
  border-radius: 999px;
  background: #2a2b30;
  transform: translateX(-50%);
}
.desk__neck {
  position: absolute;
  top: 78%;
  left: 34%;
  width: 12%;
  height: 15%;
  background: linear-gradient(90deg, #8e8f95, #d4d5d9 45%, #9a9ba1);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}
.desk__foot {
  position: absolute;
  top: 92%;
  left: 23%;
  width: 34%;
  height: 4.5%;
  border-radius: 40% 40% 10px 10px / 100% 100% 10px 10px;
  background: linear-gradient(180deg, #d4d5d9, #8e8f95);
}
.desk__tower {
  position: absolute;
  right: 0;
  bottom: 3.5%;
  width: 15%;
  height: 74%;
  border-radius: 8% / 3.5%;
  background: linear-gradient(160deg, #26272c, #121316 55%, #0b0b0c);
  box-shadow: 0 0 0 1.5px #3a3b40, 0 25px 50px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.desk__tower i {                   /* grille d'aération */
  position: absolute;
  inset: 12% 22% 40%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 7px);
  border-radius: 4px;
}
.desk__tower b {                   /* voyant allumé */
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--iris-light);
  box-shadow: 0 0 10px var(--iris), 0 0 22px var(--iris);
  transform: translateX(-50%);
  animation: led 2.6s ease-in-out infinite alternate;
}
@keyframes led { to { opacity: .45; box-shadow: 0 0 4px var(--iris); } }

/* 4. Ordinateur portable */
.gdev--laptop { --r: 1.62; }
.laptop__lid {
  position: absolute;
  top: 0;
  left: 7%;
  width: 86%;
  height: 92%;
  border-radius: 3.4% 3.4% 0 0 / 5% 5% 0 0;
  background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #4a4b50, 0 30px 70px rgba(0, 0, 0, .5);
}
.laptop__lid .gdev__screen { inset: 3% 2.4% 2.6%; border-radius: 1%; }
.laptop__notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 11%;
  height: 4%;
  border-radius: 0 0 6px 6px;
  background: #0b0b0c;
  transform: translateX(-50%);
}
.laptop__base {
  position: absolute;
  top: 92%;
  left: 0;
  width: 100%;
  height: 5%;
  border-radius: 0 0 14px 14px / 0 0 100% 100%;
  background: linear-gradient(180deg, #e2e3e6, #b4b5ba 60%, #85868b);
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14%;
  height: 40%;
  border-radius: 0 0 10px 10px;
  background: #a2a3a8;
  transform: translateX(-50%);
}

/* 5. Télévision sur pieds */
.gdev--tv { --r: 1.62; }
.tv__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  border-radius: 1.2%;
  background: #08090b;
  box-shadow: 0 0 0 1.5px #3a3b40, 0 30px 80px rgba(0, 0, 0, .5), 0 0 90px rgba(86, 131, 218, .2);
}
.tv__panel .gdev__screen { inset: 1.4%; border-radius: .6%; }
.tv__leg {
  position: absolute;
  top: 90%;
  width: 3%;
  height: 8%;
  background: linear-gradient(90deg, #6b6c72, #c9cacf, #6b6c72);
  border-radius: 0 0 3px 3px;
}
.tv__leg--l { left: 14%; transform: skewX(18deg); }
.tv__leg--r { right: 14%; transform: skewX(-18deg); }

/* Offres du 29/10 : ligne « + abonnement » et note de la carte abonnement */
.offer__plus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; color: var(--ash); font-size: 15px; }
.offer__plus b { color: var(--snow); font-weight: 600; }
.maint__note { margin-top: 10px; color: var(--ash); font-size: 15px; }
