/* =========================================================
   CLEANADS — Publicité par nettoyage haute pression au pochoir
   Identité : asphalte / béton / vert électrique.
   Volontairement distincte de HotteForce et de Cleannovia.
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  --asphalte: #1b1b1d;
  --asphalte-900: #121214;
  --asphalte-800: #232326;
  --asphalte-700: #2f2f33;
  --beton: #eceae5;
  --beton-2: #ddd9d1;
  --beton-3: #c7c2b8;
  --lime: #b1cb32;
  --lime-clair: #c6dc5c;
  --lime-fonce: #5f7a16;
  --blanc: #ffffff;
  --texte: #3a3d40;
  --texte-clair: #74797d;

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

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-full: 999px;
  --shadow-md: 0 10px 34px rgba(18, 18, 20, 0.10);
  --shadow-lg: 0 30px 70px rgba(18, 18, 20, 0.20);

  --section-y: clamp(78px, 9.5vw, 140px);
  --container: 1200px;
  --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) + 18px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg, video { 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;
  color: var(--asphalte);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.22rem); letter-spacing: -0.02em; }
h4 { text-transform: none; }
p  { margin: 0 0 1.05em; }

::selection { background: var(--lime); color: var(--asphalte); }

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

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

.section { padding-block: var(--section-y); }
.section--beton { background: var(--beton); }
.section--sombre { background: var(--asphalte); color: rgba(255, 255, 255, 0.72); }
.section--sombre h2, .section--sombre h3, .section--sombre h4 { color: var(--blanc); }

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

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--asphalte);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.section--sombre .eyebrow { background: var(--lime); color: var(--asphalte); }

.lead { font-size: 1.1rem; color: var(--texte-clair); max-width: 62ch; margin-bottom: 0; }
.section-head--centre .lead { margin-inline: auto; }
.section--sombre .lead { color: rgba(255, 255, 255, 0.66); }

.accent { color: var(--lime-fonce); }
.section--sombre .accent { color: var(--lime); }

/* Trait « lavé » décoratif */
.trace {
  height: 6px;
  width: 90px;
  border-radius: 3px;
  background: var(--lime);
  margin-bottom: 26px;
}
.section-head--centre .trace { margin-inline: auto; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.99rem;
  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 svg { width: 17px; height: 17px; }

.btn--lime {
  background: var(--lime);
  color: var(--asphalte);
  box-shadow: 0 8px 26px rgba(177, 203, 50, 0.30);
}
.btn--lime:hover { background: var(--lime-clair); box-shadow: 0 14px 34px rgba(177, 203, 50, 0.42); }

.btn--noir { background: var(--asphalte); color: var(--blanc); }
.btn--noir:hover { background: var(--asphalte-800); box-shadow: var(--shadow-md); }

.btn--contour { background: transparent; border-color: var(--asphalte); color: var(--asphalte); }
.btn--contour:hover { background: var(--asphalte); color: var(--blanc); }

.btn--contour-clair {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--blanc);
}
.btn--contour-clair:hover { border-color: var(--blanc); background: rgba(255, 255, 255, 0.09); }

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

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--asphalte);
  font-size: 0.96rem;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 3px;
}
.lien-fleche svg { width: 16px; height: 16px; transition: transform 0.28s var(--ease); }
.lien-fleche:hover svg { transform: translateX(5px); }
.section--sombre .lien-fleche { color: var(--blanc); }

/* ---------- 5. Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__marque {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 9px;
  object-fit: cover;
}
.logo__mot {
  font-size: 1.26rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--asphalte);
  line-height: 1;
}
.logo__mot i { font-style: normal; color: var(--lime-fonce); }
.logo--clair .logo__mot { color: var(--blanc); }
.logo--clair .logo__mot i { color: var(--lime); }

/* ---------- 6. 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(18, 18, 20, 0.6), transparent);
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.header.is-collee {
  background: rgba(18, 18, 20, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  height: 66px;
}
.header.is-collee::before { opacity: 0; }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  position: relative;
  z-index: 1;
}
.header .logo__mot { color: var(--blanc); }
.header .logo__mot i { color: var(--lime); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
  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;
  border-radius: 2px;
  background: var(--lime);
  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 dans le menu gardent leurs couleurs propres :
   sans ces règles « .nav a » l'emporterait par spécificité. */
