/* =========================
   Nettoyages Speed - style.css
   ========================= */

:root {
  --bg: #f5f9fc;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --text: #152431;
  --muted: #5a6a78;
  --line: rgba(21, 36, 49, 0.08);

  --shadow: 0 18px 50px rgba(16, 37, 55, 0.12);
  --shadow-soft: 0 12px 30px rgba(16, 37, 55, 0.08);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: 1240px;

  --accent: #1aa8e1;
  --accent-strong: #0d79aa;
  --accent-soft: rgba(26, 168, 225, 0.1);

  --hero-overlay: linear-gradient(
    135deg,
    rgba(6, 18, 29, 0.64),
    rgba(8, 66, 102, 0.3)
  );
}

/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(26, 168, 225, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(13, 121, 170, 0.08), transparent 20%),
    var(--bg);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 1rem;
}

/* =========================
   Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  isolation: isolate;
  backdrop-filter: blur(16px);
  background: rgba(245, 249, 252, 0.88);
  border-bottom: 1px solid rgba(21, 36, 49, 0.06);
}

.header-inner {
  position: relative;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand-logo,
.brand-logo-dark,
.brand-logo-light {
  display: block;
  width: auto;
  height: 64px;
  transform-origin: left center;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.brand-logo-light {
  display: none;
}

.brand:hover .brand-logo,
.brand:hover .brand-logo-dark,
.brand:hover .brand-logo-light {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 18px rgba(19, 153, 213, 0.16));
}

/* Logo adaptatif */
.site-header.is-on-hero .brand-logo-dark {
  display: none;
}

.site-header.is-on-hero .brand-logo-light {
  display: block;
}

.site-header:not(.is-on-hero) .brand-logo-dark {
  display: block;
}

.site-header:not(.is-on-hero) .brand-logo-light {
  display: none;
}

/* =========================
   Navigation desktop
   ========================= */

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--muted);
  transition: 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(21, 36, 49, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
}

.nav-toggle span:nth-child(1) {
  top: 18px;
}

.nav-toggle span:nth-child(2) {
  top: 26px;
}

.nav-toggle span:nth-child(3) {
  top: 34px;
}

/* =========================
   Boutons
   ========================= */

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 30px rgba(13, 121, 170, 0.22);
}

.btn:hover,
.btn:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
}

.btn:hover,
.btn:focus-visible {
  color: #fff !important;
  filter: brightness(1.05);
}

.menu-cta {
  color: #fff !important;
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* =========================
   Hero
   ========================= */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 86px);
  overflow: clip;
  isolation: isolate;
  color: #fff;
  background:
    var(--hero-overlay),
    url("assets/hero-bg.jpg") center/cover fixed;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem 0 6rem;
}

.hero-logo {
  width: auto;
  height: 92px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b3edff;
  box-shadow: 0 0 0 6px rgba(179, 237, 255, 0.12);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 5vw, 5.15rem);
}

.hero p {
  max-width: 62ch;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.trust-item {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.trust-item span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.hero-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(4, 14, 20, 0.22);
}

.hero-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.55rem;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.hero-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  align-items: start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.hero-card li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: rgba(179, 237, 255, 0.2);
  color: #e8fbff;
  font-weight: 800;
}

/* =========================
   Sections générales
   ========================= */

section {
  position: relative;
  padding: 5.5rem 0;
}

.section-intro {
  display: grid;
  gap: 0.95rem;
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-label {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* =========================
   Bandeau
   ========================= */

.band {
  padding: 1.6rem 0;
}

.band-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.band-item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(21, 36, 49, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbfd);
}

.band-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.band-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* =========================
   Grilles / cartes
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.4rem;
  align-items: stretch;
}

