/* AMH Automotion — feuille de style v4
   Palette tirée du logo : graphite, rouge AMH, argent, aluminium.
   Fond clair : le sombre est réservé au pied de page.
   Signature : la découpe inclinée, reprise de l'angle du « A » du logo.
   Verre dépoli : uniquement là où une photo ou une bande de couleur passe derrière. */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Polices de secours ajustées à la largeur de Barlow : évitent que le texte « saute » au chargement */
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); font-weight: 400 500; size-adjust: 96%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); font-weight: 600 700; size-adjust: 91%; }
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); font-weight: 600 700; size-adjust: 75%; }

:root {
  --graphite: #1b2026;
  --graphite-2: #262d35;
  --graphite-3: #343c46;
  --alu: #eef0f2;
  --white: #ffffff;
  --ink: #1b2026;
  --ink-soft: #3d4650;
  --muted: #56606b;
  --silver: #aeb4bb;
  --red: #d0030c;
  --red-dark: #a8020a;
  --gold: #e9a100;
  --line: #d6dade;
  --line-dark: #3a424c;
  --focus: #0b5cad;
  --display: "Barlow Condensed", "Barlow Condensed Fallback", sans-serif;
  --body: "Barlow", "Barlow Fallback", sans-serif;
  --wrap: 1180px;
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  /* Verre dépoli */
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --glass-line: rgba(255, 255, 255, 0.8);
  --glass-dark: rgba(16, 19, 23, 0.6);
  --glass-blur: blur(18px) saturate(170%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 40px -20px rgba(27, 32, 38, 0.38);
}
/* Navigateur sans flou d'arrière-plan : verre presque opaque, le texte reste lisible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255, 255, 255, 0.96); --glass-strong: #ffffff; --glass-dark: rgba(16, 19, 23, 0.9); }
}
/* Réglage « réduire la transparence » du système : verre opaque */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: #ffffff; --glass-strong: #ffffff; --glass-dark: #14181d; --glass-blur: none; }
  .compare-knob { background: #ffffff; }
  .lightbox::backdrop { background: #0e1114; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--alu); }
body.lb-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 1rem; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin-bottom: 0.4rem; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark, .lightbox { --focus: #ffd23f; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Verre dépoli ---------- */
.glass { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.glass-dark { background: var(--glass-dark); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--white); }

/* ---------- Transitions entre les pages (navigateurs récents) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.2s ease both vt-out; }
::view-transition-new(root) { animation: 0.4s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 22px -12px rgba(208, 3, 12, 0.75); }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(27, 32, 38, 0.06); }
.on-dark .btn-line:hover { background: rgba(255, 255, 255, 0.1); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #f1f1f1; }
.btn-ghost { color: inherit; padding-inline: 0.2rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--red); box-shadow: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- En-tête (verre dépoli, fixé en haut) ---------- */
/* Le verre est porté par ::before : le menu mobile, enfant de l'en-tête, peut ainsi avoir son propre flou. */
/* Pas de view-transition-name ici : Chrome isolerait alors l'en-tête et le flou ne verrait plus la page dessous. */
.site-header { position: sticky; top: 0; z-index: 40; color: var(--ink); transition: box-shadow 0.25s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-bottom: 1px solid rgba(27, 32, 38, 0.08); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -16px rgba(27, 32, 38, 0.4); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: block; flex: none; }
.brand img { width: 156px; transform-origin: left center; transition: transform 0.25s var(--ease); }
.site-header.is-scrolled .brand img { transform: scale(0.88); }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 0.25rem; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.4; text-decoration: none; color: var(--ink); padding: 0.4rem 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-dd.is-current > .nav-dd-btn, .nav-dd.is-open > .nav-dd-btn { color: var(--red); border-bottom-color: var(--red); }
.nav-chevron { width: 1.05rem; height: 1.05rem; transition: transform 0.2s var(--ease); }
.nav-dd.is-open .nav-chevron { transform: rotate(180deg); }

/* Méga-menu « Services » : panneau de verre sous l'en-tête */
.mega { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s var(--ease), visibility 0s linear 0.18s; background: rgba(250, 251, 252, 0.95); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-top: 1px solid rgba(27, 32, 38, 0.08); border-bottom: 1px solid rgba(27, 32, 38, 0.1); box-shadow: 0 30px 50px -30px rgba(27, 32, 38, 0.55); }
.nav-dd.is-open .mega, html:not(.js) .nav-dd:hover .mega, html:not(.js) .nav-dd:focus-within .mega { visibility: visible; opacity: 1; transform: none; transition: opacity 0.18s ease, transform 0.18s var(--ease), visibility 0s; }
.mega-inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 2.5rem; padding: 1.6rem 0 1.8rem; }
/* Titres de colonnes « Particuliers » / « Professionnels » : bien visibles, trait rouge + filet */
.mega-title { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.8rem; padding: 0 0 0.55rem 0.1rem; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.4rem; font-weight: 700; line-height: 1.1; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.mega-title::before { content: ""; flex: none; width: 0.32rem; height: 1.15em; border-radius: 2px; background: var(--red); }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1rem; }
.mega-link { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 0.85rem; padding: 0.7rem 0.75rem; border-radius: var(--radius-md); text-decoration: none; color: var(--ink); transition: background-color 0.15s ease; }
.mega-link:hover, .mega-link:focus-visible, .mega-link[aria-current="page"] { background: rgba(255, 255, 255, 0.85); }
.mega-ic { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: rgba(208, 3, 12, 0.1); color: var(--red); }
.mega-ic .ic { width: 1.4rem; height: 1.4rem; }
.mega-txt { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.mega-txt strong { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.mega-link:hover strong { color: var(--red); }
.mega-txt > span { font-size: 0.95rem; line-height: 1.35; color: var(--ink-soft); }
.mega-price { grid-column: 2; justify-self: start; margin-top: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--red-dark); background: rgba(208, 3, 12, 0.08); border-radius: 999px; padding: 0.1rem 0.6rem; }
.mega-pro { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 0.95rem; }
.mega-pro:hover { background: var(--white); border-color: #b9c0c7; border-top-color: var(--red); }
.mega-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 1.1rem; }
.mega-all { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.mega-all .ic { width: 1.1rem; height: 1.1rem; }
.mega-actions .btn { min-height: 2.6rem; padding: 0.45rem 1rem; font-size: 1.05rem; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { white-space: nowrap; }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone .ic { color: var(--red); }
.menu-toggle { display: none; margin-left: auto; background: rgba(255, 255, 255, 0.6); border: 1.5px solid rgba(27, 32, 38, 0.18); color: var(--ink); border-radius: var(--radius-md); width: 3rem; height: 3rem; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ic { width: 1.6rem; height: 1.6rem; }
.menu-toggle .ic-close { display: none; }
.menu-open .menu-toggle .ic-open { display: none; }
.menu-open .menu-toggle .ic-close { display: block; }

/* ---------- Héros de l'accueil ---------- */
.hero { --slant: 7rem; background: radial-gradient(60rem 36rem at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), var(--alu); color: var(--ink); position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(32rem, 74vh, 44rem); padding-block: 3.5rem 10rem; }
.hero-text { max-width: 33rem; }
.hero h1 { max-width: 12ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .ln > span { display: block; }
.hero .lead { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.25; color: var(--graphite-3); margin-bottom: 1.2rem; max-width: 32ch; }
.hero-p { color: var(--muted); }
.hero-actions { margin-top: 1.6rem; }

/* Photo du héros : découpe inclinée + filet rouge + filet graphite */
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% + 1rem); clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); background: var(--graphite-2); }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% - 0.5rem); background: var(--red); clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
.hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1.9rem); width: calc(var(--slant) + 0.45rem); background: var(--graphite); clip-path: polygon(var(--slant) 0, 100% 0, 0.45rem 100%, 0 100%); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 17, 20, 0.35) 0%, rgba(15, 17, 20, 0) 38%); }
.slide-caption { position: absolute; z-index: 2; right: 1.5rem; bottom: 9.2rem; margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.95rem 0.4rem 0.8rem; border-radius: 999px; }
.slide-caption::before { content: ""; width: 1.4rem; height: 3px; background: var(--red); flex: none; }

