/* =========================================================
   HOTTEFORCE — Feuille de style principale
   Palette : gris carbone / jaune sécurité / orange / blanc
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  /* Couleurs */
  --carbone: #2f343a;
  --carbone-900: #1b1f24;
  --carbone-800: #23282e;
  --carbone-700: #2f343a;
  --carbone-600: #3d444c;
  --jaune: #f4c400;
  --jaune-clair: #ffd93d;
  --orange: #f07a13;
  --orange-fonce: #d9640a;
  --blanc: #ffffff;
  --gris-100: #f6f7f8;
  --gris-200: #eceef1;
  --gris-300: #d9dde2;
  --gris-500: #8b939d;
  --gris-600: #6b7480;

  /* Typo */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Rayons & ombres */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;
  --shadow-sm: 0 2px 8px rgba(27, 31, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(27, 31, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(27, 31, 36, 0.16);

  /* Rythme */
  --section-y: clamp(72px, 9vw, 130px);
  --container: 1180px;
  --header-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--carbone);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
p  { margin: 0 0 1em; }

::selection { background: var(--jaune); color: var(--carbone-900); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-y); }
.section--gris { background: var(--gris-100); }
.section--sombre {
  background: var(--carbone-900);
  color: var(--blanc);
}
.section--sombre h2 { color: var(--blanc); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 66px);
}
.section-head--centre {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--jaune), var(--orange));
}
.section-head--centre .eyebrow::before { display: none; }
.section--sombre .eyebrow { color: var(--jaune); }

.lead {
  font-size: 1.09rem;
  color: var(--gris-600);
  max-width: 62ch;
}
.section--sombre .lead { color: rgba(255, 255, 255, 0.72); }

.surligne {
  background: linear-gradient(90deg, var(--jaune), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--jaune {
  background: var(--jaune);
  color: var(--carbone-900);
  box-shadow: 0 8px 24px rgba(244, 196, 0, 0.34);
}
.btn--jaune:hover {
  background: var(--jaune-clair);
  box-shadow: 0 14px 32px rgba(244, 196, 0, 0.44);
}

.btn--blanc {
  background: var(--blanc);
  color: var(--carbone-900);
  box-shadow: var(--shadow-md);
}
.btn--blanc:hover { background: var(--gris-100); }

.btn--ligne {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--blanc);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ligne:hover {
  border-color: var(--blanc);
  background: rgba(255, 255, 255, 0.10);
}

.btn--orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-fonce));
  color: var(--blanc);
  box-shadow: 0 8px 24px rgba(240, 122, 19, 0.34);
}
.btn--orange:hover { box-shadow: 0 14px 32px rgba(240, 122, 19, 0.44); }

.btn--lg { padding: 19px 40px; font-size: 1.06rem; }
.btn--bloc { width: 100%; }

/* ---------- 5. En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              height 0.35s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 31, 36, 0.72), transparent);
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.header.is-collee {
  background: rgba(27, 31, 36, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 30px rgba(0, 0, 0, 0.28);
  height: 68px;
}
.header.is-collee::before { opacity: 0; }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
}
.logo span {
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  color: var(--blanc);
}
.logo span i { font-style: normal; color: var(--orange); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--blanc); }
.nav a:hover::after { transform: scaleX(1); }

/* Les boutons placés dans le menu gardent leurs propres couleurs :
   sans ces règles, « .nav a » l'emporterait par spécificité et le texte
   deviendrait illisible sur le fond du bouton. */
.nav a.btn::after { display: none; }
.nav a.btn--jaune,
.nav a.btn--jaune:hover { color: var(--carbone-900); }
.nav a.btn--orange,
.nav a.btn--orange:hover { color: var(--blanc); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.tel-header {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blanc);
  font-weight: 700;
  font-size: 0.96rem;
}
.tel-header svg { width: 17px; height: 17px; color: var(--jaune); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;  /* repli iOS < 15.4 / Android ancien */
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--carbone-900);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fond de repli animé tant que la vidéo n'est pas fournie */
.hero__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(240, 122, 19, 0.30), transparent 62%),
    radial-gradient(900px 560px at 12% 82%, rgba(244, 196, 0, 0.18), transparent 60%),
    linear-gradient(140deg, #14181c 0%, #232a31 48%, #14181c 100%);
}
.hero__fallback::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 9px);
  animation: derive 26s linear infinite;
}
@keyframes derive {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-160px, 90px, 0); }
}