.nav a.btn::after { display: none; }
.nav a.btn--lime, .nav a.btn--lime:hover { color: var(--asphalte); }
.nav a.btn--noir, .nav a.btn--noir:hover { color: var(--blanc); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span { display: block; width: 20px; 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); }

/* ---------- 7. Texture béton réutilisable ---------- */
.beton-sale {
  background-color: #2a2724;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(0, 0, 0, 0.55) 0%, transparent 32%),
    radial-gradient(circle at 72% 62%, rgba(0, 0, 0, 0.48) 0%, transparent 34%),
    radial-gradient(circle at 44% 84%, rgba(0, 0, 0, 0.42) 0%, transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(90, 78, 62, 0.35) 0%, transparent 26%),
    repeating-linear-gradient(58deg, rgba(255, 255, 255, 0.022) 0 3px, transparent 3px 8px),
    linear-gradient(160deg, #3a352f 0%, #211e1b 60%, #171513 100%);
}
.beton-propre {
  background-color: #b9b4aa;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.40) 0%, transparent 40%),
    repeating-linear-gradient(58deg, rgba(0, 0, 0, 0.020) 0 3px, transparent 3px 9px),
    linear-gradient(160deg, #d9d4c9 0%, #bdb7ac 60%, #a8a298 100%);
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;  /* repli iOS < 15.4 / Android ancien */
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__fond { position: absolute; inset: 0; z-index: -2; }
.hero__voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.55) 0%, rgba(18, 18, 20, 0.35) 45%, rgba(18, 18, 20, 0.92) 100%);
}

/* Trace de nettoyage animée derrière le titre */
.hero__trace {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(78vw, 920px);
  height: 190px;
  transform: translate(-50%, -50%) rotate(-2.5deg);
  background: radial-gradient(ellipse at center, rgba(214, 208, 196, 0.30) 0%, rgba(214, 208, 196, 0.12) 46%, transparent 72%);
  filter: blur(14px);
  animation: lavage 7s var(--ease) infinite;
}
@keyframes lavage {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) rotate(-2.5deg) scaleX(0.96); }
  50%      { opacity: 0.95; transform: translate(-50%, -50%) rotate(-2.5deg) scaleX(1.04); }
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__badge b { color: var(--lime); }

