/* =====================================================================
   LA COMPAGNIE D'ASSAINISSEMENT — Design System
   Direction : Pétrole / Teal industriel + Graphite ardoise + Jaune sécurité
   Typo : Archivo (display) / IBM Plex Sans (body)
   100% vanilla, mobile-first, AA
   ===================================================================== */

/* ----------------------------- TOKENS ----------------------------- */
:root {
  /* Couleurs — Pétrole / Teal industriel */
  --teal-900: #063638;
  --teal-800: #0A4849;
  --teal-700: #0E5A5B;   /* couleur signature */
  --teal-600: #156E6F;
  --teal-500: #1F8788;
  --teal-400: #3FA6A6;
  --teal-200: #BFE2E2;
  --teal-100: #E3F1F1;

  /* Graphite ardoise */
  --slate-900: #0F1722;
  --slate-800: #1E293B;  /* graphite signature */
  --slate-700: #2E3B4E;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --slate-200: #D8DEE7;

  /* Neutres / blanc cassé */
  --paper: #F6F7F4;       /* blanc cassé */
  --paper-2: #ECEEE8;
  --white: #FFFFFF;

  /* Accent jaune sécurité */
  --safety: #F2C200;
  --safety-dark: #C99E00;
  --safety-soft: #FBEFB5;

  /* Sémantique */
  --bg: var(--paper);
  --bg-alt: var(--paper-2);
  --surface: var(--white);
  --ink: var(--slate-800);
  --ink-soft: var(--slate-600);
  --ink-invert: #EAF3F2;
  --brand: var(--teal-700);
  --brand-strong: var(--teal-800);
  --line: #DEE2DB;
  --line-strong: #C7CCC3;

  /* Typo */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  /* Échelle typo fluide */
  --fs-xs: clamp(0.74rem, 0.72rem + 0.1vw, 0.8rem);
  --fs-sm: clamp(0.84rem, 0.81rem + 0.16vw, 0.94rem);
  --fs-base: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
  --fs-md: clamp(1.1rem, 1.02rem + 0.4vw, 1.28rem);
  --fs-lg: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
  --fs-3xl: clamp(2.5rem, 1.8rem + 3.4vw, 4.2rem);

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(15, 23, 34, 0.08);
  --sh-md: 0 6px 18px rgba(15, 23, 34, 0.1);
  --sh-lg: 0 18px 48px rgba(6, 54, 56, 0.18);
  --sh-inset: inset 0 0 0 1px var(--line);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t: 0.25s ease;
  --t-slow: 0.4s ease;

  /* Layout */
  --maxw: 1200px;
  --header-h: 72px;
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--slate-800); font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--safety); outline-offset: 2px; border-radius: var(--r-sm); }

/* ----------------------------- LAYOUT ----------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--slate-900); color: var(--ink-invert); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--brand { background: var(--teal-800); color: var(--ink-invert); }
.section--brand h2, .section--brand h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Étiquette technique numérotée */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--safety); display: inline-block;
}
.section--dark .eyebrow, .section--brand .eyebrow { color: var(--safety); }

h2.section-title { font-size: var(--fs-2xl); }
h3.section-title { font-size: var(--fs-xl); }
.lead { font-size: var(--fs-md); color: var(--ink-soft); margin-top: var(--sp-3); }
.section--dark .lead, .section--brand .lead { color: rgba(234, 243, 242, 0.82); }