.hero__voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 28, 0.62) 0%, rgba(20, 24, 28, 0.44) 42%, rgba(20, 24, 28, 0.88) 100%);
}

.hero__contenu {
  position: relative;
  text-align: center;
  color: var(--blanc);
  padding-block: calc(var(--header-h) + 48px) 130px;
  max-width: 940px;
  margin-inline: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px 9px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}
.hero__badge b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--carbone-900);
  font-size: 0.72rem;
}

.hero__titre {
  font-size: clamp(3rem, 10.5vw, 7.3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin-bottom: 22px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.hero__titre i { font-style: normal; color: var(--orange); }

.hero__accroche {
  font-size: clamp(1.15rem, 2.4vw, 1.62rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 20px;
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 40px;
}
.hero__services span { padding-inline: 14px; position: relative; }
.hero__services span + span::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jaune);
  transform: translateY(-50%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.hero__mention {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
}
.hero__mention svg { width: 19px; height: 19px; color: var(--jaune); flex-shrink: 0; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-full);
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero__scroll::after {
  content: "";
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--jaune);
  animation: souris 1.9s var(--ease) infinite;
}
@keyframes souris {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0.2; }
}

/* ---------- 7. Bandeau de confiance ---------- */
.bandeau {
  background: var(--carbone-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 30px;
}
.bandeau__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.bandeau__item strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--jaune), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bandeau__item span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 8. Cartes atouts ---------- */
.atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}
.carte {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  padding: 38px 30px 34px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.carte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jaune), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.carte:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.carte:hover::before { transform: scaleX(1); }

.carte__icone {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(244, 196, 0, 0.16), rgba(240, 122, 19, 0.14));
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.carte h3 { margin-bottom: 10px; }
.carte p { color: var(--gris-600); margin: 0; font-size: 0.99rem; }

/* ---------- 9. Prestations ---------- */
.prestations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.presta {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--carbone-800);
  color: var(--blanc);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.presta:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.presta__fond {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}
.presta:hover .presta__fond { transform: scale(1.07); }
.presta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(27, 31, 36, 0.16) 0%, rgba(27, 31, 36, 0.86) 72%, rgba(27, 31, 36, 0.96) 100%);
}

