/* Evolve — page de présentation. Bâtie sur css/tokens.css : mêmes couleurs, même police, mêmes arrondis que l'app. Thème clair uniquement. */
@font-face { font-family: Archivo; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo.woff2) format('woff2'); }

:root {
  --cadre: 1180px;  --marge: 20px;
  --r-lg: 36px;                 /* panneaux et grandes cases */
  --d-apparition: 640ms;        /* apparitions au défilement, plus lentes que les gestes de l'app */
  --t-h1: clamp(34px, 10.6vw, 46px);
  --t-h2: clamp(34px, 5vw, 58px);
  --t-h3: clamp(26px, 3vw, 34px);
  --ombre-tel: 0 24px 48px rgba(15, 27, 45, .22);
  /* L'épaisseur d'un téléphone vu de biais : sa tranche, à droite ou à gauche. */
  --tranche-d: 1px 0 0 #2A3B57, 2px 0 0 #26364F, 3px 0 0 #213049, 4px 0 0 #1C2A42, 5px 0 0 #17243A, 6px 0 0 #131F33;
  --tranche-g: -1px 0 0 #2A3B57, -2px 0 0 #26364F, -3px 0 0 #213049, -4px 0 0 #1C2A42, -5px 0 0 #17243A, -6px 0 0 #131F33;
  --ciel: linear-gradient(180deg, var(--sky-1), var(--sky-2) 48%, var(--bg));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--w-regular) 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b { font-weight: var(--w-bold); }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.nuit :focus-visible, .pied :focus-visible, .colle :focus-visible, .demo-verdict :focus-visible { outline-color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic.gras { stroke-width: 3; }
.logo { height: 24px; aspect-ratio: 1425.3 / 263.8; color: var(--ink); flex: none; }
.logo-barre { fill: var(--logo-barre, currentColor); }
.evitement { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 20px; border-radius: var(--r-full); background: var(--ink); color: #fff; font-weight: var(--w-medium); }
.evitement:focus { top: 12px; }

.cadre { width: 100%; max-width: calc(var(--cadre) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: 44px; }

/* ---------- typographie : titres légers, le mot qui compte en gras ---------- */
h1, h2, .case h3, .etapes h3 { text-wrap: balance; }
h1, h2 { font-weight: var(--w-light); letter-spacing: -.03em; line-height: 1.04; }
h1 { font-size: var(--t-h1); }
h1 b { display: inline-block; }
h2 { font-size: var(--t-h2); }
.surtitre { font-size: 13px; font-weight: var(--w-medium); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 14px; }
.nuit .surtitre { color: var(--accent); }
.ciel .surtitre { color: var(--ink); }
.chapo { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.meta { font-size: var(--t-sm); color: var(--ink-2); }
.meta.centre { text-align: center; }
.note { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.nuit .note, .nuit .meta { color: rgba(255, 255, 255, .68); }
.tete { max-width: 860px; margin-bottom: 32px; }
.lien { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: var(--w-medium); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.lien .ic { width: 20px; height: 20px; }

/* ---------- boutons : comme dans l'app, une pastille pleine et un rond lime ---------- */
.btn { min-height: 56px; padding: 0 28px; border-radius: var(--r-full); display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 17px; font-weight: var(--w-medium); white-space: nowrap; text-decoration: none; transition: transform var(--d-fast) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn.encre { background: var(--ink); color: #fff; }
.btn.citron { background: var(--accent); color: var(--on-accent); }
.btn.verre { background: var(--glass); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn.petit { min-height: 48px; padding: 0 20px; font-size: 15px; }
.btn.large { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.btn .rond { margin-left: -20px; transition: transform var(--d-base) var(--ease-out); }
.rond { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.rond .ic { width: 22px; height: 22px; stroke-width: 2.2; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .rond { transform: translateX(3px); }
  .nav-liens a:hover, .pied nav a:hover { color: var(--ink); }
  .pied nav a:hover { color: #fff; }
}
.pastille { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 34px; padding: 0 14px; white-space: nowrap; border-radius: var(--r-full); background: var(--accent); color: var(--on-accent); font-size: var(--t-sm); font-weight: var(--w-bold); }
.pastille i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pastille.encre { background: var(--ink); color: #fff; }
.pastille.encre i { background: var(--accent); }
.etiquette { align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: var(--r-full); background: var(--accent); color: var(--on-accent); font-size: var(--t-xs); font-weight: var(--w-medium); letter-spacing: .06em; text-transform: uppercase; }
.tuile { width: 44px; height: 44px; flex: none; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; }
.num { flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }

/* ---------- le téléphone ---------- */
.tel { --w: 240px; width: var(--w); flex: none; border: calc(var(--w) * .03) solid var(--ink); border-radius: calc(var(--w) * .15); overflow: hidden; background: var(--ink); box-shadow: var(--ombre-tel); }
.tel img { width: 100%; height: auto; aspect-ratio: 600 / 1298; }

/* ---------- barre du haut ---------- */
.nav { position: fixed; z-index: 50; top: calc(10px + env(safe-area-inset-top)); left: var(--marge); right: var(--marge); max-width: var(--cadre); margin-inline: auto; height: 64px; padding: 0 8px 0 22px; border-radius: var(--r-full); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow); display: flex; align-items: center; gap: var(--s-2); }
.nav-logo { display: flex; align-items: center; min-height: var(--tap); margin-right: auto; }
.nav-liens { display: none; }
.nav-liens a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-full); font-size: 15px; font-weight: var(--w-medium); color: var(--ink-2); text-decoration: none; transition: color var(--d-base) var(--ease-out); }

/* ---------- 1. la promesse ---------- */
.hero { background: var(--ciel); padding-top: calc(100px + env(safe-area-inset-top)); overflow: hidden; }
.hero-texte > * { animation: monte var(--d-apparition) var(--ease-out) both; }
.hero-texte > :nth-child(2) { animation-delay: 70ms; }
.hero-texte > :nth-child(3) { animation-delay: 140ms; }
.hero-texte > :nth-child(4) { animation-delay: 210ms; }
.hero-texte > :nth-child(n+5) { animation-delay: 280ms; }
.hero .chapo { color: var(--ink); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions .btn { flex: 1 1 auto; }
.rassure { margin-top: 16px; font-size: var(--t-sm); color: var(--ink-2); }
.qr { display: none; }
/* La scène est en vraie 3D : une perspective, trois téléphones à des profondeurs différentes, deux bulles devant.
   --tx et --ty (la souris) et --s (le défilement, de 0 à 1) sont posés par site.js ; sans lui, la scène reste dans sa pose. */
.hero-tels { position: relative; height: calc(min(214px, 58vw) * 2.22 + 14px); margin-top: 36px; perspective: 1200px; perspective-origin: 50% 36%; }
.scene3d { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--ty, 0) * 1deg + var(--s, 0) * 12deg)) rotateY(calc(var(--tx, 0) * 1deg)); transition: transform var(--d-slow) var(--ease-out); animation: arrive 1400ms var(--ease-out) 150ms backwards; }
.hero-tels .tel { position: absolute; top: 0; left: 50%; animation: apparait 700ms var(--ease-out) 150ms both; }
.hero-tels .centre { --w: min(214px, 58vw); margin-left: calc(var(--w) / -2); translate: 0 0 60px; }
.hero-tels .gauche { --w: min(184px, 44vw); left: 6px; margin-left: 0; top: 70px; translate: 0 0 -70px; rotate: y 26deg; transform: rotateZ(-4deg); box-shadow: var(--tranche-g), var(--ombre-tel); }
.hero-tels .droite { --w: min(184px, 44vw); left: auto; right: 6px; margin-left: 0; top: 50px; translate: 0 0 -70px; rotate: y -26deg; transform: rotateZ(4deg); box-shadow: var(--tranche-d), var(--ombre-tel); }
.bulle { position: absolute; translate: 0 0 var(--z-bulle, 85px); display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); animation: monte var(--d-apparition) var(--ease-out) 700ms both, flotte 6s ease-in-out 1.4s infinite; }
.bulle small { display: block; font-size: var(--t-xs); color: var(--ink-2); line-height: 1.2; }
.bulle b { display: block; font-size: 20px; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bulle .medaille { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.bulle .anneau { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--accent) 78%, rgba(255, 255, 255, .16) 0); -webkit-mask: radial-gradient(closest-side, transparent 68%, #000 70%); mask: radial-gradient(closest-side, transparent 68%, #000 70%); }
.bulle.haut { left: 24px; top: 150px; padding-right: 12px; }
.bulle.haut small { display: none; }
.bulle.bas { right: 24px; top: 252px; background: var(--ink); color: #fff; animation-delay: 850ms, 2s; }
.bulle.bas small { color: rgba(255, 255, 255, .7); }
.exemple { margin-top: -18px; padding-bottom: 20px; position: relative; text-align: center; font-size: 13px; color: var(--ink-2); }
@keyframes monte { from { opacity: 0; transform: translateY(26px); } }
@keyframes apparait { from { opacity: 0; } }
@keyframes arrive { from { transform: rotateX(14deg) rotateY(-30deg) translateY(34px) scale(.94); } }
@keyframes flotte { 50% { transform: translateY(-8px); } }


/* ---------- panneaux ---------- */
.panneau { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.panneau.nuit, .case.nuit { background: var(--ink); color: #fff; }
.panneau.ciel, .case.ciel { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.panneau.citron, .case.citron { background: var(--accent); color: var(--on-accent); }

/* ---------- 2. le problème ---------- */
.photo { min-height: 620px; display: flex; align-items: flex-end; }
.ph { position: absolute; inset: 0; background: linear-gradient(160deg, #6C97C8, #9CC4EC); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.05) brightness(1.12); }
.voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--night), .2), rgba(var(--night), .45) 34%, rgba(var(--night), .95) 70%); }
.probleme { position: relative; padding: 32px 24px; max-width: 660px; }
.probleme p:not(.surtitre) { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, .84); max-width: 30em; }
.probleme p.fort { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.25; font-weight: var(--w-light); letter-spacing: -.01em; color: #fff; }

/* ---------- 3. comment ça marche ---------- */
.duo-demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.etapes { margin-top: 32px; display: grid; gap: 24px; }
.etapes li { display: flex; gap: 16px; align-items: flex-start; }
.etapes .num { width: 52px; height: 52px; font-size: 18px; }
.etapes h3 { font-size: var(--t-lg); line-height: 1.25; font-weight: var(--w-bold); }
.etapes p { margin-top: 4px; color: var(--ink-2); max-width: 30em; }
.scene { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); border-radius: var(--r-lg); padding: 20px 16px; }
.scene-titre { display: flex; align-items: center; gap: 12px; font-weight: var(--w-medium); margin-bottom: 14px; }
.scene .note { margin-top: 12px; text-align: center; }
.demo { display: grid; }
.demo > * { grid-area: 1 / 1; min-width: 0; transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out), visibility 0s; }
.demo > .cache, .repos.cache { opacity: 0; visibility: hidden; transition-delay: 0s, 0s, var(--d-slow); }
.demo > .cache { transform: scale(.97); }
.demo-saisie { background: var(--surface); border-radius: var(--r-md); padding: 20px; }
.demo-saisie header { display: flex; gap: 12px; align-items: flex-start; }
.demo-saisie header .surtitre { font-size: var(--t-xs); letter-spacing: .08em; margin-bottom: 2px; color: var(--blue-text); }
.demo-saisie header h3 { font-size: var(--t-lg); line-height: 1.2; font-weight: var(--w-bold); }
.demo-serie { margin-top: 18px; font-size: var(--t-lg); font-weight: var(--w-bold); }
.pas { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 6px 10px; margin-top: 12px; }
.pas-nom { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--ink-2); }
.pas button { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; transition: transform var(--d-fast) var(--ease-out); }
.pas button:active { transform: scale(.92); }
.pas output { height: 60px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; font-size: 34px; font-weight: var(--w-bold); line-height: 1; font-variant-numeric: tabular-nums; }
.demo-saisie .meta.centre { margin-top: 12px; }
.demo-saisie .btn { margin-top: 12px; }
.puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; min-height: 34px; }
.puce { height: 34px; padding: 0 12px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2); color: var(--ink-2); font-size: var(--t-sm); font-weight: var(--w-medium); font-variant-numeric: tabular-nums; }
.puce.ici { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
.puce.fait { background: var(--ink); color: #fff; animation: pose var(--d-slow) var(--ease-out); }
.puce.fait::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes pose { from { transform: scale(.8); opacity: 0; } }
.demo-verdict { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 28px 20px 16px; display: flex; flex-direction: column; justify-content: center; outline: 0; }
.demo-verdict .etiquette.neutre { background: #fff; }
.demo-score { font-size: 64px; line-height: 1; font-weight: var(--w-bold); letter-spacing: -.03em; margin: 14px 0 10px; font-variant-numeric: tabular-nums; }
.demo-verdict > p:not(.etiquette):not(.demo-score) { font-size: var(--t-sm); color: rgba(255, 255, 255, .78); }
.demo-verdict dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin: 22px 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.demo-verdict dl div { display: flex; flex-direction: column-reverse; }
.demo-verdict dt { font-size: var(--t-xs); color: rgba(255, 255, 255, .72); }
.demo-verdict dd { font-size: var(--t-lg); font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
.demo-verdict .lien { align-self: center; margin-top: 4px; font-size: var(--t-sm); color: rgba(255, 255, 255, .86); }
.repos-zone { display: grid; margin-top: 12px; }
.repos-zone > * { grid-area: 1 / 1; }
.repos-attente { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 78px; padding: 0 16px; border-radius: 22px; border: 1.5px dashed rgba(var(--night), .3); font-size: var(--t-sm); color: var(--ink-2); transition: opacity var(--d-base) var(--ease-out); }
.repos-attente.cache { opacity: 0; visibility: hidden; }
.repos-attente .ic { width: 20px; height: 20px; }
.repos { position: relative; z-index: 1; background: var(--surface); border-radius: 22px; padding: 10px 12px 12px 16px; box-shadow: var(--shadow); transition: opacity var(--d-base) var(--ease-out), visibility 0s; }
.repos-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; font-size: var(--t-sm); color: var(--ink-2); }
.repos-ligne b { margin-left: 6px; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; vertical-align: -2px; }
.repos-cmd { display: flex; gap: 6px; }
.repos-cmd button { min-width: var(--tap); height: var(--tap); padding: 0 12px; border-radius: var(--r-full); background: var(--surface-2); color: var(--ink); font-size: var(--t-sm); font-weight: var(--w-medium); white-space: nowrap; }
.repos-piste { height: 4px; margin: 8px 4px 0 0; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.repos-piste i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transform-origin: left; transition: transform 1s linear; }

/* ---------- 4. les fonctions ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.case { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; min-width: 0; perspective: 1100px; }
.case.blanc { background: var(--surface); }
.case h3 { font-size: var(--t-h3); font-weight: var(--w-light); letter-spacing: -.02em; line-height: 1.1; }
.case h3.xl { font-size: clamp(40px, 5vw, 54px); letter-spacing: -.03em; line-height: 1.02; }
.case-texte p:not(.surtitre), .case.citron > p { margin-top: 14px; color: var(--ink-2); max-width: 28em; }
.case.ciel .case-texte p:not(.surtitre) { color: var(--ink); }
.case.citron > p { color: var(--on-accent); margin-top: auto; }
.case-texte .bas { margin-top: 22px; }
.case-texte .coches { gap: 10px; font-size: 15px; font-weight: var(--w-medium); }
.verdicts { display: flex; flex-wrap: wrap; gap: 8px; }
.verdicts li { padding: 5px 12px; border-radius: var(--r-full); background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: var(--w-medium); white-space: nowrap; }
.verdicts .hausse { background: var(--accent-soft); color: var(--success); }
.verdicts .baisse { background: #FBE9E9; color: var(--danger); }
.verdicts + .note { margin-top: 12px; max-width: 24em; }
/* Dans les cartes et le panneau d'installation, les téléphones sont posés de biais, en 3D : ils pivotent en place quand leur carte apparaît. */
.case .tel, .installer .tel { transform: rotateY(-13deg) rotateX(5deg); transform-origin: 50% 35%; box-shadow: var(--tranche-d), var(--ombre-tel); transition: transform 1000ms var(--ease-out) 150ms; }
.case .tel { --w: 230px; margin: 28px auto -190px; }
.case .tel.penche { transform: rotateY(-17deg) rotateX(6deg) rotateZ(4deg); }
.js .rv:not(.vu) .tel { transform: rotateY(-48deg) rotateX(16deg) translateY(50px); }
.case .tel.sombre { border-color: #24354F; }
.geant { font-size: clamp(72px, 21vw, 112px); font-weight: var(--w-bold); letter-spacing: -.05em; line-height: .92; font-variant-numeric: tabular-nums; margin-top: 4px; white-space: nowrap; }
.case-chapo { margin-top: 12px; font-size: 18px; line-height: 1.3; font-weight: var(--w-light); color: rgba(255, 255, 255, .88); max-width: 16em; }
.jauge { height: 10px; margin-top: 22px; border-radius: var(--r-full); background: rgba(255, 255, 255, .14); overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: var(--r-full); background: var(--accent); transform-origin: left; transition: transform 1s linear; }
.cmd { display: flex; gap: 8px; margin-top: 16px; }
.cmd span { flex: 1; height: var(--tap); border-radius: var(--r-full); display: grid; place-items: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font-size: var(--t-sm); font-weight: var(--w-medium); white-space: nowrap; }
.case-pied { margin-top: auto; padding-top: 36px; }
.case-pied .note { margin-top: 10px; }
.courbe { width: 100%; margin-top: 20px; overflow: visible; }
.courbe path { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--ease-move) 250ms; }
.courbe circle { fill: var(--accent); transition: opacity var(--d-slow) var(--ease-out) 1700ms; }
.js .rv:not(.vu) .courbe path { stroke-dashoffset: 1; }
.js .rv:not(.vu) .courbe circle { opacity: 0; }
.semaines { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin: 28px 0; }
.semaines i { aspect-ratio: 1; border-radius: 5px; background: var(--ink); }
.semaines i.vide { background: rgba(var(--night), .14); }
.aussi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.aussi li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r-md); padding: 18px; }
.aussi b { display: block; line-height: 1.3; }
.aussi p { margin-top: 2px; font-size: var(--t-sm); line-height: 1.4; color: var(--ink-2); }

/* ---------- 5. papier ou Evolve ---------- */
.versus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.versus-carte { border-radius: var(--r-lg); padding: 28px 24px; }
.versus-carte h3 { font-size: 13px; font-weight: var(--w-medium); letter-spacing: .1em; text-transform: uppercase; min-height: 28px; display: flex; align-items: center; margin-bottom: 16px; }
.versus-carte li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 18px; line-height: 1.3; }
.pt { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.pt .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.papier { background: var(--surface); color: var(--ink-2); }
.papier .pt { background: var(--surface-2); }
.evolve { background: var(--ink); color: #fff; }
.evolve .logo { height: 28px; color: #fff; --logo-barre: var(--accent); }
.evolve li { font-weight: var(--w-medium); }
.evolve .pt { background: var(--accent); color: var(--on-accent); }

/* ---------- 6. les données ---------- */
.garanties { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
.garanties li { background: var(--surface); border-radius: var(--r-md); padding: 20px; }
.garanties b { display: block; margin-top: 16px; font-size: 18px; line-height: 1.25; }
.garanties p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.coches { display: grid; gap: 12px; }
.coches li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.35; }
.coches li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B2D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- 7. l'installation ---------- */
.installer { padding: 32px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr); perspective: 1200px; }
.installer .chapo { color: var(--ink); }
.seg { display: inline-flex; gap: 4px; padding: 4px; margin-top: 24px; border-radius: var(--r-full); background: var(--glass); }
.seg button { min-height: var(--tap); padding: 0 22px; border-radius: var(--r-full); font-size: 15px; font-weight: var(--w-medium); color: var(--ink-2); transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pose { display: grid; gap: 8px; margin: 16px 0; max-width: 460px; }
.pose li { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px 10px 12px; border-radius: 20px; background: var(--glass); font-weight: var(--w-medium); line-height: 1.3; }
.pose .num { width: 36px; height: 36px; background: var(--ink); color: #fff; font-size: 15px; }
.pose .ic { display: inline-block; vertical-align: -6px; margin-left: 4px; }
.pose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.installer .tel { --w: 240px; margin: 28px auto -200px; }

/* ---------- 8. les questions ---------- */
.faq-liste { display: grid; gap: 8px; }
details { background: var(--surface); border-radius: 22px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 14px 14px 14px 22px; border-radius: 22px; font-size: 18px; line-height: 1.3; font-weight: var(--w-medium); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.plus { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform var(--d-base) var(--ease-out), background-color var(--d-base) var(--ease-out); }
.plus .ic { width: 20px; height: 20px; stroke-width: 2; }
details[open] .plus { transform: rotate(45deg); background: var(--accent); }
details p { padding: 0 22px 22px; color: var(--ink-2); max-width: 44em; }

/* ---------- 9. le dernier appel ---------- */
.final { padding: 56px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final h2 { max-width: 13em; }
.final p { margin: 18px 0 28px; font-size: clamp(18px, 2vw, 21px); }

/* ---------- pied de page ---------- */
.pied { margin-top: 44px; padding: 48px 0 calc(120px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--ink); color: #fff; }
.pied .logo { height: 28px; color: #fff; --logo-barre: var(--accent); }
.pied-grille { display: grid; gap: 32px; }
.pied-grille p { margin-top: 14px; max-width: 22em; color: rgba(255, 255, 255, .72); }
.pied nav { display: grid; justify-items: start; align-content: start; }
.pied nav a { display: inline-flex; align-items: center; min-height: var(--tap); color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: var(--w-medium); transition: color var(--d-base) var(--ease-out); }
.pied-bas::before { content: ""; height: 1px; margin-bottom: 16px; background: rgba(255, 255, 255, .14); }
.pied-bas { margin-top: 32px; display: grid; gap: 8px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .6); }

.pied.simple { padding-bottom: 48px; }

/* ---------- pages légales : politique de confidentialité, mentions légales ---------- */
/* ---------- page introuvable (404.html, fabriquée par marketing/blog.js) ---------- */
.introuvable { padding-top: calc(108px + env(safe-area-inset-top)); padding-bottom: 24px; }
.introuvable-code { font-size: clamp(88px, 24vw, 200px); line-height: .82; font-weight: 800; letter-spacing: -.05em; color: var(--sky-2); margin-bottom: 8px; }
.introuvable h1 { max-width: 14em; }
.introuvable-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.legale { max-width: calc(820px + 2 * var(--marge)); padding-top: calc(108px + env(safe-area-inset-top)); }
.legale h1 { margin: 8px 0 24px; }
.projet { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface); color: var(--warning); font-size: var(--t-sm); box-shadow: inset 4px 0 var(--warning); }
.article { margin-bottom: 12px; padding: 24px; border-radius: var(--r-md); background: var(--surface); }
.article h2 { margin-bottom: 10px; font-size: var(--t-lg); line-height: 1.25; font-weight: var(--w-bold); letter-spacing: 0; }
.article p, .article li { font-size: var(--t-md); color: var(--ink-2); }
.article p + p, .article p + ul, .article ul + p { margin-top: 10px; }
.article ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.article a { color: var(--blue-text); font-weight: var(--w-medium); text-underline-offset: 3px; }
.article code { font-size: 13px; word-break: break-all; }
.legale > .meta { margin-top: 16px; }

/* ---------- blog : la liste des articles et les articles (pages fabriquées par marketing/blog.js) ---------- */
.nav-liens a[aria-current="page"] { color: var(--ink); }
.blog, .billet { padding-top: calc(108px + env(safe-area-inset-top)); }
.blog { max-width: calc(1100px + 2 * var(--marge)); }
.billet { max-width: calc(1100px + 2 * var(--marge)); }
.blog > .note, .billet > .note { margin-top: 24px; }

/* La couverture d'un article : un aplat de la marque, un mot ou un chiffre en très grand. Son texte suit sa largeur (unités cqi) ;
   ses marges sont en %, car une marge en cqi se calculerait sur le conteneur au-dessus, pas sur la couverture elle-même. */
.couv { container-type: inline-size; position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between; padding: 6% 6.5% 5.5%; border-radius: var(--r-md); color: var(--ink); background: linear-gradient(160deg, var(--sky-1), var(--sky-2)); }
.couv::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -55%; width: 75%; aspect-ratio: 1; border-radius: 50%; border: 2.4cqi solid currentColor; opacity: .08; }
.couv-nuit { color: #fff; background: radial-gradient(110% 90% at 90% 0%, rgba(61, 155, 234, .5), rgba(61, 155, 234, 0) 62%), var(--ink); --logo-barre: var(--accent); }
.couv-nuit::after { border-color: var(--accent); opacity: .5; }
.couv-citron { background: var(--accent); --logo-barre: var(--ink); }
.couv-citron::after { opacity: .12; }
.couv-blanc { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); --logo-barre: var(--accent); }
.couv-blanc::after { border-color: var(--blue); opacity: .18; }
.couv-ciel { --logo-barre: var(--accent); }
.couv-label { max-width: 70%; font-size: max(11px, 4cqi); line-height: 1.2; font-weight: var(--w-medium); letter-spacing: .1em; text-transform: uppercase; }
.couv-nuit .couv-label { color: var(--accent); }
.couv-grand { font-size: 22cqi; line-height: .9; font-weight: var(--w-bold); letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.couv-long .couv-grand { font-size: 15cqi; }
.couv-sigle { position: absolute; top: 6cqi; right: 6cqi; width: 9cqi; height: auto; aspect-ratio: 300 / 240; color: currentColor; }

/* Les cartes : la liste du blog et « À lire aussi ». */
.cartes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cartes a { display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out); }
.cartes .couv { border-radius: calc(var(--r-lg) - 8px); }
.carte-texte { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 14px 12px; }
.cartes small { font-size: 13px; color: var(--ink-2); }
.cartes .theme { font-weight: var(--w-medium); color: var(--blue-text); }
.cartes b { font-size: var(--t-lg); line-height: 1.25; letter-spacing: -.01em; }
.cartes .carte-texte > span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cartes em { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-style: normal; font-weight: var(--w-medium); color: var(--blue-text); }
.cartes em .ic { width: 20px; height: 20px; transition: transform var(--d-base) var(--ease-out); }
.cartes li[hidden] { display: none; }
@media (hover: hover) {
  .cartes a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .cartes a:hover em .ic { transform: translateX(3px); }
}

/* La liste du blog : l'en-tête, les filtres par thème, l'article mis en avant. */
.blog-tete h1 { margin-top: 8px; }
.blog-tete .chapo { max-width: 36em; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.filtres button { min-height: var(--tap); padding: 0 16px 0 18px; border-radius: var(--r-full); background: var(--surface); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: var(--w-medium); color: var(--ink-2); transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out); }
.filtres button span { min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-full); background: var(--surface-2); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.filtres button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filtres button[aria-pressed="true"] span { background: var(--accent); color: var(--on-accent); }
.blog .cartes { margin-top: 28px; }
.filtres:not([hidden]) + .cartes { margin-top: 0; }
.cartes .une b { font-size: clamp(24px, 3.2vw, 34px); font-weight: var(--w-light); letter-spacing: -.02em; line-height: 1.12; }
.cartes .une .carte-texte > span { font-size: 17px; }

/* L'article : la barre de lecture, le fil d'Ariane, l'en-tête, « À retenir », le sommaire. */
.lecture { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 4px; pointer-events: none; }
.lecture i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: var(--t-sm); color: var(--ink-2); }
.fil a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink-2); text-underline-offset: 3px; }
.fil a:last-child { color: var(--blue-text); font-weight: var(--w-medium); }
.billet-tete { max-width: 820px; margin-top: 8px; }
.billet-tete .theme { display: inline-block; padding: 4px 12px; border-radius: var(--r-full); background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: var(--w-bold); }
.billet-tete h1 { margin-top: 16px; font-size: clamp(36px, 5.6vw, 60px); }
.billet-tete .chapo { margin-top: 18px; max-width: 34em; color: var(--ink); }
.infos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 22px; font-size: var(--t-sm); color: var(--ink-2); }
.infos > span { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.infos .ic { width: 18px; height: 18px; }
.partager { min-height: var(--tap); margin-left: -12px; padding: 0 12px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: var(--w-medium); color: var(--blue-text); }
.partager .ic { width: 18px; height: 18px; }
.couv-tete { margin-top: 28px; border-radius: var(--r-lg); }
.couv-tete .couv-grand { font-size: 20cqi; }
.couv-tete.couv-long .couv-grand { font-size: 13cqi; }
.billet-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.retenir { padding: 22px 22px 20px; border-radius: var(--r-md); background: var(--surface); }
.retenir h2 { font-size: 13px; line-height: 1.2; font-weight: var(--w-medium); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.retenir ul { margin-top: 14px; display: grid; gap: 12px; }
.retenir li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.retenir li .ic { flex: none; width: 26px; height: 26px; padding: 5px; margin-top: -1px; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 2.6; }
.sommaire { border-radius: var(--r-md); background: var(--surface); }
.sommaire summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px 0 22px; cursor: pointer; list-style: none; font-size: 13px; font-weight: var(--w-medium); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire summary .ic { width: 20px; height: 20px; transition: transform var(--d-base) var(--ease-out); }
.sommaire[open] summary .ic { transform: rotate(180deg); }
.sommaire ol { padding: 0 10px 12px; counter-reset: partie; }
.sommaire li { counter-increment: partie; }
.sommaire a { display: flex; gap: 10px; align-items: center; min-height: var(--tap); padding: 8px 12px; border-radius: 14px; font-size: 15px; line-height: 1.35; color: var(--ink-2); text-decoration: none; transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out); }
.sommaire a::before { content: counter(partie, decimal-leading-zero); flex: none; font-size: 12px; font-weight: var(--w-bold); color: var(--blue); font-variant-numeric: tabular-nums; }
.sommaire a[aria-current="true"] { background: var(--blue-soft); color: var(--ink); font-weight: var(--w-medium); }
.mini-appel { display: none; }

/* Le texte de l'article. */
.corps > * + * { margin-top: 18px; }
.corps h2 { margin-top: 48px; font-size: clamp(25px, 3.2vw, 31px); line-height: 1.2; font-weight: var(--w-bold); letter-spacing: -.015em; }
.corps h3 { margin-top: 30px; font-size: var(--t-lg); line-height: 1.3; font-weight: var(--w-bold); }
.corps h2 + *, .corps h3 + * { margin-top: 12px; }
.corps p, .corps li { font-size: 18px; line-height: 1.65; }
.corps ul, .corps ol { padding-left: 24px; display: grid; gap: 10px; }
.corps ul { list-style: disc; }
.corps ul li::marker { color: var(--blue); }
.corps ol { list-style: decimal; }
.corps a { color: var(--blue-text); font-weight: var(--w-medium); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.corps b { color: var(--ink); }
.encadre { padding: 18px 20px 18px 22px; border-radius: var(--r-md); background: var(--blue-soft); font-size: 17px; line-height: 1.6; box-shadow: inset 4px 0 var(--blue); }
.encadre b { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #1A63AB; }   /* --blue-text plus sombre : 5,1:1 sur --blue-soft */
.tableau { overflow-x: auto; border-radius: var(--r-md); background: var(--surface); }
.tableau table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tableau th, .tableau td { padding: 13px 16px; text-align: left; vertical-align: top; font-size: var(--t-md); line-height: 1.45; }
.tableau th { font-size: 12px; font-weight: var(--w-medium); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); vertical-align: bottom; background: var(--surface-2); }
.tableau tbody tr { border-top: 1px solid var(--line); }
.tableau tbody tr:nth-child(even) { background: rgba(238, 245, 252, .55); }
.equation { padding: 18px 22px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
.calcul { margin-top: 28px; padding: 24px 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.corps .calcul h2 { margin-top: 0; }
.calcul-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.calcul label { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: var(--t-sm); line-height: 1.3; font-weight: var(--w-medium); }
.calcul input { width: 100%; height: 60px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); font-size: 28px; font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
.corps .calcul-resultat { margin-top: 20px; font-size: var(--t-md); }
.calcul-resultat b { display: block; font-size: clamp(48px, 13vw, 72px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.corps .calcul .note { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }

/* Après l'article : l'appel vers l'app et « À lire aussi ». */
.appel { margin-top: 56px; padding: 36px 24px; }
.appel h2 { font-size: clamp(28px, 4.4vw, 40px); }
.appel p:not(.surtitre) { margin: 14px 0 22px; max-width: 30em; color: rgba(255, 255, 255, .82); }
.lire { margin-top: 56px; }
.lire h2 { margin-bottom: 16px; font-size: 26px; line-height: 1.2; font-weight: var(--w-bold); letter-spacing: -.01em; }

@media (min-width: 720px) {
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cartes .une { grid-column: 1 / -1; }
  .cartes .une a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
  .cartes .une .couv { aspect-ratio: auto; min-height: 300px; height: 100%; }
  .cartes .une .carte-texte { justify-content: center; padding: 28px 28px 24px; }
  /* Sur grand écran, la couverture d'un article reste basse : « À retenir » et le début du texte restent visibles. */
  .couv-tete { aspect-ratio: 16 / 5; padding: 4% 4.5% 3.6%; }
  .couv-tete .couv-label { font-size: 2.2cqi; }
  .couv-tete .couv-grand { font-size: 11cqi; }
  .couv-tete.couv-long .couv-grand { font-size: 8cqi; }
  .couv-tete .couv-sigle { width: 5.5cqi; top: 4cqi; right: 4.5cqi; }
  .couv-tete::after { width: 42%; right: 4%; bottom: -95%; border-width: 1.6cqi; }
  .calcul { padding: 32px; }
  .appel { padding: 48px 40px; }
  .retenir { padding: 26px 28px 24px; }
}
@media (min-width: 1040px) {
  .liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lire .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .billet-grille { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "retenir cote" "corps cote"; gap: 24px 56px; margin-top: 32px; }
  .retenir { grid-area: retenir; }
  .corps { grid-area: corps; max-width: 720px; }
  .billet-cote { grid-area: cote; align-self: start; position: sticky; top: 100px; display: grid; gap: 16px; }
  .sommaire summary { pointer-events: none; }
  .sommaire summary .ic { display: none; }
  .mini-appel { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-md); background: var(--ink); color: #fff; --logo-barre: var(--accent); }
  .mini-appel .couv-sigle { position: static; width: 34px; }
  .mini-appel p { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
  .mini-appel b { color: #fff; }
  .mini-appel .btn { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .lecture { display: none; } }

/* ---------- le bouton qui suit le pouce, sur téléphone ---------- */
.colle { position: fixed; z-index: 40; left: var(--marge); right: var(--marge); bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 460px; margin-inline: auto; height: 64px; padding: 0 8px 0 24px; border-radius: var(--r-full); background: var(--ink); color: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(160%); transition: transform var(--d-slow) var(--ease-move); }
.colle.visible { transform: none; }
.colle span { font-size: 13px; line-height: 1.25; color: rgba(255, 255, 255, .72); }
.colle span b { display: block; font-size: 15px; color: #fff; }

/* ---------- apparitions au défilement ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity var(--d-apparition) var(--ease-out), transform var(--d-apparition) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.vu { opacity: 1; transform: none; }

/* ---------- tablette ---------- */
@media (min-width: 720px) {
  :root { --marge: 32px; --t-h1: clamp(52px, 6.2vw, 76px); }
  .section { padding-block: 64px; }
  .tete { margin-bottom: 44px; }
  .actions .btn { flex: none; }
  .hero-tels { height: 600px; }
  .hero-tels .centre { --w: 264px; margin-left: -132px; }
  .hero-tels .gauche { --w: 210px; left: 50%; margin-left: -300px; top: 100px; translate: calc(var(--s, 0) * -26px) 0 -70px; }
  .hero-tels .droite { --w: 210px; left: 50%; right: auto; margin-left: 90px; top: 74px; translate: calc(var(--s, 0) * 26px) 0 -70px; }
  .bulle { --z-bulle: 100px; }
  .bulle.haut { left: max(36px, calc(50% - 330px)); top: 30px; padding-right: 16px; }
  .bulle.haut small { display: block; }
  .bulle.bas { right: max(36px, calc(50% - 330px)); top: 290px; }
  .photo { min-height: 560px; align-items: center; }
  .ph img { object-position: 78% 30%; }
  .voile { background: linear-gradient(90deg, var(--ink) 0%, rgba(var(--night), .94) 40%, rgba(var(--night), .4) 72%, rgba(var(--night), .1)); }
  .probleme { padding: 56px 48px; }
  .scene { padding: 28px; max-width: 480px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bento .c7, .bento .c4:last-child { grid-column: span 2; }
  .case { padding: 36px 32px; }
  .case.avec-tel, .bento .c4.colonne:last-child { flex-direction: row; gap: 24px; min-height: 440px; }
  .case.avec-tel .case-texte, .bento .c4.colonne:last-child .case-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .case.avec-tel .case-texte .bas { margin-top: auto; padding-top: 24px; }
  .case.avec-tel .tel, .bento .c4.colonne:last-child .tel { --w: 250px; margin: 12px 16px -200px 0; }
  .aussi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
  .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .versus-carte { padding: 40px 36px; }
  .garanties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .installer { padding: 56px 48px 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: end; }
  .installer > div { padding-bottom: 56px; }
  .installer .tel { --w: 270px; margin: 0 auto -150px; }
  .final { padding: 88px 48px; }
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- ordinateur ---------- */
@media (min-width: 1040px) {
  .section { padding-block: 84px; }
  .tete { margin-bottom: 56px; }
  .nav { padding-left: 28px; }
  .nav-liens { display: flex; margin-right: var(--s-2); }
  .hero { padding-top: 150px; }
  .hero-grille { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; align-items: center; }
  .hero-tels { height: 640px; margin-top: 0; }
  .hero-tels .centre { --w: 286px; margin-left: -143px; top: 8px; }
  .hero-tels .gauche { --w: 226px; margin-left: -268px; top: 120px; }
  .hero-tels .droite { --w: 226px; margin-left: 42px; top: 84px; }
  .bulle { --z-bulle: 130px; }
  .bulle.haut { left: -64px; top: 62px; }
  .bulle.bas { right: -4px; top: 470px; }
  .exemple { margin-top: 4px; padding-bottom: 28px; text-align: right; }
  .probleme { padding: 72px 64px; }
  .duo-demo { grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: center; }
  .scene { margin: 0; }
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bento .c7 { grid-column: span 7; }
  .bento .c5 { grid-column: span 5; }
  .bento .c4, .bento .c4:last-child { grid-column: span 4; }
  .case { padding: 40px; }
  .case.avec-tel { min-height: 500px; }
  .case.avec-tel .tel { --w: 264px; margin: 4px 8px -160px 0; }
  .bento .c4.colonne:last-child { flex-direction: column; gap: 0; min-height: 0; }
  .bento .c4.colonne:last-child .case-texte { flex: none; }
  .case.colonne .tel, .bento .c4.colonne:last-child .tel { --w: 236px; margin: 32px auto -210px; }
  .aussi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .aussi li { flex-direction: column; padding: 22px; }
  .garanties { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .garanties li { padding: 26px; }
  .installer { padding: 72px 72px 0; }
  .installer > div { padding-bottom: 72px; }
  .installer .tel { --w: 300px; margin-bottom: -170px; }
  .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq .tete { position: sticky; top: 120px; margin-bottom: 0; }
  .pied { margin-top: 84px; padding: 72px 0 48px; }
  .colle { display: none; }
}

/* Avec une souris, chaque carte s'incline vers le pointeur, et un reflet le suit (--rx, --ry, --gx, --gy sont posés par site.js). */
@media (hover: hover) and (pointer: fine) {
  .js .bento .case.rv.vu { transform: perspective(1400px) rotateX(calc(var(--ry, 0) * 1deg)) rotateY(calc(var(--rx, 0) * 1deg)); }
  .js .bento .case.suivi { transition: transform 140ms var(--ease-out); transition-delay: 0s; }
  .bento .case::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 70%); transition: opacity var(--d-slow) var(--ease-out); }
  .bento .case.blanc::after { background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(61, 155, 234, .12), rgba(61, 155, 234, 0) 70%); }
  .bento .case.suivi::after { opacity: 1; }
}

/* Le code à scanner : seulement là où il y a une souris, donc pas sur le téléphone lui-même. */
@media (min-width: 1040px) and (hover: hover) {
  .qr { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 12px 20px 12px 12px; max-width: 400px; border-radius: 22px; background: var(--glass); }
  .qr svg { width: 84px; height: 84px; flex: none; padding: 6px; border-radius: 12px; background: #fff; fill: var(--ink); }
  .qr p { font-size: var(--t-sm); line-height: 1.4; color: var(--ink-2); }
  .qr b { display: block; color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Petit ordinateur (1040 à 1219 px) : la colonne des téléphones est étroite, l'éventail se resserre pour rester dans l'écran. */
@media (min-width: 1040px) and (max-width: 1219px) {
  .hero-tels .gauche { margin-left: -244px; translate: calc(var(--s, 0) * -10px) 0 -70px; }
  .hero-tels .droite { margin-left: 18px; translate: calc(var(--s, 0) * 10px) 0 -70px; }
  .bulle.bas { right: 12px; }
}
