/* ============================================================
   LP Electricité — design system v1
   HTML/CSS/JS vanilla, pas de framework
   ============================================================ */

/* ---------- Reset minimal + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* Skip link (accessibilité WCAG) */
.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ---------- Tokens ---------- */
:root {
  /* Couleurs */
  --paper: #fafaf7;          /* fond principal, off-white chaud */
  --paper-alt: #f3f1ea;      /* sections alternées */
  --paper-dark: #e8e4d9;     /* hover, séparateurs denses */
  --ink: #1a1f2e;            /* encre principale, contraste AAA sur paper */
  --ink-soft: #2d3547;
  --muted: #5a6578;          /* texte secondaire */
  --line: #e5e1d8;           /* bordures, séparateurs */
  --gold: #c9a961;           /* accent cuivre/laiton — USP électricité + Château */
  --gold-dark: #a08342;      /* hover gold */
  --gold-soft: #fef7e6;      /* fond highlight */
  --red: #b91c1c;            /* CTA urgence uniquement */
  --red-soft: #fef2f2;
  --green: #166534;
  --green-soft: #f0fdf4;

  /* Typo */
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  /* Espacements */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Rayons */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  /* Ombres sobres */
  --shadow-sm: 0 1px 2px rgba(26, 31, 46, 0.06);
  --shadow: 0 4px 14px rgba(26, 31, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 31, 46, 0.12);

  /* Largeurs */
  --w-narrow: 720px;
  --w: 1100px;
  --w-wide: 1320px;

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

/* ---------- Typo globale ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 var(--space-4);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 500; margin-top: var(--space-8); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 500; margin-top: var(--space-6); }
h4 { font-size: 1.1rem; font-weight: 600; margin-top: var(--space-5); }

p { margin: 0 0 var(--space-4); }
strong { font-weight: 600; color: var(--ink); }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--gold-dark); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol { padding-left: 22px; margin: var(--space-3) 0 var(--space-5); }
li { margin-bottom: var(--space-2); }

/* ---------- Classes éditoriales ---------- */

.h-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
  font-family: var(--font-sans);
}

.italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.prose {
  max-width: 65ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose p { margin-bottom: var(--space-5); }

.lead {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: var(--space-6);
  max-width: 32ch;
}

.muted { color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Conteneurs ---------- */

.container-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--space-5); }
.container { max-width: var(--w); margin: 0 auto; padding: 0 var(--space-5); }
.container-wide { max-width: var(--w-wide); margin: 0 auto; padding: 0 var(--space-5); }

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

section { padding: var(--space-9) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .h-eyebrow { color: var(--gold); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
}
.site-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo .logo-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.site-logo .logo-sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: var(--space-5); }
.site-nav ul { display: flex; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--gold-dark);
}

.btn-tel-header {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: background var(--t-fast);
}
.btn-tel-header:hover { background: var(--gold-dark); color: var(--paper); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  width: 44px;
  height: 44px;
  color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--t-fast);
  line-height: 1.2;
  min-height: 48px;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-urgent {
  background: var(--red);
  color: white;
  border-color: var(--red);
  font-size: 1.1rem;
  padding: var(--space-4) var(--space-6);
  min-height: 56px;
}
.btn-urgent:hover { background: #991b1b; border-color: #991b1b; color: white; }

.btn-lg { padding: var(--space-4) var(--space-6); font-size: 1.1rem; min-height: 56px; }

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

.hero {
  padding: var(--space-9) 0 var(--space-10);
  position: relative;
}
.hero .h-eyebrow { margin-bottom: var(--space-4); }
.hero h1 {
  max-width: 18ch;
  margin-bottom: var(--space-6);
}
.hero h1 .italic-serif { color: var(--gold-dark); }
.hero .lead { max-width: 36ch; margin-bottom: var(--space-7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-dark);
}
.hero-image img, .hero-image picture, .hero-image picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Grilles de métiers ---------- */

.metiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 var(--space-3); }
.card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.card-footer {
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.card-footer::after { content: "→"; transition: transform var(--t-fast); }
.card:hover .card-footer::after { transform: translateX(4px); }
.card-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}
.card-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Feature editorial (Château d'Anet) ---------- */

.feature-editorial {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-editorial .feature-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.feature-editorial .feature-image img,
.feature-editorial .feature-image picture img {
  width: 100%; height: 100%; object-fit: cover;
}
.feature-editorial .feature-content { padding: var(--space-7); }
.feature-editorial .h-eyebrow { color: var(--gold); }
.feature-editorial h2 { color: var(--paper); max-width: 15ch; }
.feature-editorial .italic-serif { color: var(--gold); }
.feature-editorial p { color: rgba(250, 250, 247, 0.85); }
.feature-editorial a.link-more {
  color: var(--gold);
  text-decoration-color: var(--gold);
  font-weight: 600;
}

/* ---------- Stats grid ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-5);
  margin: var(--space-7) 0;
}
.stat {
  text-align: center;
  padding: var(--space-5);
}
.stat .stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ---------- Reassurance bar (bandeau global répété) ---------- */

.reassurance-bar {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-5) 0;
}
.reassurance-bar-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-7);
  justify-content: center;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.reassurance-bar strong { color: var(--ink); font-weight: 600; }
.reassurance-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.reassurance-bar-item svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; }

/* ---------- Tableaux tarifs ---------- */