.glass-card,
.metric-card,
.service-card,
.step-card,
.contact-card,
.contact-form,
.gallery-card,
.video-card {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.glass-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.signature {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--accent-soft);
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.35rem;
  border-radius: 22px;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.metric-card span {
  color: var(--muted);
  font-weight: 600;
}

.video-card {
  overflow: hidden;
  border-radius: 28px;
}

.video-card video {
  display: block;
  width: 100%;
  height: auto;
  background: #0b2330;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover,
.gallery-card:hover,
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent 78%);
  opacity: 0.85;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border: 1px solid rgba(13, 121, 170, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--accent-soft), rgba(255, 255, 255, 0.76));
  color: var(--accent-strong);
  font-size: 1.35rem;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.24rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 17, 24, 0.82),
    rgba(8, 17, 24, 0.12) 50%,
    transparent 72%
  );
}

.gallery-meta {
  position: absolute;
  inset: auto 1.1rem 1.1rem;
  z-index: 1;
  color: #fff;
}

.gallery-meta strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 1.08rem;
}

.gallery-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

/* =========================
   Parallax qualité
   ========================= */

.parallax-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 22, 30, 0.86), rgba(10, 47, 60, 0.74)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1800&q=80")
      center/cover fixed;
}

.parallax-section .section-label,
.parallax-section p,
.parallax-section .quality-list li,
.parallax-section .quality-intro {
  color: rgba(255, 255, 255, 0.86);
}

.parallax-section .section-label {
  color: #a9ecff;
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.quality-panel {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.quality-intro {
  margin: 0;
  font-size: 1.04rem;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quality-list li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.quality-list li::before {
  content: "•";
  color: #b3edff;
  font-size: 1.4rem;
  line-height: 1;
}

/* =========================
   Contact / formulaire
   ========================= */

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-card,
.contact-form {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
}

.contact-card h3,
.contact-form h3 {
  margin-bottom: 0.45rem;
  font-size: 1.4rem;
}

.contact-card p,
.contact-form p {
  margin-top: 0;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid rgba(21, 36, 49, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f6fafc);
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.94rem;
  font-weight: 700;
}

.required {
  color: #d63031;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(21, 36, 49, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition: 0.25s ease;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(13, 121, 170, 0.45);
  box-shadow: 0 0 0 5px rgba(26, 168, 225, 0.1);
  background: #fff;
}

.form-note,
.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-weight: 600;
}

.form-status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.form-status.is-error {
  display: block;
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cf-turnstile {
  margin-top: 0.25rem;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  padding: 1.6rem 0 2.5rem;
}

.footer-panel {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(21, 36, 49, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

.footer-panel strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================
   Reveal sécurisé
   ========================= */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   Lightbox
   ========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 11, 15, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 1080px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  border-radius: 24px;
  object-fit: contain;
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

/* =========================
   Pages légales
   ========================= */

.legal-hero {
  padding: 3rem 0 1rem;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.legal-card {
  padding: 2rem;
  border: 1px solid rgba(21, 36, 49, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  max-width: none;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

/* =========================
   Menu mobile iPhone fix
   ========================= */

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(10, 22, 30, 0.18);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .quality-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .band-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .nav {
    position: fixed;
    top: 92px;
    left: 1rem;
    right: 1rem;
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid rgba(21, 36, 49, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 60px rgba(16, 37, 55, 0.18);
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    position: relative;
    z-index: 10002;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: var(--accent-soft);
  }

  .menu-cta {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  /* Empêche le hero de passer devant le menu */
  .hero,
  .hero-grid,
  .hero .reveal,
  .eyebrow,
  .trust-list,
  .trust-item {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    background-attachment: scroll;
  }

  .trust-list,
  .services-grid,
  .gallery-grid,
  .steps-grid,
  .metrics,
  .quality-list,
  .band-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4.5rem 0;
  }

  .hero-grid {
    padding: 3.6rem 0 4.6rem;
  }

  .brand-logo,
  .brand-logo-dark,
  .brand-logo-light {
    height: 54px;
  }

  .hero-logo {
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero,
  .parallax-section {
    background-attachment: scroll !important;
  }
}
section[id] {
  scroll-margin-top: 80px;
}

/* =========================
   Patch formulaire
   ========================= */

input.field-error,
select.field-error,
textarea.field-error {
  border-color: rgba(220, 38, 38, 0.8) !important;
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.12) !important;
}
