/* =========================================================
   SERRURIER ASSURANCE HABITATION — Design System Tricolore FR
   Direction : bleu France / rouge sobre / blanc — éditorial sobre
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..900&family=Geist+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Surfaces */
  --paper: #ffffff;
  --cream: #fbfbfd;
  --cream-2: #f4f6fb;

  /* Ink scale */
  --ink: #0a1228;
  --ink-2: #2b3447;
  --ink-3: #4b5566;
  --mute: #6b7589;

  /* Borders */
  --border: #e5e7ef;
  --border-2: #d6dae5;

  /* Brand : bleu France sobre */
  --brand: #0F2557;
  --brand-2: #1e3a8a;
  --brand-soft: #eaf0fb;
  --brand-ink: #06122d;

  /* Accent : rouge France sobre */
  --accent: #C8102E;
  --accent-2: #b40e28;
  --accent-soft: #fdecef;

  /* States */
  --success: #15803d;
  --success-soft: #e7f5ec;
  --warning: #b45309;
  --warning-soft: #fff4e0;
  --danger: #b91c1c;
  --danger-soft: #fde7e7;

  /* Type */
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'SF Mono', Menlo, monospace;

  /* Radii */
  --r-card: 16px;
  --r-button: 12px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(10,18,40,.04), 0 4px 14px rgba(10,18,40,.05);
  --shadow-card: 0 1px 2px rgba(10,18,40,.04), 0 12px 32px rgba(10,18,40,.07);
  --shadow-lift: 0 24px 64px rgba(15,37,87,.18);

  /* Layout */
  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 2rem);

  /* Aliases (rétrocompat avec ancien HTML) */
  --parchment: var(--cream);
  --parchment-dark: var(--cream-2);
  --ink-soft: var(--ink-2);
  --brass: var(--brand);
  --brass-light: var(--brand-2);
  --brass-glow: var(--brand-soft);
  --seal: var(--accent);
  --seal-dark: var(--accent-2);
  --ash: var(--mute);
  --ash-light: var(--border-2);
  --forest: var(--success);
  --line: var(--border);
  --line-strong: var(--border-2);
  --serif: var(--sans);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* Focus management — hide default outline on mouse, keep for keyboard */
a:focus, button:focus, summary:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}
.phone-block .number:focus-visible,
.cta-final .big-phone:focus-visible,
.float-call:focus-visible { outline-color: var(--accent); }

/* =============== TYPOGRAPHY =============== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; line-height: 1.25; }

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--brand);
}

p { color: var(--ink-3); }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; color: var(--ink-3); }

/* =============== LAYOUT =============== */
.shell { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); position: relative; }
section { position: relative; }

.section-number {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}