.hero__titre {
  color: var(--blanc);
  font-size: clamp(2.7rem, 8.2vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 24px;
  text-shadow: 0 6px 44px rgba(0, 0, 0, 0.5);
}
.hero__titre i {
  font-style: normal;
  color: var(--lime);
  -webkit-text-stroke: 0;
}

/* Baseline officielle de la marque */
.hero__signature {
  font-size: clamp(1.2rem, 3vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--lime);
  margin-bottom: 22px;
  line-height: 1.1;
}

.hero__accroche {
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 34px;
}

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

.hero__args {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero__args span { display: inline-flex; align-items: center; gap: 8px; }
.hero__args span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ---------- 9. Bandeau défilant ---------- */
.ruban {
  background: var(--lime);
  color: var(--asphalte);
  padding-block: 15px;
  overflow: hidden;
  border-block: 3px solid var(--asphalte);
}
.ruban__piste {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: defile 26s linear infinite;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ruban__piste span { display: inline-flex; align-items: center; gap: 44px; }
.ruban__piste span::after { content: "●"; font-size: 0.6rem; opacity: 0.55; }
@keyframes defile {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 9 bis. Piliers de marque (repris du logo) ---------- */
.piliers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pilier {
  text-align: center;
  padding: 34px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}
.pilier:last-child { border-right: 0; }
.pilier svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  color: var(--lime);
  stroke-width: 1.7;
}
.pilier strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 3px;
}
.pilier span {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- 9 ter. Mécanique de jeu ---------- */
.jeu {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--r-md);
  background: var(--asphalte);
  border: 3px solid var(--lime);
  color: rgba(255, 255, 255, 0.72);
}
.jeu__sceau {
  display: grid;
  place-items: center;
  width: clamp(90px, 12vw, 128px);
  height: clamp(90px, 12vw, 128px);
  border-radius: 50%;
  background: var(--lime);
  color: var(--asphalte);
  flex-shrink: 0;
}
.jeu__sceau svg { width: 46%; height: 46%; stroke-width: 1.9; }
.jeu h3 {
  color: var(--blanc);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  margin-bottom: 12px;
}
.jeu h3 i { font-style: normal; color: var(--lime); }
.jeu p { margin: 0 0 18px; font-size: 1rem; }
.jeu__temps { display: flex; flex-wrap: wrap; gap: 10px; }
.jeu__temps span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: var(--r-full);
  background: rgba(177, 203, 50, 0.14);
  border: 1px solid rgba(177, 203, 50, 0.45);
  color: var(--lime);
}

/* ---------- 10. Concept (étapes) ---------- */
.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  counter-reset: etape;
}
.etape {
  position: relative;
  padding: 30px 26px;
  background: var(--blanc);
  border: 2px solid var(--asphalte);
  border-radius: var(--r-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.etape:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--lime); }
.etape::before {
  counter-increment: etape;
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--asphalte);
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.etape h3 { margin-bottom: 9px; }
.etape p { font-size: 0.95rem; color: var(--texte-clair); margin: 0; }

/* ---------- 11. Arguments ---------- */
.args {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.arg {
  padding: 34px 30px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.arg:hover { background: rgba(177, 203, 50, 0.07); border-color: var(--lime); transform: translateY(-5px); }
.arg__icone {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: var(--lime);
  color: var(--asphalte);
  margin-bottom: 20px;
}
.arg__icone svg { width: 22px; height: 22px; }
.arg h3 { margin-bottom: 10px; }
.arg p { font-size: 0.95rem; margin: 0; color: rgba(255, 255, 255, 0.65); }

/* ---------- 12. Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.format {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--blanc);
  isolation: isolate;
  border: 2px solid var(--asphalte);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.format:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--lime); }
.format__fond { position: absolute; inset: 0; z-index: -2; transition: transform 0.7s var(--ease); }
.format:hover .format__fond { transform: scale(1.06); }
.format::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.12) 0%, rgba(18, 18, 20, 0.84) 68%, rgba(18, 18, 20, 0.95) 100%);
}
.format__num {
  position: absolute;
  top: 22px;
  left: 26px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--asphalte);
}
.format h3 { margin-bottom: 8px; color: var(--blanc); font-size: 1.24rem; }
.format p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.72); margin: 0 0 16px; }
.format__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.format__tags span {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* ---------- 13. Démonstration avant / après ---------- */
.demo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--asphalte);
  box-shadow: var(--shadow-lg);
  -webkit-user-select: none; user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.demo__face { position: absolute; inset: 0; display: grid; place-items: center; }
.demo__apres { clip-path: inset(0 0 0 50%); }

/* Le « pochoir » : le message qui apparaît une fois nettoyé */
.pochoir {
  text-align: center;
  padding: 24px;
  transform: rotate(-1.5deg);
}
.pochoir strong {
  display: block;
  font-size: clamp(1.5rem, 4.4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #3f3a33;
  text-transform: uppercase;
  mix-blend-mode: multiply;
}
.pochoir span {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4d473e;
}
.demo__note {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.demo__etiquette {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.demo__avant .demo__etiquette { left: 16px; background: rgba(18, 18, 20, 0.8); color: var(--blanc); }
.demo__apres .demo__etiquette { right: 16px; background: var(--lime); color: var(--asphalte); }

.demo__poignee {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--lime);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}
.demo__poignee::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--asphalte);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1d' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='13 18 7 12 13 6'/%3E%3Cpolyline points='17 18 11 12 17 6' transform='translate(6 0)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
}
.demo__champ { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- 14. Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; text-align: center; }
.chiffre strong {
  display: block;
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--lime);
  margin-bottom: 6px;
}
.chiffre span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- 15. Secteurs ---------- */
.secteurs { display: flex; flex-wrap: wrap; gap: 11px; }
.secteur {
  padding: 11px 20px;
  border-radius: var(--r-full);
  background: var(--blanc);
  border: 2px solid var(--asphalte);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--asphalte);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.secteur:hover { transform: translateY(-3px); background: var(--lime); }