/* Rien de coloré derrière le badge : un simple panneau clair suffit, sans flou (plus léger à afficher) */
.rating { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 1.8rem; text-decoration: none; color: var(--ink); padding: 0.7rem 1.15rem 0.7rem 1rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--white); box-shadow: var(--glass-shadow); transition: transform 0.2s var(--ease), border-color 0.2s ease; }
.rating:hover { transform: translateY(-2px); border-color: rgba(208, 3, 12, 0.35); }
.rating .score { font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .ic { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.rating small { display: block; color: var(--muted); font-size: 0.95rem; }

/* Barre d'infos : un panneau de verre posé à cheval sur la page et la photo */
.hero-facts { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.6rem; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; border-radius: var(--radius-lg); background: var(--glass-strong); }
.hero-facts ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 1.1rem 1.5rem; }
.hero-facts li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: center; }
.hero-facts .ic { width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 12px; background: rgba(208, 3, 12, 0.1); color: var(--red); }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }
.hero-facts span { color: var(--ink-soft); font-size: 0.98rem; }

/* Entrée animée de l'accueil : un seul moment orchestré */
@keyframes band-in { from { transform: translateX(40%); } }
@keyframes media-in { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
.home .hero::before { animation: band-in 0.9s var(--ease) 0.05s both; }
.home .hero::after { animation: band-in 1s var(--ease) 0.15s both; }
.home .hero-media { animation: media-in 1.1s var(--ease) 0.1s both; }
.home .hero h1 .ln > span { animation: rise 0.9s var(--ease) both; }
.home .hero h1 .ln:nth-child(1) > span { animation-delay: 0.3s; }
.home .hero h1 .ln:nth-child(2) > span { animation-delay: 0.42s; }
.home .hero .lead { animation: fade-up 0.7s ease 0.6s both; }
.home .hero-p { animation: fade-up 0.7s ease 0.7s both; }
.home .hero-actions { animation: fade-up 0.7s ease 0.8s both; }
.home .rating { animation: fade-up 0.7s ease 0.9s both; }
.home .hero-facts { animation: fade-up 0.7s ease 1s both; }

/* ---------- Bandeau défilant des interventions ---------- */
.ticker { background: var(--red); color: var(--white); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; display: flex; }
.ticker li { position: relative; font-family: var(--display); font-weight: 600; font-size: 1.35rem; padding: 0.75rem 1.6rem; white-space: nowrap; }
.ticker li::after { content: ""; position: absolute; right: -0.2rem; top: 32%; bottom: 32%; width: 0.35rem; background: rgba(255, 255, 255, 0.55); transform: skewX(-14deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { --slant: 5rem; background: radial-gradient(50rem 26rem at 0% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), var(--alu); color: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: 3.4rem 3.2rem; position: relative; z-index: 2; }
.page-hero::after { content: ""; position: absolute; top: 0; bottom: 0; right: -8rem; width: 16rem; background: var(--red); transform: skewX(-14deg); }
.page-hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: 8.6rem; width: 0.5rem; background: var(--graphite); transform: skewX(-14deg); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); max-width: 18ch; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-bottom: 0; }
.crumbs { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--ink); }
.page-hero.has-media .wrap { padding-block: 4rem 4.2rem; padding-right: 46%; }
.page-hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: 56%; clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); z-index: 1; }
.page-hero-media picture, .page-hero-media img { width: 100%; height: 100%; }
.page-hero-media img { object-fit: cover; }
.page-hero.has-media::after { right: 0; width: auto; left: calc(56% - 1rem); transform: none; clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
.page-hero.has-media::before { right: auto; left: calc(56% - 2.3rem); width: calc(var(--slant) + 0.4rem); transform: none; clip-path: polygon(var(--slant) 0, 100% 0, 0.4rem 100%, 0 100%); }

/* ---------- Sections ---------- */
.section { padding-block: 4.5rem; }
.section-light { background: var(--alu); }
.section-white { background: var(--white); }
.section-dark { background: var(--graphite); color: var(--white); }
.section-dark p { color: #d9dde1; }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #c9ced3; }
.services-more { margin-top: 2.2rem; }

/* Scène : bandes inclinées du logo, derrière les cartes de verre.
   Les bandes sont accrochées au groupe de cartes : elles ne passent jamais sous un texte sans verre. */
.stage { position: relative; overflow: hidden; overflow: clip; }
.pledges, .rv-zone { position: relative; isolation: isolate; }
.pledges::before, .pledges::after, .rv-zone::before, .rv-zone::after { content: ""; position: absolute; z-index: -1; transform: skewX(-14deg); pointer-events: none; }
.pledges::before { top: -2.5rem; bottom: -5rem; left: calc(50% - 6.5rem); width: 13rem; background: var(--red); }
.pledges::after { top: -2.5rem; bottom: -5rem; left: calc(50% + 8.1rem); width: 1rem; background: var(--graphite); }
.rv-zone::before { top: 5rem; bottom: 0; left: -6.2rem; width: 9rem; background: var(--red); }
.rv-zone::after { top: 5rem; bottom: 0; left: -8.5rem; width: 1rem; background: var(--graphite); }

/* Services : aperçu photo qui suit le survol */
.services-v2 { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.svc-preview { position: sticky; top: 6.5rem; aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite); border-radius: var(--radius-lg) 0 0 var(--radius-lg); clip-path: polygon(0 0, 100% 0, 100% 86%, 84% 100%, 0 100%); }
.svc-photo { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.45s ease, transform 0.8s var(--ease); }
.svc-photo.is-active { opacity: 1; transform: none; }
.svc-photo picture, .svc-photo img { width: 100%; height: 100%; }
.svc-photo img { object-fit: cover; }
.svc-photo-label { position: absolute; left: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.55rem; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.25rem; padding: 0.35rem 1rem 0.35rem 0.8rem; border-radius: 999px; }
.svc-photo-label::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--red); }
.service-list { list-style: none; border-top: 2px solid var(--ink); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.15rem 0.6rem 1.15rem 0.9rem; text-decoration: none; position: relative; transition: background-color 0.2s ease; }
.service-list a::before { content: ""; position: absolute; left: 0; top: 0.9rem; bottom: 0.9rem; width: 4px; background: var(--red); transform: scaleY(0); transition: transform 0.25s var(--ease); }
.service-list a:hover, .service-list a.is-active { background: var(--alu); }
.service-list a:hover::before, .service-list a.is-active::before { transform: scaleY(1); }
.service-list a:hover h3, .service-list a.is-active h3 { color: var(--red); }
.service-list .go { width: 1.3rem; height: 1.3rem; color: var(--muted); transition: transform 0.2s ease; }
.service-list a:hover .go, .service-list a.is-active .go { transform: translateX(4px); color: var(--red); }
.svc-thumb { display: none; }
.service-list h3 { margin: 0; font-size: 1.5rem; transition: color 0.15s ease; }
.service-list p { margin: 0.15rem 0 0; color: var(--muted); font-size: 1rem; }
.service-list .tag { font-size: 0.85rem; font-weight: 600; color: var(--white); background: var(--graphite); border-radius: var(--radius); padding: 0.1rem 0.45rem; margin-left: 0.5rem; vertical-align: 0.2em; font-family: var(--body); }

