/* Dépannage Remorquage Lyon : feuille de style unique (refonte « gyrophare », 09/11/2026).
   Noir bitume + jaune gyrophare, photos style téléphone, bandes pleine largeur. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --white: #fdfdfb;
  --paper: #f5f4ef;
  --ink: #16181b;
  --ink-2: #3c4147;
  --muted: #61666d;
  --line: #e3e0d8;
  --line-2: #d3cfc5;
  --dark: #111316;
  --dark-2: #1a1d21;
  --dark-3: #262a2f;
  --on-dark: #f2f1ec;
  --on-dark-2: #a8acb2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --amber: #f6b31b;
  --amber-hi: #ffc53f;
  --amber-ink: #8a5b00;
  --amber-soft: #fbf1d6;
  --wa: #0f7a41;
  --wa-hi: #0e7a40;
  --wa-bright: #25d366;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 1px 2px rgba(17, 19, 22, 0.06), 0 14px 34px -14px rgba(17, 19, 22, 0.24);
  --shadow-lg: 0 2px 4px rgba(17, 19, 22, 0.06), 0 30px 60px -24px rgba(17, 19, 22, 0.38);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --section: 48px;
  --header-h: 76px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
@media (min-width: 900px) {
  :root {
    --section: 64px;
  }
}
@media (min-width: 1100px) {
  :root {
    --header-h: 100px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tnum {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Icônes Phosphor (pleines) : la partie claire « .t » prend la teinte --tone */
