/* =========================================================================
   Claire et Net — Nettoyage Professionnel (Genève)
   Static multi-page site. Premium "Lavisha-style" layout in the brand palette.
   Plain HTML / CSS / vanilla JS. No framework.
   ========================================================================= */

:root {
  --navy: #183a5a;
  --navy-deep: #10293f;
  --blue: #1e4e79;
  --azure: #2e90c9;
  --azure-soft: #cfe7f4;
  --lime: #8cc63f;
  --lime-deep: #6ea62c;
  --paper: #f5f8fb;
  --mint: #eef6e6;      /* light lime card tint */
  --sky: #e9f3fa;       /* light azure card tint */
  --white: #ffffff;
  --ink: #1f2c38;
  --slate: #45566a;
  --muted: #7c8b9b;
  --line: #e4ecf3;

  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 10px 30px -18px rgba(24, 58, 90, 0.35);
  --shadow: 0 30px 60px -35px rgba(24, 58, 90, 0.45);
  --shadow-lg: 0 45px 90px -45px rgba(24, 58, 90, 0.55);

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

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 130px;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip` (not `hidden`) prevents horizontal scroll without turning the
     body into a scroll container — that keeps the sticky nav pinned on
     mobile (overflow-x:hidden was silently breaking position:sticky). */
  overflow-x: clip;
}

html { overflow-x: clip; }

/* Anti-overflow safety: let grid/flex children shrink below content width
   (fixes long <select> options / long words forcing horizontal scroll). */
.grid > *, .split > *, .hero__grid > *, .estimate__fields > *,
.form-grid > *, .field, .contact-card > * { min-width: 0; }
.input, .select, .textarea { min-width: 0; max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; }

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

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

button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.section { padding-block: 88px; }
.section--tight { padding-block: 60px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azure);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.eyebrow.is-center { justify-content: center; }

.h-section {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem);
  margin-top: 14px;
}
.lead {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 60ch;
  margin-top: 16px;
}
.text-lime { color: var(--lime-deep); }
.text-azure { color: var(--azure); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons (bespoke) ---------- */
.btn {
  --bg: var(--lime);
  --fg: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--fg);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.55) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(140,198,63,0.9); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0); }

.btn--navy { --bg: var(--navy); --fg: #fff; }
.btn--navy:hover { box-shadow: 0 18px 34px -14px rgba(24,58,90,0.75); background: var(--blue); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--navy);
  border: 1.5px solid rgba(24,58,90,0.16);
}
.btn--ghost:hover { border-color: var(--azure); color: var(--azure); box-shadow: none; }
.btn--ghost-light {
  --bg: rgba(255,255,255,0.12);
  --fg: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.22); box-shadow: none; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.topbar {
  background: var(--navy-deep);
  color: #dbe8f2;
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-block: 9px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 16px; height: 16px; color: var(--lime); }
.topbar__item b { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; }

.nav-outer {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 22px;
  transition: padding 0.3s var(--ease);
}
.nav-outer.stuck { padding-top: 8px; padding-bottom: 8px; }

.nav {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}
.nav-outer.stuck .nav { box-shadow: 0 20px 40px -22px rgba(24,58,90,0.45); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--slate);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--navy); background: var(--paper); }
.nav__links a.active { color: var(--navy); font-weight: 600; }
.nav__links a.active::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto 0;
  border-radius: 2px;
  background: var(--lime);
}
.nav__right { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
.nav__toggle.open span { background: transparent; }
.nav__toggle.open span::before { transform: rotate(45deg); }
.nav__toggle.open span::after { transform: rotate(-45deg) translateY(-1px); }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 340px);
  max-width: 100vw;
  background: #fff;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: -30px 0 60px -30px rgba(24,58,90,0.5);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { padding: 13px 12px; border-radius: 12px; font-weight: 500; color: var(--slate); }
.mobile-menu a:hover { background: var(--paper); color: var(--navy); }
.mobile-menu .btn { margin-top: 12px; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-menu__close { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; }
.backdrop {
  position: fixed; inset: 0; background: rgba(16,41,63,0.5);
  z-index: 70; opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
.backdrop.open { opacity: 1; visibility: visible; }

/* ---------- brand logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__emblem { width: 44px; height: 44px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1; letter-spacing: -0.01em; }
.brand__name em { font-style: normal; color: var(--lime-deep); }
.brand__tag { display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: var(--azure-soft); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  margin: -84px 14px 0;
  padding-top: 150px;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(16,41,63,0.92) 0%, rgba(16,41,63,0.72) 34%, rgba(16,41,63,0.15) 62%, rgba(16,41,63,0) 100%);
}
.hero__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 34px 120px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 30px; align-items: start; }
.hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 1.05rem + 3.5vw, 3.9rem);
  font-weight: 800;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero p.hero__sub { color: #e6eef6; font-size: 1.1rem; max-width: 46ch; margin-top: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__badge-card {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 30px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 12px 18px 12px 12px;
  max-width: 360px;
}
.hero__badge-thumb { position: relative; width: 92px; height: 62px; border-radius: 12px; overflow: hidden; flex: none; }
.hero__badge-thumb img, .hero__badge-thumb video { width: 100%; height: 100%; object-fit: cover; }
.hero__badge-play {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px;
  background: rgba(255,255,255,0.9); color: var(--navy); border-radius: 50%;
  display: grid; place-items: center;
}
.hero__badge-play svg { width: 14px; height: 14px; }
.hero__badge-card b { color: #fff; font-family: var(--font-display); font-size: 0.98rem; display: block; }
.hero__badge-card span { color: #d6e4f0; font-size: 0.82rem; }

/* floating estimate form */
.estimate {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: -46px auto 0;
  padding-inline: 22px;
}
.estimate__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
}
.estimate__head h3 { font-size: 1.5rem; }
.estimate__head p { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.estimate__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; grid-column: 1 / -1; align-items: end; }
.estimate__fields .btn { width: 100%; }

/* =========================================================================
   FORM CONTROLS
   ========================================================================= */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--azure); }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: #9fadbb; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(46,144,201,0.16);
}
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237c8b9b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.textarea { resize: vertical; min-height: 128px; }
.field__err { font-size: 0.78rem; color: #d33d43; display: none; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #e2757a; }
.field.invalid .field__err { display: block; }

/* =========================================================================
   TRUST STRIP
   ========================================================================= */
.trust {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 26px 30px;
}
.trust__rating { display: flex; align-items: center; gap: 12px; }
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars svg { fill: currentColor; }
.stars svg { width: 18px; height: 18px; }
.trust__rating b { display: block; font-family: var(--font-display); color: var(--navy); font-size: 0.98rem; }
.trust__rating span { font-size: 0.82rem; color: var(--muted); }
.trust__items { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust__chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.trust__chip svg { width: 26px; height: 26px; color: var(--azure); }

/* =========================================================================
   CARDS / GRID
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* step card (How it works) */
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step:nth-child(2) { background: var(--mint); }
.step__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.step:hover .step__img img { transform: scale(1.06); }
/* icon now sits inside the body (below the photo), fully visible — it used
   to overhang the image and get clipped by .step__img overflow:hidden. */
.step__icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--azure); color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 14px 26px -12px rgba(46,144,201,0.9);
}
.step:nth-child(2) .step__icon { background: var(--lime); color: var(--navy); }
.step__icon svg { width: 26px; height: 26px; }
.step__body { padding: 28px 26px 32px; text-align: center; }
.step__body h3 { font-size: 1.25rem; }
.step__body p { margin-top: 10px; font-size: 0.95rem; }
.step__n { font-family: var(--font-display); font-weight: 700; color: var(--azure); font-size: 0.82rem; letter-spacing: 0.14em; }

/* service card */
.svc {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__badge {
  position: absolute; top: 14px; left: 14px;
  width: 48px; height: 48px; border-radius: 14px;
  background: #fff; color: var(--azure);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.svc__badge svg { width: 25px; height: 25px; }
.svc__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: 1.2rem; }
.svc__body p { margin-top: 8px; font-size: 0.94rem; flex: 1; }
.svc__list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 9px; }
.svc__list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--slate); }
.svc__list svg { width: 18px; height: 18px; color: var(--lime-deep); flex: none; }
.svc__foot { margin-top: 18px; }

/* feature (split) */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media .badge-float {
  position: absolute; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.badge-float b { font-family: var(--font-display); font-size: 1.5rem; color: var(--lime-deep); display: block; line-height: 1; }
.badge-float span { font-size: 0.78rem; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 13px; }
.ticks .tick { width: 26px; height: 26px; border-radius: 8px; background: var(--sky); color: var(--azure); display: grid; place-items: center; flex: none; }
.ticks .tick svg { width: 16px; height: 16px; }
.ticks h4 { font-size: 1rem; color: var(--navy); }
.ticks p { font-size: 0.9rem; margin-top: 2px; }

/* feature icon tile (mini) */
.feat { display: grid; gap: 14px; }
.feat__icon { width: 52px; height: 52px; border-radius: 15px; background: var(--sky); color: var(--azure); display: grid; place-items: center; }
.feat__icon svg { width: 26px; height: 26px; }
.feat h3 { font-size: 1.08rem; }
.feat p { font-size: 0.93rem; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); gap: 1px; }
.stats__cell { background: var(--navy); color: #fff; padding: 34px 20px; text-align: center; }
.stats__cell b { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.4rem); display: block; }
.stats__cell span { color: var(--azure-soft); font-size: 0.88rem; margin-top: 6px; display: block; }

/* process timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.tl { position: relative; }
.tl__num {
  width: 56px; height: 56px; border-radius: 18px; background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: grid; place-items: center; position: relative; z-index: 1;
  box-shadow: 0 16px 30px -16px rgba(24,58,90,0.9);
}
.tl__num::after { content: ""; position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 4px solid var(--paper); }
.tl h3 { margin-top: 20px; font-size: 1.1rem; }
.tl p { margin-top: 8px; font-size: 0.92rem; }

/* zone chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 0.9rem; color: var(--slate); transition: border-color 0.2s, color 0.2s; }
.chip svg { width: 15px; height: 15px; color: var(--azure); }
.chip:hover { border-color: var(--azure); color: var(--navy); }

/* testimonials */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; height: 100%; }
.tcard .stars { margin-bottom: 14px; }
.tcard blockquote { font-size: 1rem; color: var(--slate); flex: 1; }
.tcard figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.tcard .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.tcard b { font-family: var(--font-display); color: var(--navy); font-size: 0.95rem; }
.tcard span { font-size: 0.82rem; color: var(--muted); }

/* video band */
.videoband { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: grid; place-items: center; text-align: center; isolation: isolate; }
.videoband video, .videoband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.videoband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,41,63,0.85), rgba(16,41,63,0.55)); }
.videoband__inner { padding: 60px 24px; color: #fff; max-width: 640px; }
.videoband h2 { color: #fff; }
.videoband p { color: #e2ecf4; margin-top: 14px; }

/* before/after comparison card (static split image) */
.ba { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.ba img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ba:hover img { transform: scale(1.05); }
.ba__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: rgba(255,255,255,0.85); z-index: 2; }
.ba__tag { position: absolute; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: #fff; z-index: 3; }
.ba__tag--before { left: 12px; background: rgba(16,41,63,0.78); }
.ba__tag--after { right: 12px; background: var(--lime-deep); }

/* page banner (inner pages) */
.pbanner { position: relative; margin: -84px 14px 0; padding: 150px 0 60px; border-radius: 34px; overflow: hidden; isolation: isolate; text-align: center; }
.pbanner__media { position: absolute; inset: 0; z-index: -2; }
.pbanner__media img { width: 100%; height: 100%; object-fit: cover; }
.pbanner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,41,63,0.86), rgba(16,41,63,0.7)); }
.pbanner h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem); }
.pbanner p { color: #dfeaf3; margin: 14px auto 0; max-width: 56ch; }
.crumb { display: inline-flex; gap: 8px; align-items: center; color: var(--azure-soft); font-size: 0.85rem; margin-bottom: 16px; justify-content: center; }
.crumb a:hover { color: #fff; }
.crumb span { opacity: 0.6; }

/* CTA band */
.ctaband { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.ctaband::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(46,144,201,0.5), transparent); z-index: -1; }
.ctaband::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; left: -120px; bottom: -160px; background: radial-gradient(closest-side, rgba(140,198,63,0.4), transparent); z-index: -1; }
.ctaband__inner { padding: 60px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ctaband h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.ctaband p { color: #d5e4f0; margin-top: 10px; }

/* =========================================================================
   CONTACT SPLIT
   ========================================================================= */
.contact-card { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-info { position: relative; background: var(--navy); color: #fff; padding: 40px 36px; isolation: isolate; }
.contact-info::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; left: -80px; bottom: -80px; background: radial-gradient(closest-side, rgba(46,144,201,0.5), transparent); z-index: -1; }
.contact-info h2 { color: #fff; font-size: 1.7rem; }
.contact-info > p { color: var(--azure-soft); margin-top: 12px; font-size: 0.96rem; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-list a, .contact-list li { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.1); color: var(--lime); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--azure-soft); font-size: 0.76rem; }
.contact-list b { font-weight: 600; }
.contact-list a:hover b { color: var(--lime); }
.contact-form { background: #fff; padding: 40px 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--lime-deep); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 32px; height: 32px; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy-deep); color: #b9cbdb; margin-top: 20px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-block: 56px; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: #b9cbdb; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer__about p { font-size: 0.92rem; margin-top: 16px; max-width: 34ch; color: #a9bccd; }
.footer__contact { margin-top: 18px; display: grid; gap: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 500; }
.footer__contact svg { width: 16px; height: 16px; color: var(--lime); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: #93a8ba; }

/* =========================================================================
   REVEAL ANIMATION (screenshot-safe: JS adds .in; fallback shows all)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); }
.js .reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
/* No-JS: everything visible */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .estimate__fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__right .btn, .nav__right .nav-tel { display: none; }
  .nav__toggle { display: grid; }
  .topbar .wrap { gap: 16px; font-size: 0.78rem; }
  .estimate__card { grid-template-columns: 1fr; }
  .estimate__fields { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
/* Editorial prose blocks (SEO content) */
.prose { max-width: 760px; margin-inline: auto; }
.prose p { color: var(--slate); font-size: 1.02rem; line-height: 1.75; margin-top: 16px; }
.prose h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.25rem; margin-top: 34px; }
.prose ul { margin-top: 16px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; color: var(--slate); line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* FAQ accordion (no JS, accessible) */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: var(--azure-soft); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--azure); border-bottom: 2px solid var(--azure); transform: rotate(45deg); transition: transform 0.25s var(--ease); margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq details > p { color: var(--slate); line-height: 1.7; padding: 0 0 20px; margin: 0; }
.faq details > p a { color: var(--azure); font-weight: 500; }

/* Local zones block */
.zones { text-align: center; }
.zones .chips { justify-content: center; }

@media (max-width: 620px) {
  .section { padding-block: 60px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .ctaband__inner { padding: 40px 26px; }
  .contact-info, .contact-form { padding: 30px 24px; }
  .hero { margin-inline: 8px; padding-top: 130px; min-height: 560px; }
  .hero__inner { padding-inline: 22px; padding-bottom: 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__grid > div:last-child:empty { display: none; }
  .hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.5rem); }
  .hero p.hero__sub { max-width: 100%; font-size: 1rem; }
  .topbar__item.hide-sm { display: none; }
}

/* ---- Mobile : « home figée » — le hero reste fixé pendant que le reste
   de la page glisse par-dessus, façon panneau (index.html uniquement). ---- */
@media (max-width: 860px) {
  .hero {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 0;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 118px;
  }
  .hero__inner { padding-bottom: 34px; }
  .page-sheet {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    margin-top: 100svh;
    background: var(--paper);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -20px 44px -14px rgba(16, 41, 63, 0.34);
  }
  .page-sheet > .estimate:first-child {
    margin-top: 0;
    padding-top: 30px;
  }
}

/* =========================================================================
   MOTION LAYER — interactive loops & entrances (v20260713e)
   Signature: a slow "squeegee shine" sweeping across the hero like light on
   freshly cleaned glass. Everything else stays deliberately quiet.
   ========================================================================= */

/* --- signature: hero shine sweep + staggered entrance --- */
.hero::before {
  content: "";
  position: absolute;
  top: -40%; bottom: -40%;
  left: -60%;
  width: 45%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.05) 42%,
    rgba(207,231,244,0.16) 50%,
    rgba(255,255,255,0.05) 58%,
    rgba(255,255,255,0) 100%);
  transform: skewX(-14deg);
  animation: hero-shine 9s var(--ease) infinite;
}
@keyframes hero-shine {
  0%   { left: -60%; opacity: 0; }
  12%  { opacity: 1; }
  55%  { opacity: 1; }
  70%  { left: 150%; opacity: 0; }
  100% { left: 150%; opacity: 0; }
}
.hero__inner { position: relative; z-index: 1; }
.js .hero h1,
.js .hero p.hero__sub,
.js .hero__cta,
.js .hero__badge-card {
  animation: hero-rise 0.9s var(--ease) both;
}
.js .hero p.hero__sub { animation-delay: 0.12s; }
.js .hero__cta { animation-delay: 0.22s; }
.js .hero__badge-card { animation-delay: 0.34s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* --- scroll progress bar (injected by main.js) --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--azure), var(--lime));
  z-index: 90; pointer-events: none;
  will-change: transform;
}

/* --- back-to-top button (injected by main.js) --- */
.to-top {
  position: fixed; right: 20px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; border: none;
  box-shadow: 0 14px 30px -12px rgba(24,58,90,0.7);
  cursor: pointer; z-index: 75;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; animation: to-top-float 3.2s ease-in-out 0.4s infinite; }
.to-top:hover { background: var(--azure); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }
@keyframes to-top-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }

/* --- rating stars: gentle twinkle loop --- */
.stars svg { animation: twinkle 4.5s ease-in-out infinite; transform-origin: center; }
.stars svg:nth-child(2) { animation-delay: 0.5s; }
.stars svg:nth-child(3) { animation-delay: 1s; }
.stars svg:nth-child(4) { animation-delay: 1.5s; }
.stars svg:nth-child(5) { animation-delay: 2s; }
@keyframes twinkle {
  0%, 88%, 100% { opacity: 1; transform: scale(1); }
  94% { opacity: 0.72; transform: scale(0.88); }
}

/* --- service card check-icons: pop in when the card reveals --- */
.svc__list svg { transform: scale(1); }
.js .svc.reveal .svc__list svg { transform: scale(0); transition: transform 0.4s var(--ease); }
.js .svc.reveal.in .svc__list svg { transform: scale(1); }
.js .svc.reveal.in .svc__list li:nth-child(2) svg { transition-delay: 0.08s; }
.js .svc.reveal.in .svc__list li:nth-child(3) svg { transition-delay: 0.16s; }

/* --- link-arrow: nudge the arrow on hover (reinforces the CTA motif) --- */
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================================
   SIGNATURE — the "clean sweep" as a typographic device (brief concept spine)
   A squeegee brush-stroke (azure -> lime) wipes in under the key word of the
   hero and major section headings. The eyebrow's bar becomes the recurring,
   quieter echo of the same gesture.
   ========================================================================= */
.sweep { position: relative; display: inline-block; }
.sweep::after {
  content: "";
  position: absolute;
  left: -0.05em; right: -0.05em; bottom: 0.02em;
  height: 0.17em; border-radius: 999px;
  background: linear-gradient(90deg, var(--azure) 0%, var(--lime) 100%);
  transform: scaleX(1) skewX(-14deg);
  transform-origin: left center;
  opacity: 0.9;
}
/* wipe the stroke in when its heading's reveal block enters (JS only) */
.js .reveal .sweep::after { transform: scaleX(0) skewX(-14deg); }
.js .reveal.in .sweep::after {
  transform: scaleX(1) skewX(-14deg);
  transition: transform 0.85s var(--ease) 0.25s;
}
/* on the dark hero the stroke needs a hair more presence */
.hero .sweep::after { height: 0.15em; opacity: 1; box-shadow: 0 2px 14px -4px rgba(46,144,201,0.6); }

/* eyebrow: lime tick -> azure->lime sheen that wipes in (recurring motif) */
.eyebrow::before {
  width: 30px;
  background: linear-gradient(90deg, var(--azure), var(--lime));
  transform-origin: left center;
}
.js .reveal .eyebrow::before { transform: scaleX(0); }
.js .reveal.in .eyebrow::before { transform: scaleX(1); transition: transform 0.6s var(--ease) 0.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero::before { display: none; }
  .stars svg, .to-top.show { animation: none !important; }
  .js .svc.reveal .svc__list svg { transform: none !important; }
  .js .hero h1, .js .hero p.hero__sub, .js .hero__cta, .js .hero__badge-card { animation: none !important; opacity: 1 !important; }
  .js .reveal .sweep::after { transform: scaleX(1) skewX(-14deg) !important; }
  .js .reveal .eyebrow::before { transform: scaleX(1) !important; }
}