/* Bande de photos défilante */
.section-strip { padding-block: 4.5rem 3.5rem; overflow: hidden; }
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.strip-head h2 { margin: 0; }
.strip-nav { display: flex; gap: 0.5rem; }
.strip-btn { width: 3rem; height: 3rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.strip-btn:hover { background: var(--ink); color: var(--white); }
.strip { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2)); scroll-padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2)); }
.strip::-webkit-scrollbar { display: none; }
.strip ul { list-style: none; display: flex; gap: 1rem; padding-bottom: 0.25rem; width: max-content; }
.strip li { width: clamp(14rem, 21vw, 17rem); scroll-snap-align: start; }
.strip-more { margin-top: 1.8rem; }

.shot { display: block; position: relative; text-decoration: none; color: var(--white); border-radius: var(--radius-md); overflow: hidden; background: #cfd4d9; }
.shot img { width: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.strip .shot img, .photo-grid .shot img { aspect-ratio: 3 / 4; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); }
/* Voile sombre qui monte du bas de la photo au survol, pour lire l'explication */
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14, 17, 20, 0.92) 0%, rgba(14, 17, 20, 0.7) 38%, rgba(14, 17, 20, 0) 72%); opacity: 0; transition: opacity 0.3s ease; }
.shot-info { position: absolute; z-index: 1; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; display: flex; flex-direction: column; align-items: flex-start; }
/* Légende : pastille de verre fumé posée sur la photo */
.shot-caption { max-width: 100%; padding: 0.4rem 0.75rem; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.15; border-radius: var(--radius-md); background: var(--glass-dark); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.16); }
.shot-zoom { position: absolute; z-index: 1; top: 0.6rem; right: 0.6rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--glass-dark); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.shot-zoom .ic { width: 1.1rem; height: 1.1rem; }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; }
/* Brève explication : repliée par défaut, dépliée au survol (souris) ou au focus clavier */
.shot-desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.35s var(--ease), opacity 0.25s ease; }
.shot-desc > span { overflow: hidden; min-height: 0; padding: 0 0.2rem; font-size: 0.95rem; line-height: 1.4; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.shot:focus-visible::after { opacity: 1; }
.shot:focus-visible .shot-desc { grid-template-rows: 1fr; opacity: 1; }
.shot:focus-visible .shot-desc > span { padding-top: 0.55rem; }
@media (hover: hover) {
  .shot:hover::after { opacity: 1; }
  .shot:hover .shot-desc { grid-template-rows: 1fr; opacity: 1; }
  .shot:hover .shot-desc > span { padding-top: 0.55rem; }
}
.photo-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 1.4rem 0 1.6rem; }
.photo-grid .shot-info { left: 0.45rem; right: 0.45rem; bottom: 0.45rem; }
.photo-grid .shot-caption { font-size: 1rem; padding: 0.3rem 0.6rem; }
.photo-grid .shot-desc > span { font-size: 0.85rem; line-height: 1.35; }