.i {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}
.i .t {
  fill: var(--tone, currentColor);
  opacity: var(--tone-o, 0.22);
}
.ico,
.fab__ico--sms {
  --tone: var(--amber);
  --tone-o: 0.7;
}
.note,
.footer__phone {
  --tone-o: 0.3;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.16s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn--big {
  --h: 58px;
  padding: 0 26px;
  font-size: 17px;
}
.btn--amber {
  background: var(--amber);
  color: var(--ink);
}
.btn--amber:hover {
  background: var(--amber-hi);
}
.btn--wa {
  background: var(--wa);
  color: #fff;
}
.btn--wa:hover {
  background: var(--wa-hi);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn--glass .i--fill {
  color: var(--wa-bright);
}
.linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.linkbtn .i {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

/* ---------- Bandeau d'info ---------- */

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.header.is-stuck {
  box-shadow: 0 10px 28px -18px rgba(17, 19, 22, 0.45);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
}
.logo__img {
  width: auto;
  height: 86px;
}
.logo__full {
  width: 230px;
  height: auto;
}
@media (max-width: 639px) {
  .logo__img {
    height: 62px;
  }
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--amber);
  color: var(--ink);
}
.logo__mark .i {
  width: 34px;
  height: 34px;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo__text b {
  font-size: 16px;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}
.logo__text small {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
/* Mobile : logo sur deux lignes, sans sous-titre, pour laisser la place à Appeler + menu */
@media (max-width: 639px) {
  .header__inner {
    gap: 10px;
  }
  .logo {
    gap: 10px;
    min-width: 0;
  }
  .logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .logo__mark .i {
    width: 31px;
    height: 31px;
  }
  .logo__text b {
    font-size: 15px;
    font-stretch: 100%;
    line-height: 1.15;
  }
  .logo__text b span {
    display: block;
  }
  .logo__text small {
    display: none;
  }
  .header__actions {
    gap: 8px;
  }
  .header__call {
    --h: 44px;
    gap: 8px;
    padding: 0 14px;
  }
  .burger {
    width: 44px;
    height: 44px;
  }
  .burger span {
    left: 12px;
    right: 12px;
  }
  .burger span:first-child {
    top: 17px;
  }
  .burger span:last-child {
    top: 25px;
  }
}
@media (max-width: 340px) {
  .header__call-short {
    display: none;
  }
}
@media (min-width: 1100px) {
  .logo__mark {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }
  .logo__mark .i {
    width: 40px;
    height: 40px;
  }
  .logo__text b {
    font-size: 18.5px;
  }
  .logo__text small {
    font-size: 13.5px;
  }
}
.nav {
  display: none;
}
@media (min-width: 1100px) {
  .nav {
    display: block;
    align-self: stretch;
    margin-left: auto;
  }
}
.nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 100%;
}
.nav__item {
  display: flex;
  align-items: center;
}
.nav__item--drop {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.nav__link:hover,
.nav__item.is-open > .nav__link {
  background: var(--paper);
}
.nav__link .i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.nav__item.is-open > .nav__link .i {
  transform: rotate(180deg);
}
@media (hover: hover) {
  .nav__item--mega:hover > .nav__link,
  .nav__item--drop:hover > .nav__link {
    background: var(--paper);
  }
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
@media (min-width: 1100px) {
  .header__actions {
    margin-left: 14px;
  }
}
.iconbtn {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--wa);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.16s var(--ease);
}
.iconbtn:hover {
  border-color: var(--wa);
  background: #eaf6ef;
}
.iconbtn:active {
  transform: scale(0.96);
}
.iconbtn .i {
  width: 25px;
  height: 25px;
}
@media (min-width: 640px) {
  .iconbtn {
    display: grid;
  }
}
.header__call {
  --h: 48px;
  padding: 0 18px;
}
.header__call-long {
  display: none;
}
@media (min-width: 1280px) {
  .header__call {
    padding: 0 20px;
  }
  .header__call-short {
    display: none;
  }
  .header__call-long {
    display: inline;
  }
}
.burger {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: none;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.burger span:first-child {
  top: 19px;
}
.burger span:last-child {
  top: 27px;
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
@media (min-width: 1100px) {
  .burger {
    display: none;
  }
}

/* Menus déroulants (ordinateur) */
.mega,
.drop {
  position: absolute;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.nav__item.is-open > .mega,
.nav__item.is-open > .drop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
@media (hover: hover) {
  .nav__item--mega:hover > .mega,
  .nav__item--drop:hover > .drop {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}
.mega {
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 44px -28px rgba(17, 19, 22, 0.35);
}
.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding-block: 26px 30px;
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-content: start;
}
.mega__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.mega__link:hover,
.mega__link[aria-current="page"] {
  background: var(--paper);
}
.mega__link img,
.mega__thumb {
  flex: none;
  width: 104px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
}
.mega__thumb {
  display: grid;
  place-items: center;
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.mega__thumb .i {
  width: 26px;
  height: 26px;
}
.mega__link b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
}
.mega__link small {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--muted);
}
.mega__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--on-dark);
}
.mega__title {
  font-size: 20px;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.02em;
}
.mega__aside p {
  font-size: 15px;
  color: var(--on-dark-2);
}
.mega__aside .btn {
  width: 100%;
}
.drop {
  left: 50%;
  width: 540px;
  margin-left: -270px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.drop__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}
.drop__list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.drop__list a:hover,
.drop__list a[aria-current="page"] {
  background: var(--paper);
}
.drop__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.drop__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.drop__foot .i {
  width: 16px;
  height: 16px;
  color: var(--amber-ink);
}

/* Menu mobile */
.mnav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--mnav-top, 108px);
  bottom: 0;
  z-index: 45;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--gutter) calc(104px + env(safe-area-inset-bottom));
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
}
.header.is-menu .mnav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
@media (min-width: 1100px) {
  .mnav {
    display: none;
  }
}
.mnav__title {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.mnav__title:first-child {
  margin-top: 4px;
}
.mnav__services {
  display: grid;
  gap: 2px;
}
.mnav__services a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px;
  border-radius: 10px;
  font-size: 16.5px;
  font-weight: 700;
  text-decoration: none;
}
.mnav__services a:active {
  background: var(--paper);
}
.mnav__services img {
  flex: none;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.mnav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mnav__chips a {
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.mnav__links {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.mnav__links a {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}
.mnav__ctas {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

/* ---------- Titres de section ---------- */
.section {
  padding-block: var(--section);
}
.section--paper {
  background: var(--paper);
}
.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}
.section--soft {
  background: var(--amber-soft);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--amber-ink);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.section--dark .kicker {
  color: var(--amber);
}
h2 {
  font-size: clamp(28px, 3.3vw, 44px);
}
.head {
  max-width: 780px;
  margin-bottom: 36px;
}
.head--split {
  display: grid;
  gap: 14px 56px;
  align-items: end;
  max-width: none;
}
@media (min-width: 900px) {
  .head--split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.lead {
  max-width: 62ch;
  margin-top: 14px;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--ink-2);
}
.head--split .lead {
  margin-top: 0;
}
.section--dark .lead {
  color: var(--on-dark-2);
}

/* ---------- Ouverture ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 18, 0.62) 0%, rgba(13, 15, 18, 0.8) 50%, rgba(13, 15, 18, 0.95) 100%);
}
@media (min-width: 900px) {
  .hero__bg::after {
    background: linear-gradient(90deg, rgba(13, 15, 18, 0.94) 0%, rgba(13, 15, 18, 0.84) 36%, rgba(13, 15, 18, 0.4) 68%, rgba(13, 15, 18, 0.18) 100%);
  }
}
.hero__inner {
  display: grid;
  gap: 32px;
  padding-block: 40px 96px;
}
@media (min-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
    align-items: center;
    min-height: min(calc(100svh - 124px), 720px);
    padding-block: 56px 120px;
  }
}
.hero h1 {
  max-width: 15ch;
  margin-top: 20px;
  font-size: clamp(36px, 5.3vw, 68px);
}
.hero .lead {
  max-width: 54ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__sub {
  margin-top: 18px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.78);
}
.hero__sub .linkbtn {
  color: #fff;
}
/* Mobile : l’appel sur toute la largeur, SMS et WhatsApp côte à côte dessous */
@media (max-width: 639px) {
  .hero__ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero__ctas .btn {
    width: 100%;
    padding: 0 12px;
  }
  .hero__ctas .hero__call,
  .hero__ctas .btn:only-child {
    grid-column: 1 / -1;
    --h: 62px;
    font-size: 18px;
  }
}
.btn[aria-busy="true"] {
  opacity: 0.75;
}

/* Bande de confiance (chevauche l'ouverture) */
.trust {
  position: relative;
  z-index: 2;
  margin-top: -60px;
}
.trust__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  box-shadow: var(--shadow);
}
.trust__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
}
.trust__list b {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1.25;
}
.trust__list span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}
.trust__list .ico {
  display: none;
}
@media (min-width: 640px) {
  .trust__list li {
    padding: 20px;
  }
  .trust__list .ico {
    display: grid;
  }
}
@media (min-width: 1000px) {
  .trust__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust__list li {
    padding: 24px;
  }
  .trust__list b {
    font-size: 16.5px;
  }
  .trust__list span {
    font-size: 14.5px;
  }
}
.ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.ico .i {
  width: 26px;
  height: 26px;
}

/* ---------- Services en mosaïque ---------- */
.tiles {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .tiles > :last-child:nth-child(odd) {
    grid-column: span 2;
  }
}
@media (min-width: 1100px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 290px;
  }
  .tile--big {
    grid-column: span 2;
    grid-row: span 2;
  }
  .tile--wide {
    grid-column: span 2;
  }
  .tiles--others {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
  }
}
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 270px;
  padding: 22px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
}
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 15, 18, 0.1) 0%, rgba(13, 15, 18, 0.5) 40%, rgba(13, 15, 18, 0.95) 100%);
}
.tile h3,
.tile p {
  text-shadow: 0 1px 12px rgba(13, 15, 18, 0.45);
}
.tile:hover img {
  transform: scale(1.045);
}
.tile h3 {
  font-size: clamp(20px, 1.7vw, 24px);
}
.tile--big h3 {
  font-size: clamp(24px, 2.6vw, 34px);
}
.tile p {
  max-width: 46ch;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}
