/* =============================================================
   PhoneOrdi · réparation téléphone et ordinateur, Puget-sur-Argens
   Style inspiré de Square (référence Refero « blue signal on white
   steel ») : fond blanc, gris très clair, texte presque noir et un
   seul bleu, celui du logo PhoneOrdi. Coins de 4 px pour les boutons,
   24 px pour les photos, presque aucune ombre.
   Même moteur d'animations et même référencement que les sites
   Amor Climatisation et Berkach Cuisine Traiteur.
   ============================================================= */

:root {
  /* Le bleu PhoneOrdi (#2b7fbf sur le logo), assombri pour rester lisible sur blanc */
  --blue: #1d6aae;
  --blue-600: #175a95;
  --blue-brand: #2b7fbf;
  --blue-50: #f0f6fc;
  --blue-100: #e1edf8;
  --blue-200: #c3dbf0;
  --ink: #1a1a1a;
  --ink-2: #3a3a3a;
  --muted: #626262;
  --line: #dadada;
  --line-2: #ebebeb;
  --cloud: #f4f4f4;
  --paper: #ffffff;
  --obsidian: #0b0b0c;
  --open: #1d7a3e;
  --error: #b3261e;
  --sea-1: #e6f0f9;
  --sea-2: #d3e4f4;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 72px;

  --r-img: 24px;
  --r-card: 24px;
  --r-btn: 4px;
  --r-sm: 12px;
  --r-pill: 999px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-200); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 400; padding: 10px 16px; border-radius: var(--r-btn); background: var(--ink); color: #fff; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.si { width: 20px; height: 20px; flex: none; fill: currentColor; }
.arr { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease-out); }

/* ---------- Typographie ---------- */
.display, .h1, .h2, .hero-h1 .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.display { font-size: clamp(42px, 6.2vw, 84px); line-height: 1; }
.h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; }
.h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.h3 { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
strong, b { font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--blue);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-brand); box-shadow: 0 0 0 4px var(--blue-100); }
.eyebrow--dark { color: #fff; }
.eyebrow--dark i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }

.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
.link:hover { color: var(--blue-600); text-decoration-thickness: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.link-arrow:hover .arr, a:hover > .link-arrow .arr, .btn:hover .arr { transform: translateX(4px); }

.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll > span { display: block; transition: transform .45s var(--ease-out); }
.roll > span + span { position: absolute; inset: 0; transform: translateY(105%); }
a:hover > .roll > span:first-child, a:focus-visible > .roll > span:first-child { transform: translateY(-105%); }
a:hover > .roll > span + span, a:focus-visible > .roll > span + span { transform: none; }

/* ---------- Boutons (coins de 4 px, comme Square) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .4s var(--ease-out);
}
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .16); }
.btn--primary::before {
  content: "";
  position: absolute;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  z-index: -1;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--blue-600);
  transform: translate(-50%, -50%);
  transition: width .55s var(--ease-out), height .55s var(--ease-out);
}
.btn--primary:hover::before { width: 260%; height: 600%; }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--ghost:hover { background: var(--blue-50); }
.btn--white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--white:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline-white { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tag--line { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.tag .dot, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 0 rgba(29, 122, 62, .45); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(29, 122, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 122, 62, 0); } }

/* ---------- Rideau d'introduction (accueil, une fois par visite) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  animation: intro-out .9s var(--ease-in-out) .8s forwards;
  pointer-events: none;
}
.intro .logo { color: #fff; font-size: clamp(40px, 8vw, 80px); animation: intro-logo .7s var(--ease-out) both; }
.intro .logo-sub { color: rgba(255, 255, 255, .85); }
@keyframes intro-logo { from { opacity: 0; transform: translateY(14px); } }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }
.no-intro .intro { display: none; }

/* ---------- Logo (texte, d'après le logo PhoneOrdi) ---------- */
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); white-space: nowrap; font-size: 26px; }
.logo-word { font-family: var(--display); letter-spacing: -0.01em; }
.logo-phone { font-weight: 800; }
.logo-ordi { font-weight: 300; color: var(--blue); transition: color .3s var(--ease); }
.logo-sub { margin-top: .22em; font-size: .36em; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
a:hover > .logo .logo-ordi { color: var(--blue-brand); }

/* ---------- Bandeau d'information ---------- */
.banner { position: relative; z-index: 60; background: var(--blue-50); border-bottom: 1px solid var(--blue-100); color: var(--ink-2); font-size: 14px; }
.banner-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 6px var(--gutter); text-align: center; }
.banner-inner > .i { color: var(--blue); width: 18px; height: 18px; }
.banner a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.banner a .i { width: 16px; height: 16px; }
.banner-short { display: none; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), border-color .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line-2); }
.header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.header-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link.is-active, .nav-item.is-current > .nav-link { color: var(--blue); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-caret { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s .35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega-card {
  display: grid;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .22);
}
.mega-card--services { grid-template-columns: repeat(2, 300px); gap: 2px; }
.mega-link { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 14px; transition: background-color .2s var(--ease); }
.mega-link:hover, .mega-link[aria-current="page"] { background: var(--blue-50); }
.mega-ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.mega-link:hover .mega-ico { background: #fff; }
.mega-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega-card--villes { grid-template-columns: 240px 1fr; gap: 10px; width: 640px; }
.mega-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px; border-radius: 14px; background: var(--blue-50); font-size: 14px; color: var(--ink-2); }
.mega-cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.mega-city { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: background-color .2s var(--ease); }
.mega-city small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.mega-city .arr { opacity: 0; transform: translateX(-4px); color: var(--blue); }
.mega-city:hover, .mega-city[aria-current="page"] { background: var(--blue-50); }
.mega-city:hover .arr { opacity: 1; transform: none; }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out), opacity .2s var(--ease); }
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 52px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: #fff;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu nav { display: grid; }
.menu-link, .menu-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.menu-acc summary::-webkit-details-marker { display: none; }
.menu.is-open .menu-link, .menu.is-open .menu-acc summary { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + .08s); }
.menu-acc[open] .nav-caret { transform: rotate(180deg); }
.menu-sub { display: grid; padding: 6px 0 14px; }
.menu-sub a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; color: var(--ink-2); font-size: 16px; }
.menu-sub a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.menu-foot { display: grid; gap: 8px; margin-top: auto; padding-top: 32px; }
.menu-social { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; background: var(--blue-brand); transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Apparitions au scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + var(--idl, 0s));
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.95); }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="frame"] { opacity: 1; transform: none; }
.js [data-reveal="frame"] .frame-clip { clip-path: inset(0 0 100% 0 round var(--r-img)); transition: clip-path 1.3s var(--ease-out) var(--d, 0s); }
.js [data-reveal="frame"].is-in .frame-clip { clip-path: inset(0 0 0 0 round var(--r-img)); }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.js [data-split] .wi {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + var(--d, 0s) + var(--idl, 0s));
}
.js [data-split].is-in .wi { transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--gray { background: var(--cloud); }
.sec-head { display: grid; gap: 18px; max-width: 820px; }
.sec-head .h1 { max-width: 16em; }
.sec-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: none; column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.sec-head--split .eyebrow { grid-column: 1 / -1; }
.sec-head--split .lead { justify-self: end; }
.more-title { margin: 64px 0 18px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Hero (accueil) ---------- */
.hero { --hp: 0; --idl: 1.15s; position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.no-intro .hero { --idl: .1s; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; align-content: center; }
.status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.status b { color: var(--ink); }
.status.is-closed .status-dot { background: #9a9a9a; animation: none; box-shadow: none; }
.hero-h1 { display: grid; gap: 14px; }
.hero-h1 .display { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; }
.hero-h1 .display em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { color: var(--blue); width: 18px; height: 18px; }
.hero-trust .stars { color: #e3a008; letter-spacing: 1px; }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r-img) + var(--hp) * 16px);
  background: var(--blue-50);
  aspect-ratio: 5 / 4.6;
  transform: scale(calc(1 - var(--hp) * .06));
  transform-origin: 50% 0;
}
.js .hero-frame { animation: hero-in 1.6s var(--ease-out) .95s both; }
.no-intro .hero-frame { animation-delay: .05s; }
@keyframes hero-in {
  from { clip-path: inset(6% 6% 6% 6% round 32px); opacity: 0; }
  to { clip-path: inset(0 0 0 0 round 0); opacity: 1; }
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(calc(1.06 - var(--hp) * .06)) translate3d(0, calc(var(--hp) * 4%), 0); }

/* Cartes flottantes */
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
.float { position: absolute; pointer-events: auto; transform: translate3d(calc(var(--px, 0) * var(--fx, 10px)), calc(var(--py, 0) * var(--fy, 8px)), 0); }
.float-a { left: -40px; bottom: 9%; --fx: -14px; --fy: -10px; width: 300px; }
.float-b { right: -18px; top: 7%; --fx: 12px; --fy: 10px; width: 236px; }
.float-c { right: 7%; bottom: -26px; --fx: 8px; --fy: -8px; width: 250px; }
.bob { animation: bob 7s var(--ease-in-out) infinite alternate; }
.float-b .bob { animation-duration: 8s; animation-delay: -2s; }
.float-c .bob { animation-duration: 9s; animation-delay: -4s; }
@keyframes bob { to { transform: translate3d(0, -8px, 0); } }
.card {
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .28);
}
.card-row { display: flex; align-items: center; gap: 12px; }
.card-row > div { min-width: 0; }
.c-title { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.c-meta { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 14px; }
.avatar--blue { background: var(--blue); color: #fff; }
.card-row .tag { margin-left: auto; }

/* Carte « diagnostic express » (hero) */
.diag-issue { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--cloud); }
.diag-box { position: relative; display: block; overflow: hidden; min-width: 0; flex: 1; }
.diag-name { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .45s var(--ease-out), opacity .3s var(--ease); }
.diag-name.is-out { transform: translateY(-100%); opacity: 0; }
.diag-name.is-pre { transform: translateY(100%); opacity: 0; transition: none; }
.diag-count { font-size: 13px; color: var(--muted); font-feature-settings: "tnum" 1; }
.diag-count b { color: var(--ink); font-weight: 600; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--cloud); }
.mode { min-height: 34px; padding: 0 4px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.mode[aria-checked="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.mode:hover { color: var(--ink); }

.score { display: flex; align-items: baseline; gap: 4px; font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.score small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.stars5 { display: inline-flex; gap: 2px; color: #e3a008; }
.stars5 .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.js .stars5 .i { opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .6s var(--ease-out); transition-delay: calc(var(--k, 0) * 110ms + 1.9s); }
.js .is-in .stars5 .i, .js .stars5.is-in .i { opacity: 1; transform: none; }
.no-intro .stars5 .i { transition-delay: calc(var(--k, 0) * 110ms + .8s); }

.steps-mini { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 14px; padding-top: 14px; font-size: 11px; color: var(--muted); }
.steps-mini::before, .steps-mini .fill { content: ""; position: absolute; top: 0; left: 0; height: 4px; border-radius: 4px; }
.steps-mini::before { right: 0; background: var(--line-2); }
.steps-mini .fill { width: 0; background: var(--blue-brand); animation: fill-steps 6s var(--ease-in-out) 2s infinite; }
.no-intro .steps-mini .fill { animation-delay: .8s; }
@keyframes fill-steps { 0% { width: 0; } 70%, 100% { width: 100%; } }
.steps-mini span { text-align: center; }
.steps-mini .done { color: var(--ink); font-weight: 600; }

/* ---------- Bande des marques ---------- */
.brands { padding: 0 0 clamp(40px, 5vw, 64px); }
.brands-cap { text-align: center; font-size: 15px; color: var(--muted); }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #fff;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .4s var(--ease-out);
}
.brand-chip .i { color: var(--blue); width: 18px; height: 18px; }
a.brand-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Texte qui s'allume au défilement ---------- */
.statement { padding: clamp(72px, 10vw, 140px) 0; background: var(--cloud); }
.statement-text { max-width: 1060px; font-family: var(--display); font-size: clamp(30px, 4.4vw, 58px); font-weight: 500; line-height: 1.14; letter-spacing: -0.028em; }
.js .statement-text .sw { color: #c4c4c4; transition: color .35s var(--ease); }
.js .statement-text .sw.is-lit { color: var(--ink); }
.js .statement-text .sw.blue.is-lit { color: var(--blue); }
.statement-text .blue { color: var(--blue); }
.ipill { display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; margin: 0 .1em; border-radius: var(--r-pill); overflow: hidden; background: var(--blue-100); }
.ipill img { width: 100%; height: 100%; object-fit: cover; }
.js .ipill { width: 0; margin: 0; transition: width .8s var(--ease-out), margin .8s var(--ease-out); }
.js .ipill.is-open { width: 1.9em; margin: 0 .1em; }
.statement-foot { display: flex; align-items: center; gap: 12px; margin-top: 40px; color: var(--muted); font-size: 15px; }

/* ---------- Onglets des réparations ---------- */
.tabs-wrap { margin-top: 48px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--cloud); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  overflow: hidden;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tab .i { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.tab[aria-selected="true"] .i { color: var(--blue); }
.tab-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue-brand); transform: scaleX(0); transform-origin: 0 50%; }
.tab[aria-selected="true"] .tab-bar { animation: tab-fill var(--tab-dur, 7s) linear forwards; }
.tabs.is-paused .tab-bar { animation-play-state: paused; }
.tabs.is-static .tab[aria-selected="true"] .tab-bar { animation: none; transform: scaleX(1); }
@keyframes tab-fill { to { transform: scaleX(1); } }
.panels { display: grid; margin-top: 18px; }
.panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; padding: 16px; border-radius: var(--r-card); background: var(--blue-50); visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.panel.is-active { visibility: visible; opacity: 1; transition-delay: 0s; }
.panel-text { display: flex; flex-direction: column; gap: 16px; padding: clamp(12px, 3vw, 36px); }
.panel-text .tag { align-self: flex-start; background: #fff; }
.panel-text p { color: var(--ink-2); }
.panel-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; padding-top: 8px; }
.stag { opacity: 0; }
.panel.is-active .stag { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 70ms + .1s); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .i { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.4; }
.media { position: relative; overflow: hidden; border-radius: 18px; min-height: 340px; background: var(--blue-100); }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.panel.is-active .media > img { transform: scale(1.02); }
.media .card { position: absolute; left: 16px; bottom: 16px; width: min(290px, calc(100% - 32px)); }
.panel .media .card { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s var(--ease), transform .9s var(--ease-out); }
.panel.is-active .media .card { opacity: 1; transform: none; transition-delay: .4s; }

/* ---------- Grille de cartes de services (bleu clair, photos à 24 px) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: var(--blue-50); transition: background-color .3s var(--ease), transform .5s var(--ease-out); }
.svc-card:hover { background: var(--blue-100); transform: translateY(-3px); }
.svc-card-img { margin: 10px 10px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--blue-100); }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 22px 22px; }
.svc-card-body .h3 { font-size: 19px; }
.svc-card-body p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.svc-card-body .link-arrow { margin-top: auto; padding-top: 6px; font-size: 15px; }

/* ---------- L'écran qui se répare (étapes au défilement) ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: 56px; }
.phone-wrap { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; justify-items: center; gap: 16px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--blue-50); }
.phone-svg { width: min(100%, 300px); height: auto; overflow: visible; }
.phone-svg .body { fill: #16181b; }
.phone-svg .glass { fill: #0f1418; transition: fill 1s var(--ease); }
.phone-svg .screen-on { fill: url(#screen-grad); opacity: 0; transition: opacity 1.2s var(--ease); }
.phone-svg .crack { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-in-out), opacity .8s var(--ease); }
.phone-svg .island { fill: #000; }
.phone-svg .scan { fill: url(#scan-grad); opacity: 0; transform: translateY(0); }
.phone-svg .ui { fill: rgba(255, 255, 255, .9); opacity: 0; transition: opacity .8s var(--ease) .5s; }
.phone-svg .bubble rect { fill: #fff; }
.phone-svg .bubble text { fill: var(--ink); font: 600 15px var(--font); }
.phone-svg .bubble .sub { fill: var(--muted); font: 500 12px var(--font); }
.phone-svg .bubble { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.phone-svg .tool { opacity: 0; transform: translate3d(30px, -20px, 0) rotate(8deg); transform-origin: 250px 120px; transition: opacity .6s var(--ease), transform 1s var(--ease-out); }
.phone-svg .tool path { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; }
.phone-svg .tool .tip { stroke: #9aa3ad; stroke-width: 3; }
.phone-svg .check { opacity: 0; transform: scale(.6); transform-origin: 150px 250px; transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.phone-svg .check circle { fill: var(--blue); }
.phone-svg .check path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.phone-svg.l1 .scan { opacity: 1; animation: scan 2.4s var(--ease-in-out) infinite; }
.phone-svg.l2 .bubble { opacity: 1; transform: none; }
.phone-svg.l3 .tool { opacity: 1; transform: none; }
.phone-svg.l3 .crack { stroke-dashoffset: 1; opacity: 0; }
.phone-svg.l3 .scan, .phone-svg.l4 .scan { opacity: 0; animation: none; }
.phone-svg.l3 .screen-on { opacity: 1; }
.phone-svg.l3 .ui { opacity: 1; }
.phone-svg.l4 .tool { opacity: 0; transform: translate3d(40px, -30px, 0) rotate(12deg); }
.phone-svg.l4 .bubble { opacity: 0; }
.phone-svg.l4 .check { opacity: 1; transform: none; }
@keyframes scan { 0% { transform: translateY(0); } 50% { transform: translateY(400px); } 100% { transform: translateY(0); } }
.phone-caption { display: grid; justify-items: center; gap: 2px; text-align: center; }
.phone-caption b { font-family: var(--display); font-size: 20px; font-weight: 600; }
.phone-caption span { font-size: 13px; color: var(--muted); }
.steps { display: grid; gap: 0; }
.step { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px 0; border-top: 1px solid var(--line-2); opacity: .32; transition: opacity .5s var(--ease); }
.step:first-child { border-top: 0; }
.step.is-active { opacity: 1; }
.step-num { font-size: 14px; font-weight: 600; color: var(--blue); }
.step p { color: var(--ink-2); max-width: 30em; }

/* ---------- Cartes qui s'empilent ---------- */
.stack { display: grid; gap: 24px; margin-top: 56px; }
.stack-card {
  --i: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px + var(--i) * 14px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  height: min(540px, calc(100svh - var(--header-h) - 60px));
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background: #fff;
  transform-origin: 50% 0;
}
.stack-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; }
.stack-text { display: flex; flex-direction: column; padding: clamp(12px, 3vw, 36px); }
.stack-num { font-family: var(--display); font-size: clamp(56px, 7vw, 96px); font-weight: 500; line-height: .9; letter-spacing: -0.05em; color: var(--blue-200); font-feature-settings: "tnum" 1; }
.stack-text .h2 { margin-top: auto; }
.stack-text p { margin-top: 14px; max-width: 30em; color: var(--ink-2); }
.stack-text .check-list { margin-top: 20px; }
.stack-card .media { min-height: 0; height: 100%; }
.stack-card:hover .media > img { transform: scale(1.04); }

/* ---------- Bande bleu clair avec collage ---------- */
.band { position: relative; padding: var(--section) 0; background: var(--blue-50); overflow: hidden; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.collage { --mx: 0; --my: 0; --sp: 0; position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.collage-photo { position: absolute; inset: 10% 12% 12% 8%; overflow: hidden; border-radius: var(--r-img); transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -10px + var(--sp) * 30px), 0); }
.collage-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.collage-photo--2 { inset: auto 0 0 auto; width: 44%; height: 40%; border: 6px solid var(--blue-50); transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 14px + var(--sp) * -40px), 0); }
.shape { position: absolute; border-radius: 50%; }
.shape--a { left: 0; top: 2%; width: 26%; aspect-ratio: 1; background: var(--blue-brand); transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 22px + var(--sp) * -60px), 0); }
.shape--b { right: 4%; top: 4%; width: 13%; aspect-ratio: 1; border: 2px solid var(--blue); transform: translate3d(calc(var(--mx) * -18px), calc(var(--sp) * 50px), 0); }
.collage-label { position: absolute; left: 4%; bottom: 6%; padding: 10px 16px; border-radius: var(--r-pill); background: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .3); transform: translate3d(calc(var(--mx) * 12px), calc(var(--sp) * -24px), 0); }
.band-text { display: grid; gap: 22px; }
.band-text h2 { font-family: var(--display); font-size: clamp(32px, 4.2vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -0.028em; }
.band-text p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.stat { padding: 18px; border-radius: 18px; background: #fff; }
.stat b { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--blue); }
.stat > span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.band-note { font-size: 13px; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; margin-top: 48px; }
.g-item { position: relative; overflow: hidden; border-radius: 18px; background: var(--blue-100); }
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.js .g-item[data-reveal] img { transform: scale(1.2); }
.js .g-item[data-reveal].is-in img { transform: scale(1.04); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.js .g-item[data-reveal].is-in:hover img { transform: scale(1.1); transition-delay: 0s; }
.g-item figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 600; }
.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 14px; }