/* Galerie des réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.chip { font: 600 1.02rem var(--body); padding: 0.5rem 0.95rem; border: 1.5px solid #b9c0c7; background: var(--white); color: var(--ink); border-radius: 999px; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.chip:hover { border-color: var(--ink); }
.chip span { color: var(--muted); font-weight: 500; margin-left: 0.15rem; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] span { color: var(--silver); }
.filter-status { font-size: 0.95rem; color: var(--muted); min-height: 1.5rem; margin-bottom: 1rem; }
.masonry { list-style: none; columns: 3 17rem; column-gap: 1rem; }
.masonry li { break-inside: avoid; margin-bottom: 1rem; }
.masonry li[hidden] { display: none; }

/* Comparateur avant / après */
.split-compare { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; }
.split-compare p { color: var(--muted); }
.compare { margin: 1.4rem 0 1.6rem; }
.split-compare .compare { margin: 0; }
.compare-frame { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: #000; touch-action: pan-y; box-shadow: 0 24px 50px -28px rgba(27, 32, 38, 0.55); }
.compare-before, .compare-after { position: absolute; inset: 0; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare picture img { width: 100%; height: 100%; object-fit: cover; }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.9); pointer-events: none; }
/* Poignée : anneau de verre autour d'une pastille rouge */
.compare-knob { position: absolute; top: 50%; left: 50%; width: 3.6rem; height: 3.6rem; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(8px) saturate(150%); backdrop-filter: blur(8px) saturate(150%); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); color: var(--white); display: flex; align-items: center; justify-content: center; }
.compare-knob::before { content: ""; position: absolute; inset: 0.4rem; border-radius: 50%; background: var(--red); }
.compare-knob .ic { position: relative; }
.compare-tag { position: absolute; top: 0.8rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: 0.2rem 0.8rem; color: var(--white); border-radius: 999px; pointer-events: none; background: var(--glass-dark); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.18); }
.compare-tag-before { left: 0.8rem; }
.compare-tag-after { right: 0.8rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-frame:has(.compare-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 0.6rem; }

/* Étapes (vraie séquence) */
/* Étapes : cartes blanches, pastille numérotée rouge, icône, chevron entre les cartes */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin: 0; padding: 0; }
.steps li { position: relative; margin: 0; padding: 1.4rem 1.5rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 22px 40px -34px rgba(27, 32, 38, 0.6); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.45rem; right: -1.25rem; width: 0.65rem; height: 0.65rem; border-top: 2.5px solid var(--red); border-right: 2.5px solid var(--red); transform: rotate(45deg); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; box-shadow: 0 10px 20px -12px rgba(208, 3, 12, 0.9); }
.steps .step-ic { width: 2rem; height: 2rem; color: #9aa3ac; }
.steps h3 { margin: 0 0 0.35rem; }
.steps p { color: var(--muted); margin: 0; }

/* Bloc professionnels : la photo à droite, un panneau de verre qui déborde dessus */
.pro-band { position: relative; display: flex; align-items: center; min-height: 25rem; padding: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--alu); isolation: isolate; }
.pro-band::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: calc(40% - 1.2rem); background: var(--red); clip-path: polygon(6rem 0, 100% 0, 100% 100%, 0 100%); }
.pro-photo { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: 40%; clip-path: polygon(6rem 0, 100% 0, 100% 100%, 0 100%); }
.pro-photo picture, .pro-photo img { width: 100%; height: 100%; }
.pro-photo img { object-fit: cover; }
.pro-text { max-width: 36rem; padding: 2.2rem 2.3rem; border-radius: var(--radius-lg); background: var(--glass-strong); }
.pro-text p { color: var(--ink-soft); }

/* Engagements : cartes de verre */
.pledges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.pledges div { padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--radius-lg); transition: transform 0.25s var(--ease); }
.pledges div:hover { transform: translateY(-4px); }
.pledges dt { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin-bottom: 0.4rem; }
.pledges dt .ic { width: 2.9rem; height: 2.9rem; padding: 0.6rem; border-radius: 14px; background: var(--white); color: var(--red); box-shadow: 0 8px 18px -10px rgba(208, 3, 12, 0.55); }
.pledges dd { margin: 0; color: var(--ink-soft); }

