/* ==============================================
   Voltnat — Design system stylesheet
   Mobile-first. Breakpoints: 768px, 1024px.
   ============================================== */

/* ==== Tokens ==== */
:root {
  --brand-dark: #0B3D2E;
  --brand: #14563F;
  --primary: #1B8A5A;
  --primary-dark: #136B45;
  --brand-light: #E9F5EF;
  --accent: #FFC229;
  --accent-dark: #E5A900;
  --text: #1E2B25;
  --text-muted: #5A6B63;
  --bg: #FFFFFF;
  --bg-alt: #F3F8F5;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(11, 61, 46, .08);
  --shadow-lg: 0 18px 40px -18px rgba(11, 61, 46, .28);
  --wa: #25D366;
  --wa-dark: #1DA851;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Anton", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ==== Fonts (self-hosted, SIL OFL — Poppins latin subset) ==== */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

/* Anton — SIL OFL, self-hosted (latin subset, covers French accented chars) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-400.woff2") format("woff2");
}

/* ==== Reset ==== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--brand); line-height: 1.25; font-weight: 600; }
a { color: var(--primary-dark); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

/* ==== Display headings (Anton, editorial treatment) ==== */
h1,
.section h2,
.section-head h2,
.cta-band h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--brand);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); margin: 0 0 1rem; }
.section h2,
.section-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); }

/* ==== Eyebrow label ==== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0 0 .9rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow-light { color: var(--accent); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ==== Motion guard ==== */
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==== Buttons ==== */
.btn { display: inline-block; padding: .8rem 1.75rem; border-radius: 999px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: var(--font); transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--brand); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(229, 169, 0, .65); }
.btn-primary { background: var(--primary-dark); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(11, 61, 46, .5); }
.btn-outline { border: 2px solid var(--primary-dark); color: var(--primary-dark); background: transparent; padding: calc(.8rem - 2px) calc(1.75rem - 2px); }
.btn-outline:hover { background: var(--brand-light); }
.btn-outline-light { border: 2px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; padding: calc(.8rem - 2px) calc(1.75rem - 2px); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==== Utilities ==== */
.text-center { text-align: center; }

/* ==============================================
   Header / Navigation
   ============================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid rgba(11, 61, 46, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-block: .5rem;
}

.logo { display: inline-flex; align-items: center; }

.site-nav { display: flex; align-items: center; }

/* Burger toggle — visible under 768px */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before { position: absolute; top: -7px; left: 0; }
.nav-toggle-bar::after { position: absolute; top: 7px; left: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.nav-toggle:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }

/* Nav menu — mobile dropdown by default */
.nav-menu {
  list-style: none;
  margin: 0;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: .5rem 1.25rem 1.25rem;
}

.nav-menu[data-open] { display: flex; }

.nav-menu li { border-top: 1px solid var(--bg-alt); }
.nav-menu li:first-child { border-top: 0; }

.nav-menu a:not(.btn) {
  display: block;
  padding: .85rem 0;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s ease;
}

.nav-menu a:not(.btn):hover { color: var(--primary-dark); }
.nav-menu a[aria-current="page"] { color: var(--primary-dark); font-weight: 700; }

.nav-menu li:last-child { padding-block: .85rem; }
.nav-menu .btn { width: 100%; text-align: center; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-menu li { border-top: 0; }
  .nav-menu li:last-child { padding-block: 0; }

  .nav-menu a:not(.btn) { padding: .5rem 0; }
  .nav-menu a[aria-current="page"] { position: relative; }
  .nav-menu a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
  }

  .nav-menu .btn { width: auto; }
}

/* ==============================================
   Hero — editorial split
   Photo: "Black electric pylon under orange clouds during
   daytime" by thejohnnyme on Unsplash (Unsplash License,
   free commercial use — no attribution required).
   https://unsplash.com/photos/black-electric-pylon-under-orange-clouds-during-daytime-Z_dnvde5wxc
   ============================================== */
.hero {
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--bg) 55%);
  overflow: hidden;
}

.hero-inner {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 15ch;
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.hero-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand-light);
  border: 1px solid #CFE6DB;
  color: var(--brand);
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

/* Soft amber glow behind the portrait */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  background: radial-gradient(closest-side, rgba(255, 194, 41, .3), transparent 72%);
  z-index: -1;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 35% 50%; /* keep the technician (left of frame) in the portrait crop */
  border-radius: 200px 24px 200px 24px;
  box-shadow: 0 24px 48px -12px rgba(11, 61, 46, .35);
}

.hero-media-badge {
  position: absolute;
  bottom: clamp(-1rem, -2vw, 1rem);
  left: clamp(-1rem, -2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.5rem, 8vw, 6rem);
  height: clamp(4.5rem, 8vw, 6rem);
  background: var(--accent);
  color: var(--brand-dark);
  border-radius: 50%;
  box-shadow: 0 12px 24px -6px rgba(11, 61, 46, .4);
  z-index: 1;
}

.hero-media-badge .icon { width: 2.1rem; height: 2.1rem; }

