/* S.O.S. Sewer — feuille de style partagée
   Direction : signalisation municipale. Bleu « eau d'égout » profond, orange de chantier
   pour la seule action qui compte (texter), béton froid pour le reste.
   Mise en page : colonne lisible, héros en deux temps (promesse + conversation texto). */
:root {
  --ink: #0d2630;        /* bleu-pétrole profond, texte et fonds sombres */
  --ink-2: #163a47;      /* surfaces sombres secondaires */
  --signal: #ff5b14;     /* orange chantier : actions uniquement */
  --signal-ink: #1a0b03; /* texte sur orange */
  --concrete: #e7ebea;   /* fond béton froid */
  --paper: #f7f9f8;      /* cartes */
  --muted: #4f6770;      /* texte secondaire */
  --line: #c9d2d1;       /* filets */
  --bubble-in: #ffffff;
  --bubble-out: #ff5b14;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 0.95; text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(3.4rem, 9vw, 6.6rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.75rem; font-weight: 800; text-transform: uppercase; }
p { margin: 0; max-width: 62ch; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- En-tête ---------- */
.top {
  background: var(--ink); color: var(--paper);
  position: sticky; top: 0; z-index: 10;
  border-bottom: 4px solid var(--signal);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.link { text-decoration: none; font-weight: 600; font-size: 0.95rem; opacity: 0.85; }
.nav a.link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .nav a.link { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; border-radius: 999px; padding: 14px 24px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-signal { background: var(--signal); color: var(--signal-ink); box-shadow: 0 6px 0 #b83a05; }
.btn-signal:hover { box-shadow: 0 8px 0 #b83a05; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-sm { padding: 9px 16px; font-size: 0.95rem; box-shadow: 0 4px 0 #b83a05; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Héros ---------- */
.hero { background: var(--ink); color: var(--paper); padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); margin-bottom: 18px; }
.hero h1 span { color: var(--signal); display: block; }
.hero .lede { font-size: 1.25rem; margin-top: 22px; color: #d5e2e3; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.number-big { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: 0.02em; line-height: 1; margin-top: 26px; }
.number-big small { display: block; font-family: var(--body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #9fb7bb; margin-bottom: 6px; }
.desktop-note { display: none; font-size: 0.95rem; color: #9fb7bb; margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .desktop-note { display: block; } }

/* Couvercle de regard en arrière-plan */
.manhole { position: absolute; right: -180px; bottom: -220px; width: 560px; height: 560px; opacity: 0.08; pointer-events: none; }
@media (max-width: 900px) { .manhole { right: -260px; bottom: auto; top: -200px; } }

/* ---------- Téléphone / conversation ---------- */
.phone {
  justify-self: center; width: min(100%, 360px);
  background: #0a1c23; border-radius: 38px; padding: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #23414c;
  position: relative; z-index: 1;
}
.screen { background: #eef2f1; border-radius: 28px; overflow: hidden; color: var(--ink); }
.screen-head { background: #fff; padding: 14px 16px 12px; text-align: center; border-bottom: 1px solid #dde4e3; }
.screen-head b { display: block; font-size: 0.95rem; }
.screen-head span { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.thread { padding: 16px 12px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.93rem; line-height: 1.4; }
.stamp { align-self: center; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); margin: 4px 0; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 18px; }
.bubble.out { align-self: flex-end; background: #2b6cb0; color: #fff; border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 6px; box-shadow: 0 1px 0 #d5dddc; }
.bubble.in b { color: var(--ink); }
.photo { align-self: flex-end; width: 62%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border-bottom-right-radius: 6px; }
.photo svg { width: 100%; height: 100%; display: block; }
.price-tag { display: inline-block; font-family: var(--mono); font-weight: 700; background: #fff1e8; color: #a33a06; border: 1px dashed #ff5b14; border-radius: 6px; padding: 0 6px; }
.example-chip { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--signal); color: var(--signal-ink); font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border-radius: var(--radius); padding: 26px 24px 28px; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step-num { font-family: var(--display); font-weight: 900; font-size: 4.2rem; line-height: 0.8; color: var(--signal); }
.step p { color: var(--muted); }

/* Quoi photographier */
.shoot { background: var(--ink-2); color: var(--paper); }
.shoot .section-head p { color: #b9cdd0; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.shot { border: 1px solid #2e5563; border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; background: rgba(255,255,255,0.03); }
.shot .tag { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); }
.shot p { color: #c8d8da; font-size: 0.98rem; }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--ink); border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 12px; align-content: start; }
.service ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--muted); }
.service li { margin: 4px 0; }

/* Secteurs */
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .zones { grid-template-columns: 1fr; } }
.zone { border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px 26px; display: grid; gap: 8px; }
.zone .tag { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.zone-note { margin-top: 18px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.8rem; line-height: 0.8; color: var(--signal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Bande finale */
.final { background: var(--signal); color: var(--signal-ink); text-align: left; }
.final .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.final .btn-dark { background: var(--ink); color: var(--paper); box-shadow: 0 6px 0 #04121a; }

/* Pied de page */
footer { background: var(--ink); color: #b9cdd0; padding: 40px 0 48px; font-size: 0.93rem; }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer a { color: var(--paper); }
footer .consent { font-size: 0.85rem; color: #8fa8ad; max-width: 80ch; }

/* ---------- Pages légales ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal .doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); max-width: 860px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 3.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.6rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #24414b; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal .updated { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.todo { background: #fff1e8; border: 1px dashed var(--signal); padding: 0 5px; border-radius: 4px; font-weight: 600; }