/* Fonds de repli (remplacer par de vraies photos dans le HTML) */
.presta--hotte  .presta__fond { background-image: linear-gradient(150deg, #3a4149, #1d2227 70%), radial-gradient(circle at 70% 25%, rgba(240,122,19,.4), transparent 55%); }
.presta--extraction .presta__fond { background-image: linear-gradient(150deg, #333a42, #191d22 70%), radial-gradient(circle at 30% 30%, rgba(244,196,0,.3), transparent 55%); }
.presta--pression .presta__fond { background-image: linear-gradient(150deg, #2e3a45, #171c21 70%), radial-gradient(circle at 60% 70%, rgba(90,170,220,.28), transparent 55%); }
.presta--conteneur .presta__fond { background-image: linear-gradient(150deg, #3d3a34, #1e1c19 70%), radial-gradient(circle at 40% 20%, rgba(240,122,19,.32), transparent 55%); }
.presta--terrasse .presta__fond { background-image: linear-gradient(150deg, #3a4038, #1b1f1c 70%), radial-gradient(circle at 70% 60%, rgba(244,196,0,.26), transparent 55%); }
.presta--degraissage .presta__fond { background-image: linear-gradient(150deg, #42383a, #201b1d 70%), radial-gradient(circle at 25% 65%, rgba(240,122,19,.3), transparent 55%); }

.presta__num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.10);
  letter-spacing: -0.05em;
}
.presta h3 { margin-bottom: 9px; font-size: 1.32rem; }
.presta p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
}
.presta__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.presta__liste li {
  font-size: 0.79rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- 10. Méthode (étapes) ---------- */
.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  counter-reset: etape;
}
.etape { position: relative; padding-top: 26px; }
.etape::before {
  counter-increment: etape;
  content: "0" counter(etape);
  display: block;
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(180deg, var(--jaune), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.etape::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--jaune), var(--orange));
}
.etape h3 { margin-bottom: 8px; font-size: 1.13rem; }
.etape p { color: var(--gris-600); font-size: 0.96rem; margin: 0; }
.section--sombre .etape p { color: rgba(255, 255, 255, 0.66); }

/* ---------- 11. Conformité (2 colonnes) ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.check-liste { list-style: none; margin: 0 0 32px; padding: 0; }
.check-liste li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.check-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jaune);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1f24' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Visuel « attestation » */
.attestation {
  position: relative;
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
  color: var(--carbone);
  transform: rotate(-1.6deg);
  transition: transform 0.5s var(--ease);
}
.attestation:hover { transform: rotate(0deg) translateY(-4px); }
.attestation::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, var(--jaune), var(--orange));
}
.attestation__entete {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gris-200);
  margin-bottom: 20px;
}
.attestation__entete img { width: 44px; height: 44px; border-radius: 10px; }
.attestation__entete div strong { display: block; font-size: 1.02rem; letter-spacing: -0.02em; }
.attestation__entete div span { font-size: 0.79rem; color: var(--gris-500); }
.attestation h4 {
  margin: 0 0 18px;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.attestation__ligne {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--gris-200);
  font-size: 0.9rem;
}
.attestation__ligne span { color: var(--gris-500); }
.attestation__ligne b { font-weight: 700; text-align: right; }
.attestation__tampon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border-radius: var(--r-full);
  background: rgba(34, 160, 90, 0.10);
  color: #1c8b4f;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px dashed rgba(34, 160, 90, 0.4);
}

/* Numéro d'intervention en tête de document */
.attestation__ref {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--carbone-900);
  color: var(--jaune);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

/* Vignettes du reportage photo */
.attestation__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
}
.attestation__photos figure {
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.attestation__photos figcaption {
  position: absolute;
  inset: auto 0 0 0;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 2px;
  background: rgba(27, 31, 36, 0.72);
  color: var(--blanc);
}
.vignette-sale   { background: linear-gradient(140deg, #4a4034, #241d15); height: 100%; }
.vignette-propre { background: linear-gradient(140deg, #e3e6e9, #b8bec4); height: 100%; }

/* Pied de document : QR + signature */
.attestation__pied {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--gris-200);
}
.attestation__qr {
  width: 62px;
  height: 62px;
  border-radius: 5px;
  flex-shrink: 0;
}
.attestation__qr-legende {
  font-size: 0.68rem;
  color: var(--gris-500);
  line-height: 1.35;
}
.attestation__signature {
  font-size: 0.68rem;
  color: var(--gris-500);
  text-align: right;
}
.attestation__signature svg {
  width: 96px;
  height: 34px;
  margin-left: auto;
  color: var(--carbone);
}
.attestation__bloc-bas {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 18px;
}

/* ---------- 12. Avant / Après ---------- */
/* Galerie : le premier comparateur en pleine largeur, les autres en 2 colonnes */
.galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.galerie > *:first-child { grid-column: 1 / -1; }

.compa-bloc { display: flex; flex-direction: column; gap: 12px; }
.compa-bloc__titre {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.compa-bloc__titre h3 { margin: 0; font-size: 1.05rem; }
.compa-bloc__titre span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gris-500);
  white-space: nowrap;
}

.comparateur {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  -webkit-user-select: none; user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.comparateur__face {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.comparateur__avant {
  background-image: linear-gradient(135deg, #4a4034 0%, #2a231a 55%, #1a1611 100%);
}
.comparateur__apres {
  background-image: linear-gradient(135deg, #d9dee3 0%, #f4f6f8 55%, #ffffff 100%);
  clip-path: inset(0 0 0 50%);
}
.comparateur__etiquette {
  position: absolute;
  top: 18px;
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.comparateur__avant .comparateur__etiquette {
  left: 18px;
  background: rgba(27, 31, 36, 0.7);
  color: var(--blanc);
}
.comparateur__apres .comparateur__etiquette {
  right: 18px;
  background: var(--jaune);
  color: var(--carbone-900);
}
.comparateur__note {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.42;
}
.comparateur__avant .comparateur__note { color: var(--blanc); }
.comparateur__apres .comparateur__note { color: var(--carbone); }

.comparateur--petit { aspect-ratio: 4 / 3; }
.comparateur--petit .comparateur__poignee::after { width: 40px; height: 40px; background-size: 20px; }
.comparateur--petit .comparateur__etiquette { font-size: 0.68rem; padding: 5px 11px; top: 12px; }
.comparateur--petit .comparateur__avant .comparateur__etiquette { left: 12px; }
.comparateur--petit .comparateur__apres .comparateur__etiquette { right: 12px; }
.comparateur--petit .comparateur__note { font-size: 0.68rem; }

/* Variantes de texture selon le support traité (remplaçables par des photos) */
.tex-hotte-sale     { background-image: linear-gradient(135deg, #4a4034 0%, #2a231a 55%, #1a1611 100%); }
.tex-hotte-propre   { background-image: linear-gradient(135deg, #d9dee3 0%, #f4f6f8 55%, #ffffff 100%); }
.tex-conduit-sale   { background-image: linear-gradient(135deg, #3d3428 0%, #211a12 60%, #14100b 100%); }
.tex-conduit-propre { background-image: linear-gradient(135deg, #cdd3d9 0%, #eaeef1 60%, #fbfcfd 100%); }
.tex-terrasse-sale  { background-image: linear-gradient(135deg, #4b4a3a 0%, #2c2b21 58%, #1a1a13 100%); }
.tex-terrasse-propre{ background-image: linear-gradient(135deg, #d6d2c6 0%, #efece4 58%, #fbfaf7 100%); }
.tex-conteneur-sale { background-image: linear-gradient(135deg, #45392c 0%, #261e16 58%, #17120d 100%); }
.tex-conteneur-propre{background-image: linear-gradient(135deg, #ccd4d0 0%, #e8eeea 58%, #f9fbfa 100%); }
.tex-sol-sale       { background-image: linear-gradient(135deg, #3f3d38 0%, #232220 60%, #151413 100%); }
.tex-sol-propre     { background-image: linear-gradient(135deg, #d2d4d6 0%, #ecedef 60%, #fafbfb 100%); }

.comparateur__poignee {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--blanc);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}
.comparateur__poignee::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jaune);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1f24' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3Cpolyline points='9 18 15 12 9 6' transform='translate(6 0)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
}
.comparateur__champ {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* ---------- 13. Zone d'intervention ---------- */
.zone {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}
.villes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ville {
  padding: 10px 18px;
  border-radius: var(--r-full);
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  font-size: 0.93rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ville:hover { transform: translateY(-3px); border-color: var(--jaune); }
.ville--phare {
  background: var(--carbone-900);
  color: var(--blanc);
  border-color: transparent;
}

.carte-zone {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 42% 46%, rgba(244, 196, 0, 0.20), transparent 58%),
    linear-gradient(150deg, var(--carbone-800), var(--carbone-900));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.carte-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}
.pulsation {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--jaune);
  box-shadow: 0 0 0 6px rgba(244, 196, 0, 0.20);
}
.pulsation::before,
.pulsation::after {
  content: "";
  position: absolute;
  inset: 50%;
  border: 2px solid rgba(244, 196, 0, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: onde 3.2s var(--ease) infinite;
}
.pulsation::after { animation-delay: 1.6s; }
@keyframes onde {
  from { width: 20px; height: 20px; opacity: 0.9; }
  to   { width: 420px; height: 420px; opacity: 0; }
}
.carte-zone__legende {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--blanc);
  font-size: 0.88rem;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.carte-zone__legende strong { display: block; font-size: 1rem; margin-bottom: 2px; }

/* ---------- 14. Avis ---------- */
.avis-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.avis {
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.avis:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.etoiles { color: var(--jaune); font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 16px; }
.avis blockquote {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.6;
  flex-grow: 1;
}
.avis__auteur { display: flex; align-items: center; gap: 13px; }
.avis__pastille {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jaune), var(--orange));
  color: var(--carbone-900);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.avis__pastille svg { width: 21px; height: 21px; }
.avis__auteur strong { display: block; font-size: 0.95rem; }
.avis__auteur span { font-size: 0.84rem; color: var(--gris-500); }

/* ---------- 15. FAQ ---------- */
.faq { max-width: 830px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--gris-300);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 52px 26px 0;
  font-weight: 700;
  font-size: 1.06rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--orange); }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gris-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f343a' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.32s var(--ease), background-color 0.32s var(--ease);
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(135deg);
  background-color: var(--jaune);
}
.faq__reponse {
  padding-bottom: 26px;
  color: var(--gris-600);
  max-width: 68ch;
  animation: ouvre 0.4s var(--ease);
}
@keyframes ouvre {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 16. Formulaire de devis ---------- */
.devis {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 66px);
  align-items: start;
}

.devis__aside .contact-ligne {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.devis__aside .contact-ligne:last-child { border-bottom: 0; }
.contact-ligne__icone {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: rgba(244, 196, 0, 0.14);
  flex-shrink: 0;
}
.contact-ligne__icone svg { width: 19px; height: 19px; color: var(--jaune); }
.contact-ligne strong { display: block; font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); margin-bottom: 3px; font-weight: 700; }
.contact-ligne a, .contact-ligne p { color: var(--blanc); font-weight: 600; margin: 0; font-size: 1.02rem; }
.contact-ligne a:hover { color: var(--jaune); }

.formulaire {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  color: var(--carbone);
}
.champs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ--large { grid-column: 1 / -1; }
.champ label {
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.champ label i { font-style: normal; color: var(--orange); }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gris-300);
  border-radius: var(--r-sm);
  background: var(--gris-100);
  font-size: 0.98rem;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}
.champ textarea { resize: vertical; min-height: 118px; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--jaune);
  background: var(--blanc);
  box-shadow: 0 0 0 4px rgba(244, 196, 0, 0.18);
}
.champ input::placeholder, .champ textarea::placeholder { color: var(--gris-500); }
.champ select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7480' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 17px;
  padding-right: 44px;
}

.depot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1.5px dashed var(--gris-300);
  border-radius: var(--r-sm);
  background: var(--gris-100);
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.depot:hover { border-color: var(--jaune); background: rgba(244, 196, 0, 0.06); }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.depot svg { width: 21px; height: 21px; color: var(--orange); flex-shrink: 0; }
.depot span { font-size: 0.92rem; color: var(--gris-600); }

.rgpd {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.85rem;
  color: var(--gris-600);
  line-height: 1.5;
}
.rgpd input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.rgpd a { text-decoration: underline; }

.form-message {
  grid-column: 1 / -1;
  padding: 15px 18px;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-weight: 600;
  display: none;
}
.form-message.is-ok { display: block; background: rgba(34, 160, 90, 0.10); color: #1c8b4f; border: 1px solid rgba(34, 160, 90, 0.3); }
.form-message.is-ko { display: block; background: rgba(214, 60, 40, 0.08); color: #c0392b; border: 1px solid rgba(214, 60, 40, 0.28); }

/* ---------- 17. Appel à l'action ---------- */
.cta {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(44px, 6vw, 78px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 20% 15%, rgba(240, 122, 19, 0.28), transparent 60%),
    linear-gradient(135deg, var(--carbone-800), var(--carbone-900));
  color: var(--blanc);
}
.cta h2 { color: var(--blanc); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.72); max-width: 56ch; margin-inline: auto; margin-bottom: 32px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

/* ---------- 18. Pied de page ---------- */
.footer {
  background: var(--carbone-900);
  color: rgba(255, 255, 255, 0.66);
  padding-block: 66px 0;
  font-size: 0.94rem;
}
.footer__grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer h4 {
  color: var(--blanc);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-weight: 800;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--jaune); }
.footer .logo { margin-bottom: 18px; }
.footer__desc { max-width: 34ch; font-size: 0.92rem; line-height: 1.6; }

/* Réseaux sociaux */
.reseaux { display: flex; gap: 10px; margin-top: 20px; }
.reseaux a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.reseaux a:hover {
  background: var(--jaune);
  border-color: var(--jaune);
  color: var(--carbone-900);
  transform: translateY(-3px);
}
.reseaux svg { width: 19px; height: 19px; }

.footer__bas {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__bas a:hover { color: var(--jaune); }

/* ---------- 19. Barre d'action mobile ---------- */
.barre-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(27, 31, 36, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.barre-mobile .btn { flex: 1; padding: 14px 12px; font-size: 0.94rem; }

/* ---------- 20. Animations au défilement ---------- */
.anim {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim.est-visible { opacity: 1; transform: none; }
.anim[data-delai="1"] { transition-delay: 0.08s; }
.anim[data-delai="2"] { transition-delay: 0.16s; }
.anim[data-delai="3"] { transition-delay: 0.24s; }
.anim[data-delai="4"] { transition-delay: 0.32s; }

/* ---------- 21. Page intérieure (mentions légales) ---------- */
.page-entete {
  background: var(--carbone-900);
  color: var(--blanc);
  padding-block: calc(var(--header-h) + 66px) 66px;
}
.page-entete h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 10px; }
.page-entete p { color: rgba(255, 255, 255, 0.6); margin: 0; }

.contenu-texte { max-width: 780px; margin-inline: auto; }
.contenu-texte h2 {
  font-size: 1.42rem;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--gris-200);
}
.contenu-texte h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.contenu-texte p, .contenu-texte li { color: var(--gris-600); }
.contenu-texte ul { padding-left: 22px; }
.contenu-texte li { margin-bottom: 8px; }
.contenu-texte strong { color: var(--carbone); }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grille { grid-template-columns: 1fr 1fr; gap: 36px; }
  .devis, .duo, .zone { grid-template-columns: 1fr; }
  .attestation { transform: none; max-width: 460px; }
  /* 3 chiffres courts : ils tiennent encore sur une ligne en tablette */
  .bandeau__grille { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 14px) 24px 30px;
    background: rgba(27, 31, 36, 0.985);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transform: translateY(-102%);
    transition: transform 0.42s var(--ease);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  }
  .nav.est-ouvert { transform: translateY(0); }
  .nav a {
    padding: 17px 0;
    font-size: 1.06rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; }

  .burger { display: grid; }
  .tel-header { display: none; }

  body { padding-bottom: 76px; }
  .barre-mobile { display: flex; }
  .hero__scroll { display: none; }
}

@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr; }
  .comparateur--petit { aspect-ratio: 16 / 10; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .champs { grid-template-columns: 1fr; }
  .footer__grille { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { width: 100%; }
  .presta { min-height: 320px; padding: 26px; }
  .comparateur { aspect-ratio: 4 / 3; }
  /* En dessous de 620 px, 3 colonnes écrasent les libellés : on empile. */
  .bandeau__grille { grid-template-columns: 1fr; gap: 22px; }
  .attestation__photos { grid-template-columns: repeat(4, 1fr); }
  .attestation__bloc-bas { flex-direction: column; align-items: flex-start; }
  .attestation__signature { text-align: left; }
  .attestation__signature svg { margin-left: 0; }
}

/* ---------- 23. Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .anim { opacity: 1; transform: none; }
}

/* ---------- 24. Impression ---------- */
@media print {
  .header, .barre-mobile, .hero__scroll, .footer { display: none; }
  body { color: #000; }
}

/* =========================================================
   COMPATIBILITE MOBILE — iOS (Safari) & Android (Chrome)
   Ajoute apres coup : ne rien inserer avant ce bloc.
   ========================================================= */

/* --- 1. Suppression du flash gris au tap (iOS/Android) --- */
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* --- 2. Les mots longs ne debordent plus sur petit ecran --- */
body { overflow-wrap: break-word; }

/* --- 3. Encoche iPhone : le contenu ne passe plus dessous en paysage --- */
.container {
  padding-left: calc(24px + env(safe-area-inset-left, 0px));
  padding-right: calc(24px + env(safe-area-inset-right, 0px));
}
.footer { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* --- 4. iOS applique son propre style aux champs : on le neutralise --- */
input:not([type="range"]):not([type="checkbox"]):not([type="file"]),
textarea, select, button {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.champ input, .champ select, .champ textarea { border-radius: var(--r-sm); }
.btn, .burger { border-radius: var(--r-full); }
.burger { border-radius: 11px; }

/* --- 5. iOS zoome sur un champ si sa police fait moins de 16px --- */
@media (max-width: 900px) {
  .champ input,
  .champ select,
  .champ textarea {
    font-size: 16px;
  }
}

/* --- 6. Le :hover reste colle apres un tap sur ecran tactile --- */
@media (hover: none) {
  .btn:hover,
  .carte:hover,
  .presta:hover,
  .avis:hover,
  .ville:hover,
  .secteur:hover,
  .marque:hover,
  .format:hover,
  .etape:hover,
  .pole:hover,
  .arg:hover,
  .attestation:hover,
  .reseaux a:hover,
  .lien-fleche:hover {
    transform: none;
  }
  .etape:hover, .format:hover { box-shadow: none; }
}

/* --- 7. Comparateur avant/apres : glisser sans selectionner ni scroller --- */
.comparateur, .demo {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.comparateur__champ, .demo__champ {
  height: 100%;
  touch-action: pan-y;
}
/* Les inputs range sont volontairement exclus du reset ci-dessus :
   leur retirer l'apparence native supprime le curseur et casse le
   glissement tactile sur iOS. On les laisse natifs (ils sont de toute
   facon invisibles, opacity: 0, et couvrent toute la zone du comparateur). */

/* --- 8. Cibles tactiles : 44px minimum (recommandation Apple) --- */
.reseaux a { width: 44px; height: 44px; }
.burger { width: 46px; height: 46px; }

/* --- 9. Repli si aspect-ratio n'est pas supporte (Android ancien) --- */
@supports not (aspect-ratio: 1) {
  .comparateur, .demo { min-height: 240px; }
}