/* ----------------------------- GRIDS ----------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 920px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------- BUTTONS ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.01em; line-height: 1; text-align: center;
  padding: 0.95em 1.5em; border-radius: var(--r-md); border: 2px solid transparent;
  transition: transform var(--t-fast), background var(--t), color var(--t), box-shadow var(--t);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--sh-md); }
.btn-primary:hover { background: var(--brand-strong); color: var(--white); }

.btn-call { background: var(--safety); color: var(--slate-900); box-shadow: var(--sh-md); }
.btn-call:hover { background: var(--safety-dark); color: var(--slate-900); }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--white); border-color: var(--brand); color: var(--brand-strong); }

.section--dark .btn-ghost, .section--brand .btn-ghost {
  color: var(--white); border-color: rgba(255,255,255,0.4);
}
.section--dark .btn-ghost:hover, .section--brand .btn-ghost:hover {
  background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white);
}
.btn-lg { padding: 1.1em 1.9em; font-size: var(--fs-base); }
.btn-block { width: 100%; }

/* ----------------------------- HEADER / NAV ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h); padding-block: var(--sp-2);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--slate-800); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); font-weight: 600; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: var(--sp-1); }
.nav a {
  display: block; padding: 0.5em 0.7em; font-weight: 600; font-size: var(--fs-sm);
  color: var(--slate-700); border-radius: var(--r-sm); transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--brand); background: var(--teal-100); }
.nav a.active { color: var(--brand-strong); }
.nav a.active { box-shadow: inset 0 -3px 0 var(--safety); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--white); color: var(--slate-800);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--slate-900); color: var(--ink-invert);
  transform: translateX(100%); transition: transform var(--t);
  display: flex; flex-direction: column; padding: var(--sp-5);
  overflow-y: auto; visibility: hidden;
}
.mobile-nav[data-open="true"] { transform: translateX(0); visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  display: block; padding: 0.85em 0.6em; font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md); color: var(--ink-invert); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a.active { color: var(--safety); }
.mobile-nav .btn { margin-top: var(--sp-5); }

@media (min-width: 1040px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ----------------------------- HERO ----------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31,135,136,0.28), transparent 60%),
    linear-gradient(160deg, var(--slate-900) 0%, var(--teal-900) 60%, var(--teal-800) 100%);
  color: var(--ink-invert);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, black, transparent 80%);
}
.hero-grid { position: relative; display: grid; gap: var(--sp-6); padding-block: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.hero h1 { color: var(--white); font-size: var(--fs-3xl); font-weight: 800; }
.hero h1 .hl { color: var(--safety); }
.hero-sub { font-size: var(--fs-md); color: rgba(234,243,242,0.86); margin-top: var(--sp-4); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-6); }
.hero-meta li { display: flex; align-items: center; gap: var(--sp-2); font-weight: 600; font-size: var(--fs-sm); color: var(--white); }
.hero-meta svg { width: 20px; height: 20px; color: var(--safety); flex: none; }

/* Carte technique de droite dans le hero */
.hero-panel {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg); padding: var(--sp-5); backdrop-filter: blur(6px);
}
.hero-panel-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.hero-panel-head svg { width: 40px; height: 40px; color: var(--safety); }
.hero-panel h2 { color: var(--white); font-size: var(--fs-lg); }
.hero-panel-list li {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0;
  border-top: 1px solid rgba(255,255,255,0.1); color: rgba(234,243,242,0.9); font-size: var(--fs-sm);
}
.hero-panel-list svg { width: 20px; height: 20px; color: var(--safety); flex: none; }

/* ----------------------------- REASSURANCE BAND ----------------------------- */
.reassure {
  background: var(--slate-800); color: var(--ink-invert);
  border-block: 4px solid var(--safety);
}
.reassure .grid { gap: var(--sp-4); padding-block: var(--sp-5); }
.reassure-item { display: flex; align-items: center; gap: var(--sp-3); }
.reassure-item svg { width: 34px; height: 34px; color: var(--safety); flex: none; }
.reassure-item strong { display: block; font-family: var(--font-display); font-size: var(--fs-base); color: var(--white); }
.reassure-item span { font-size: var(--fs-xs); color: rgba(234,243,242,0.7); }

/* ----------------------------- CARDS ----------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--teal-200); }

.card-service { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.card-service::after {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: var(--brand); transition: background var(--t);
}
.card-service:hover::after { background: var(--safety); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-100); color: var(--brand); margin-bottom: var(--sp-4);
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.card p { color: var(--ink-soft); font-size: var(--fs-sm); }
.card-link {
  margin-top: auto; padding-top: var(--sp-4); font-family: var(--font-display);
  font-weight: 700; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: var(--sp-2);
}
.card-link svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.card-service:hover .card-link svg { transform: translateX(4px); }

/* Carte feature (numéro index) */
.card-feature { position: relative; }
.card-feature .feat-no {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg);
  color: var(--teal-200); position: absolute; top: var(--sp-4); right: var(--sp-5);
}

/* ----------------------------- ADVANTAGES LIST ----------------------------- */
.checklist { display: grid; gap: var(--sp-3); }
.checklist li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-base); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.section--dark .checklist svg, .section--brand .checklist svg { color: var(--safety); }