/* ---------- Diagnostic en ligne (simulateur) ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 48px; }
.sim-form { display: grid; gap: 26px; align-content: start; padding: clamp(20px, 3.5vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r-card); background: #fff; }
.sim-label, .field-seg legend { display: block; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.seg { position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding: 4px; border-radius: 12px; background: var(--cloud); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 3)); border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .45s var(--ease-out); }
.seg-opt { position: relative; z-index: 1; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; cursor: pointer; transition: color .25s var(--ease); }
.seg-opt input:checked + span { color: var(--blue); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -2px; }
.select { position: relative; }
.select select { width: 100%; min-height: 50px; padding: 12px 44px 12px 14px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; appearance: none; font-size: 16px; }
.select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.select .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.issue-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.issue-chip input { position: absolute; opacity: 0; pointer-events: none; }
.issue-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.issue-chip span .i { width: 18px; height: 18px; color: var(--muted); }
.issue-chip input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.issue-chip input:checked + span .i { color: var(--blue); }
.issue-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.issue-chip[hidden] { display: none; }
.sim-out { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3.5vw, 40px); border-radius: var(--r-card); background: var(--blue); color: #fff; }
.sim-out .tag { align-self: flex-start; background: rgba(255, 255, 255, .16); color: #fff; }
.sim-device { font-size: 15px; color: rgba(255, 255, 255, .8); }
.sim-title { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
.sim-title.flash { animation: flash .7s var(--ease-out); }
@keyframes flash { from { opacity: 0; transform: translateY(8px); } }
.sim-text { color: rgba(255, 255, 255, .9); }
.sim-list { display: grid; gap: 8px; font-size: 15px; }
.sim-list li { display: flex; gap: 10px; align-items: flex-start; }
.sim-list .i { width: 20px; height: 20px; margin-top: 2px; color: #fff; }
.sim-delay { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: 15px; }
.sim-delay .i { margin-top: 2px; }
.sim-out .btn--white { border-color: #fff; }
.sim-out .link-arrow { color: #fff; }
.sim-note { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------- Zones : carte et villes ---------- */
.zones-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 48px; }
.map { position: relative; overflow: hidden; border-radius: var(--r-card); background: #fbfbfb; border: 1px solid var(--line-2); }
.map svg { width: 100%; height: auto; }
.map .land-grid { stroke: rgba(0, 0, 0, .045); stroke-width: 1; }
.map .coast { fill: none; stroke: #9cc0e2; stroke-width: 1.6; }
.map .river { fill: none; stroke: #9cc0e2; stroke-width: 2.2; stroke-linecap: round; opacity: .9; }
.map .road { fill: none; stroke: #c9c9c9; stroke-width: 2.4; stroke-dasharray: 8 6; stroke-linecap: round; }
.map .road-label { fill: #8d8d8d; font: 700 11px var(--font); letter-spacing: .04em; }
.map .river-label { fill: #5f8fbd; font: italic 500 12px var(--font); }
.map .relief-label { fill: #9a9a9a; font: 500 12px var(--font); letter-spacing: .02em; }
.map .sea-label { fill: #7ea7cf; font: 700 13px var(--font); letter-spacing: .32em; }
.map .city .dot { fill: #fff; stroke: var(--blue); stroke-width: 2.4; transition: fill .25s var(--ease), r .25s var(--ease); }
.map .city .ring { fill: none; stroke: var(--blue); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map .city .label { fill: var(--ink); font: 600 13px var(--font); paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: 4px; stroke-linejoin: round; }
.map .city a:hover .dot, .map .city.is-hot .dot, .map .city a:focus-visible .dot { fill: var(--blue); }
.map .city.is-hot .label, .map .city a:hover .label { fill: var(--blue); }
.map .city--base .dot { fill: var(--blue); r: 7px; }
.map .city--base .ring { opacity: 1; animation: ring 2.4s var(--ease-out) infinite; }
.map .city--base .label { font-size: 14px; font-weight: 700; }
.map .city.is-current .dot { fill: var(--blue-brand); r: 7px; }
.map .city.is-current .ring { opacity: 1; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.js .map[data-reveal] .city { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--k, 0) * 80ms + 300ms); }
.js .map[data-reveal].is-in .city { opacity: 1; transform: none; }
.map-legend { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 14px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); border: 1px solid var(--line-2); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; }
.map-legend i.base { background: var(--blue); }
.city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.city-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; transition: color .2s var(--ease); }
.city-link small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.city-link:hover, .city-link.is-hot { color: var(--blue); }
.city-cp { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); font-feature-settings: "tnum" 1; white-space: nowrap; }
.city-link:hover .arr { transform: translateX(3px); color: var(--blue); }
.zones-note { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.marquee { margin-top: 64px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.marquee-list li { display: flex; align-items: center; gap: 32px; font-family: var(--display); font-size: clamp(34px, 5vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; white-space: nowrap; }
.marquee-list li:nth-child(even) { color: #bdbdbd; }
.marquee-list li::after { content: ""; width: .2em; height: .2em; border-radius: 50%; background: var(--blue-brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Avis et réseaux ---------- */
.review-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 48px; padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-card); background: var(--blue-50); }
.review-score { display: flex; align-items: center; gap: 18px; }
.review-g { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--blue); }
.review-g .si { width: 26px; height: 26px; }
.review-score p { display: grid; }
.review-note { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.review-note small { font-size: 18px; color: var(--muted); font-weight: 500; }
.review-stars { color: #e3a008; letter-spacing: 2px; }
.review-meta { font-size: 14px; color: var(--muted); }
.review-text { color: var(--ink-2); }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: #fff; }
.quote p { font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.quote span { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.quote span b { color: #e3a008; letter-spacing: 2px; font-weight: 400; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: #fff; transition: border-color .25s var(--ease); }
.social-card:hover { border-color: var(--blue); }
.social-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue); color: #fff; }
.social-ico .si { width: 24px; height: 24px; }
.social-name { display: block; font-weight: 600; }
.social-handle { display: block; font-size: 14px; color: var(--muted); }
.social-card .link-arrow { margin-left: auto; font-size: 15px; }
.social-row { display: flex; gap: 8px; }
.social-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--line); color: var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.social-dot:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Questions fréquentes ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; text-align: left; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; transition: color .2s var(--ease); }
.faq-q:hover { color: var(--blue); }
.faq-icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--cloud); transition: background-color .3s var(--ease), transform .45s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease-out); }
.faq-item.is-open .faq-icon { background: var(--blue); color: #fff; transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-a > div { overflow: hidden; color: var(--ink-2); }
.faq-a > div > * + * { margin-top: 12px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > div { padding-bottom: 22px; }

/* ---------- Contact et devis ---------- */
.cta { position: relative; padding: var(--section) 0; background: var(--cloud); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cta-copy { display: grid; gap: 20px; }
.contact-lines { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.contact-lines li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-lines .k { font-size: 14px; color: var(--muted); }
.contact-lines .v { font-weight: 500; }
.contact-lines .hours { display: grid; gap: 2px; }
.contact-lines .hours .is-today { color: var(--blue); font-weight: 600; }
.contact-social { display: grid; gap: 10px; }
.contact-social p { font-size: 14px; color: var(--muted); }
.form-card { position: relative; padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-card); background: #fff; border: 1px solid var(--line-2); }
.form-grid { display: grid; gap: 14px; }
.chips-legend { margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.chip-opt input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 56px;
  padding: 24px 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: #fff;
  font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.field label { position: absolute; left: 15px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease-out), color .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--blue); }
.field-err { display: none; margin-top: 6px; font-size: 13px; color: var(--error); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field.is-invalid .field-err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.consent.is-invalid { color: var(--error); }
.form-submit { margin-top: 4px; }
.form-submit .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.form-submit.is-loading .spinner { display: block; }
.form-submit.is-loading .arr { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { min-height: 1.2em; font-size: 14px; }
.form-status.is-error { color: var(--error); }
.form-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 32px; border-radius: inherit; background: #fff; text-align: center; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease); }
.form-card.is-sent .form-done { visibility: visible; opacity: 1; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); }
.done-mark svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.form-card.is-sent .done-mark svg { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease-out) .2s; }

/* ---------- Pied de page (la seule bande sombre, comme Square) ---------- */
.footer { position: relative; padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--obsidian); color: rgba(255, 255, 255, .72); overflow: hidden; }
.footer .logo { color: #fff; font-size: 30px; }
.footer .logo-ordi { color: #8fbde6; }
.footer .logo-sub { color: rgba(255, 255, 255, .55); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 88px); }
.footer-brand { display: grid; gap: 22px; align-content: start; font-size: 15px; }
.footer-brand .btn { justify-self: start; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-h { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer-cols ul { display: grid; gap: 8px; font-size: 15px; }
.footer-cols a:hover { color: #fff; }
.footer-cols span { display: block; }
.footer-giant { margin: clamp(48px, 8vw, 96px) 0 0; font-family: var(--display); font-size: clamp(64px, 19vw, 272px); font-weight: 800; line-height: .82; letter-spacing: -0.055em; color: #fff; white-space: nowrap; user-select: none; }
.footer-giant .o { font-weight: 300; color: #5a9fda; }
.footer-giant .gl { display: inline-block; transition: transform 1.3s var(--ease-out), opacity 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .footer-giant .gl { opacity: 0; transform: translateY(40%); }
.js .footer-giant.is-in .gl { opacity: 1; transform: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Barre d'appel mobile ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .45s var(--ease-out); }
.mobile-bar.is-on { transform: none; }
.mobile-bar .btn { min-height: 48px; }

/* =============================================================
   Pages intérieures (réparations, villes, mentions légales)
   ============================================================= */
.page-hero { padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 6vw, 80px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(24px, 4vw, 48px); }
.page-hero-copy { display: grid; gap: 22px; }
.page-hero-copy .display { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.02; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 6px; font-size: 15px; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--blue); width: 18px; height: 18px; stroke-width: 2.2; }
.page-media { position: relative; }
.page-media-frame { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--r-img); background: var(--blue-100); }
.page-media-frame img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--par, 0), 0) scale(1.1); }
.page-media .card { position: absolute; left: -24px; bottom: 28px; width: min(300px, 80%); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-card); background: var(--blue-50); }
.fact p:not(.h3) { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.fact-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--blue); }

.content { display: grid; gap: clamp(56px, 7vw, 96px); }
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.block-head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; }
.block-head .h1 { font-size: clamp(28px, 3.2vw, 42px); }
.prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 17px; }
.prose > p:first-child { font-size: 19px; color: var(--ink); }
.prose .h3 { margin-top: 14px; color: var(--ink); }
.prose a:not(.btn):not(.chip-link):not(.link-arrow) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul.bullets { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose-fig { margin: 8px 0; }
.prose-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-img); }
.prose-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.prose-fig figcaption a { color: inherit; text-decoration: underline; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--blue-50); color: var(--ink-2); }
.note > .i { color: var(--blue); margin-top: 3px; }
.symptoms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.symptoms li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font-size: 15px; color: var(--ink); }
.symptoms .i { color: var(--blue); margin-top: 2px; }
.models { display: flex; flex-wrap: wrap; gap: 8px; }
.models li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--cloud); font-size: 14px; font-weight: 500; color: var(--ink); }

.steps-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; counter-reset: st; }
.steps-row li { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line-2); counter-increment: st; }
.steps-row li::before { content: "0" counter(st); font-family: var(--display); font-size: 34px; font-weight: 500; color: var(--blue-200); letter-spacing: -0.03em; line-height: 1; }
.steps-row h3 { font-family: var(--display); font-size: 19px; font-weight: 600; }
.steps-row p { font-size: 15px; color: var(--ink-2); }

.chips-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-size: 14px; font-weight: 500; transition: border-color .2s var(--ease), color .2s var(--ease); }
.chip-link .i { width: 16px; height: 16px; color: var(--blue); }
.chip-link:hover { border-color: var(--blue); color: var(--blue); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.related a { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-card); background: var(--blue-50); transition: background-color .3s var(--ease), transform .45s var(--ease-out); }
.related a:hover { background: var(--blue-100); transform: translateY(-3px); }
.related b { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.related span:not(.fact-ico):not(.link-arrow) { color: var(--ink-2); font-size: 15px; }

.svc-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.svc-mini a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; transition: border-color .25s var(--ease); }
.svc-mini a:hover { border-color: var(--blue); }
.svc-mini a > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.svc-mini b { font-weight: 600; }
.svc-mini span span { font-size: 14px; color: var(--muted); }
.svc-mini .fact-ico { background: var(--blue-50); }
.svc-mini .arr { color: var(--blue); }

.quartiers { display: flex; flex-wrap: wrap; gap: 8px; }
.quartiers li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--cloud); font-size: 14px; font-weight: 500; color: var(--ink); }
.access { display: grid; gap: 10px; }
.access li { display: flex; gap: 12px; align-items: flex-start; }
.access .i { color: var(--blue); margin-top: 3px; }