/* Tricolor bar — signature accent */
.tricolor-bar {
  display: flex;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
}
.tricolor-bar > i { flex: 1; display: block; }
.tricolor-bar > i:nth-child(1) { background: var(--brand); }
.tricolor-bar > i:nth-child(2) { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tricolor-bar > i:nth-child(3) { background: var(--accent); }

.rule { height: 1px; background: var(--border); margin: 0; border: 0; }

/* =============== HEADER =============== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}
.logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--brand);
  color: var(--paper);
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.logo small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 0.2rem;
  font-weight: 500;
}
.status {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}
.status .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.4;
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(1.8); opacity: 0; }
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--brand);
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-phone:hover { background: var(--accent); transform: translateY(-1px); }
.header-phone svg { width: 14px; height: 14px; flex-shrink: 0; }
.header-phone span.label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

@media (max-width: 760px) {
  .status { display: none; }
  .header-inner { grid-template-columns: 1fr auto; gap: 1rem; }
  .header-phone span.label { display: none; }
  .logo small { display: none; }
}

/* =============== HERO =============== */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(80% 60% at 8% 0%, rgba(15, 37, 87, 0.06), transparent 60%),
    radial-gradient(60% 50% at 100% 0%, rgba(200, 16, 46, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.hero h1 {
  margin-top: 1.25rem;
  max-width: 20ch;
}
.hero h1 .line { display: block; }
.hero h1 .indent { padding-left: 0; }

.hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: end;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.hero-meta .lead { max-width: 42ch; }
@media (max-width: 860px) { .hero-meta { grid-template-columns: 1fr; } }

/* Phone block — central, the conversion magnet */
.phone-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.phone-block .above {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.phone-block .above .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.5); }
  50% { opacity: 0.65; transform: scale(1.15); box-shadow: 0 0 0 6px rgba(200, 16, 46, 0); }
}
.phone-block .number {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s ease;
  font-variant-numeric: tabular-nums;
}
.phone-block .number:hover { color: var(--accent); }
.phone-block .below {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.phone-block .below strong { color: var(--brand); font-weight: 700; }

/* Trust strip — 4 stats */
.trust-strip {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-strip .item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.trust-strip .item .num {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.trust-strip .item .label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  font-weight: 500;
}
@media (max-width: 760px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* =============== TICKER =============== */
.ticker {
  background: var(--brand);
  color: var(--paper);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  gap: 2.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.ticker-track span { color: rgba(255, 255, 255, 0.92); }
.ticker-track .sep { color: rgba(255, 255, 255, 0.4); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =============== SECTION BASE =============== */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--border); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  align-items: end;
}
.section-head .left .eyebrow { font-size: 12px; }
.section-head h2 { max-width: 22ch; }
.section-head .right { max-width: 54ch; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* =============== PRO (Section 01) =============== */
.pro { background: var(--cream); }
.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pro-image {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 18, 40, 0.4));
  pointer-events: none;
}
.pro-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.pro-image .caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}
.pro-features {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.pro-features li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--ink-2);
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.pro-features li:last-child { border-bottom: 0; }
.pro-features li .key {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pro-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 1rem 1.6rem;
  background: var(--brand);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--r-button);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}
.pro-cta:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.pro-cta .num { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pro-grid { grid-template-columns: 1fr; } }

/* =============== WHY GRID =============== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.why-card {
  background: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.why-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.why-card .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 10px;
  margin-bottom: 0.4rem;
}
.why-card .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.why-card h3 { color: var(--ink); font-weight: 700; }
.why-card p { color: var(--ink-3); font-size: 0.96rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* =============== ASSURANCE (Section 04) =============== */
.assurance {
  background: var(--brand);
  color: var(--paper);
}
.assurance .section-head h2,
.assurance .section-head h2 em { color: var(--paper); }
.assurance .eyebrow,
.assurance .section-number { color: rgba(255, 255, 255, 0.9); }
.assurance .eyebrow::before { background: rgba(255, 255, 255, 0.9); }
.assurance .section-head .right p { color: rgba(255, 255, 255, 0.75); }
.assurance .section-head h2 em {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.assurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.assurance-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  backdrop-filter: blur(8px);
}
.assurance-card h3 { color: #fff; font-weight: 700; }
.assurance-card ul { list-style: none; margin: 1rem 0 0; }
.assurance-card li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.assurance-card li:last-child { border-bottom: 0; }
.assurance-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.assurance-note {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: rgba(200, 16, 46, 0.15);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-button) var(--r-button) 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}
.assurance-note strong { color: #fff; }
@media (max-width: 860px) { .assurance-grid { grid-template-columns: 1fr; } }

/* =============== INTERVENTIONS =============== */
.interventions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.intervention {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: var(--r-card);
}
.intervention:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
}
.intervention .index {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.intervention .icon {
  color: var(--brand);
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  background: var(--brand-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.intervention .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.intervention h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.intervention p { margin-top: 0.5rem; color: var(--ink-3); font-size: 0.95rem; }
@media (max-width: 860px) { .interventions-grid { grid-template-columns: 1fr; } }

/* =============== PRICING =============== */
.pricing { background: var(--cream); }
.pricing-menu {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.pricing-row:last-child { border-bottom: 0; }
.pricing-row .label { font-size: 0.98rem; color: var(--ink-2); position: relative; padding-right: 1rem; }
.pricing-row .label::after {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  right: 1rem;
  border-bottom: 1px dotted var(--border-2);
  z-index: 0;
}
.pricing-row .label span {
  background: var(--paper);
  position: relative;
  z-index: 1;
  padding-right: 0.5rem;
}
.pricing-row .price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--brand);
  white-space: nowrap;
  background: var(--paper);
  padding-left: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.pricing-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.pricing-note strong { color: var(--ink); }
.pricing-note ul { list-style: none; margin-top: 0.5rem; display: grid; gap: 0.3rem; }
.pricing-note li::before { content: "› "; color: var(--brand); font-weight: 700; }

/* =============== REVIEWS =============== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.review {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -1.1rem;
  left: 1rem;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--brand);
}
.review blockquote {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.review-author {
  margin-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.review-author cite { font-style: normal; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.review-author .loc {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mute);
  text-transform: uppercase;
  font-weight: 500;
}
.review-stars { color: var(--accent); letter-spacing: 0.08em; font-size: 0.85rem; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* =============== COVERAGE =============== */
.coverage {
  background: var(--brand);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  position: relative;
}
.coverage .eyebrow { color: rgba(255, 255, 255, 0.9); }
.coverage .eyebrow::before { background: rgba(255, 255, 255, 0.9); }
.coverage h2 { color: var(--paper); }
.coverage h2 em {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.coverage p { color: rgba(255, 255, 255, 0.78); }
.coverage .lead { color: rgba(255, 255, 255, 0.85); }

.coverage-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.coverage-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.coverage-cell:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.coverage-cell .city { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: #fff; }
.coverage-cell .dept {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 1100px) { .coverage-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }

.coverage-all {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--r-button);
  transition: background 0.2s ease, transform 0.2s ease;
}
.coverage-all:hover { background: var(--accent-2); transform: translateY(-1px); }

/* =============== FAQ =============== */
.faq-list { display: grid; gap: 0.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: var(--brand); box-shadow: var(--shadow-soft); }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-card); }
.faq-q {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  cursor: pointer;
  user-select: none;
}
.faq-q .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.faq-q h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink);
  line-height: 1.35;
}
.faq-q .toggle {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--brand);
  line-height: 1;
  width: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  margin-top: 0.85rem;
  padding-left: 4rem;
  max-width: 70ch;
  color: var(--ink-3);
  line-height: 1.65;
}
@media (max-width: 720px) { .faq-a { padding-left: 0; } }

