/* ============================================================
   Wander Clean — feuille de style commune
   Police : Fraunces (titres) + Public Sans (texte) + IBM Plex Mono (chiffres)
   ============================================================ */

:root {
  --accent: #004aad;
  --accent-dark: #003a87;
  --accent-ink: #ffffff;
  --accent-soft: #eef2fb;
  --accent-line: #c7d5f2;

  --bg: #fbfbfc;
  --surface: #ffffff;
  --surface-raised: #f4f5f8;

  --ink: #12182b;
  --ink-muted: #545e74;
  --ink-faint: #8890a1;

  --border: #e4e7ee;
  --border-strong: #d2d7e3;

  --shadow: 0 1px 2px rgba(18, 24, 43, 0.04), 0 8px 24px -12px rgba(18, 24, 43, 0.12);
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 36px; width: auto; }
.brand-name { display: none; font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }

nav.main-nav {
  display: none;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  flex: 1 1 auto;
  justify-content: center;
}
nav.main-nav a { text-decoration: none; padding-block: 4px; white-space: nowrap; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--ink); }
nav.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.topbar-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.phone-chip {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.85rem;
  text-decoration: none;
  display: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--border-strong); border-radius: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 20px 18px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.mobile-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.mobile-nav .btn { margin-top: 14px; }

@media (min-width: 640px) {
  .phone-chip { display: inline-flex; align-items: center; }
}
@media (min-width: 880px) {
  nav.main-nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .brand-name { display: inline; }
}

/* ---------- page header (bandeau de page interne) ---------- */
.page-hero {
  padding-block: 44px 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-hero .lede {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 62ch;
  line-height: 1.6;
}

/* ---------- hero accueil ---------- */
.hero { padding-block: 44px 56px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--ink-muted); max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; color: var(--ink-faint); }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.hero-panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.hero-panel-head .eyebrow { color: var(--ink-faint); }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding-block: 12px; border-top: 1px solid var(--border); }
.check-row:first-of-type { border-top: none; }
.check-mark {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.check-mark svg { width: 13px; height: 13px; }
.check-text strong { display: block; font-size: 0.93rem; font-weight: 600; }
.check-text span { font-size: 0.83rem; color: var(--ink-muted); }

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- sections génériques ---------- */
section.block { padding-block: 56px; border-bottom: 1px solid var(--border); }
section.block:last-of-type { border-bottom: none; }
.block-head { margin-bottom: 30px; max-width: 62ch; }
.block-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.block-head .lede { margin-top: 10px; font-size: 1rem; color: var(--ink-muted); line-height: 1.6; }

/* ---------- bandeau de confiance ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.trust-item { background: var(--surface); padding: 22px 18px; }
.trust-item .num { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--accent); }
.trust-item .lbl { margin-top: 4px; font-size: 0.82rem; color: var(--ink-muted); line-height: 1.4; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.stats-block { background: var(--surface-raised); }

/* ---------- cartes services ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card .idx { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--ink-faint); }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; font-weight: 500; }
.card p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.55; }
.card ul { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.card ul li { font-size: 0.88rem; color: var(--ink-muted); padding-left: 18px; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.card .tag {
  margin-top: auto; align-self: flex-start;
  font-size: 0.72rem; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600;
}

/* ---------- tarifs ---------- */
.pricing-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 880px) { .pricing-wrap { grid-template-columns: 1.3fr 1fr; } }

table.pricing { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
table.pricing th, table.pricing td { text-align: left; padding: 14px 18px; font-size: 0.92rem; }
table.pricing thead th { background: var(--surface-raised); color: var(--ink-muted); font-weight: 600; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; }
table.pricing tbody tr { border-top: 1px solid var(--border); }
table.pricing td.price { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pricing-note { margin-top: 14px; font-size: 0.82rem; color: var(--ink-faint); line-height: 1.5; }
.pricing-side { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 26px; }
.pricing-side h3 { font-size: 1.08rem; margin-bottom: 10px; }
.pricing-side p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; }
.pricing-side .btn { margin-top: 16px; }

/* ---------- zone d'intervention ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 880px) { .zone-grid { grid-template-columns: 1fr 1fr; } }
.zone-map {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface-raised);
  padding: 18px;
}
.zone-map svg { width: 100%; height: auto; display: block; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 0.8rem; color: var(--ink-muted); }
.zone-legend span { display: flex; align-items: center; gap: 7px; }
.zone-legend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.zone-legend i.dot-solid { background: var(--accent); }
.zone-legend i.dot-dashed { border: 1.6px dashed var(--border-strong); }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.zone-chip { font-size: 0.82rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--ink-muted); }

/* ---------- formulaire ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.78rem; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 6px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; display: none; }
.form-status.is-success { display: block; background: #eaf6ee; color: #1f7a3f; border: 1px solid #bfe6cb; }
.form-status.is-error { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3c6c4; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.contact-line a { text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-icon svg { width: 18px; height: 18px; }

/* ---------- CTA bandeau ---------- */
.cta-band {
  background: var(--accent); color: #fff;
  border-radius: 20px; padding: 40px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: #eef2fb; }

/* ---------- footer ---------- */
footer { padding-block: 48px 30px; border-top: 1px solid var(--border); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; text-decoration: none; }
.footer-brand img { height: 30px; }
footer p { font-size: 0.86rem; color: var(--ink-muted); line-height: 1.55; }
.footer-col h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 12px; font-weight: 600; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--ink-muted); text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-faint);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--ink-faint); text-decoration: underline; }

/* ---------- comparatif ---------- */
.table-hint { display: none; font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 10px; }
@media (max-width: 700px) { .table-hint { display: block; } }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--surface); }
table.compare-table th, table.compare-table td { text-align: left; padding: 14px 18px; font-size: 0.9rem; vertical-align: top; }
table.compare-table thead th { background: var(--surface-raised); color: var(--ink-muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
table.compare-table thead th:last-child { color: var(--accent); }
table.compare-table tbody tr { border-top: 1px solid var(--border); }
table.compare-table tbody td:first-child { font-weight: 600; color: var(--ink); }
table.compare-table tbody td:nth-child(2) { color: var(--ink-faint); }
table.compare-table tbody td:nth-child(3) { color: var(--ink); background: var(--accent-soft); font-weight: 500; }

/* ---------- parcours / step-flow ---------- */
.step-flow {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  position: relative;
}
.step-item { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600;
  flex: none;
}
.step-item h3 { font-size: 1.02rem; font-weight: 500; }
.step-item p { font-size: 0.86rem; color: var(--ink-muted); line-height: 1.5; }
@media (min-width: 880px) {
  .step-flow { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step-flow::before {
    content: ""; position: absolute; top: 20px; left: 8%; right: 8%;
    height: 2px; background: var(--border); z-index: 0;
  }
}

/* ---------- mentions légales ---------- */
.legal-content h2 { font-size: 1.2rem; margin-top: 34px; margin-bottom: 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 0.94rem; color: var(--ink-muted); line-height: 1.7; }
.legal-content li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.legal-content li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.legal-placeholder {
  background: var(--accent-soft); border: 1px dashed var(--accent-line);
  border-radius: 8px; padding: 12px 16px; font-size: 0.85rem; color: var(--accent-dark);
  margin: 10px 0 18px;
}

/* ---------- utilitaires ---------- */
.mt-0 { margin-top: 0; }