.tile__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
}
.tile__more .i {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.tile:hover .tile__more .i {
  transform: translateX(4px);
}
.tile__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- Mise en page avec photo jusqu'au bord ---------- */
.bleed {
  display: grid;
}
.bleed__media {
  position: relative;
}
.bleed__media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.bleed__body {
  padding: 36px var(--gutter) var(--section);
}
@media (min-width: 900px) {
  .bleed {
    grid-template-columns:
      [full-start] minmax(var(--gutter), 1fr)
      [content-start] minmax(0, calc(var(--max) / 2))
      [mid] minmax(0, calc(var(--max) / 2))
      [content-end] minmax(var(--gutter), 1fr)
      [full-end];
    align-items: center;
  }
  .bleed__media {
    grid-column: full-start / mid;
    grid-row: 1;
    align-self: stretch;
    min-height: 580px;
  }
  .bleed__media > img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
  .bleed__body {
    grid-column: mid / content-end;
    grid-row: 1;
    padding: var(--section) 0 var(--section) clamp(40px, 5vw, 72px);
  }
  .bleed--rev .bleed__media {
    grid-column: mid / full-end;
  }
  .bleed--rev .bleed__body {
    grid-column: content-start / mid;
    padding: var(--section) clamp(40px, 5vw, 72px) var(--section) 0;
  }
}
.badge-quote {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 20px;
  max-width: 380px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.badge-quote small {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
@media (min-width: 900px) {
  .badge-quote {
    left: auto;
    right: 28px;
    bottom: 28px;
  }
}

/* ---------- Étapes ---------- */
.steps {
  display: grid;
  gap: 32px;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
  }
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
  transform-origin: left;
  transition: transform 1s var(--ease) 0.15s;
}
.js .step.reveal:not(.is-in)::before {
  transform: scaleX(0);
}
.step__n {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}
.step h3 {
  margin-top: 10px;
  font-size: 22px;
}
.step p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--on-dark-2);
}

