/* =========================================================
   RJ Nettoyage — feuille de style
   Palette noir & blanc, douce pour les yeux
   ========================================================= */

:root {
  --bg: #f7f6f3;
  --bg-soft: #efeee9;
  --surface: #ffffff;
  --ink: #0d0d0e;
  --ink-2: #2a2a2d;
  --muted: #6c6c70;
  --line: rgba(13, 13, 14, 0.09);
  --tint: #dfe9ec;          /* touche fraîche très légère */
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); overscroll-behavior-y: none; }
body { overscroll-behavior-y: none; }

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

body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }

h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 em, h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { --h: 56px; padding: 0 28px; }
.btn--xl { --h: 64px; padding: 0 34px; font-size: 1.05rem; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: 0 12px 30px -10px rgba(255,255,255,.35); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(13,13,14,.04); }

.btn--pulse::after,
.btn--pulse-light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--ink);
  animation: pulse 2.6s var(--ease) infinite;
  pointer-events: none;
}
.btn--pulse-light::after { border-color: #fff; }

@keyframes pulse {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.18, 1.45); }
  100% { opacity: 0; }
}

.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: rotate(-12deg) scale(1.1); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(255,255,255,.6); }
.eyebrow__star {
  width: 14px; height: 14px;
  fill: var(--ink);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  color: #fff;
  display: grid;
  place-items: center;
}
.intro.is-out { pointer-events: none; }
.intro.is-gone { display: none; }

/* Fond noir : à la sortie il se referme en cercle vers le logo de l'en-tête */
.intro__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, #1b1b1e 0%, #0b0b0c 70%);
  clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path .85s var(--ease-io);
}
.intro.is-out .intro__bg { clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); }

.intro__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
/* Le texte et les éclats s'effacent vite, le logo s'envole vers l'en-tête */
.intro__name, .intro__tag, .intro__spark { transition: opacity .25s ease, transform .4s var(--ease); }
.intro.is-out .intro__name,
.intro.is-out .intro__tag,
.intro.is-out .intro__spark { opacity: 0 !important; transform: translateY(8px) scale(.9); }

.intro__center { position: relative; }
.intro__logo {
  width: clamp(200px, 56vw, 300px);
  height: auto;
  overflow: visible;
  fill: #fff;
  transform-origin: 0 0;
  transition: transform .85s var(--ease-io), fill .5s ease .3s;
}
.intro.is-out .intro__logo { fill: var(--ink); }
/* Le logo de l'en-tête attend que celui de l'intro arrive */
body:not(.intro-done) .header .brand { opacity: 0; }