/* Hero bottom info strip — full-bleed dark band under the hero */
.hero-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 2rem;
  margin: 0;
  padding: 1.1rem 1.5rem;
  background: var(--brand-dark);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-strip li {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  font-weight: 600;
}

.hero-strip li .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .hero-strip li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, .25);
  }
}

/* ==============================================
   Editorial page header (inner pages)
   ============================================== */
.page-header {
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--bg) 100%);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}

.page-header .eyebrow { margin-bottom: 1rem; }

.page-header h1 {
  margin: 0;
  max-width: 20ch;
}

.page-header p {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 60ch;
}

/* ==============================================
   Sections
   ============================================== */
.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section-alt { background: var(--bg-alt); }
section[id], #lead-form { scroll-margin-top: 5rem; }

.section-head {
  max-width: 62ch;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin: 0 0 .75rem; }

.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ==============================================
   Cards
   ============================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg);
  border: 1px solid #DCEAE2;
  border-radius: var(--radius);
  box-shadow: none;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #C6DFD1;
  box-shadow: var(--shadow-lg);
}

.card-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin: 0 0 .75rem;
}

.card .icon-circle {
  margin: 0 0 1rem;
}

.card h3 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: gap .15s ease;
}

.card-link::after {
  content: "\2192";
  transition: transform .15s ease;
}

.card-link:hover { gap: .6rem; }
.card-link:hover::after { transform: translateX(2px); }

/* ==============================================
   Services list — interactive numbered rows
   No-JS fallback: every row's text + link is always in the DOM and
   visible; JS only adds the expand/collapse behaviour via [data-open].
   ============================================== */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #DCEAE2;
}

.service-row { border-bottom: 1px solid #DCEAE2; }

.service-row-toggle {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  color: var(--text-muted);
  transition: color .18s ease;
}

.service-row-toggle:hover,
.service-row-toggle:focus-visible { color: var(--brand); }

.service-row-toggle:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 4px;
}

.service-row-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #4A7A63;
  flex-shrink: 0;
  transition: color .18s ease;
}

.service-row-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: .01em;
  flex: 1;
}

.service-row-arrow {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-dark);
  transition: transform .25s ease;
}

.service-row-toggle[aria-expanded="true"] { color: var(--brand); }
.service-row-toggle[aria-expanded="true"] .service-row-num { color: var(--primary-dark); }

.service-row-panel {
  overflow: hidden;
  max-height: 40rem;
  transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}

.service-row-panel p {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 .75rem;
}

/* JS-enhanced collapse: only applied once .js is present on <html>,
   so content stays visible without JavaScript. */
.js .service-row-panel[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.js .service-row-panel {
  padding-bottom: clamp(1.1rem, 2.5vw, 1.6rem);
}

.service-row-toggle[aria-expanded="true"] .service-row-arrow { transform: rotate(90deg); }

/* ==============================================
   Steps — full-width numbered bands (editorial "working process")
   Ramp: light mint -> brand -> brand-dark, last band uses accent number.
   Used on index.html and a-propos.html (5 items, .step-band-01..05).
   ============================================== */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.step-band {
  counter-increment: step;
  border-top: 1px solid rgba(11, 61, 46, .08);
}

.step-band:last-child { border-bottom: 1px solid rgba(11, 61, 46, .08); }

.step-band-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1;
  color: var(--accent);
  min-width: 3ch;
}

/* Standalone use (e.g. nos-services.html section number) on a light bg */
.step-num-light {
  display: block;
  color: var(--primary-dark);
  margin-bottom: .5rem;
}