.cta-band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-card); background: var(--blue); color: #fff; }
.cta-band-copy { display: grid; gap: 14px; }
.cta-band .h1 { color: #fff; font-size: clamp(28px, 3.4vw, 46px); }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 36em; }
.cta-band .cta-row { justify-content: flex-end; }
.cta-band .btn--white { border-color: #fff; }

.city-hero-map { position: relative; }
.city-hero-map .map { background: #fff; }
.city-badge { position: absolute; right: 16px; bottom: 16px; display: grid; justify-items: end; padding: 12px 16px; border-radius: 16px; background: var(--blue); color: #fff; }
.city-badge span { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.city-badge b { font-size: 13px; font-weight: 500; opacity: .85; }

.legal { padding: clamp(24px, 3vw, 40px) 0 var(--section); }
.legal-body { display: grid; gap: 16px; max-width: 780px; margin-top: 40px; color: var(--ink-2); }
.legal-body h2 { margin-top: 24px; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.legal-body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.legal-body a { color: var(--blue); text-decoration: underline; }

.notfound { padding: clamp(48px, 10vw, 140px) 0 var(--section); }
.notfound .display { max-width: 12em; margin-top: 18px; }

/* =============================================================
   Adaptation aux écrans
   ============================================================= */
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .burger { display: block; }
  .float-a { left: -12px; }
}
@media (max-width: 1024px) {
  .hero-grid, .panel, .stack-card, .band-grid, .sim, .faq-grid, .cta-grid, .zones-grid, .page-hero-grid, .block, .cta-band, .method-grid, .sec-head--split, .review-card { grid-template-columns: minmax(0, 1fr); }
  .sec-head--split .lead { justify-self: start; }
  .hero-media { max-width: 640px; width: 100%; justify-self: center; }
  .stack-card { height: auto; }
  .stack-card .media { order: -1; height: 280px; }
  .faq-aside, .block-head { position: static; }
  .svc-grid, .related, .facts, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .cta-row { justify-content: flex-start; }
  .phone-wrap { position: relative; top: auto; }
  .method-grid .phone-wrap { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; grid-template-columns: 120px 1fr; justify-items: start; align-items: center; padding: 14px 18px; }
  .method-grid .phone-svg { width: 120px; }
  .method-grid .phone-caption { justify-items: start; text-align: left; }
  .step { min-height: 0; padding: 28px 0; }
  .page-media .card { left: 16px; }
  .review-card { gap: 20px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .banner-long { display: none; }
  .banner-short { display: inline; }
  .header-actions .btn--ghost { display: none; }
  .header-actions .btn--primary { padding: 10px 14px; }
  .logo { font-size: 22px; }
  .hero-trust { gap: 8px 16px; font-size: 14px; }
  .float-a { left: 8px; right: 8px; bottom: auto; top: calc(100% - 64px); width: auto; }
  .float-b { right: 8px; top: 12px; width: 168px; }
  .float-b .stars5 { display: none; }
  .float-b .tag { display: none; }
  .score { font-size: 34px; }
  .float-c { display: none; }
  .hero-media { margin-bottom: 150px; }
  .card { padding: 14px; }
  .svc-grid, .related, .facts, .quotes, .social-grid, .stats, .symptoms, .svc-mini, .city-list, .form-row { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 8px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .g-item--wide { grid-column: span 2; }
  .steps-row { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-lines li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .stack-card { position: relative; top: auto; }
  .review-actions .btn { flex: 1; }
  .page-media .card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .map .city .label { font-size: 15px; }
  .map-legend { display: none; }
  .tab { padding: 0 14px; }
  .seg-opt span { font-size: 14px; padding: 0 4px; }
  .seg-opt span .i { display: none; }
  .js [data-reveal="right"], .js [data-reveal="left"] { transform: translate3d(0, 28px, 0); }
  .city-badge { position: static; justify-items: start; margin-top: 10px; padding: 10px 14px; }
}
@media (max-width: 420px) {
  .header-actions .btn--primary span.long { display: none; }
  .float-b { width: 180px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .intro { display: none; }
  .js [data-reveal], .js [data-split] .wi, .js .footer-giant .gl, .stag { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="frame"] .frame-clip { clip-path: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .js .stars5 .i { opacity: 1; transform: none; }
  .js .ipill { width: 1.9em; margin: 0 .1em; }
}