/* ---------- Pannes et situations ---------- */
.go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--amber-ink);
}
.go .i {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
a:hover > .go .i {
  transform: translateX(3px);
}

/* ---------- Conseils de sécurité ---------- */

/* ---------- Tarifs ---------- */
.pricing {
  display: grid;
  gap: 36px;
}
@media (min-width: 1000px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}
.text p + p,
.text p + ul,
.text ul + p {
  margin-top: 14px;
}
.text p {
  color: var(--ink-2);
}
.text strong {
  color: var(--ink);
}
.text a {
  font-weight: 600;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.factors {
  display: grid;
  gap: 12px;
}
.factors > li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.factors b {
  display: block;
  font-size: 17px;
}
.factors p {
  margin-top: 3px;
  font-size: 15.5px;
  color: var(--muted);
}
.pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pay li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Zone ---------- */
.zone {
  display: grid;
  gap: 40px;
}
@media (min-width: 1000px) {
  .zone {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
  }
}
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.cities a,
.cities span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.cities a:hover {
  border-color: var(--ink);
}
.cities .cities__all {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.cities .cities__all:hover {
  background: var(--dark-3);
}
.cities .i {
  width: 16px;
  height: 16px;
}
.farther {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}
.farther:hover {
  border-color: var(--ink);
}
.farther__txt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.farther__txt b {
  display: block;
  font-size: 17px;
  color: var(--ink);
}
.farther__arrow {
  margin-left: auto;
  transition: transform 0.25s var(--ease);
}
.farther:hover .farther__arrow {
  transform: translateX(4px);
}
.note {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 20px;
  border-radius: 14px;
  background: var(--paper);
  font-size: 15.5px;
  color: var(--ink-2);
}
.note > .i {
  width: 24px;
  height: 24px;
  color: var(--amber-ink);
}
.note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  color: var(--ink);
}
.tarif-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.tarif-table th,
.tarif-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  font-weight: 500;
}
.tarif-table td {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.zone__map {
  margin: 0;
}
.zone__map img {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
@media (min-width: 1000px) {
  .zone__map {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- Questions ---------- */
.faqwrap {
  display: grid;
  gap: 36px;
}
@media (min-width: 1000px) {
  .faqwrap {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
  }
  .faqwrap .left {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.faq details {
  border-bottom: 1px solid var(--line-2);
}
.faq details:first-child {
  border-top: 1px solid var(--line-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white) var(--plus) center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--amber);
  box-shadow: none;
}
.faq details p {
  max-width: 68ch;
  padding-bottom: 22px;
  color: var(--ink-2);
}
.faq details p a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- Encart d'appel ---------- */
.callcard {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 26px;
  border-radius: 16px;
  background: var(--dark);
  color: var(--on-dark);
}
.callcard h3 {
  font-size: 22px;
}
.callcard p {
  font-size: 15.5px;
  color: var(--on-dark-2);
}
.callcard .btn {
  width: 100%;
}
.callcard .linkbtn {
  justify-self: center;
  margin-top: 4px;
  font-size: 15px;
  color: #fff;
}
.checks {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--amber) var(--check) center / 12px no-repeat;
}
.callcard .checks {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}
.callcard .checks li {
  font-size: 15px;
  color: var(--on-dark-2);
}

/* ---------- Bandeau d'appel final ---------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 15, 18, 0.94) 0%, rgba(13, 15, 18, 0.74) 55%, rgba(13, 15, 18, 0.45) 100%);
}
.band .wrap {
  display: grid;
  gap: 26px;
  padding-block: 72px;
}
@media (min-width: 900px) {
  .band .wrap {
    grid-template-columns: 1.3fr auto;
    gap: 48px;
    align-items: center;
    padding-block: 104px;
  }
}
.band h2,
.band__title {
  max-width: 18ch;
  font-size: clamp(28px, 3.6vw, 46px);
}
.band p {
  margin-top: 12px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}
.band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 639px) {
  .band__ctas .btn {
    width: 100%;
  }
}

/* ---------- Pied de page ---------- */
.footer {
  padding: 64px 0 88px;
  background: var(--dark);
  color: var(--on-dark-2);
  font-size: 15px;
}
.band + .footer {
  border-top: 1px solid var(--line-dark);
}
.footer__grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
.footer .logo__text b {
  color: #fff;
}
.footer .logo__text small {
  color: var(--on-dark-2);
}
.footer__about p {
  max-width: 42ch;
  margin-top: 18px;
}
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 100%;
  color: #fff;
  text-decoration: none;
}
.footer__phone .i {
  width: 22px;
  height: 22px;
  color: var(--amber);
}
.footer h2,
.footer__title {
  margin-bottom: 14px;
  font-size: 15px;
  font-stretch: 100%;
  letter-spacing: 0;
  color: #fff;
}
.footer ul {
  display: grid;
  gap: 9px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
}
.footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- Bulle Appeler / WhatsApp ---------- */
.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.is-locked .fab {
  display: none;
}
.fab__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fab__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(17, 19, 22, 0.5), 0 0 0 1px rgba(17, 19, 22, 0.07);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: right bottom;
  transition: opacity 0.2s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s;
}
.fab.is-open .fab__item {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.fab.is-open .fab__item:nth-child(2) {
  transition-delay: 35ms;
}
.fab.is-open .fab__item:nth-child(1) {
  transition-delay: 70ms;
}
.fab__item:active {
  transform: scale(0.97);
}
.fab__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.fab__ico .i {
  width: 24px;
  height: 24px;
}
.fab__ico--call {
  background: var(--amber);
  color: var(--ink);
}
.fab__ico--wa {
  background: var(--wa-bright);
  color: #fff;
}
.fab__ico--sms {
  background: var(--ink);
  color: #fff;
}
.fab__row {
  position: relative;
  display: flex;
  align-items: center;
}
.fab__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 28px -8px rgba(17, 19, 22, 0.6), 0 0 0 4px rgba(253, 253, 251, 0.92);
  pointer-events: auto;
  transition: transform 0.16s var(--ease), background-color 0.2s var(--ease);
}
.fab__btn:hover {
  background: var(--amber-hi);
}
.fab__btn:active {
  transform: scale(0.95);
}
.fab__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--amber);
  animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
.fab__btn .i {
  position: absolute;
  width: 28px;
  height: 28px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.fab__close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.fab.is-open .fab__open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.fab.is-open .fab__close {
  opacity: 1;
  transform: none;
}
.fab.is-open .fab__btn::before {
  animation: none;
  opacity: 0;
}
/* Pastille WhatsApp sur la bulle fermée : on comprend qu'elle sert à appeler ET à écrire */
.fab__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wa-bright);
  color: #fff;
  box-shadow: 0 0 0 2px var(--white);
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.fab__badge .i {
  position: static;
  width: 14px;
  height: 14px;
}
.fab.is-open .fab__badge {
  opacity: 0;
  transform: scale(0.5);
}
@media (max-width: 639px) {
  .fab__btn {
    width: 58px;
    height: 58px;
  }
}

/* ---------- Pages service et commune ---------- */
.hero--page .hero__inner {
  grid-template-columns: 1fr;
  min-height: 0;
  padding-block: 36px 64px;
}
@media (min-width: 1100px) {
  .hero--page .hero__inner {
    min-height: 480px;
    padding-block: 56px 80px;
  }
}
.hero--page h1 {
  max-width: 20ch;
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 56px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.article {
  display: grid;
  gap: 40px;
}
@media (min-width: 1000px) {
  .article {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: start;
  }
  .aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.article > div > section {
  margin-top: 48px;
}
.article h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 32px);
}
.article .text {
  max-width: 70ch;
}
.lead-text p {
  font-size: clamp(17px, 1.35vw, 19.5px);
  color: var(--ink);
}
.aside .callcard {
  margin-top: 0;
}
.distances {
  display: grid;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.distances div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.distances dt {
  color: var(--ink-2);
}
.distances dd {
  margin: 0;
  font-weight: 700;
}
@media (min-width: 640px) {
  .distances {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    column-gap: 40px;
  }
}
.distances__note {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}
@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}
.facts div {
  padding: 16px 18px;
  background: var(--white);
}
.facts dt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.facts dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1.25;
}
.svc-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}
@media (min-width: 640px) {
  .svc-list {
    grid-template-columns: 1fr 1fr;
  }
  .svc-list > :last-child:nth-child(odd) {
    grid-column: span 2;
  }
}
.svc-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--white);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.svc-list a:hover {
  background: var(--paper);
}
.svc-list img {
  flex: none;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}