.table-wrap { overflow-x: auto; margin: var(--space-5) 0; }

table.pricing {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.96rem;
}
table.pricing th, table.pricing td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.pricing th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
table.pricing td.price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: right;
  white-space: nowrap;
}
table.pricing tr:last-child td { border-bottom: none; }
table.pricing tr:nth-child(even) td { background: var(--paper-alt); }
table.pricing tr:nth-child(even) td.price { background: var(--paper-alt); }

/* ---------- Formulaire ---------- */

.form {
  display: grid;
  gap: var(--space-4);
  background: var(--paper);
  padding: var(--space-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form-field { display: flex; flex-direction: column; gap: var(--space-2); }

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}
.form-field label .required { color: var(--red); margin-left: 2px; }
.form-field .hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  font: inherit;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
}
.form textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.form-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-actions { margin-top: var(--space-3); }

.form-success {
  display: none;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
}
.form-success.visible { display: block; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: flex-start;
}
.contact-info { padding: var(--space-5) 0; }
.contact-info h3 { margin-top: 0; }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); margin: var(--space-4) 0; }
.contact-info dt { font-weight: 600; color: var(--muted); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }
.contact-info dd { margin: 0; }
.contact-info a { font-weight: 500; }

.map-box {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-dark);
  border: 1px solid var(--line);
  margin-top: var(--space-5);
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}
.zone-tag {
  background: var(--paper-alt);
  padding: var(--space-2) var(--space-3);
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ---------- Galerie (Château d'Anet) ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--paper-dark);
}
.gallery-item img, .gallery-item picture, .gallery-item picture img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,31,46,0.85), transparent);
  color: var(--paper);
  padding: var(--space-5) var(--space-4) var(--space-3);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 46, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--paper);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--ink);
}

/* ---------- Partenaires ---------- */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
  margin: var(--space-6) 0;
}
.partner-logo {
  max-height: 60px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity var(--t), filter var(--t);
}
.partner-logo:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Testimonial ---------- */

.testimonial {
  max-width: var(--w-narrow);
  margin: 0 auto;
  text-align: center;
  padding: var(--space-7) var(--space-5);
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 var(--space-5);
  quotes: "«" "»";
}
.testimonial blockquote::before { content: open-quote; color: var(--gold); margin-right: 6px; }
.testimonial blockquote::after { content: close-quote; color: var(--gold); margin-left: 6px; }
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Reveal animation (IntersectionObserver) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

.site-footer {
  background: var(--ink);
  color: rgba(250, 250, 247, 0.8);
  padding: var(--space-8) 0 var(--space-5);
  font-size: 0.92rem;
}
.site-footer-grid {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-7);
}
.site-footer h4 {
  color: var(--paper);
  margin: 0 0 var(--space-3);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a { color: rgba(250, 250, 247, 0.7); text-decoration: none; transition: color var(--t-fast); }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-brand { max-width: 320px; }
.site-footer .footer-brand .logo-name { color: var(--paper); font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.site-footer .footer-brand p { margin-top: var(--space-3); font-size: 0.88rem; line-height: 1.6; }

.site-footer-bottom {
  max-width: var(--w-wide);
  margin: var(--space-7) auto 0;
  padding: var(--space-4) var(--space-5) 0;
  border-top: 1px solid rgba(250, 250, 247, 0.15);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.5);
  flex-wrap: wrap;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  padding: var(--space-4) 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: var(--space-2); color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--space-8); }
.mb-lg { margin-bottom: var(--space-8); }

.section-header { max-width: var(--w-narrow); margin: 0 auto var(--space-7); text-align: center; }
.section-header h2 { margin-top: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-image { aspect-ratio: 16 / 10; max-width: 500px; margin: 0 auto; }
  .feature-editorial { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: var(--space-7) 0; }
  h2 { margin-top: var(--space-6); }

  .site-nav {
    position: fixed;
    top: 0; right: -100%;
    background: var(--paper);
    width: 85%;
    max-width: 340px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-8) var(--space-6);
    transition: right 0.3s ease;
    border-left: 1px solid var(--line);
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    z-index: 60;
    gap: var(--space-4);
  }
  .site-nav.open { right: 0; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav a { padding: var(--space-3) 0; font-size: 1.05rem; display: block; border-bottom: none; }
  .site-nav .btn-tel-header { width: 100%; justify-content: center; margin-top: var(--space-3); }
  .site-header .btn-tel-header:not(.mobile-only) { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; z-index: 61; position: relative; }

  .form-row { grid-template-columns: 1fr; }
  .form { padding: var(--space-5); }

  .site-footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero { padding: var(--space-7) 0 var(--space-8); }

  .sticky-cta-mobile {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: var(--space-3) var(--space-4);
    display: flex;
    gap: var(--space-2);
    z-index: 40;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .sticky-cta-mobile .btn { flex: 1; min-height: 44px; padding: var(--space-3); font-size: 0.95rem; }
  body.has-sticky-cta { padding-bottom: 80px; }
}

@media (min-width: 641px) {
  .sticky-cta-mobile { display: none; }
  .mobile-only { display: none; }
}

/* Scroll lock when mobile nav open */
body.nav-open { overflow: hidden; }
body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 46, 0.5);
  z-index: 55;
}

/* Print */
@media print {
  .site-header, .site-footer, .sticky-cta-mobile, .form, .btn { display: none; }
  body { background: white; color: black; }
}
