/* ==========================================================================
   DZ&M Terrassement & Transport
   Classic construction-company layout (top bar, photo hero, service cards,
   counters, CTA band), executed with modern type, spacing and motion.
   ========================================================================== */

:root {
  --blue: #05429a;
  --blue-600: #0a52bd;
  --blue-900: #032a63;
  --ink: #111418;
  --ink-2: #2b3038;
  --text: #4a515c;
  --muted: #7a818c;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --line: #e3e7ed;
  --dark: #0d1117;

  --f-head: "Archivo", "Arial", sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 50px -24px rgba(3, 42, 99, 0.35);
  --shadow-sm: 0 6px 20px -10px rgba(3, 42, 99, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { font-size: 1.15em; line-height: 1; }

/* ---------- Headings ---------- */

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
.title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; margin-bottom: 20px; }
.title span { color: var(--blue); }
.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.subtitle::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.center { text-align: center; }
.center .subtitle { justify-content: center; }
.head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 60px); }
.head p { margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.15s;
  box-shadow: 0 10px 24px -12px rgba(5, 66, 154, 0.7);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(1px); }
.btn .ph { transition: transform 0.35s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn--white { background: #fff; color: var(--blue); box-shadow: none; }
.btn--white::before { background: var(--ink); }
.btn--white:hover { color: #fff; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--blue); }
.link .ph { transition: transform 0.3s var(--ease); }
.link:hover .ph { transform: translateX(4px); }

/* ---------- Top bar ---------- */

.topbar { background: var(--blue-900); color: rgba(255, 255, 255, 0.82); font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 44px; }
.topbar ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .ph { color: #8fb4ff; }
@media (max-width: 860px) {
  .topbar .hide-sm { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(17, 20, 24, 0.35); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 88px; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .wrap { height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 2; }
.brand svg { height: 70px; width: auto; transition: height 0.3s var(--ease); }
.is-scrolled .brand svg { height: 56px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative;
  padding: 10px 16px;
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--bg-soft); position: relative; z-index: 2; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1120px) {
  .site-header .wrap { height: 76px; }
  .brand svg { height: 48px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    padding: 100px var(--gutter) 40px;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0.3s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  .menu-open { overflow: hidden; }
  .nav a:not(.btn) { font-size: 28px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 28px 0 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 26, 62, 0.92) 0%, rgba(3, 42, 99, 0.72) 45%, rgba(3, 42, 99, 0.15) 100%),
    linear-gradient(0deg, rgba(13, 17, 23, 0.55), transparent 40%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 150px; }
.hero__content { max-width: 720px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero__kicker b { white-space: nowrap; flex: none; background: #fff; color: var(--blue); border-radius: 999px; padding: 2px 10px; font-family: var(--f-head); font-size: 13px; }
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 6.2vw, 84px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 span { color: #8fb4ff; }
.hero p { font-size: clamp(18px, 1.5vw, 21px); color: rgba(255, 255, 255, 0.86); max-width: 34em; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; transform: none; } }

/* Feature boxes overlapping the hero */
.features { position: relative; z-index: 3; margin-top: -90px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.feature { display: flex; gap: 18px; padding: 32px 30px; border-right: 1px solid var(--line); transition: background 0.35s var(--ease), color 0.35s; }
.feature:last-child { border-right: 0; }
.feature__icon { flex: none; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); color: var(--blue); font-size: 28px; transition: background 0.35s, color 0.35s; }
.feature h3 { font-size: 19px; font-weight: 800; margin: 2px 0 6px; transition: color 0.35s; }
.feature p { margin: 0; font-size: 15px; line-height: 1.6; transition: color 0.35s; }
.feature:hover { background: var(--blue); }
.feature:hover h3 { color: #fff; }
.feature:hover p { color: rgba(255, 255, 255, 0.8); }
.feature:hover .feature__icon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.feature { padding: 30px 24px; }
@media (max-width: 1100px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .features { margin-top: -60px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 9vw, 130px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, 0.72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .subtitle { color: #8fb4ff; }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__media .img-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__media .img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}
.about__media .img-small img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  left: -24px;
  top: 40px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.about__badge b { display: block; font-family: var(--f-head); font-size: 44px; font-weight: 900; line-height: 1; }
.about__badge span { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.about__text .lead { font-size: 19px; color: var(--ink-2); font-weight: 500; }
.checklist { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.checklist .ph { color: var(--blue); font-size: 22px; flex: none; }
.about__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.call { display: flex; align-items: center; gap: 14px; }
.call__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--bg-soft); color: var(--blue); display: grid; place-items: center; font-size: 24px; }
.call small { display: block; font-size: 13px; color: var(--muted); }
.call b { font-family: var(--f-head); font-size: 20px; color: var(--ink); }
.call:hover b { color: var(--blue); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; padding: 0 40px 40px 0; }
  .about__badge { left: 12px; top: 12px; padding: 16px 18px; }
  .about__badge b { font-size: 34px; }
}
@media (max-width: 520px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__icon {
  position: absolute;
  left: 26px;
  bottom: -28px;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  border: 4px solid #fff;
  z-index: 2;
  transition: background 0.3s;
}
.card__img + .card__body { position: relative; }
.card__iconwrap { position: relative; }
.card__body { padding: 44px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; transition: color 0.25s; }
.card:hover h3 { color: var(--blue); }
.card p { font-size: 16px; margin-bottom: 20px; flex: 1; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Counters ---------- */

.counters { position: relative; color: #fff; overflow: hidden; }
.counters__bg { position: absolute; inset: 0; }
.counters__bg img { width: 100%; height: 100%; object-fit: cover; }
.counters__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5, 66, 154, 0.94), rgba(3, 42, 99, 0.88)); }
.counters .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: clamp(60px, 7vw, 90px); padding-bottom: clamp(60px, 7vw, 90px); }
.counter { text-align: center; padding: 10px; position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, 0.2); }
.counter .ph { font-size: 40px; color: #8fb4ff; margin-bottom: 12px; display: inline-block; }
.counter b { display: block; font-family: var(--f-head); font-size: clamp(38px, 4vw, 54px); font-weight: 900; line-height: 1; margin-bottom: 8px; }
.counter > span { font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 800px) {
  .counters .wrap { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .counter:nth-child(3)::before { display: none; }
}

/* ---------- Special vehicles ---------- */

.vehicles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vehicle { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.vehicle > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.vehicle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 20, 48, 0.97) 0%, rgba(3, 20, 48, 0.85) 45%, rgba(3, 20, 48, 0.15) 80%); }
.vehicle:hover > img { transform: scale(1.05); }
.vehicle__body { padding: 36px; }
.vehicle__tag { display: inline-block; background: var(--blue); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.vehicle h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; margin-bottom: 4px; }
.vehicle__alias { font-size: 15px; color: #8fb4ff; font-weight: 600; margin-bottom: 14px; }
.vehicle p { color: rgba(255, 255, 255, 0.84); margin-bottom: 16px; max-width: 32em; }
.vehicle ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.vehicle li .ph { color: #8fb4ff; }
@media (max-width: 860px) {
  .vehicles { grid-template-columns: 1fr; }
  .vehicle { min-height: 460px; }
  .vehicle__body { padding: 26px; }
}

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 38px;
  box-shadow: var(--shadow-sm);
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.step__icon::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -4px;
  right: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 3px solid var(--bg-soft);
}
.step:hover .step__icon { background: var(--blue); color: #fff; transform: translateY(-4px); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(50% + 62px);
  right: calc(-50% + 62px);
  border-top: 2px dashed rgba(5, 66, 154, 0.3);
}
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .step::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Projects gallery ---------- */

.projects { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.project { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; }
.project--tall { grid-row: span 2; }
.project--wide { grid-column: span 2; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 20, 48, 0.9), rgba(3, 20, 48, 0) 60%); transition: background 0.4s; }
.project:hover img { transform: scale(1.06); }
.project:hover::before { background: linear-gradient(0deg, rgba(5, 66, 154, 0.95), rgba(5, 66, 154, 0.35) 100%); }
.project__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.project__cat { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb4ff; }
.project:hover .project__cat { color: #fff; }
.project h3 { color: #fff; font-size: 20px; font-weight: 800; margin-top: 4px; }
.project p { margin: 6px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s; }
.project:hover p { max-height: 120px; opacity: 1; }
.project__plus { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 20px; transform: scale(0.6); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
.project:hover .project__plus { transform: none; opacity: 1; }
.project.is-hidden { display: none; }
@media (max-width: 1000px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .projects { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .project--tall { grid-row: auto; }
  .project--wide { grid-column: auto; }
  .project p { max-height: none; opacity: 1; }
}
@media (hover: none) { .project p { max-height: none; opacity: 1; } }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter { height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: all 0.25s; }
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(5, 66, 154, 0.7); }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-box::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 420px;
  height: 290px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-mask: var(--bucket) center / 100% 100% no-repeat;
          mask: var(--bucket) center / 100% 100% no-repeat;
  z-index: -1;
}
.cta-box h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); font-weight: 800; margin-bottom: 8px; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 18px; }
.cta-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cta-box .call__icon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cta-box .call small { color: rgba(255, 255, 255, 0.7); }
.cta-box .call b { color: #fff; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } }

:root {
  --bucket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1015 692' preserveAspectRatio='none'%3E%3Cpath d='M1015 0H0v446c0 70 1 141 1 211 0 28 11 34 36 23 63-30 127-59 190-89 18-9 34-9 52-1 67 30 135 59 203 89 18 8 34 8 52 0 67-30 134-58 201-88 20-9 37-8 57 1 62 30 124 59 186 88 26 12 37 5 37-24V446z'/%3E%3C/svg%3E");
}

/* ---------- Page banner (inner pages) ---------- */

.banner { position: relative; padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); color: #fff; overflow: hidden; background: var(--dark); }
.banner__bg { position: absolute; inset: 0; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 26, 62, 0.92), rgba(3, 42, 99, 0.6)); }
.banner .wrap { position: relative; z-index: 1; }
.banner h1 { color: #fff; font-size: clamp(34px, 5.4vw, 72px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 18px; }
.banner p { color: rgba(255, 255, 255, 0.84); font-size: 19px; max-width: 36em; margin: 0 0 22px; }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; font-weight: 600; }
.crumbs a:hover { color: #8fb4ff; }
.crumbs .ph { font-size: 12px; opacity: 0.7; }

/* ---------- Services page ---------- */

.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; scroll-margin-top: 110px; }
.svc-row + .svc-row { margin-top: clamp(80px, 9vw, 120px); }
.svc-row--flip .svc-row__media { order: 2; }
.svc-row__media { position: relative; }
.svc-row__media .img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__media .card__icon { left: auto; right: 28px; bottom: -26px; width: 72px; height: 72px; font-size: 34px; border-radius: 18px; }
.svc-row .checklist { margin-bottom: 0; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row--flip .svc-row__media { order: 0; }
}

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fleet__item { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.fleet__item:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }
.fleet__item .ph { flex: none; width: 56px; height: 56px; border-radius: 14px; background: rgba(143, 180, 255, 0.14); color: #8fb4ff; display: grid; place-items: center; font-size: 28px; transition: background 0.3s, color 0.3s; }
.fleet__item:hover .ph { background: rgba(255, 255, 255, 0.16); color: #fff; }
.fleet__item h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.fleet__item p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.fleet__item:hover p { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 1000px) { .fleet { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fleet { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(56px, 7vw, 90px); }
.info-card { padding: 34px 30px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .ph { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 30px; }
.info-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.info-card p { margin: 0; font-size: 16px; }
.info-card a:hover { color: var(--blue); }
@media (max-width: 860px) { .info-cards { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: stretch; }
.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.form h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; margin-bottom: 6px; }
.form > p { margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
          appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3038' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: #737a85; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(5, 66, 154, 0.12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c62828; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.form__foot small { color: var(--muted); font-size: 14px; max-width: 26em; line-height: 1.5; }
.form__status { margin: 14px 0 0; color: var(--blue); font-weight: 600; }

.side-box { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; background: var(--dark); color: rgba(255, 255, 255, 0.78); }
.side-box__map { flex: 1; min-height: 300px; background: #1b2230; }
.side-box__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: grayscale(0.4); }
.side-box__body { padding: 30px; }
.side-box h3 { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.side-box p { margin: 0 0 16px; font-size: 16px; }
.side-box .btn { width: 100%; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.66); padding-top: clamp(64px, 8vw, 100px); font-size: 16px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { display: inline-block; color: var(--ink); background: #fff; padding: 14px 16px; border-radius: 12px; margin-bottom: 22px; }
.footer-logo svg { width: 96px; height: auto; }
.site-footer h4 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--blue-600); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, transform 0.3s var(--ease); }
.site-footer ul a:hover { color: #fff; transform: translateX(3px); }
.site-footer .ph { color: #8fb4ff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ph { margin-top: 5px; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; font-size: 14px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease), background 0.2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- "Nouveau" badge + demolition spotlight ---------- */

.badge-new {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.badge-new--lg { top: 24px; left: 24px; right: auto; padding: 10px 20px; font-size: 15px; background: var(--blue); color: #fff; }

.spotlight__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.spotlight__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.checklist--dark li { color: #fff; }
.checklist--dark .ph { color: #8fb4ff; }
@media (max-width: 900px) { .spotlight__grid { grid-template-columns: 1fr; } }

/* ---------- Camion aspirateur highlight ---------- */

.aspi__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.aspi__media { position: relative; display: grid; gap: 14px; }
.aspi__main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.aspi__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aspi__thumbs > div { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.aspi__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.aspi__media > div:hover img, .aspi__thumbs > div:hover img { transform: scale(1.05); }
.aspi__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow);
}
.aspi .lead { font-size: 19px; color: var(--ink-2); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 34px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit > .ph { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(5, 66, 154, 0.08); color: var(--blue); display: grid; place-items: center; font-size: 24px; }
.section--soft .benefit > .ph { background: #fff; }
.benefit h3 { font-size: 17px; font-weight: 800; margin: 2px 0 4px; }
.benefit p { margin: 0; font-size: 15px; line-height: 1.55; }
.aspi .hero__ctas { align-items: center; gap: 24px; }

.hydro {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 18px 28px 18px 18px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.section--soft .hydro { background: #fff; }
.hydro__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.hydro__img img { width: 100%; height: 100%; object-fit: cover; }
.hydro .subtitle { margin-bottom: 6px; }
.hydro h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.hydro p { margin: 0; font-size: 16px; }
@media (max-width: 960px) {
  .aspi__grid { grid-template-columns: 1fr; }
  .hydro { grid-template-columns: 1fr; padding: 18px; }
}
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

.rare { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0 0; padding: 16px 20px; border-radius: var(--r); background: rgba(5, 66, 154, 0.07); border-left: 4px solid var(--blue); color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.section--soft .rare { background: #fff; }
.rare > .ph { flex: none; font-size: 26px; color: var(--blue); }
.rare b { color: var(--blue); }

/* ---------- Language switch, legal links, map consent ---------- */

.topbar .lang { display: inline-flex; gap: 2px; margin-left: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.topbar .lang a { padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.topbar .lang a[aria-current="true"] { background: #fff; color: var(--blue-900); }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a:hover { color: #fff; }
.map-consent { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; background: linear-gradient(135deg, #18202e, #0d1117); color: rgba(255, 255, 255, 0.78); }
.map-consent > .ph { font-size: 44px; color: #8fb4ff; }
.map-consent p { margin: 0; font-size: 14px; max-width: 30em; line-height: 1.55; }
.map-consent__link { font-size: 14px; color: #8fb4ff; text-decoration: underline; text-underline-offset: 3px; }
.form__foot small a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal pages ---------- */

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal dl { display: grid; grid-template-columns: 240px 1fr; gap: 10px 24px; margin: 0; padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); }
.legal dt { font-weight: 700; color: var(--ink-2); }
.legal dd { margin: 0; }
.legal .todo { background: #fff4c2; padding: 0 4px; border-radius: 4px; }
.legal .updated { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
@media (max-width: 480px) {
  .topbar { font-size: 13px; }
  .topbar a { white-space: nowrap; }
  .topbar .lang { padding-left: 10px; margin-left: 0; }
}