.svc-list b {
  display: block;
  font-size: 16px;
}
.svc-list small {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Page zone ---------- */
.sectors {
  display: grid;
  gap: 32px;
}
@media (min-width: 700px) {
  .sectors {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .sectors {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
.sector h2 {
  margin-bottom: 10px;
  font-size: 21px;
}
.sector li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.sector li span {
  flex: none;
}
.sector li small {
  color: var(--muted);
  text-align: right;
}
.sector a {
  font-weight: 700;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.zonepage {
  display: grid;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 1000px) {
  .zonepage {
    grid-template-columns: 1fr 0.9fr;
    gap: 64px;
    align-items: start;
  }
}

/* ---------- Mentions légales, 404 ---------- */
.legal-table {
  display: grid;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}
.legal-table div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .legal-table div {
    grid-template-columns: 280px 1fr;
  }
}
.legal-table dt {
  font-weight: 700;
}
.legal-table dd {
  margin: 0;
  color: var(--ink-2);
}
.legal-text {
  max-width: 70ch;
  margin-top: 40px;
}
.legal-text h2 {
  margin-bottom: 12px;
  font-size: 24px;
}
.notfound {
  padding-block: 40px;
}
.notfound h1 {
  font-size: clamp(32px, 4vw, 48px);
}

/* ---------- Bandeau cookies (actif seulement si Google Ads est configuré) ---------- */
.consent {
  position: fixed;
  left: 16px;
  right: 96px;
  bottom: 16px;
  z-index: 60;
  max-width: 520px;
  padding: 18px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
}
.consent div {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.consent .btn {
  --h: 44px;
}

/* ---------- Apparition au défilement ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fab__btn::before {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .step.reveal:not(.is-in)::before {
    transform: none;
  }
}

/* ---------- Icônes 3D (images détourées, html/assets/icons3d/) ---------- */
.i3d {
  display: block;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(17, 19, 22, 0.16));
  transition: transform 0.35s var(--ease);
}
.section--dark .i3d {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}
.trust__list .i3d {
  display: none;
  width: 52px;
  height: 52px;
  margin-top: -4px;
}
@media (min-width: 640px) {
  .trust__list .i3d {
    display: block;
  }
}
.factors .i3d {
  width: 56px;
  height: 56px;
  margin-top: -6px;
}
.factors li:hover .i3d,
.farther:hover .i3d {
  transform: translateY(-4px) rotate(-4deg);
}
.farther .i3d {
  width: 56px;
  height: 56px;
}
.mega__thumb .i3d {
  width: 60px;
  height: 60px;
  border-radius: 0;
  object-fit: contain;
}


/* ---------- Accueil simplifié (09/11) ---------- */
.sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
@media (min-width: 1100px) {
  .hero--home .hero__inner {
    min-height: min(calc(100svh - var(--header-h)), 680px);
  }
}
.head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.head--center .lead {
  margin-inline: auto;
}
.step {
  padding-top: 28px;
  border-top-color: var(--line);
}
.step .i3d {
  width: 64px;
  height: 64px;
  margin: -4px 0 12px -4px;
}
.step:hover .i3d {
  transform: translateY(-4px) rotate(-4deg);
}
.step__n {
  color: var(--amber-ink);
}
.step p {
  color: var(--muted);
}
.bleed .factors {
  gap: 22px 28px;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .bleed .factors {
    grid-template-columns: 1fr 1fr;
  }
}
.bleed .factors > li {
  gap: 12px;
  align-items: flex-start;
  padding: 0;
  border: 0;
  background: none;
}
.bleed .factors .i3d {
  width: 48px;
  height: 48px;
  margin-top: -4px;
}
.bleed .factors b {
  font-size: 16.5px;
}
.bleed .factors p {
  margin-top: 2px;
  font-size: 15px;
}

/* ---------- Mobile plus compact (09/11) ---------- */
@media (max-width: 899px) {
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.35) 0%, rgba(13, 15, 18, 0.66) 45%, rgba(13, 15, 18, 0.93) 100%);
  }
}
@media (max-width: 699px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 26px 16px;
  }
  .step {
    padding-top: 20px;
  }
  .step .i3d {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }
  .step h3 {
    font-size: 17px;
  }
  .step p {
    margin-top: 6px;
    font-size: 14.5px;
    line-height: 1.5;
  }
}
@media (max-width: 639px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .tile {
    min-height: 168px;
    padding: 14px;
    border-radius: 14px;
  }
  .tile h3,
  .tile--big h3 {
    font-size: 16.5px;
    line-height: 1.2;
  }
  .tile p,
  .tile__tag {
    display: none;
  }
  .tile__more {
    margin-top: 8px;
    font-size: 13.5px;
  }
  .tile--big {
    grid-column: span 2;
  }
  .tile--big {
    min-height: 210px;
  }
  .tile--big p {
    display: block;
    font-size: 14.5px;
  }
}