/* ----------------------------- TARIF TABLE ----------------------------- */
.tarif-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); font-size: var(--fs-sm);
}
.tarif-table caption { caption-side: bottom; padding-top: var(--sp-3); font-size: var(--fs-xs); color: var(--ink-soft); text-align: left; }
.tarif-table thead th {
  background: var(--slate-800); color: var(--white); font-family: var(--font-display);
  font-weight: 700; text-align: left; padding: var(--sp-4); font-size: var(--fs-sm);
}
.tarif-table th[scope="row"] { font-weight: 600; color: var(--slate-800); }
.tarif-table td, .tarif-table th { padding: var(--sp-4); border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.tarif-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.tarif-table .price { font-family: var(--font-display); font-weight: 700; color: var(--brand); white-space: nowrap; }

/* ----------------------------- STEPS / PROCESS ----------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-5); padding-top: var(--sp-7);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: var(--sp-4); left: var(--sp-5);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); color: var(--safety-dark);
}
.step::after {
  content: ""; position: absolute; top: var(--sp-5); right: var(--sp-5);
  width: 34px; height: 4px; background: var(--brand); border-radius: var(--r-pill);
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { color: var(--ink-soft); font-size: var(--fs-sm); }
.section--dark .step, .section--brand .step { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section--dark .step p, .section--brand .step p { color: rgba(234,243,242,0.78); }

/* ----------------------------- FAQ ----------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color var(--t);
}
.faq details[open] { border-color: var(--teal-400); box-shadow: var(--sh-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--slate-800);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--brand); transition: transform var(--t); flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-soft); font-size: var(--fs-sm); }

/* ----------------------------- BADGE / CHIP ----------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.4em 0.8em; border-radius: var(--r-sm); background: var(--safety-soft); color: var(--slate-800);
}
.badge--brand { background: var(--teal-100); color: var(--brand-strong); }
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.4em 0.9em; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: var(--fs-sm); font-weight: 600; color: var(--slate-700);
}
.chip svg { width: 16px; height: 16px; color: var(--brand); }

/* ----------------------------- CTA BAND ----------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  color: var(--white); border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--sh-lg);
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 28px solid rgba(242,194,0,0.16); border-radius: 50%; pointer-events: none;
}
.cta-band h2 { color: var(--white); font-size: var(--fs-2xl); position: relative; }
.cta-band p { color: rgba(255,255,255,0.88); margin-top: var(--sp-3); max-width: 56ch; position: relative; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); position: relative; }

/* ----------------------------- BREADCRUMB ----------------------------- */
.breadcrumb { padding-block: var(--sp-4); font-size: var(--fs-xs); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); color: var(--ink-soft); }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--slate-800); font-weight: 600; }

/* ----------------------------- STATS ----------------------------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--sp-4); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); color: var(--brand); line-height: 1; }
.section--dark .stat .num, .section--brand .stat .num { color: var(--safety); }
.stat .label { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--sp-2); }
.section--dark .stat .label, .section--brand .stat .label { color: rgba(234,243,242,0.78); }

/* ----------------------------- REVIEWS ----------------------------- */
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); box-shadow: var(--sh-sm);
}
.review-stars { display: flex; gap: 2px; color: var(--safety); }
.review-stars svg { width: 20px; height: 20px; }
.review p { color: var(--slate-700); font-size: var(--fs-sm); }
.review-author { margin-top: auto; display: flex; align-items: center; gap: var(--sp-3); }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--teal-100); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; flex: none;
}
.review-author cite { font-style: normal; font-weight: 600; color: var(--slate-800); font-size: var(--fs-sm); }
.review-author span { display: block; font-size: var(--fs-xs); color: var(--ink-soft); }

/* ----------------------------- FORM ----------------------------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--sp-2); }
.field label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--slate-800); }
.field .req { color: var(--safety-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-sm); color: var(--slate-800);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 0.8em 0.9em; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--teal-100);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: var(--fs-xs); color: var(--ink-soft); }

/* ----------------------------- ZONES GRID ----------------------------- */
.zones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
@media (min-width: 640px) { .zones-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .zones-grid { grid-template-columns: repeat(4, 1fr); } }
.zone-item {
  display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  font-weight: 600; font-size: var(--fs-sm); color: var(--slate-700); transition: border-color var(--t), color var(--t);
}
.zone-item:hover { border-color: var(--teal-400); color: var(--brand-strong); }
.zone-item svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.zone-item .dept { font-family: var(--font-display); font-weight: 800; color: var(--teal-400); }

/* ----------------------------- FOOTER ----------------------------- */
.site-footer { background: var(--slate-900); color: rgba(234,243,242,0.78); padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: var(--sp-3); font-size: var(--fs-sm); max-width: 38ch; }
.footer-col h3 { color: var(--white); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: var(--sp-2); }
.footer-col a { color: rgba(234,243,242,0.78); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--safety); }
.footer-contact li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.footer-contact svg { width: 18px; height: 18px; color: var(--safety); flex: none; margin-top: 3px; }
.footer-call { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--sp-7); padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(234,243,242,0.6);
}
.footer-bottom a { color: rgba(234,243,242,0.6); }
.footer-bottom a:hover { color: var(--safety); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ----------------------------- STICKY MOBILE CALL BAR ----------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--slate-900); border-top: 3px solid var(--safety);
  transform: translateY(110%); transition: transform var(--t);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
.callbar.is-visible { transform: translateY(0); }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 0.95em 0.5em; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
}
.callbar svg { width: 20px; height: 20px; flex: none; }
.callbar .cb-call { background: var(--safety); color: var(--slate-900); }
.callbar .cb-quote { color: var(--white); }
@media (min-width: 1040px) { .callbar { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 1039px) { body.has-callbar { padding-bottom: 64px; } }

/* ----------------------------- UTILITIES ----------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--sp-6); }
.split { display: grid; gap: var(--sp-6); }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--sh-sm);
}
