/* ============================================================
   MATHIS DÉMÉNAGEMENT — affiche routière premium, thème clair
   Teal du logo en couleur primaire + orange chantier en accent
   ============================================================ */

:root {
  --bg: #f7f4ed;
  --bg-2: #efe9df;
  --card: #ffffff;
  --ink: #0d1417;
  --muted: rgba(13, 20, 23, 0.66);
  --teal: #46b5ad;
  --teal-deep: #1e6e69;
  --teal-dark: #14474a;
  --teal-bright: #5ed3ca;
  --orange: #ff6b35;
  --orange-deep: #c2410c; /* orange accessible (≥4.5:1) pour l'orange utilisé comme texte */
  --white: #ffffff;
  --line: rgba(13, 20, 23, 0.12);
  --font-display: 'Tanker', Impact, sans-serif;
  --font-body: 'General Sans', 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 86px; /* 10px de bande pour la route + 76px de contenu */
  /* Contenu plafonné : même proportion qu'en 1920px (~77% de l'écran),
     la gouttière grandit doucement avec l'écran, jamais sous 20px */
  --content-max: clamp(1480px, 77vw, 2000px);
  --pad-x: max(clamp(20px, 4vw, 80px), calc((100% - var(--content-max)) / 2));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Scrollbar native masquée : le camion sur la route fait office de jauge */
html { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal-deep); color: var(--white); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

/* ============ GRAIN GLOBAL ============ */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 2%); }
}

/* ============ CURSEUR ============ */
.cursor, .cursor-follower { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal-deep);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
  }
  .cursor-follower {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(30, 110, 105, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                background-color 0.3s, border-color 0.3s;
  }
  .cursor-follower span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .cursor-follower.is-hover { width: 56px; height: 56px; background: rgba(70, 181, 173, 0.16); }
  .cursor-follower.is-view {
    width: 84px; height: 84px;
    background: var(--teal-deep);
    border-color: var(--teal-deep);
  }
  .cursor-follower.is-view span { opacity: 1; }
}

/* ============ ROUTE DE PROGRESSION ============ */
.scroll-road {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  z-index: 1001;
  pointer-events: none;
}
.scroll-road::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  border-top: 2px dashed rgba(30, 110, 105, 0.35);
}
.scroll-road__van {
  position: absolute;
  top: 1px;
  left: 0;
  width: 34px;
  color: var(--teal-deep);
  filter: drop-shadow(0 2px 6px rgba(30, 110, 105, 0.35));
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 10px var(--pad-x) 0;
  transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-deep);
}
.header__logo svg { width: 38px; flex-shrink: 0; }
.header__logo span {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
.header__logo em { display: block; font-size: 11px; color: var(--teal-deep); letter-spacing: 0.18em; }
.header__nav { display: flex; gap: clamp(18px, 2.5vw, 36px); }
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--teal-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__tel {
  font-weight: 600;
  font-size: 15px;
  color: var(--teal-deep);
  white-space: nowrap;
}
.header__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
}
.header__burger span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, background-color 0.3s;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ============ MENU MOBILE ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--teal-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 36px;
  clip-path: circle(0% at calc(100% - 48px) 48px);
  transition: clip-path 0.7s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 48px) 48px); visibility: visible; }