/* ---------- Bande de photos « sur le terrain » (fixe ; glissée au doigt sur mobile) ---------- */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 8px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar {
  display: none;
}
.strip__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  scroll-snap-align: center;
}
.strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.strip__item:hover img {
  transform: scale(1.04);
}
.strip__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, rgba(13, 15, 18, 0) 0%, rgba(13, 15, 18, 0.85) 100%);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}
@media (min-width: 900px) {
  .strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 0;
    overflow: visible;
  }
  .strip__item {
    height: min(560px, 40vw);
    aspect-ratio: auto;
    border-radius: 0;
  }
  .strip__item figcaption {
    padding: 64px 24px 22px;
    font-size: 17px;
  }
}

/* ---------- Cartes de service (10/11) : photo, nom, une ligne, lien ---------- */
.scards {
  display: grid;
  gap: 12px;
}
.scard {
  display: grid;
  grid-template-columns: 116px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.scard__img {
  display: block;
  overflow: hidden;
  background: var(--line);
}
.scard__img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}
.scard__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  min-width: 0;
}
.scard h3,
.scard h2 {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.scard__txt {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}
.scard__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--amber-ink);
}
.scard__more .i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #000;
}
.scard--call {
  grid-template-columns: 1fr;
  border-color: transparent;
  background: var(--amber);
}
.scard--call .scard__body {
  gap: 10px;
  padding: 20px;
}
.scard--call h3 {
  font-size: 22px;
}
.scard--call .scard__txt {
  margin-bottom: 4px;
  color: var(--ink);
}
.scard--call .btn {
  width: 100%;
}
.scard--call .btn--ghost {
  border-color: rgba(22, 24, 27, 0.45);
}
@media (hover: hover) {
  a.scard:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
  }
  a.scard:hover .scard__more .i {
    transform: translateX(4px);
  }
}
a.scard:active {
  transform: scale(0.985);
}
@media (min-width: 640px) {
  .scards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .scard {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .scard__img img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
  .scard__body {
    justify-content: flex-start;
    gap: 6px;
    padding: 18px 20px 20px;
  }
  .scard h3,
  .scard h2 {
    font-size: 20px;
  }
  .scard__more {
    margin-top: auto;
    padding-top: 10px;
  }
  .scard--call {
    grid-template-rows: 1fr;
  }
  .scard--call .scard__body {
    justify-content: center;
    padding: 26px 24px;
  }
  .scard--call h3 {
    font-size: 26px;
  }
}
@media (min-width: 900px) {
  .scards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .scards {
    grid-template-columns: repeat(4, 1fr);
  }
  .scards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Pages Tarifs, Qui sommes-nous, Contact ; encadré « En bref » (10/11) ---------- */
.band__title {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.footer__title {
  font-weight: 700;
}
.brief {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}
.brief div {
  padding: 14px 16px;
  background: var(--white);
}
.brief dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.brief dd {
  margin: 4px 0 0;
  font-size: 15.5px;
  line-height: 1.45;
}
@media (min-width: 640px) {
  .brief {
    grid-template-columns: repeat(2, 1fr);
  }
}
.contact-ways {
  display: grid;
  gap: 12px;
  margin: 8px 0 32px;
}
.contact-ways .btn {
  justify-content: flex-start;
  width: 100%;
}
@media (min-width: 640px) {
  .contact-ways {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-ways .btn {
    justify-content: center;
  }
}
.about-photo {
  overflow: hidden;
  margin: 0 0 28px;
  border-radius: 16px;
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.about-photo figcaption {
  padding: 10px 2px 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Barre de navigation à logo centré (10/11) ---------- */
.header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.header__left,
.header__right {
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
}
.header__left {
  justify-content: flex-start;
}
.header__right {
  justify-content: flex-end;
  gap: 6px;
}
.header .logo {
  justify-self: center;
}
.header .nav {
  margin-left: 0;
}
.header__right .header__call {
  margin-left: 8px;
}
@media (max-width: 639px) {
  .header__call {
    --h: 46px;
    width: 46px;
    padding: 0;
    border-radius: 50%;
  }
  .header__call .i {
    width: 22px;
    height: 22px;
  }
  .header__call-short {
    display: none;
  }
}
@media (min-width: 1100px) {
  .nav__link {
    padding: 0 12px;
  }
}
/* Navigation resserrée (10/11) : sur ordinateur, les liens se collent au logo
   au lieu de partir aux bords ; le logo reste au centre exact. */
@media (min-width: 1100px) {
  .header__inner {
    gap: 22px;
  }
  .header__left {
    justify-content: flex-end;
  }
  .header__right {
    justify-content: flex-start;
    gap: 0;
  }
  .header__right .header__call {
    margin-left: 14px;
  }
  .nav__list {
    gap: 0;
  }
  .nav__link {
    padding: 0 11px;
  }
}
/* ---------- Barre de navigation transparente floutée (10/11) ----------
   Le flou est porté par un pseudo-élément : mis sur .header lui-même, backdrop-filter casserait
   le menu mobile (position: fixed à l'intérieur). L'ouverture passe sous la barre pour que la photo
   se voie à travers dès l'arrivée. */
.header {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(253, 253, 251, 0.94);
  transition: background-color 0.25s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header::before {
    background: rgba(253, 253, 251, 0.62);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
  }
  .header.is-stuck::before {
    background: rgba(253, 253, 251, 0.74);
  }
}
.header.is-menu::before {
  background: var(--white);
}
.header ~ main > .hero:first-child {
  margin-top: calc(-1 * var(--header-h) - 1px);
}
.header ~ main > .hero:first-child .hero__inner {
  padding-top: calc(var(--header-h) + 40px);
}
.header ~ main > .hero--page:first-child .hero__inner {
  padding-top: calc(var(--header-h) + 36px);
}
@media (min-width: 1100px) {
  .header ~ main > .hero--page:first-child .hero__inner {
    padding-top: calc(var(--header-h) + 56px);
  }
}

/* ---------- Menus Services et Zone en bande simple ---------- */
.mega--band {
  background: rgba(253, 253, 251, 0.96);
  border-top: 1px solid rgba(17, 19, 22, 0.08);
  border-bottom: 1px solid rgba(17, 19, 22, 0.08);
  box-shadow: 0 18px 30px -24px rgba(17, 19, 22, 0.4);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mega--band {
    background: rgba(253, 253, 251, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
  }
}
.bandmenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  padding-block: 12px;
}
.bandmenu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.bandmenu a:hover,
.bandmenu a[aria-current="page"] {
  background: var(--amber);
}
.bandmenu .bandmenu__more {
  color: var(--amber-ink);
}
.bandmenu .bandmenu__more:hover {
  color: var(--ink);
}
.bandmenu .i {
  width: 15px;
  height: 15px;
}
/* Menus Services et Zone : petit panneau qui descend sous le lien */
.nav__item--mega {
  position: relative;
}
.mega--band {
  left: 50%;
  right: auto;
  width: max-content;
  margin-left: 0;
  translate: -50% 0;
  border: 1px solid rgba(17, 19, 22, 0.1);
  border-radius: 14px;
  box-shadow: 0 22px 40px -22px rgba(17, 19, 22, 0.45);
}
.mega--band .wrap.bandmenu {
  display: grid;
  grid-auto-flow: row;
  justify-content: stretch;
  gap: 2px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 8px;
}
#menu-zone .bandmenu {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  column-gap: 6px;
}
.bandmenu a {
  justify-content: flex-start;
  padding: 9px 14px;
  border-radius: 9px;
}
#menu-zone .bandmenu__more {
  grid-column: span 1;
}
/* Carte 3D de la zone (10/11) : flotte légèrement */
.zone__3d {
  display: block;
  width: 100%;
  height: auto;
}
.zone__map:has(.zone__3d) {
  background: none;
  border: 0;
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .zone__3d {
    animation: map-float 7s ease-in-out infinite;
  }
}
@keyframes map-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.zone__map img.zone__3d {
  max-width: 680px;
}
/* En-tête : le bouton dit toujours « Appeler » */
@media (min-width: 640px) {
  .header__call .header__call-short {
    display: inline;
  }
}

/* Carte « Une urgence ? » : quand elle tombe seule en fin de grille (nombre impair de cartes), elle prend deux colonnes */
@media (min-width: 640px) {
  .scards > .scard--call:nth-child(odd):last-child {
    grid-column: span 2;
  }
}