/* ---------- 16. Cadre légal ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 6vw, 78px); align-items: center; }

.check-liste { list-style: none; margin: 0 0 32px; padding: 0; }
.check-liste li { position: relative; padding-left: 36px; margin-bottom: 15px; }
.check-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1d' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.check-liste li strong { display: block; color: var(--asphalte); }
.section--sombre .check-liste li strong { color: var(--blanc); }

.encart {
  background: var(--blanc);
  border: 3px solid var(--asphalte);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: 10px 10px 0 var(--lime);
}
.encart h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--texte-clair);
  margin-bottom: 20px;
  font-weight: 800;
}
.encart__ligne {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--beton-2);
  font-size: 0.93rem;
}
.encart__ligne:last-child { border-bottom: 0; padding-bottom: 0; }
.encart__ligne b { color: var(--asphalte); display: block; }
.encart__ligne p { margin: 0; color: var(--texte-clair); font-size: 0.88rem; }
.encart__puce {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--asphalte);
  color: var(--lime);
  font-weight: 900;
  font-size: 0.8rem;
}

/* ---------- 17. FAQ ---------- */
.faq { max-width: 840px; margin-inline: auto; }
.faq__item { border-bottom: 2px solid var(--asphalte); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 25px 52px 25px 0;
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--asphalte);
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--lime-fonce); }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--asphalte);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b1cb32' 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: 14px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.32s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq__reponse { padding-bottom: 25px; color: var(--texte-clair); max-width: 70ch; }

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

.contact-ligne { display: flex; align-items: flex-start; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.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: var(--lime);
  color: var(--asphalte);
  flex-shrink: 0;
}
.contact-ligne__icone svg { width: 18px; height: 18px; }
.contact-ligne strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
  font-weight: 800;
}
.contact-ligne a, .contact-ligne p { color: var(--blanc); font-weight: 600; margin: 0; font-size: 1rem; }
.contact-ligne a:hover { color: var(--lime); }

.formulaire {
  background: var(--blanc);
  border: 3px solid var(--asphalte);
  border-radius: var(--r-md);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 12px 12px 0 var(--lime);
  color: var(--texte);
}
.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.85rem; font-weight: 800; color: var(--asphalte); }
.champ label i { font-style: normal; color: var(--lime-fonce); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--beton-3);
  border-radius: var(--r-sm);
  background: var(--beton);
  font-size: 0.97rem;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--asphalte);
  background: var(--blanc);
  box-shadow: 0 0 0 4px rgba(177, 203, 50, 0.4);
}
.champ input::placeholder, .champ textarea::placeholder { color: var(--texte-clair); opacity: 0.8; }
.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='%2374797d' 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: 2px dashed var(--beton-3);
  border-radius: var(--r-sm);
  background: var(--beton);
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.depot:hover { border-color: var(--lime-fonce); background: rgba(177, 203, 50, 0.09); }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.depot svg { width: 21px; height: 21px; color: var(--lime-fonce); flex-shrink: 0; }
.depot span { font-size: 0.91rem; color: var(--texte-clair); }