body.menu-open .header {
  z-index: 1003;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
body.menu-open .header__logo span { color: var(--white); }
body.menu-open .header__logo { color: var(--teal-bright); }
body.menu-open .header__logo em { color: var(--teal-bright); }
body.menu-open .header__burger span { background: var(--white); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1.15;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-menu nav a:last-child { color: var(--orange); }
.mobile-menu__tel {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-bright);
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}
.btn--big { padding: 18px 36px; font-size: 16px; }
.btn span { position: relative; z-index: 1; transition: color 0.35s; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--teal-deep); color: var(--white); }
.btn--solid:hover span { color: var(--white); }
.btn--ghost { border-color: rgba(13, 20, 23, 0.3); color: var(--ink); }
.btn--ghost::before { background: var(--teal-deep); }
.btn--ghost:hover span { color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark::before { background: var(--orange); }
.btn--dark:hover span { color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: calc(var(--header-h) + 40px) var(--pad-x) 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 18%, rgba(70, 181, 173, 0.22), transparent 65%),
    radial-gradient(ellipse 50% 40% at 8% 92%, rgba(70, 181, 173, 0.16), transparent 60%),
    linear-gradient(180deg, #faf8f3 0%, var(--bg) 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 110, 105, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 110, 105, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 75%);
}
.hero__content { position: relative; z-index: 2; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.dot--dark { background: var(--orange); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(255, 107, 53, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8.8vw, 150px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  color: var(--ink);
}
.hero__line { display: block; overflow: hidden; }
.hero__line--accent { color: var(--teal-deep); }
.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(13, 20, 23, 0.45);
}
[data-split] .word { display: inline-block; white-space: nowrap; }
[data-split] .char { display: inline-block; will-change: transform; }
.hero__sub {
  max-width: 480px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  margin-bottom: 38px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.3s;
}
.hero__proof:hover { color: var(--teal-deep); }
.hero__proof b { color: var(--ink); }
.hero__proof-stars { color: var(--orange-deep); letter-spacing: 2px; font-size: 15px; }

.hero__visual {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 420px);
}
.hero__imgwrap {
  border-radius: 18px;
  overflow: hidden;
  transform: rotate(2.5deg);
  box-shadow: 0 32px 64px rgba(13, 20, 23, 0.22);
  border: 1px solid var(--line);
  background: var(--card);
}
.hero__imgwrap img {
  width: 100%;
  height: clamp(380px, 56vh, 560px);
  object-fit: cover;
  transform: scale(1.08);
}
.hero__tag {
  position: absolute;
  bottom: 22px;
  left: -16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: 0 10px 24px rgba(13, 20, 23, 0.12);
}
.hero__sticker {
  position: absolute;
  top: -26px;
  right: -14px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.05;
  transform: rotate(8deg);
  animation: stickerFloat 4s ease-in-out infinite;
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.35);
}
@keyframes stickerFloat {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}
.hero__scrollhint {
  position: absolute;
  bottom: 26px;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(13, 20, 23, 0.5);
  z-index: 2;
}
.hero__scrollbar {
  width: 52px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.hero__scrollbar i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--teal-deep);
  animation: scrollSlide 1.6s var(--ease-out) infinite;
}
@keyframes scrollSlide {
  from { transform: translateX(-110%); }
  to { transform: translateX(280%); }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  background: var(--card);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px; /* prolonge le rythme du gap au point de raccord */
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__track span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px rgba(13, 20, 23, 0.62); }
.marquee__track i { color: var(--orange); font-style: normal; font-size: 22px; }

/* ============ SECTION HEAD ============ */
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.section-head__title em { color: var(--teal-deep); }

/* ============ SERVICES ============ */
.services {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
}
.services__list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service a {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 60px;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 4vw, 48px) 8px;
  position: relative;
  transition: padding-left 0.45s var(--ease-out);
}
.service a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(70, 181, 173, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service a:hover { padding-left: 28px; }
.service a:hover::before { opacity: 1; }
.service__num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--orange-deep);
}
.service__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.35s;
}
.service a:hover .service__name { color: var(--teal-deep); }
.service__desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
}
.service__arrow {
  font-size: 30px;
  color: var(--teal-deep);
  justify-self: end;
  transition: transform 0.4s var(--ease-out);
}
.service a:hover .service__arrow { transform: translateX(10px) rotate(-45deg); }

/* ============ FORMULES ============ */
.formules {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.formules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 32px);
  align-items: start;
}
.formula {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 2.6vw, 44px);
  box-shadow: 0 18px 40px rgba(13, 20, 23, 0.06);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.formula:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(13, 20, 23, 0.14); border-color: var(--teal); }
