/* AMG PLOMBERIE — feuille de style
   Direction : la plaque émaillée (bleu émail, filet blanc, rivets) comme signature ;
   le reste reste sobre, aligné à gauche, lisible sur mobile. */

:root {
  --email: #1d3a78;        /* bleu émail */
  --email-deep: #142a59;
  --laiton: #a87a22;       /* laiton, robinetterie */
  --laiton-pale: #f3ead4;
  --ink: #18212f;
  --muted: #4d5a6b;
  --line: #d6dde5;
  --paper: #f7f9fa;
  --white: #ffffff;
  --urgence: #b3261e;

  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
  --radius-plaque: 14px;
  --radius-btn: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--email); text-underline-offset: 3px; }
a:hover { color: var(--email-deep); }
:focus-visible { outline: 3px solid var(--laiton); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- En-tête ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 700; letter-spacing: 0.06em; font-size: 1rem;
}
.brand-mark {
  width: 34px; height: 24px; border-radius: 5px;
  background: var(--email);
  box-shadow: inset 0 0 0 2px var(--email), inset 0 0 0 3.5px var(--white);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 0.95rem; font-weight: 600; text-decoration: none; padding: 6px 4px; }
.lang:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--radius-btn);
  font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid transparent;
}
.btn-call { background: var(--email); color: var(--white); }
.btn-call:hover { background: var(--email-deep); color: var(--white); }
.btn-ghost { border-color: var(--email); color: var(--email); background: transparent; }
.btn-ghost:hover { background: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.header-actions .btn { min-height: 42px; padding: 0 14px; font-size: 0.95rem; }

/* ---------- Héros : la plaque émaillée ---------- */
.hero { padding: 56px 0 64px; background: var(--white); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
}

.plaque {
  position: relative;
  background: linear-gradient(160deg, #24468d 0%, var(--email) 45%, var(--email-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-plaque);
  padding: 34px 30px 30px;
  box-shadow: 0 2px 0 #0e1f44, 0 18px 40px -18px rgba(20, 42, 89, 0.55);
  text-align: center;
}
.plaque::before { /* filet blanc émaillé */
  content: ""; position: absolute; inset: 9px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: calc(var(--radius-plaque) - 6px);
  pointer-events: none;
}
.rivet {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4f6f9, #9aa6b8 70%);
  box-shadow: 0 1px 1px rgba(0,0,0,.35);
}
.rivet.tl { top: 18px; left: 18px; } .rivet.tr { top: 18px; right: 18px; }
.rivet.bl { bottom: 18px; left: 18px; } .rivet.br { bottom: 18px; right: 18px; }

.plaque-name {
  margin: 0;
  font-size: clamp(2rem, 6.4vw, 3.25rem);
  line-height: 1.05; font-weight: 800; letter-spacing: 0.08em;
}
.plaque-trade {
  margin: 10px 0 22px;
  font-size: clamp(1rem, 2.6vw, 1.2rem); font-weight: 600; letter-spacing: 0.02em;
  opacity: 0.92;
}
.plaque-rule { width: 64%; height: 2px; margin: 0 auto 20px; background: rgba(255,255,255,.55); border: 0; }
.plaque-phone {
  display: inline-block;
  color: var(--white); text-decoration: none;
  font-size: clamp(1.9rem, 6vw, 2.75rem); font-weight: 800; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px; border-radius: 6px;
}
.plaque-phone:hover { color: var(--white); background: rgba(255,255,255,.1); }
.plaque-phone:focus-visible { outline-color: var(--white); }
.plaque-note { margin: 12px 0 0; font-size: 0.95rem; opacity: 0.9; }

.hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  line-height: 1.15; font-weight: 750; letter-spacing: -0.01em;
  max-width: 22ch;
}
.hero-text p { margin: 0 0 16px; color: var(--muted); max-width: var(--measure); }
.urgence-line {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 22px 0 26px; padding: 12px 14px;
  background: #fbefee; border-left: 4px solid var(--urgence); border-radius: 4px;
  color: var(--ink); font-weight: 600;
}
.urgence-line svg { width: 20px; height: 20px; color: var(--urgence); flex: none; margin-top: 3px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--white); }
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.2; font-weight: 750;
}
.section .lead { margin: 0 0 32px; color: var(--muted); max-width: var(--measure); }

.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* Prestations : liste en deux colonnes, filets laiton */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 48px;
}
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; } }
.services li {
  padding: 16px 0 16px 22px; position: relative;
  border-bottom: 1px solid var(--line);
}
.services li::before {
  content: ""; position: absolute; left: 0; top: 25px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2.5px solid var(--laiton);
}
.services strong { display: block; font-size: 1.08rem; }
.services span { color: var(--muted); font-size: 0.98rem; }
.not-done {
  margin: 28px 0 0; padding: 14px 16px; max-width: var(--measure);
  background: var(--laiton-pale); border-radius: 6px; font-size: 0.98rem;
}

/* Méthode / délais */
.facts { margin: 0; display: grid; gap: 18px; }
.facts div { padding-left: 16px; border-left: 3px solid var(--email); }
.facts dt { font-weight: 700; }
.facts dd { margin: 2px 0 0; color: var(--muted); }
.small-print { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

/* Zone : le littoral d'ouest en est */
.coast { list-style: none; margin: 0; padding: 0; position: relative; }
.coast::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px;
  width: 3px; background: var(--email); border-radius: 2px;
}
.coast li { position: relative; padding: 5px 0 5px 32px; }
.coast li::before {
  content: ""; position: absolute; left: 1px; top: 13px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--email);
}
.coast li.end { font-weight: 700; }
.coast li.home::before { background: var(--laiton); border-color: var(--laiton); }
.coast-legend { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.coast-legend i {
  display: inline-block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--laiton); margin-right: 6px; vertical-align: -1px;
}

/* Horaires */
.hours { width: 100%; border-collapse: collapse; max-width: 560px; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 700; padding-right: 20px; width: 45%; }
.hours td { color: var(--muted); }
.hours tr.urgent th, .hours tr.urgent td { color: var(--urgence); font-weight: 700; }

/* Contact */
.contact-block { display: grid; gap: 28px; }
@media (min-width: 760px) { .contact-block { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-item h3 { margin: 0 0 6px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.contact-item p { margin: 0; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--email-deep); color: #d9e1ef; padding: 32px 0 96px; font-size: 0.95rem; }
@media (min-width: 760px) { .site-footer { padding-bottom: 32px; } }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer a { color: var(--white); }

/* ---------- Barre d'appel mobile ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; min-height: 50px; padding: 0 10px; }
@media (min-width: 760px) { .callbar { display: none; } }
@media (max-width: 759px) { .header-actions .btn { display: none; } }

/* ---------- Pages texte (mentions légales) ---------- */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0 0 28px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p { margin: 0 0 10px; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.nw { white-space: nowrap; }