/* RJ : glisse en italique depuis la gauche */
.il-rj {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: left center;
  animation: rjIn 1s var(--ease) .15s forwards;
}
@keyframes rjIn {
  from { opacity: 0; transform: translateX(-40px) skewX(-12deg); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.il-net {
  opacity: 0;
  animation: fadeUp .8s var(--ease) .55s forwards;
}

/* L'étoile filante arrive de la droite et laisse sa traînée */
.il-star {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: starIn 1s var(--ease-io) .75s forwards;
}
.il-star--2 { animation-delay: 1s; }
@keyframes starIn {
  0%   { opacity: 0; transform: translateX(170px) rotate(140deg) scale(.5); }
  30%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.il-trail {
  transform-box: fill-box;
  transform-origin: right center;
  transform: scaleX(0);
  animation: trailIn 1s var(--ease-io) .75s forwards;
}
.il-trail--2 { animation-delay: 1s; }
@keyframes trailIn {
  0%   { transform: scaleX(0); opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}

/* Petits éclats de propreté autour du logo */
.intro__spark {
  position: absolute;
  width: 18px; height: 18px;
  fill: #fff;
  opacity: 0;
  animation: twinkle 1.4s var(--ease) forwards;
}
.intro__spark--1 { top: -6%;  right: 6%;  animation-delay: 1.55s; }
.intro__spark--2 { top: 18%;  left: -4%;  width: 12px; height: 12px; animation-delay: 1.7s; }
.intro__spark--3 { top: 46%;  right: -6%; width: 14px; height: 14px; animation-delay: 1.85s; }

.intro__name {
  display: flex;
  gap: .42em;
  font-weight: 500;
  font-size: clamp(.85rem, 2.6vw, 1rem);
  letter-spacing: .1em;
}
.intro__name span {
  opacity: 0;
  transform: translateY(14px);
  animation: charIn .7s var(--ease) forwards;
  animation-delay: calc(1.25s + var(--i, 0) * 55ms);
}
.intro__name span:nth-child(1) { --i: 0; }
.intro__name span:nth-child(2) { --i: 1; }
.intro__name span:nth-child(3) { --i: 2; }
.intro__name span:nth-child(4) { --i: 3; }
.intro__name span:nth-child(5) { --i: 4; }
.intro__name span:nth-child(6) { --i: 5; }
.intro__name span:nth-child(7) { --i: 6; }
.intro__name span:nth-child(8) { --i: 7; }
.intro__name span:nth-child(9) { --i: 8; }
@keyframes charIn { to { opacity: 1; transform: none; } }

.intro__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,.55);
  opacity: 0;
  animation: fadeUp .8s var(--ease) 1.8s forwards;
}

@keyframes twinkle {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  45%  { opacity: 1; transform: scale(1.15) rotate(90deg); }
  100% { opacity: .85; transform: scale(1) rotate(180deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Bulles */
.intro__bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.intro__bubbles span {
  position: absolute;
  bottom: -40px;
  width: var(--s, 14px);
  height: var(--s, 14px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%);
  animation: bubble var(--t, 4s) linear var(--dl, 0s) infinite;
  opacity: 0;
}
.intro__bubbles span:nth-child(1) { left: 12%; --s: 18px; --t: 4.2s; --dl: .1s; }
.intro__bubbles span:nth-child(2) { left: 26%; --s: 9px;  --t: 3.4s; --dl: .6s; }
.intro__bubbles span:nth-child(3) { left: 38%; --s: 24px; --t: 5s;   --dl: .3s; }
.intro__bubbles span:nth-child(4) { left: 55%; --s: 12px; --t: 3.8s; --dl: .9s; }
.intro__bubbles span:nth-child(5) { left: 67%; --s: 20px; --t: 4.6s; --dl: .2s; }
.intro__bubbles span:nth-child(6) { left: 78%; --s: 8px;  --t: 3.2s; --dl: .5s; }
.intro__bubbles span:nth-child(7) { left: 88%; --s: 16px; --t: 4.4s; --dl: .8s; }
.intro__bubbles span:nth-child(8) { left: 6%;  --s: 10px; --t: 3.6s; --dl: 1s; }
@keyframes bubble {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.is-scrolled {
  background: rgba(247, 246, 243, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; color: var(--ink); }
.logo { display: block; overflow: visible; }
.brand .logo { width: 96px; height: 61px; transition: transform .5s var(--ease); }
.brand:hover .logo { transform: translateX(-3px) rotate(-2deg); }

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .3s;
}
.nav a:hover { background: rgba(13,13,14,.05); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .15s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .2s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .25s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .3s; }
.mobile-menu .btn { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .7;
  animation: float 18s ease-in-out infinite;
}
.orb--1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--tint); top: -12%; right: -8%; }
.orb--2 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: #e9e6df; bottom: -14%; left: -8%; animation-duration: 22s; animation-delay: -6s; }
.orb--3 { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; background: #ffffff; top: 30%; left: 45%; animation-duration: 26s; animation-delay: -12s; opacity: .9; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(3%, 4%) scale(1.06); }
  66%      { transform: translate(-3%, 2%) scale(.96); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 75%);
  opacity: .5;
}

.hero__inner { position: relative; }

/* Bulles de savon qui montent doucement */
.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubbles i {
  position: absolute;
  bottom: -120px;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 70% 78%, rgba(160,205,225,.28), rgba(160,205,225,0) 55%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 58%, rgba(200,215,235,.35) 72%, rgba(255,255,255,.6) 100%);
  border: 1px solid rgba(13,13,14,.06);
  box-shadow: inset -4px -6px 14px rgba(190,170,230,.12), inset 4px 4px 10px rgba(150,220,220,.12);
  animation: bubbleUp var(--t) linear var(--dl) infinite;
  opacity: 0;
}
.bubbles i:nth-child(1) { left: 8%;  --s: 46px; --t: 16s; --dl: 0s; }
.bubbles i:nth-child(2) { left: 22%; --s: 22px; --t: 12s; --dl: 4s; }
.bubbles i:nth-child(3) { left: 48%; --s: 34px; --t: 18s; --dl: 2s; }
.bubbles i:nth-child(4) { left: 64%; --s: 60px; --t: 20s; --dl: 7s; }
.bubbles i:nth-child(5) { left: 78%; --s: 18px; --t: 11s; --dl: 1s; }
.bubbles i:nth-child(6) { left: 90%; --s: 38px; --t: 17s; --dl: 9s; }
.bubbles i:nth-child(7) { left: 36%; --s: 14px; --t: 10s; --dl: 6s; }
@keyframes bubbleUp {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(18px, -55vh); }
  90%  { opacity: 1; }
  100% { transform: translate(-6px, -115vh); opacity: 0; }
}

/* Scintillements autour de « impeccables » */
.sparkly { position: relative; }
.twinkle {
  position: absolute;
  fill: var(--ink);
  opacity: 0;
  pointer-events: none;
  animation: twinkleLoop 3.2s var(--ease) infinite;
}
.twinkle--1 { width: .28em; height: .28em; top: .02em;  right: .1em;  animation-delay: 3.6s; }
.twinkle--2 { width: .16em; height: .16em; top: .34em;  right: -.12em; animation-delay: 4.3s; }
.twinkle--3 { width: .12em; height: .12em; top: .08em;  left: 2.6em;  animation-delay: 5s; }
@keyframes twinkleLoop {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  20%      { opacity: 1; transform: scale(1) rotate(90deg); }
  40%      { opacity: 0; transform: scale(.2) rotate(180deg); }
}

.hero__title {
  font-size: clamp(2.9rem, 10vw, 7rem);
  line-height: .98;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }

.shine {
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 40%, #9aa7ab 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
  animation: shine 5s var(--ease-io) 3.4s infinite;
}
@keyframes shine {
  0%   { background-position: 100% 0; }
  40%, 100% { background-position: 0% 0; }
}

.hero__lead {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  margin-bottom: 36px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(13,13,14,.25);
  border-radius: 20px;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--ink);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* Entrée du hero après l'intro */
.hero-in { opacity: 0; transform: translateY(28px); }
.hero__title .hero-in { opacity: 1; transform: translateY(110%); }

body.is-ready .hero-in {
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 90ms + 60ms);
}
body.is-ready .hero__title .hero-in { animation-name: riseLine; animation-duration: 1.1s; }

@keyframes rise     { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes riseLine { from { transform: translateY(110%); } to { transform: none; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 12vw, 140px) 0; scroll-margin-top: 0; }
#services, #methode, #zone { scroll-margin-top: calc(var(--header-h) - 60px); }
#engagements { scroll-margin-top: calc(var(--header-h) + 12px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; border-radius: clamp(24px, 4vw, 44px); margin: 0 clamp(8px, 1.5vw, 16px); position: relative; overflow: clip; }
.section--dark .container { position: relative; }

/* Reflet « vitre propre » qui passe sur les mots en italique à l'apparition */
.section__head h2 em,
.split__left h2 em,
.zone__text h2 em {
  --c: var(--ink);
  background: linear-gradient(100deg, var(--c) 0 42%, #a9b8bd 50%, var(--c) 58% 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}
.split__left h2 em { --c: #fff; background-image: linear-gradient(100deg, #fff 0 42%, #8d9a9e 50%, #fff 58% 100%); }
.reveal.is-in h2 em { animation: glint 1.6s var(--ease-io) .5s both; }
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0% 0; } }

.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head h2 { margin-bottom: 16px; }
.section__sub { color: var(--muted); font-size: 1.08rem; max-width: 520px; }
.section__sub--light { color: rgba(255,255,255,.62); margin: 18px 0 32px; }

/* Cartes services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -28px rgba(13,13,14,.28);
  border-color: transparent;
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--bg);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  transition: background .4s, color .4s;
}
.card__icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card__icon { background: var(--ink); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }

/* Engagements */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.split__left { position: sticky; top: calc(var(--header-h) + 40px); }

.perks { list-style: none; margin: 0; padding: 0; }
.perk {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.perk:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.perk__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(255,255,255,.4);
  min-width: 40px;
}
.perk h3 { margin-bottom: 8px; font-size: 1.25rem; }
.perk p { color: rgba(255,255,255,.62); }

/* Étapes */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step__n {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 26px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.towns { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li {
  font-size: .9rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.zone__place { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.zone__place .icon { width: 22px; height: 22px; }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgba(13,13,14,.35);
}
.map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s;
}
.map:hover iframe { filter: grayscale(.2); }

/* CTA final */
.final {
  margin: clamp(8px, 1.5vw, 16px);
  border-radius: clamp(24px, 4vw, 44px);
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 800px; max-height: 800px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__logo { width: 150px; height: 95px; margin-bottom: 30px; color: #fff; }
.final h2 { max-width: 760px; margin-bottom: 16px; }
.final p { color: rgba(255,255,255,.6); font-size: 1.1rem; margin-bottom: 36px; }

/* Footer */
.footer { padding: 40px 0 120px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .9rem;
  color: var(--muted);
}
.footer .brand .logo { width: 70px; height: 44px; }

/* Bouton flottant */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.5);
  transform: translateY(120px);
  transition: transform .6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.fab .icon { width: 20px; height: 20px; }
.fab.is-visible { transform: none; }

/* Apparition au scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .zone { grid-template-columns: 1fr; }
  .split__left { position: static; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: block; }
  .fab { display: inline-flex; }

  .brand .logo { width: 84px; height: 53px; }
  .eyebrow { font-size: .72rem; letter-spacing: .1em; }

  .hero { padding-bottom: 110px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }

  .cards, .steps { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .card__icon { margin-bottom: 18px; }

  .perk { gap: 16px; padding: 24px 0; }

  .map { aspect-ratio: 1 / 1; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .final .btn { width: calc(100% - 32px); }
}

/* Accessibilité : moins d'animations si demandé */
/* L'intro reste jouée ; on coupe seulement les animations en boucle */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .shine, .btn--pulse::after, .btn--pulse-light::after,
  .scroll-hint span, .intro__bubbles { animation: none !important; display: none; }
  .shine { display: inline; color: var(--ink); background: none; }
  .orb { display: block; }
}

/* =========================================================
   TOUCHES DE BLEU (l'eau) + PHOTOS
   ========================================================= */
:root {
  --blue: #1a6bff;          /* bleu vif, accent principal */
  --blue-light: #6ab8ff;    /* bleu eau, sur fond noir */
  --blue-soft: #e7f0ff;     /* bleu très pâle, fonds */
  --tint: #d9e8ff;
}
::selection { background: var(--blue); color: #fff; }

/* Mots en italique des titres : bleu, avec le reflet qui passe */
.section__head h2 em,
.zone__text h2 em,
.final h2 em {
  --c: var(--blue);
  background-image: linear-gradient(100deg, var(--blue) 0 42%, #a8d4ff 50%, var(--blue) 58% 100%);
}
.final h2 em { -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 100% 100%; background-image: linear-gradient(100deg, var(--blue-light), #b9e0ff); }
.split__left h2 em { background-image: linear-gradient(100deg, var(--blue-light) 0 42%, #ffffff 50%, var(--blue-light) 58% 100%); }

/* « impeccables » en bleu avec un éclat d'eau */
.shine {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue) 40%, #bfe2ff 50%, var(--blue) 60%, var(--blue) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.twinkle, .eyebrow__star { fill: var(--blue); }

/* Bulles teintées d'eau */
.bubbles i {
  border-color: rgba(26,107,255,.14);
  box-shadow: inset -4px -6px 14px rgba(26,107,255,.12), inset 4px 4px 10px rgba(106,184,255,.18);
}
.intro__bubbles span { border-color: rgba(106,184,255,.45); }
.intro__spark { fill: var(--blue-light); }

/* Boutons : survol bleu, anneau d'appel bleu */
.btn--dark:hover { background: var(--blue); box-shadow: 0 14px 34px -12px rgba(26,107,255,.6); }
.btn--pulse::after { border-color: var(--blue); }
.btn--light .icon { color: var(--blue); }
.btn--ghost:hover { border-color: rgba(26,107,255,.35); color: var(--blue); background: var(--blue-soft); }

/* Bouton d'appel flottant en bleu : il se voit tout de suite */
.fab { background: var(--blue); box-shadow: 0 16px 36px -12px rgba(26,107,255,.7); }

/* Cartes, étapes, engagements */
.card__icon { color: var(--blue); background: var(--blue-soft); }
.card:hover .card__icon { background: var(--blue); color: #fff; }
.step__n { border-color: var(--blue); color: var(--blue); }
.step:hover .step__n { background: var(--blue); color: #fff; }
.step__n { transition: background .4s, color .4s; }
.perk__num { color: var(--blue-light); }
.eyebrow--light { color: var(--blue-light); }
.zone__place .icon { color: var(--blue); }
.scroll-hint span { background: var(--blue); }
.final::before { background: radial-gradient(circle, rgba(26,107,255,.28), transparent 62%); }

/* ---------- Photo vitrine ---------- */
.showcase { padding: 0 0 clamp(20px, 4vw, 40px); }
.showcase__fig {
  position: relative;
  margin: 0;
  border-radius: clamp(22px, 3.5vw, 36px);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--bg-soft);
  box-shadow: 0 40px 80px -50px rgba(13,13,14,.45);
}
.showcase__fig img {
  width: 100%; height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--py, -6%), 0);
  will-change: transform;
}
.showcase__fig::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,14,0) 45%, rgba(13,13,14,.55) 100%);
  pointer-events: none;
}
.showcase__cap {
  position: absolute;
  left: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  font-weight: 500;
  font-size: .98rem;
  line-height: 1.45;
  background: rgba(13,13,14,.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.14);
}

/* Goutte d'eau bleue */
.drop {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  box-shadow: 0 6px 16px -4px rgba(26,107,255,.8);
}

/* ---------- Photo section noire ---------- */
.split__img {
  margin: 40px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(26,107,255,.35);
}
.split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__img:hover img { transform: scale(1.04); }
.split__img::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(106,184,255,.25);
  pointer-events: none;
}

@media (max-width: 760px) {
  .showcase__fig { aspect-ratio: 4 / 5; }
  .showcase__cap { font-size: .9rem; }
}
.split__left { position: static; }
.showcase__fig img { object-position: 60% 50%; }

/* =========================================================
   AVIS CLIENTS (carrousel)
   ========================================================= */
#avis { scroll-margin-top: calc(var(--header-h) - 60px); }
.section--reviews { padding-top: 0; }

.reviews { --slide: 3000ms; }
.reviews__viewport { overflow: hidden; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 10px clamp(16px, 4vw, 40px) 30px; }
.reviews__track {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 16px;
  transition: transform .8s var(--ease-io);
  will-change: transform;
}
.review { flex: 0 0 min(640px, 88%); }
.review__card {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: .4;
  transform: scale(.96);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease);
}
.review.is-active .review__card {
  opacity: 1;
  transform: none;
  box-shadow: 0 30px 60px -36px rgba(26,107,255,.35);
}
/* Grand guillemet bleu */
.review__card::before {
  content: "“";
  position: absolute;
  top: 6px; right: 24px;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--blue);
  opacity: .14;
  pointer-events: none;
}
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 18px; height: 18px; fill: var(--blue); }
.review__text {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
}
.review__who b { display: block; font-size: 1rem; }
.review__who small { color: var(--muted); font-size: .82rem; }

.reviews__nav { display: flex; align-items: center; gap: 14px; }
.reviews__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.reviews__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reviews__arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.reviews__dots { display: flex; gap: 6px; align-items: center; }
.reviews__dot {
  position: relative;
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(13,13,14,.15);
  overflow: hidden;
  cursor: pointer;
  transition: width .5s var(--ease);
}
.reviews__dot.is-active { width: 36px; }
.reviews__dot.is-active::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--blue);
  transform-origin: left;
  animation: dotFill var(--slide) linear forwards;
}
.reviews.is-paused .reviews__dot.is-active::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .review { flex-basis: 86%; }
  .review__card::before { font-size: 5rem; right: 18px; }
}