/* =============== CTA FINAL =============== */
.cta-final {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(15, 37, 87, 0.4), transparent 60%),
    radial-gradient(ellipse at 80% 0%, rgba(200, 16, 46, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-final > .shell { position: relative; z-index: 1; }
.cta-final .eyebrow { color: var(--accent); display: inline-flex; }
.cta-final h2 { color: var(--paper); margin: 1.25rem 0; }
.cta-final h2 em {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}
.cta-final .big-phone {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--paper);
  letter-spacing: -0.025em;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  transition: color 0.2s ease;
  font-variant-numeric: tabular-nums;
}
.cta-final .big-phone:hover { color: var(--accent); }
.cta-final .sub {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1.25rem;
  font-weight: 500;
}

/* =============== INSURANCE LOGOS =============== */
.insurance {
  background: var(--cream);
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.insurance .label {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.insurance .label strong { color: var(--brand); font-weight: 700; }
.insurance-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.insurance-track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  padding: 0.5rem 0;
}
.insurance-track .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  min-width: 140px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-button);
  flex-shrink: 0;
  background: var(--paper);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.insurance-track .brand:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-soft);
}
.insurance-track .brand img {
  max-height: 36px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.2s ease;
}
.insurance-track .brand:hover img { filter: grayscale(0); }
.insurance-track .brand .brand-text {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
  line-height: 1;
}