.rgpd { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; font-size: 0.84rem; color: var(--texte-clair); line-height: 1.55; }
.rgpd input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--lime-fonce); 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.93rem; font-weight: 700; display: none; }
.form-message.is-ok { display: block; background: rgba(177, 203, 50, 0.14); color: #5f7a16; border: 2px solid var(--lime-fonce); }
.form-message.is-ko { display: block; background: rgba(214, 60, 40, 0.08); color: #c0392b; border: 2px solid rgba(214, 60, 40, 0.3); }

/* ---------- 19. Appel à l'action ---------- */
.cta {
  position: relative;
  border-radius: var(--r-md);
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  background: var(--lime);
  color: var(--asphalte);
  border: 3px solid var(--asphalte);
}
.cta h2 { color: var(--asphalte); margin-bottom: 14px; }
.cta p { max-width: 54ch; margin-inline: auto; margin-bottom: 32px; color: rgba(27, 27, 29, 0.78); font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- 20. Pied de page ---------- */
.footer { background: var(--asphalte); color: rgba(255, 255, 255, 0.62); padding-block: 66px 0; font-size: 0.93rem; }
.footer__grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer h4 { color: var(--blanc); font-size: 0.77rem; text-transform: uppercase; letter-spacing: 0.13em; 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(--lime); }
.footer .logo { margin-bottom: 18px; }
.footer__desc { max-width: 36ch; line-height: 1.62; }
.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.85rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer__bas a:hover { color: var(--lime); }

/* ---------- 21. Barre 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(18, 18, 20, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 2px solid var(--lime);
}
.barre-mobile .btn { flex: 1; padding: 14px 12px; font-size: 0.93rem; }

/* ---------- 22. Animations au défilement ---------- */
.anim { opacity: 0; transform: translateY(24px); 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; }

/* ---------- 23. Page intérieure ---------- */
.page-entete { background: var(--asphalte); color: var(--blanc); padding-block: calc(var(--header-h) + 64px) 64px; }
.page-entete h1 { color: var(--blanc); font-size: clamp(2rem, 4.4vw, 3rem); 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.35rem; margin-top: 48px; padding-top: 26px; border-top: 2px solid var(--beton-2); }
.contenu-texte h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.contenu-texte ul { padding-left: 22px; }
.contenu-texte li { margin-bottom: 9px; }
.contenu-texte strong { color: var(--asphalte); }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1024px) {
  .duo, .devis { grid-template-columns: 1fr; }
  .piliers { grid-template-columns: repeat(2, 1fr); }
  .pilier:nth-child(2) { border-right: 0; }
  .pilier:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .footer__grille { grid-template-columns: 1fr 1fr; gap: 36px; }
  .encart { box-shadow: 7px 7px 0 var(--lime); }
}

@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) 26px 30px;
    background: rgba(18, 18, 20, 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.45);
  }
  .nav.est-ouvert { transform: translateY(0); }
  .nav a { padding: 17px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; border-bottom: 0; }
  .burger { display: grid; }
  body { padding-bottom: 74px; }
  .barre-mobile { display: flex; }
}

@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%; }
  .demo { aspect-ratio: 4 / 3; }
  .format { min-height: 300px; padding: 24px; }
  .formulaire { box-shadow: 7px 7px 0 var(--lime); }
  .piliers { grid-template-columns: 1fr; }
  .pilier { border-right: 0; padding: 26px 18px; }
  .pilier:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .jeu { grid-template-columns: 1fr; text-align: center; }
  .jeu__sceau { margin-inline: auto; }
  .jeu__temps { justify-content: center; }
}

/* ---------- 25. 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; }
  .ruban__piste { animation: none; }
}

/* ---------- 26. Impression ---------- */
@media print {
  .header, .barre-mobile, .ruban, .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(26px + env(safe-area-inset-left, 0px));
  padding-right: calc(26px + 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; }
}