/* Pro Débouchage, landing page v1, 2026-08-23.
   Design system from research/06 section 4. One file, no framework, no JavaScript.
   Colours, type and spacing are tokens: change them here, nowhere else. */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #102A4A;
  --ink-soft: #1B3D66;
  --cta: #D63A17;
  --cta-hover: #B72F11;
  --accent: #0B7A70;
  --accent-soft: #E6F2F0;
  --flag: #FFD635;
  --paper: #F7F5F2;
  --card: #FFFFFF;
  --line: #E2DED8;
  --body: #1B2733;
  --muted: #5A6672;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  --r-card: 16px;
  --r-btn: 12px;
  --r-img: 20px;

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --bar-h: 64px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 16px);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 var(--sp-4); }
h1 { font-size: clamp(2.25rem, 7vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 var(--sp-4); max-width: 62ch; }
ul { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
a { color: var(--ink); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-4); }
section { padding: var(--sp-12) 0; }
.s-paper { background: var(--paper); }
.s-card { background: var(--card); }
.s-ink { background: var(--ink); color: #fff; }
.s-ink h2, .s-ink h3 { color: #fff; }
.s-ink a { color: #fff; }
.lead { font-size: 1.125rem; color: var(--muted); }
.s-ink .lead { color: #C8D6E6; }
.kicker {
  font-family: var(--font-body); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 var(--sp-2);
}
.s-ink .kicker { color: var(--flag); }
.rule { width: 56px; height: 4px; background: var(--flag); border: 0; margin: 0 0 var(--sp-6); border-radius: 2px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; border-radius: var(--r-btn); border: 2px solid transparent;
  padding: 0 var(--sp-6); min-height: 56px; text-align: center;
}
.btn-call {
  background: var(--cta); color: #fff; min-height: 64px; width: 100%;
  box-shadow: 0 2px 0 var(--cta-hover); font-size: 1.125rem;
}
.btn-call:hover, .btn-call:focus { background: var(--cta-hover); box-shadow: 0 2px 0 #8E2409; }
.btn-wa {
  background: transparent; color: var(--accent); border-color: var(--accent);
  min-height: 48px; width: 100%; max-width: 60%; font-size: 1rem;
}
.btn-wa:hover, .btn-wa:focus { background: var(--accent-soft); }
.s-ink .btn-wa { color: #fff; border-color: #6FBFB6; }
.s-ink .btn-wa:hover { background: rgba(255,255,255,0.08); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
  min-height: 48px; font-size: 1rem;
}
.btn-ghost:hover { border-color: var(--ink); }
.link-call { color: var(--cta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); max-width: 460px; }
.hero-actions .btn-wa { max-width: 100%; }

/* ---------- 5. S0 sticky call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; gap: 2px; background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 12px rgba(16, 42, 74, 0.22);
}
.callbar a { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--bar-h); font-weight: 700; }
.callbar .cb-call { flex: 1 1 75%; background: var(--cta); color: #fff; font-size: 1.0625rem; }
.callbar .cb-call:hover, .callbar .cb-call:focus { background: var(--cta-hover); }
.callbar .cb-wa { flex: 0 0 25%; background: var(--accent); color: #fff; font-size: 0.9375rem; }
.callbar .cb-wa:hover, .callbar .cb-wa:focus { background: #095F58; }

/* ---------- 6. Header ---------- */
.site-header {
  background: var(--card); border-bottom: 1px solid var(--line);
  padding: var(--sp-3) 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.site-header img { width: 148px; }
.header-right { display: flex; align-items: center; gap: var(--sp-4); }
.langswitch { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.langswitch a { text-decoration: none; color: var(--muted); padding: 4px 2px; }
.langswitch a:hover { color: var(--ink); box-shadow: inset 0 -3px 0 var(--flag); }
.langswitch [aria-current="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--flag); }
.langswitch span { color: var(--line); }
.header-phone { display: none; }

/* ---------- 7. S1 hero ---------- */
.hero { background: var(--card); padding-top: var(--sp-8); padding-bottom: var(--sp-12); }
.hero .micro {
  display: inline-block; font-weight: 600; font-size: 0.875rem; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; margin-bottom: var(--sp-4);
}
.hero .sub { font-size: 1.125rem; color: var(--body); max-width: 34em; }
.hero-figure { margin: var(--sp-8) 0 0; }
.hero-figure img { border-radius: var(--r-img); width: 100%; }
.hero-figure figcaption { font-size: 0.875rem; color: var(--muted); margin-top: var(--sp-2); }
.hero .basedin { font-size: 0.9375rem; color: var(--muted); margin-top: var(--sp-4); }

/* ---------- 8. S2 trust strip ---------- */
.trust { background: var(--ink); padding: var(--sp-6) 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.trust li {
  color: #fff; font-weight: 600; font-size: 0.9375rem; line-height: 1.35;
  display: flex; gap: var(--sp-3); align-items: flex-start;
}
.trust li::before {
  content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-top: 7px;
  background: var(--flag); border-radius: 2px;
}

/* ---------- 9. Cards, generic grid ---------- */
.grid { display: grid; gap: var(--sp-4); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-6);
}
.s-card .card { background: var(--paper); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { font-size: 1rem; margin-bottom: var(--sp-3); }
.card p:last-child { margin-bottom: 0; }
.badge {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px; margin-bottom: var(--sp-3);
}

/* ---------- 10. S4 steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-6); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-4); align-items: start; }
.step .n {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: var(--sp-1); }
.step p { margin: 0; font-size: 1rem; }

/* ---------- 11. S5 prices ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .amount {
  font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1;
  color: var(--ink); margin: var(--sp-2) 0 var(--sp-2); font-variant-numeric: tabular-nums;
}
.price-card .terms { font-size: 0.875rem; color: var(--muted); margin-bottom: var(--sp-4); }
.price-card .btn { margin-top: auto; }
.price-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-cta h3 { color: #fff; }
.price-cta p { color: #C8D6E6; }
.price-cta .btn-call { margin-top: auto; }
.price-note {
  background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--flag);
  border-radius: var(--r-card); padding: var(--sp-6); margin-top: var(--sp-6);
}
.s-card .price-note { background: var(--paper); }
.price-note p { font-size: 1rem; }
.price-note p:last-child { margin-bottom: 0; }
.was { color: var(--muted); text-decoration: line-through; }
.now { color: var(--accent); font-weight: 700; }
.promise {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  color: var(--ink); line-height: 1.2; margin-top: var(--sp-8); max-width: 20em;
}
.promise .hl { box-shadow: inset 0 -0.34em 0 var(--flag); }

/* ---------- 12. Photo slot placeholders (no stock, no AI) ---------- */
.slot {
  border: 2px dashed rgba(16, 42, 74, 0.28); border-radius: var(--r-img);
  background: rgba(16, 42, 74, 0.04); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--sp-4); color: var(--muted); font-size: 0.875rem; line-height: 1.4;
}
.s-ink .slot { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); color: #C8D6E6; }
.slot-caption { font-size: 0.875rem; color: var(--muted); margin-top: var(--sp-2); }
.s-ink .slot-caption { color: #C8D6E6; }

/* ---------- 13. S7 zone ---------- */
.towns { list-style: none; padding: 0; margin: var(--sp-6) 0 var(--sp-4); columns: 2; column-gap: var(--sp-6); }
.towns li { font-size: 0.9375rem; padding: 3px 0; break-inside: avoid; }
.towns li::before { content: "· "; color: var(--accent); font-weight: 700; }
.zone-more { font-weight: 600; }

/* ---------- 14. S8 reviews ---------- */
.review-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-6);
}
.s-card .review-card { background: var(--paper); }
.review-card .stars { color: var(--flag); font-size: 1.125rem; letter-spacing: 2px; }
.review-card .who { font-weight: 600; color: var(--ink); }

/* ---------- 15. S9 FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--sp-4) 40px var(--sp-4) 0; position: relative;
  font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 var(--sp-4); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer p { font-size: 1rem; }

/* ---------- 16. S10 final call ---------- */
.finalcall { text-align: left; }
.finalcall .bignum {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 8vw, 3.75rem);
  line-height: 1; color: #fff; text-decoration: none; display: inline-block;
  font-variant-numeric: tabular-nums; margin: var(--sp-2) 0 var(--sp-6);
  box-shadow: inset 0 -6px 0 var(--flag);
}
.finalcall .hours { color: #C8D6E6; font-size: 0.9375rem; }

/* ---------- 17. S11 footer ---------- */
.site-footer { background: var(--ink); color: #C8D6E6; padding: var(--sp-12) 0 var(--sp-8); font-size: 0.9375rem; }
.site-footer h2 { font-size: 1.125rem; color: #fff; }
.site-footer a { color: #fff; }
.site-footer .legal { margin-top: var(--sp-6); }
.site-footer .legal p { margin-bottom: var(--sp-2); max-width: 60ch; }
.site-footer .foot-links { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.site-footer .credit { margin-top: var(--sp-8); font-size: 0.8125rem; color: #8FA6BE; }
.site-footer img { width: 160px; background: #fff; border-radius: 10px; padding: 8px; }

/* ---------- 18. Language chooser (root index) ---------- */
.chooser { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--sp-8) var(--sp-4); }
.chooser .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--sp-8); max-width: 480px; width: 100%; text-align: center; }
.chooser img { width: 200px; margin: 0 auto var(--sp-6); }
.chooser .btn { width: 100%; margin-bottom: var(--sp-3); }
.chooser p { margin-left: auto; margin-right: auto; }

/* ---------- 19. Legal pages ---------- */
.doc { max-width: 720px; }
.doc h2 { font-size: 1.375rem; margin-top: var(--sp-8); }
.doc li { margin-bottom: var(--sp-2); }

/* ---------- 20. Desktop ---------- */
@media (min-width: 700px) {
  section { padding: var(--sp-16) 0; }
  .wrap { padding: 0 var(--sp-6); }
  .trust ul { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-6); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .towns { columns: 3; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .btn-call { width: auto; }
  .hero-actions .btn-wa { width: auto; max-width: none; }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .header-phone { display: inline-flex; }
  .site-header { position: sticky; top: 0; z-index: 100; }
  .site-header .btn { min-height: 48px; font-size: 1rem; }
  section { padding: var(--sp-24) 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-16); align-items: center; }
  .hero-figure { margin: 0; }
  .towns { columns: 4; }
  .site-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

@media print {
  .callbar { display: none; }
}