/* =============== FOOTER =============== */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 1.75rem;
}
.footer a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s ease; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-brand .logo .mark { background: var(--accent); color: #fff; }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); margin-top: 0.85rem; font-size: 0.92rem; line-height: 1.65; }
.footer-brand .phone {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-top: 1.1rem;
  padding: 0.65rem 1rem;
  background: var(--brand);
  border-radius: var(--r-button);
  font-variant-numeric: tabular-nums;
}
.footer ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =============== FLOATING ACTION BUTTON (Call) =============== */
.fab-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(200, 16, 46, 0.42), 0 4px 12px rgba(10, 18, 40, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fab-call::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.6;
  animation: ringPulseLg 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}
.fab-call svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab-call:hover { transform: scale(1.08); background: var(--accent-2); box-shadow: 0 18px 44px rgba(200, 16, 46, 0.55), 0 6px 16px rgba(10, 18, 40, 0.22); }
.fab-call .fab-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-button);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: var(--shadow-card);
  font-variant-numeric: tabular-nums;
}
.fab-call:hover .fab-label { opacity: 1; transform: translateX(0); }
.fab-call .fab-label::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--ink);
}
@keyframes ringPulseLg {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 760px) {
  .fab-call { bottom: 18px; right: 18px; width: 60px; height: 60px; }
  .fab-call .fab-label { display: none; }
}

/* Legacy mobile float kept hidden */
.float-call { display: none !important; }

/* =============== CITY PAGE =============== */
.city-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(80% 60% at 8% 0%, rgba(15, 37, 87, 0.06), transparent 60%),
    radial-gradient(60% 50% at 100% 0%, rgba(200, 16, 46, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}
.city-hero .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.city-hero .crumbs a:hover { color: var(--brand); }
.city-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  max-width: 18ch;
  font-weight: 800;
}
.city-hero h1 .city-name {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}
.city-hero .dept-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  padding: 0.4rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.city-hero .dept-tag .code {
  color: var(--accent);
  font-weight: 700;
}
.city-context { background: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.city-context-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.city-context h2 { max-width: 18ch; }
.city-context .body p { margin-bottom: 0.85rem; color: var(--ink-2); }
.city-context .stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.city-context .stats .stat .num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.city-context .stats .stat .lbl {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 860px) { .city-context-grid { grid-template-columns: 1fr; } }

.nearby { padding: clamp(3rem, 6vw, 4rem) 0; }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.nearby-grid a {
  padding: 0.95rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-button);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nearby-grid a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.nearby-grid a .name { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--ink); }
.nearby-grid a .arrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* =============== VILLES INDEX =============== */
.villes-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(80% 60% at 8% 0%, rgba(15, 37, 87, 0.06), transparent 60%),
    radial-gradient(60% 50% at 100% 0%, rgba(200, 16, 46, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}
.villes-list {
  columns: 4 220px;
  column-gap: 2rem;
  margin-top: 2rem;
}
.villes-list .group {
  break-inside: avoid;
  margin-bottom: 1.75rem;
  display: block;
}
.villes-list .group-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
}
.villes-list a {
  display: block;
  padding: 0.4rem 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding 0.2s ease, background 0.2s ease;
}
.villes-list a:hover { color: var(--brand); padding-left: 0.4rem; background: var(--brand-soft); }
.villes-list a .code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  margin-left: 0.4rem;
  font-weight: 500;
}

/* =============== GUIDE SEO SECTION =============== */
.guide {
  background: var(--paper);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.guide-grid .sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}
.guide-grid .sticky h2 { max-width: 14ch; }
.guide-grid .sticky .tip {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-button) var(--r-button) 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.guide-grid .sticky .tip strong { color: var(--brand); }
.guide-content h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.guide-content h3:first-child { margin-top: 0; }
.guide-content h3 .num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.guide-content p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.guide-content p strong { color: var(--ink); font-weight: 700; }
.guide-content ul {
  list-style: none;
  margin: 0.85rem 0;
}
.guide-content ul li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.guide-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.guide-content .red-flag {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-button) var(--r-button) 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.guide-content .red-flag strong { color: var(--accent); }
@media (max-width: 860px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid .sticky { position: static; }
}

/* =============== UTILITIES =============== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal[data-delay="1"] { animation-delay: 0.08s; }
.reveal[data-delay="2"] { animation-delay: 0.16s; }
.reveal[data-delay="3"] { animation-delay: 0.24s; }
.reveal[data-delay="4"] { animation-delay: 0.32s; }
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
