/* Plomberie Services : une seule feuille de style, sans framework */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); }

:root {
  --vert: #1e4d3b;
  --vert-fonce: #13362a;
  --vert-pale: #e7efe9;
  --or: #a17c2b;
  --or-clair: #f2c48d;
  --cuivre: #a9531a;
  --cuivre-texte: #8a4415;
  --creme: #faf7f1;
  --creme-texte: #f6f1e7;
  --encre: #16201b;
  --gris: #4e5a53;
  --bordure: #e4ddd0;
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }
a { color: var(--vert); }
a:hover { color: var(--vert-fonce); }

.conteneur { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

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

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 18px; text-decoration: none;
}
.bouton svg { flex-shrink: 0; }
.bouton-cuivre { background: var(--cuivre); color: #fff; }
.bouton-cuivre:hover { background: #8e4515; color: #fff; }
.bouton-contour { border: 2px solid var(--creme-texte); color: var(--creme-texte); }
.bouton-contour:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.bouton-vert { background: var(--vert); color: #fff; min-height: 44px; padding: 0 20px; font-size: 17px; }
.bouton-vert:hover { background: var(--vert-fonce); color: #fff; }
:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; }

/* En-tête */
.entete { border-bottom: 1px solid var(--bordure); }
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.marque img { width: 54px; height: 44px; }
.marque span {
  font-family: var(--titre); font-weight: 800; font-size: 26px;
  letter-spacing: 0.5px; text-transform: uppercase; line-height: 1;
}
.marque span b { color: var(--vert); font-weight: 800; }

/* Accroche */
.accroche { background: var(--vert); color: var(--creme-texte); }
.accroche .conteneur {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding-top: 56px; padding-bottom: 64px;
}
.accroche-texte { flex: 999 1 440px; min-width: 0; }
.surtitre {
  margin: 0 0 14px; font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
}
.accroche .surtitre { color: var(--or-clair); }
h1, h2, h3 { font-family: var(--titre); text-transform: uppercase; }
h1 {
  margin: 0 0 18px; font-weight: 800; line-height: 1.02;
  font-size: clamp(34px, 5vw + 12px, 56px);
}
.accroche-intro { margin: 0 0 28px; font-size: 19px; max-width: 560px; color: #dce6e0; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.atouts {
  margin: 28px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: #dce6e0;
}
.atouts li { display: flex; align-items: center; gap: 8px; }
.atouts svg { color: var(--or-clair); }
.accroche-logo { flex: 1 1 280px; display: flex; justify-content: center; }
.accroche-logo div {
  width: 100%; max-width: 380px; aspect-ratio: 1 / 1; border-radius: 50%;
  background: var(--creme-texte); display: flex; align-items: center; justify-content: center;
}
.accroche-logo img { width: 64%; }

/* Bandeau urgence */
.urgence { background: var(--or-clair); }
.urgence .conteneur {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px; padding-top: 22px; padding-bottom: 22px;
}
.urgence p { margin: 0; }
.urgence-titre {
  font-family: var(--titre); font-weight: 700; font-size: 26px;
  text-transform: uppercase; line-height: 1.1;
}
.urgence a { color: var(--encre); font-weight: 600; font-size: 20px; }

/* Sections */
.section { padding: 72px 0; }
.section-blanche { background: #fff; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.section .surtitre { color: var(--cuivre-texte); margin-bottom: 8px; }
h2 {
  margin: 0 0 36px; font-weight: 800; line-height: 1.05;
  font-size: clamp(32px, 3vw + 14px, 44px);
}

.prestations {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.prestations li { background: #fff; border: 1px solid var(--bordure); border-radius: 16px; padding: 26px; }
.icone {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: var(--vert-pale); color: var(--vert);
  display: flex; align-items: center; justify-content: center;
}
.prestations h3 { margin: 0 0 8px; font-weight: 700; font-size: 26px; }
.prestations p { margin: 0; color: var(--gris); }

.etapes {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px;
}
.etapes li { display: flex; gap: 16px; }
.etapes .numero {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--vert); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--titre); font-weight: 800; font-size: 24px;
}
.etapes h3 {
  margin: 0 0 4px; font-family: inherit; text-transform: none;
  font-size: 19px; font-weight: 600;
}
.etapes p { margin: 0; color: var(--gris); }

.zone h2 { margin-bottom: 16px; }
.zone p { margin: 0; font-size: 19px; }
.zone span { color: var(--gris); }

/* Contact */
.contact { background: var(--vert); color: var(--creme-texte); padding: 64px 0; text-align: center; }
.contact h2 { margin-bottom: 12px; }
.contact p { margin: 0 0 28px; font-size: 19px; color: #dce6e0; }
.contact .bouton-cuivre {
  min-height: 60px; padding: 0 32px; font-family: var(--titre);
  font-weight: 700; font-size: 26px; letter-spacing: 1px;
}
.contact .lien-sms { margin: 18px 0 0; }
.contact .lien-sms a { color: var(--or-clair); font-weight: 600; }

/* Pied de page */
.pied { background: var(--vert-fonce); color: #b9c9c0; padding: 28px 0; font-size: 14px; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.pied p { margin: 0; }
.pied strong { color: var(--creme-texte); }
.pied a { color: #dce6e0; }

/* Téléphone : barre d'appel toujours visible en bas */
.barre-appel { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .entete .bouton-vert { display: none; }
  .barre-appel {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--creme); border-top: 1px solid var(--bordure);
  }
  .barre-appel .bouton { flex: 1; padding: 0 12px; }
  .barre-appel .bouton-sms { background: var(--vert); color: #fff; }
  .accroche .conteneur { padding-top: 40px; padding-bottom: 48px; }
  .accroche-logo div { max-width: 240px; }
  .section { padding: 56px 0; }
}

/* Page mentions légales */
.texte-legal { max-width: 760px; }
.texte-legal h1 { color: var(--vert); }
.texte-legal h2 { margin: 36px 0 8px; font-size: 26px; }
.texte-legal p { margin: 0 0 12px; }
.texte-legal .retour { margin-top: 36px; }