/* Avis */
.reviews { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.score-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.score-panel .big { font-family: var(--display); font-weight: 700; font-size: 5rem; line-height: 0.9; color: var(--ink); }
.score-panel .big span { font-size: 2rem; color: var(--muted); }
.score-panel .stars { margin: 0.6rem 0 0.5rem; }
.score-panel .stars .ic { width: 1.4rem; height: 1.4rem; }
.score-panel p { color: var(--muted); }
.source-note { font-size: 0.92rem; color: var(--muted); }

/* Tableau des contrats de flotte */
.contracts-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.contracts { width: 100%; border-collapse: collapse; min-width: 640px; }
.contracts caption { text-align: left; padding: 1rem 1.2rem; font-weight: 600; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--line); font-size: 0.98rem; }
.contracts th, .contracts td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.contracts thead th { font-family: var(--display); font-size: 1.6rem; font-weight: 700; background: var(--graphite); color: var(--white); border-bottom: 0; }
.contracts thead th.premium { background: var(--red); }
.contracts thead th + th { text-align: center; }
.contracts tbody th { font-weight: 500; width: 34%; }
.contracts td { text-align: center; }
.contracts .yes { color: var(--red); }
.contracts .yes .ic, .contracts .no .ic { margin-inline: auto; width: 1.5rem; height: 1.5rem; }
.contracts .no { color: #9aa2ab; }
.contracts td small { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.3rem; }

/* Contenu des pages */
.page-body { padding-block: 3.5rem 4.5rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul.ticks { list-style: none; display: grid; gap: 0.55rem; margin: 0 0 1.4rem; }
.prose ul.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; }
.prose ul.ticks .ic { color: var(--red); margin-top: 0.2rem; }
.prose ul.ticks .tick-no .ic { color: var(--muted); }
.price-list { list-style: none; margin: 0 0 0.8rem; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.price-list span { color: var(--ink-soft); }
.price-list strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); white-space: nowrap; }
.example { background: var(--white); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 0.85rem 1.1rem; color: var(--ink-soft); }
.split > *, .reviews > *, .services-v2 > *, .split-compare > * { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 3rem; align-items: start; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: 6rem; box-shadow: 0 18px 40px -26px rgba(27, 32, 38, 0.35); }
.aside-box h2 { font-size: 1.8rem; }
.aside-box .actions { flex-direction: column; align-items: stretch; }
.aside-box dl { margin: 1.2rem 0 0; display: grid; gap: 0.8rem; }
.aside-box dt { font-weight: 600; }
.aside-box dd { margin: 0; color: var(--muted); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.facts .ic { color: var(--red); width: 1.8rem; height: 1.8rem; margin-bottom: 0.6rem; }
.facts strong { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; margin-bottom: 0.3rem; }
.facts span { color: var(--muted); }

/* Prendre rendez-vous : une carte par type de rendez-vous Cal.com */
.rdv-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0 1.2rem; }
.rdv-card { display: flex; flex-direction: column; gap: 0.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--ease); }
.rdv-card:hover { border-color: #b9c0c7; transform: translateY(-2px); box-shadow: 0 22px 40px -30px rgba(27, 32, 38, 0.55); }
.rdv-card-head { display: flex; gap: 0.9rem; align-items: center; }
.rdv-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 12px; background: rgba(208, 3, 12, 0.1); color: var(--red); }
.rdv-ic .ic { width: 1.6rem; height: 1.6rem; }
.rdv-card h3 { margin: 0 0 0.15rem; }
.rdv-duration { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.rdv-duration .ic { width: 1rem; height: 1rem; color: var(--muted); }
.rdv-card > p { margin: 0; color: var(--muted); }
.rdv-card .btn { margin-top: auto; align-self: flex-start; }
.rdv-other { color: var(--ink-soft); margin-bottom: 2.5rem; }
/* « Autre besoin » : carte pleine largeur, bordure en pointillés */
.rdv-card-other { grid-column: 1 / -1; border-style: dashed; border-color: #aab2ba; background: rgba(255, 255, 255, 0.6); }
.rdv-card-other .rdv-ic { background: var(--ink); color: var(--white); }

/* Schéma des frais de déplacement : Sargé ⇄ chez vous */
.trip { margin: 1.2rem 0 1.8rem; padding: 1.5rem 1.2rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trip-map { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(4rem, 1fr) minmax(0, 9.5rem); align-items: center; gap: 0.9rem; }
.trip-node { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; text-align: center; }
.trip-ic { display: inline-flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; margin-bottom: 0.35rem; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: 0 12px 22px -14px rgba(208, 3, 12, 0.9); }
.trip-node-end .trip-ic { background: var(--ink); box-shadow: 0 12px 22px -14px rgba(27, 32, 38, 0.9); }
.trip-ic .ic { width: 1.6rem; height: 1.6rem; }
.trip-node strong { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; overflow-wrap: anywhere; }
.trip-node span:last-child { font-size: 0.85rem; line-height: 1.3; color: var(--muted); }
.trip-legs { display: grid; gap: 2.4rem; padding: 1.4rem 0; }
.trip-leg { position: relative; display: block; border-top: 2px dashed var(--red); }
.trip-back { border-top-color: var(--ink); }
.trip-leg::after { content: ""; position: absolute; top: -7px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.trip-go::after { right: -2px; border-left: 11px solid var(--red); }
.trip-back::after { left: -2px; border-right: 11px solid var(--ink); }
.trip-leg em { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 600; font-size: 0.9rem; line-height: 1; white-space: nowrap; }
.trip-go em { top: -1.5rem; color: var(--red-dark); }
.trip-back em { top: 0.55rem; color: var(--ink); }
.trip figcaption { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); text-align: center; font-size: 0.95rem; color: var(--ink-soft); }
.steps-tight { gap: 1.5rem; margin-bottom: 1.4rem; }
.steps-tight li { padding: 1.2rem 1.2rem 1.3rem; }
.steps-tight li:not(:last-child)::after { right: -1.08rem; top: 2.25rem; }
.steps-tight .step-n { width: 2.3rem; height: 2.3rem; font-size: 1.2rem; }
.steps-tight .step-ic { width: 1.7rem; height: 1.7rem; }
.aside-box .aside-second { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* Page services : une carte photo par service */
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease; }
.svc-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(27, 32, 38, 0.5); }
.svc-card-photo { overflow: hidden; display: block; }
.svc-card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-card-photo img { transform: scale(1.05); }
.svc-card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.svc-card .head { display: flex; gap: 0.6rem; align-items: center; }
.svc-card .head .ic { color: var(--red); width: 1.6rem; height: 1.6rem; }
.svc-card h2 { font-size: 1.7rem; margin: 0; }
.svc-card p { color: var(--muted); margin: 0; }
.svc-card .btn-ghost { margin-top: auto; align-self: flex-start; min-height: 0; padding: 0.4rem 0.1rem 0; }

/* Formulaires */
.form { display: grid; gap: 1.2rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.form legend { font-family: var(--display); font-weight: 700; font-size: 1.7rem; margin-bottom: 0.6rem; padding: 0; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; }
.field .hint { font-size: 0.92rem; color: var(--muted); }
.req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #b9c0c7; border-radius: var(--radius); padding: 0.7rem 0.85rem; min-height: 3rem;
  transition: border-color 0.15s ease;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); }
input[type="file"] { font: inherit; font-size: 0.98rem; color: var(--muted); }
input[type="file"]::file-selector-button { font: 600 1.05rem var(--display); background: var(--graphite); color: var(--white); border: 0; border-radius: var(--radius); padding: 0.55rem 1rem; margin-right: 0.8rem; cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--graphite-3); }
.files { display: grid; gap: 0.7rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.95rem; color: var(--muted); }
.form-status { min-height: 1.5rem; font-weight: 600; }
.form-status.error { color: #b00009; }

/* Bloc « à compléter » : visible uniquement dans la version de travail */
.todo { border: 2px dashed #c98a00; background: #fff6dc; color: #5c3d00; border-radius: var(--radius); padding: 0.9rem 1.1rem; margin: 1rem 0 1.4rem; font-size: 0.98rem; max-width: 46rem; }
.todo::before { content: "À compléter — "; font-weight: 700; }

/* Visionneuse photo : la page reste visible, floutée, derrière la photo */
.lightbox { padding: 0; border: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: transparent; color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(14, 17, 20, 0.74); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; max-width: min(90vw, 900px); }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; border-radius: var(--radius-md); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; max-width: 60ch; padding-inline: 1rem; text-align: center; }
.lb-title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.15; }
.lb-desc { font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.lb-desc:empty { display: none; }
.lb-count { position: absolute; top: 1.2rem; left: 1.25rem; margin: 0; color: #d9dde1; }
.lb-btn { position: absolute; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.15s ease; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn .ic { width: 1.6rem; height: 1.6rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Bandeau d'appel final */
.cta-band { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: 0; bottom: 0; left: -6rem; width: 14rem; background: var(--red-dark); transform: skewX(-14deg); }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0.4rem 0 0; color: #ffe9ea; }
.cta-band .btn-red, .cta-band .btn-light { box-shadow: none; }

/* Pied de page */
.site-footer { background: #14181d; color: #c9ced3; padding-block: 3.5rem 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer img { width: 190px; margin-bottom: 1rem; }
.site-footer h2 { font-size: 1.3rem; color: var(--white); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: #e4e7ea; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: #9aa2ab; }
.footer-bottom a { color: #c9ced3; }

.mobile-bar { display: none; }

/* ---------- Avis clients ---------- */
.rv { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr); gap: 2.5rem; align-items: start; }
.rv > * { min-width: 0; }
.rv-score { position: sticky; z-index: 1; top: 6.5rem; color: var(--ink); border-radius: var(--radius-lg); padding: 2rem 1.8rem; overflow: hidden; background: var(--glass-strong); }
.rv-score::after { content: ""; position: absolute; top: 0; right: 0; width: 6rem; height: 0.55rem; background: var(--red); clip-path: polygon(1.2rem 0, 100% 0, 100% 100%, 0 100%); }
.rv-big { font-family: var(--display); font-weight: 700; font-size: 5.6rem; line-height: 0.85; margin: 0; }
.rv-big span { font-size: 2rem; color: var(--muted); margin-left: 0.15rem; }
.rv-score .stars { margin: 0.8rem 0 0.4rem; }
.rv-score .stars .ic { width: 1.4rem; height: 1.4rem; }
.rv-count { color: var(--ink-soft); margin-bottom: 1.2rem; }
.rv-count strong { color: var(--ink); }
.rv-dist { margin: 0 0 1.8rem; display: grid; gap: 0.4rem; }
.rv-dist div { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) 2.6rem; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.rv-dist dd { margin: 0; display: contents; }
.rv-dist dd span { text-align: right; }
.bar { width: 100%; height: 8px; }
.bar-track { fill: rgba(27, 32, 38, 0.1); }
.bar-fill { fill: var(--gold); }
.rv-score .rv-h { font-size: 1.35rem; margin: 0 0 0.8rem; }
.rv-comps { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.rv-comps li { display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem; column-gap: 0.6rem; row-gap: 0.25rem; font-size: 0.95rem; color: var(--ink-soft); }
.rv-c-n { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.rv-comps .bar { grid-column: 1; height: 6px; }
.rv-comps .bar-fill { fill: var(--red); }
.rv-score .actions { flex-direction: column; align-items: stretch; }

/* Les avis sont posés sur du verre clair, assez dense pour une lecture confortable */
.rv-featured, .rv-card { background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); border-radius: var(--radius-lg); }
.rv-featured { position: relative; margin: 0 0 1rem; padding: 2.2rem 2.4rem 1.8rem; }
.rv-featured::after { content: ""; position: absolute; top: 0; left: 2.4rem; width: 5rem; height: 0.4rem; background: var(--red); clip-path: polygon(0.8rem 0, 100% 0, calc(100% - 0.8rem) 100%, 0 100%); }
.rv-featured blockquote, .rv-card blockquote { margin: 0; }
.rv-featured blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-weight: 700; font-size: 6rem; line-height: 0.75; height: 2.6rem; color: var(--red); }
.rv-featured blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.28; max-width: 42ch; margin: 0; color: var(--ink); }
.rv figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(27, 32, 38, 0.1); }
.rv-avatar { width: 3rem; height: 3rem; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--white); }
.rv-av-1 { background: var(--red); }
.rv-av-2 { background: var(--graphite); }
.rv-av-3 { background: #5f6872; }
.rv-who { display: flex; flex-direction: column; line-height: 1.3; flex: 1 1 12rem; min-width: 0; }
.rv-who strong { font-weight: 600; }
.rv-who span { font-size: 0.92rem; color: var(--ink-soft); }
.rv-stars { margin-left: auto; }
.rv-tag { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.86rem; font-weight: 600; color: var(--ink); background: rgba(27, 32, 38, 0.06); border-radius: 999px; padding: 0.25rem 0.75rem 0.25rem 0.55rem; }
.rv-tag .ic { width: 1rem; height: 1rem; color: var(--red); }
.rv-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
/* Défilement continu des avis (accueil) : 2 rangées en sens contraire ; chaque rangée contient sa liste
   en double et glisse de la moitié de sa largeur, ce qui boucle sans saut */
.rv-marquee { display: grid; gap: 1rem; overflow: hidden; padding: 0.4rem 0 0.9rem; border-radius: var(--radius-lg); }
.rv-marquee:focus-visible { outline-offset: -3px; }
.rv-track { display: flex; width: max-content; animation: rv-defile 48s linear infinite; }
.rv-track-rev { animation-direction: reverse; }
.rv-marquee:focus-visible .rv-track, .rv-marquee.is-paused .rv-track { animation-play-state: paused; }
@media (hover: hover) { .rv-marquee:hover .rv-track { animation-play-state: paused; } }
.rv-row { list-style: none; display: flex; align-items: stretch; gap: 1rem; margin: 0; padding: 0 1rem 0 0; }
.rv-row > li { flex: none; width: 18rem; }
.rv-row .rv-card { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
@keyframes rv-defile { to { transform: translateX(-50%); } }
.rv-card { height: 100%; margin: 0; display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.3rem; transition: border-color 0.2s ease, transform 0.25s var(--ease); }
.rv-card:hover { border-color: rgba(208, 3, 12, 0.4); transform: translateY(-3px); }
.rv-card blockquote { flex: 1; }
.rv-card blockquote p { margin: 0; font-size: 1.1rem; line-height: 1.6; }
.rv-card blockquote p::before { content: "\201C"; font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 0; vertical-align: -0.42em; margin-right: 0.2rem; color: var(--red); }
.rv-card figcaption { margin-top: 1.1rem; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin-bottom: 0.9rem; }
.rv-meta .rv-stars { margin-left: 0; }
.rv-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rv-card .rv-avatar { width: 2.6rem; height: 2.6rem; font-size: 1rem; }
.rv .source-note { margin-top: 1.2rem; max-width: 72ch; color: var(--ink-soft); }
.rv-after { margin-top: 3rem; }
@media (max-width: 1020px) {
  .rv { grid-template-columns: minmax(0, 1fr); }
  .rv-score { position: relative; top: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
  .rv-score > .rv-big, .rv-score > .stars, .rv-score > .rv-count, .rv-score > .rv-dist { grid-column: 1; }
  .rv-score > .rv-h, .rv-score > .rv-comps { grid-column: 2; }
  .rv-score > .rv-h { grid-row: 1; align-self: end; }
  .rv-score > .rv-comps { grid-row: 2 / span 3; }
  .rv-score > .actions { grid-column: 1 / -1; flex-direction: row; }
  .rv-zone::before { top: 4rem; left: auto; right: -4.5rem; width: 8rem; }
  .rv-zone::after { top: 4rem; left: auto; right: 4.4rem; }
}
@media (max-width: 760px) {
  .rv-score { display: block; }
  .rv-score > .actions { flex-direction: column; }
  .rv-featured { padding: 1.8rem 1.4rem 1.4rem; }
  .rv-featured::after { left: 1.4rem; }
  .rv-scroll { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -1.25rem; padding: 0.25rem 1.25rem 1rem; scroll-padding-inline: 1.25rem; }
  .rv-scroll::-webkit-scrollbar { display: none; }
  .rv-grid { display: flex; width: max-content; }
  .rv-grid li { width: min(80vw, 22rem); scroll-snap-align: start; }
  .rv-grid > li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav > ul { gap: 1.05rem; }
  .header-phone span { display: none; }
}
@media (max-width: 1120px) {
  .hero { --slant: 5rem; }
  .hero-text { max-width: 28rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .site-header .wrap { min-height: 4.4rem; }
  .brand img { width: 136px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-top: 1px solid rgba(27, 32, 38, 0.08); box-shadow: 0 30px 40px -30px rgba(27, 32, 38, 0.5); display: none; }
  .menu-open .nav { display: block; }
  .nav { max-height: calc(100dvh - 4.4rem); overflow-y: auto; overscroll-behavior: contain; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.25rem; }
  .nav-link { display: flex; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid rgba(27, 32, 38, 0.1); font-size: 1.4rem; }
  .nav-dd-btn { justify-content: space-between; }
  .nav-link:hover, .nav-dd.is-open > .nav-dd-btn { border-bottom-color: rgba(27, 32, 38, 0.1); }
  .mega { position: static; display: none; visibility: visible; opacity: 1; transform: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; transition: none; }
  .nav-dd.is-open .mega { display: block; }
  .mega-inner { width: auto; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; padding: 0.7rem 0 0.9rem; }
  .mega-list { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .mega-title { font-size: 1.15rem; margin-bottom: 0.4rem; padding-bottom: 0.4rem; }
  .mega-link { padding: 0.55rem 0.4rem; }
  .mega-txt > span { display: none; }
  .mega-pro .mega-txt > span { display: block; }
  .mega-ic { width: 2.3rem; height: 2.3rem; }

  .hero { display: flex; flex-direction: column; }
  .hero::before, .hero::after { display: none; }
  .hero-grid { order: 1; min-height: 0; padding-block: 2.6rem 2.2rem; }
  .hero-media { order: 2; position: relative; left: auto; height: 80vw; max-height: 34rem; clip-path: polygon(0 11%, 100% 0, 100% 100%, 0 100%); }
  .slide-caption { bottom: 5.6rem; right: 1rem; }
  .hero-facts { order: 3; position: relative; left: auto; right: auto; bottom: auto; margin: -4.4rem auto 2.4rem; }
  .hero-facts ul { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.1rem 1.2rem; }

  .page-hero.has-media { display: flex; flex-direction: column; }
  .page-hero.has-media .wrap { padding-right: 0; padding-block: 3rem 2rem; }
  .page-hero-media { position: relative; order: 2; left: auto; height: 52vw; max-height: 22rem; clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); }
  .page-hero.has-media::before, .page-hero.has-media::after { display: none; }
  .page-hero::after { width: 4.5rem; right: -2.5rem; }
  .page-hero::before { right: 2.3rem; width: 0.4rem; }
  .page-hero:not(.has-media) .wrap { padding-right: 4.8rem; }

  .services-v2, .reviews, .split, .split-compare { grid-template-columns: minmax(0, 1fr); }
  .svc-preview { display: none; }
  .svc-thumb { display: block; width: 4rem; height: 4rem; border-radius: var(--radius-md); overflow: hidden; }
  .svc-thumb picture, .svc-thumb img { width: 100%; height: 100%; }
  .svc-thumb img { object-fit: cover; }
  .service-list a { padding-left: 0.6rem; }
  .steps, .facts, .rdv-list { grid-template-columns: 1fr; }
  .steps { gap: 1.6rem; }
  .steps li:not(:last-child)::after, .steps-tight li:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: -1.1rem; transform: translateX(-50%) rotate(135deg); }
  .rv-row > li { width: min(78vw, 18rem); }
  .trip-map { grid-template-columns: minmax(0, 6.5rem) minmax(3rem, 1fr) minmax(0, 6.5rem); gap: 0.5rem; }
  .trip-node strong { font-size: 1rem; }
  .trip-ic { width: 2.7rem; height: 2.7rem; }
  .pro-band { display: block; min-height: 0; padding: 0; }
  .pro-band::before { display: none; }
  .pro-photo { position: relative; top: auto; bottom: auto; left: auto; right: auto; height: 16rem; clip-path: none; }
  .pro-text { position: relative; max-width: none; margin: -3.5rem 0.9rem 0.9rem; padding: 1.6rem 1.4rem; }
  .aside-box { position: static; }
}
@media (max-width: 760px) {
  .site-footer { padding-bottom: 7rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-top: 1px solid rgba(27, 32, 38, 0.1); box-shadow: 0 -12px 30px -18px rgba(27, 32, 38, 0.4); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.3rem; border-radius: var(--radius-md); font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, 0.75); border: 1.5px solid rgba(27, 32, 38, 0.2); }
  .mobile-bar a .ic { color: var(--red); }
  .mobile-bar a + a { background: var(--red); border-color: var(--red); color: var(--white); }
  .mobile-bar a + a .ic { color: var(--white); }
  .row-2 { grid-template-columns: 1fr; }
  .footer-grid, .service-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Tableau des contrats en lignes empilées sur mobile */
  .contracts { min-width: 0; }
  .contracts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .contracts tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .contracts tbody th { grid-column: 1 / -1; width: auto; border-bottom: 0; padding: 0.9rem 1rem 0.3rem; font-weight: 600; }
  .contracts td { border-bottom: 0; padding: 0.4rem 0.5rem 0.9rem; font-size: 0.95rem; }
  .contracts td::before { content: attr(data-label); display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.25rem; }
  .contracts td small { font-size: 0.82rem; }
  .strip-nav { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 1.2rem; transform: none; }
}
@media (max-width: 520px) {
  .pledges { grid-template-columns: 1fr; }
  .pledges::before { left: auto; right: -4.5rem; width: 8rem; bottom: -3.2rem; }
  .pledges::after { left: auto; right: 4.4rem; bottom: -3.2rem; }
  .section { padding-block: 3.2rem; }
  .btn { width: 100%; }
  .actions .btn-ghost { width: auto; }
  .strip-more .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mega { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-marquee { overflow-x: auto; }
  .rv-row[aria-hidden="true"] { display: none; }
  @view-transition { navigation: none; }
}
@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .ticker { display: none; }
  .glass, .rv-featured, .rv-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: #ffffff; }
}