.step-band h3 {
  margin: 0 0 .4rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.step-band p {
  margin: 0;
  max-width: 60ch;
  font-size: 1rem;
}

/* Ramp through the 5 bands: mint -> brand -> deep brand-dark */
.step-band-01 { background: var(--brand-light); color: var(--text); }
.step-band-01 h3 { color: var(--brand); }
.step-band-01 p { color: var(--text-muted); }
.step-band-01 .step-num { color: var(--primary-dark); }

.step-band-02 { background: #CDE7DA; color: var(--text); }
.step-band-02 h3 { color: var(--brand-dark); }
.step-band-02 p { color: var(--text); }
.step-band-02 .step-num { color: var(--primary-dark); }

.step-band-03 { background: var(--primary-dark); color: #fff; }
.step-band-03 h3 { color: #fff; }
.step-band-03 p { color: rgba(255, 255, 255, .82); }
.step-band-03 .step-num { color: rgba(255, 255, 255, .7); }

.step-band-04 { background: var(--brand); color: #fff; }
.step-band-04 h3 { color: #fff; }
.step-band-04 p { color: rgba(255, 255, 255, .82); }
.step-band-04 .step-num { color: rgba(255, 255, 255, .65); }

.step-band-05 { background: var(--brand-dark); color: #fff; }
.step-band-05 h3 { color: #fff; }
.step-band-05 p { color: rgba(255, 255, 255, .82); }
.step-band-05 .step-num { color: var(--accent); }

@media (min-width: 640px) {
  .step-band-inner { grid-template-columns: 6rem 1fr; }
}

/* ==============================================
   Two-column list
   ============================================== */
.list-cols {
  list-style: none;
  columns: 1;
  column-gap: 2.5rem;
}

.list-cols li {
  break-inside: avoid;
  display: flex;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--bg-alt);
}

.list-cols li::before {
  content: "\2713";
  color: var(--primary-dark);
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .list-cols { columns: 2; }
}

/* ==============================================
   Icons (inline SVG, Tabler-outline style, MIT)
   ============================================== */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon-sm { width: 1.15rem; height: 1.15rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.icon-circle .icon { width: 1.5rem; height: 1.5rem; }

/* ==============================================
   Icon tile grid ("Nos domaines d'intervention")
   ============================================== */
.tile-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: .75rem;
  background: var(--bg);
  border: 1px solid #DCEAE2;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: #C6DFD1;
  box-shadow: var(--shadow-lg);
}

.tile .icon-circle { width: 3.25rem; height: 3.25rem; }
.tile .icon-circle .icon { width: 1.6rem; height: 1.6rem; }

.tile span {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

/* ==============================================
   Callout
   ============================================== */
.callout {
  background: var(--brand-light);
  border-left: 4px solid var(--primary-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout p:last-child { margin-bottom: 0; }

/* ==============================================
   CTA band — dramatic dark band with darkened photo underlay
   ============================================== */
.cta-band {
  position: relative;
  background:
    linear-gradient(100deg, rgba(6, 26, 19, .94) 0%, rgba(7, 40, 29, .92) 60%, rgba(7, 40, 29, .88) 100%),
    url("../img/hero.webp") center 30%/cover no-repeat,
    var(--brand-dark);
  color: #fff;
  text-align: center;
  padding-block: clamp(3.5rem, 9vw, 6rem);
}

.cta-band .eyebrow { justify-content: center; color: var(--accent); }

.cta-band h2 {
  color: #fff;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, .82);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ==============================================
   Forms
   ============================================== */
.form-card {
  background: var(--bg);
  border: 1px solid #DCEAE2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

label {
  display: block;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1rem;
}

.form-grid label,
form > label {
  margin-bottom: 0;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .7rem;
  border: 1px solid #C9D9D0;
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea { resize: vertical; min-height: 8rem; }

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 1px;
  border-color: var(--primary-dark);
}

.field-invalid {
  border-color: #D9342B;
  background: #FDEEEE;
}

.form-errors {
  color: #B3241B;
  background: #FDEEEE;
  border: 1px solid #F3B8B4;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-errors[hidden] { display: none; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 400;
  font-size: .9rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.consent input[type="checkbox"] {
  width: auto;
  margin-top: .2rem;
  flex-shrink: 0;
  accent-color: var(--primary-dark);
}

form .btn { margin-top: .5rem; }

.form-note { color: var(--text-muted); font-size: .9rem; }

/* ==============================================
   Contact methods — email / téléphone / WhatsApp cards
   ============================================== */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-methods { grid-template-columns: repeat(3, 1fr); }
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--bg);
  border: 1px solid #DCEAE2;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.75rem);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: #C6DFD1;
  box-shadow: var(--shadow-lg);
}

.contact-method .icon-circle { margin-bottom: .85rem; }

.contact-method h3 { margin: 0 0 .25rem; font-size: 1.05rem; }

.contact-method a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.contact-method a:hover { text-decoration: underline; }

.contact-method p {
  margin: .35rem 0 0;
  color: var(--text-muted);
  font-size: .9rem;
}

.contact-method-wa .icon-circle { background: #E7F9EE; color: var(--wa-dark); }

/* ==============================================
   WhatsApp floating button
   ============================================== */
.whatsapp-fab {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 74, .5);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.whatsapp-fab:hover {
  background: var(--wa-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px -8px rgba(18, 140, 74, .55);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.whatsapp-fab .icon {
  width: 1.9rem;
  height: 1.9rem;
}

/* Pulse ring — inert under prefers-reduced-motion via the global guard */
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==============================================
   Footer — editorial dark band with large wordmark
   ============================================== */
.site-footer {
  background: #07281D;
  color: rgba(255, 255, 255, .75);
  border-top: 3px solid var(--accent);
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
}

.footer-wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: .01em;
  margin: 0 0 1rem;
}

.footer-wordmark .dot { color: var(--accent); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

.footer-disclaimer {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  max-width: 48ch;
}

.footer-contact {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color .15s ease;
}

.footer-contact a:hover { color: #fff; }

.footer-contact .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.site-footer nav a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.25rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
}

.footer-bottom p { margin: 0; }

/* ==============================================
   Scroll reveal
   Default state: fully visible (no JS / reduced-motion = no hiding).
   JS adds .js to <html> and [data-reveal] to targets; IntersectionObserver
   then adds .is-visible when the element scrolls into view.
   ============================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