.formula--featured {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow: 0 30px 60px rgba(30, 110, 105, 0.28);
}
.formula--featured:hover { box-shadow: 0 38px 72px rgba(30, 110, 105, 0.36); border-color: var(--teal-bright); }
@media (min-width: 901px) {
  .formula--featured { margin-top: -18px; }
}
.formula__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(255, 107, 53, 0.42);
}
.formula__tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.formula__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 8px 0 10px;
}
.formula__pitch { font-size: 15px; color: var(--muted); min-height: 46px; }
.formula__incl {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--teal-deep);
  padding-top: 2px;
}
.formula__incl b { color: var(--ink); }
.formula__list { display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.formula__list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.formula__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.formula__list .formula__opt {
  color: var(--muted);
  font-style: italic;
}
.formula__list .formula__opt::before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6e69' 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;
}
.formula__cta { width: 100%; margin-top: 6px; }
/* Carte mise en avant : texte clair sur fond teal */
.formula--featured .formula__name { color: var(--white); }
.formula--featured .formula__pitch { color: rgba(255, 255, 255, 0.82); }
.formula--featured .formula__tier { color: #ffd9c2; }
.formula--featured .formula__incl { color: rgba(255, 255, 255, 0.7); }
.formula--featured .formula__incl b { color: var(--white); }
.formula--featured .formula__list li { color: rgba(255, 255, 255, 0.94); }
.formula--featured .formula__list li::before { background-color: var(--orange); }
.formula--featured .formula__cta { background: var(--white); color: var(--teal-deep); }
.formula--featured .formula__cta::before { background: var(--orange); }
.formula--featured .formula__cta:hover span { color: var(--white); }
.formules__note {
  margin-top: clamp(44px, 6vw, 60px);
  text-align: center;
  font-size: 15.5px;
  color: var(--muted);
}
.formules__note a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--teal-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-inline: var(--pad-x);
}
.stats__item {
  padding: clamp(36px, 5vw, 64px) 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.stats__item:last-child { border-right: none; }
.stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  color: var(--white);
}
.stats__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

/* ============ PROCESS ============ */
.process { background: var(--bg-2); }
.process__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(60px, 8vh, 100px) 0;
}
.process__head {
  padding: 0 var(--pad-x);
  margin-bottom: clamp(36px, 5vh, 64px);
}
.process__track {
  display: flex;
  gap: clamp(20px, 2.5vw, 40px);
  padding: 0 var(--pad-x);
  width: max-content;
  will-change: transform;
}
.step {
  position: relative;
  width: clamp(300px, 38vw, 520px);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(13, 20, 23, 0.07);
}
.step__num {
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 92px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--teal-deep);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
  color: var(--ink);
}
.step p { font-size: 15.5px; color: var(--muted); }
.step__icon {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 30px;
  filter: grayscale(0.15);
}
.step--cta {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}
.step--cta h3 { font-size: clamp(38px, 4vw, 64px); color: var(--white); }
.step--cta .btn--dark::before { background: var(--white); }

/* ============ TERRAIN ============ */
.terrain { padding: clamp(80px, 12vw, 160px) var(--pad-x); }
.terrain__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
}
.terrain__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 14px 34px rgba(13, 20, 23, 0.13);
}
.terrain__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.8s var(--ease-out);
}
.terrain__item:hover img { transform: scale(1.05); }
.terrain__item figcaption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.terrain__item:hover figcaption { opacity: 1; transform: translateY(0); }
/* Posées à la main : rotations légères alternées, écarts voisins mais
   irréguliers, jamais de chevauchement */
.terrain__item--a { grid-column: 1 / 6; height: clamp(320px, 48vw, 600px); margin-top: 40px; rotate: -1.4deg; }
.terrain__item--b { grid-column: 6 / 10; height: clamp(260px, 38vw, 470px); rotate: 1.1deg; }
.terrain__item--c { grid-column: 10 / 13; height: clamp(220px, 32vw, 400px); margin-top: 90px; rotate: -1.2deg; }
.terrain__item--d { grid-column: 3 / 9; height: clamp(280px, 40vw, 480px); margin-top: 44px; rotate: 1.3deg; }
.terrain__item--e { grid-column: 9 / 13; height: clamp(260px, 36vw, 440px); margin-top: -96px; rotate: -0.9deg; }

/* ============ ABOUT / MATHIS ============ */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background: var(--card);
  border-top: 1px solid var(--line);
}
.about__photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transform: rotate(-2deg);
  border: 1px solid var(--line);
  box-shadow: 0 32px 64px rgba(13, 20, 23, 0.18);
}
.about__photo > img {
  width: 100%;
  height: clamp(380px, 50vw, 620px);
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 10px 26px rgba(13, 20, 23, 0.25);
  animation: spinSlow 14s linear infinite;
}
.about__badge img { width: 100%; height: 100%; object-fit: cover; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.about__text > p { color: var(--muted); max-width: 560px; }
.about__text .section-head__title { margin-bottom: 22px; }
.about__points { margin: 28px 0 36px; }
.about__points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--muted);
}
.about__points li:first-child { border-top: 1px solid var(--line); }
.about__points b { color: var(--ink); font-weight: 600; }
.about__call {
  display: inline-block;
  padding: 20px 30px;
  border: 1.5px solid var(--teal-deep);
  border-radius: 16px;
  transition: background-color 0.35s, transform 0.35s var(--ease-out);
}
.about__call:hover { background: rgba(70, 181, 173, 0.12); }
.about__call-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}
.about__call-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  color: var(--ink);
}

/* ============ FAQ ============ */
.faq {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 56px);
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink);
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal-deep); }
.faq__plus {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  color: var(--teal-deep);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out);
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer {
  padding: 0 4px 24px;
  color: var(--muted);
  max-width: 780px;
  font-size: 15.5px;
}

/* ============ DEVIS ============ */
.quote {
  background: var(--teal);
  color: var(--ink);
  padding: clamp(80px, 12vw, 150px) clamp(20px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: 'ALLEZ HOP';
  position: absolute;
  bottom: -0.18em;
  right: -10px;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 280px);
  line-height: 1;
  color: rgba(13, 20, 23, 0.06);
  white-space: nowrap;
  pointer-events: none;
}
.quote__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  position: relative;
}
.quote__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 110px);
  line-height: 0.95;
  margin-bottom: 24px;
}
.quote__title span { display: inline-block; overflow: hidden; vertical-align: bottom; }
.quote__title-em { color: var(--white); text-shadow: 0 4px 24px rgba(13, 20, 23, 0.18); }
.quote__head p { font-size: 16.5px; color: rgba(13, 20, 23, 0.75); max-width: 400px; }
.quote__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(13, 20, 23, 0.16);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 40px);
  backdrop-filter: blur(4px);
}
.field { grid-column: span 2; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--half { grid-column: span 1; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 20, 23, 0.65);
}
.field input, .field select {
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
/* appearance:none enlève la flèche native du <select> : on remet un chevron */
.field select {
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1417' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}
.field input:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(13, 20, 23, 0.12);
}
.field input::placeholder { color: rgba(13, 20, 23, 0.35); }
.quote__actions {
  grid-column: span 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 6px;
}
.quote__alt { font-size: 14.5px; color: rgba(13, 20, 23, 0.7); }
.quote__alt b { color: var(--ink); }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-2);
  padding: clamp(48px, 7vw, 90px) var(--pad-x) 32px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}
.footer__logo {
  width: min(240px, 60vw);
  height: auto;
  mix-blend-mode: multiply;
}
.footer__contact { display: flex; gap: 28px; }
.footer__contact a {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--teal-deep);
  position: relative;
}
.footer__contact a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.footer__contact a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__zones {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 900px;
  margin-bottom: 28px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ============ ÉTATS D'ANIMATION (JS) ============ */
.js .reveal-line { opacity: 0; transform: translateY(34px); }
.js [data-split] .char { transform: translateY(110%); }
.js .hero__imgwrap { clip-path: inset(100% 0 0 0); }
.js .hero__sticker, .js .hero__tag { opacity: 0; scale: 0.6; }
.js .terrain__item, .js .about__photo, .js .quote__form { opacity: 0; transform: translateY(60px) }
.js .step { opacity: 0; transform: translateY(40px); }
.js .stats__item { opacity: 0; transform: translateY(30px); }
.js .formula { opacity: 0; transform: translateY(20px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .service a { grid-template-columns: 56px minmax(0, 1fr) 48px; }
  .service__desc { display: none; }
}

@media (max-width: 900px) {
  .header__nav, .header__tel { display: none; }
  .header__burger { display: flex; }
  .header__right .btn { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 70px;
    gap: 44px;
  }
  .hero__visual { justify-self: center; width: min(100%, 380px); }
  .hero__scrollhint { display: none; }

  .formules__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 24px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(2n) { border-right: none; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

  .process__pin { min-height: auto; }
  .process__track {
    width: auto;
    flex-direction: column;
    padding-bottom: 60px;
  }
  .step { width: min(100%, 560px); }

  .terrain__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .terrain__item { margin-top: 0 !important; height: clamp(220px, 42vw, 380px) !important; }
  .terrain__item--a, .terrain__item--d, .terrain__item--e { grid-column: span 2; }
  .terrain__item--b, .terrain__item--c { grid-column: span 1; }

  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 480px; }

  .quote__inner { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(48px, 14.5vw, 76px); }
  .field--half { grid-column: span 2; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
