/* ═══════════════════════════════════════════════════
   DGF 38 — feuille de style unique
   Palette : noir / rouge / blanc (reprise du flyer et du véhicule)
   ═══════════════════════════════════════════════════ */

:root {
  --red: #d92b2b;
  --red-dark: #ab1e1e;
  --red-light: #ff4d4d;
  --amber: #e9a92c;
  --green: #8cc63f; /* vert du logo Certibiocide */

  --ink: #121212;
  --ink-soft: #1d1d1d;
  --paper: #ffffff;
  --soft: #f5f3f1;
  --line: #e3ded9;
  --muted: #6d6862;
  --muted-dark: #a8a29b;

  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgb(0 0 0 / 45%);

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ── Typographie ────────────────────────────────── */

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.17rem; letter-spacing: -0.01em; }

.eyebrow {
  margin: 0 0 .7em;
  font-size: 1.0rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}

.lede, .section-lede {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 62ch;
}
.lede { color: #d8d3cd; }

.note {
  margin-top: 34px;
  padding: 16px 20px;
  background: var(--soft);
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  font-size: .98rem;
  color: var(--muted);
}
.note strong { color: var(--ink); }

/* ── Boutons ────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.btn-call {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgb(217 43 43 / 90%);
}
.btn-call:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-call:active { transform: translateY(0); }

.btn-lg { padding: 16px 30px; font-size: 1.32rem; letter-spacing: .01em; }
.btn-xl { padding: 19px 38px; font-size: 1.55rem; }

.btn-lg small, .btn-xl small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .85;
  line-height: 1.5;
}

.ico-phone {
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--phone-mask) center / contain no-repeat;
  mask: var(--phone-mask) center / contain no-repeat;
  --phone-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z"/></svg>');
}
.btn-xl .ico-phone, .btn-lg .ico-phone { width: 26px; height: 26px; }

/* ── En-tête ────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(18 18 18 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--red-light);
}

.nav { display: flex; gap: 26px; }
.nav a {
  color: #cfc9c2;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--red); }

.header-call { font-size: 1.02rem; padding: 11px 20px; }

/* ── Hero ───────────────────────────────────────── */

.hero {
  background:
    radial-gradient(90% 120% at 85% 0%, #2c2724 0%, transparent 55%),
    linear-gradient(180deg, #191817 0%, #101010 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 { color: #fff; text-wrap: balance; }
.hero-copy h1::after {
  content: "";
  display: block;
  width: 82px;
  height: 5px;
  background: var(--red);
  border-radius: 3px;
  margin-top: 22px;
}

.hero-actions { margin-top: 34px; }

.price-hint {
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  font-size: .95rem;
  color: var(--muted-dark);
}
.price-hint strong {
  font-size: 1.22rem;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.price-hint a { color: #fff; text-underline-offset: 3px; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgb(255 255 255 / 10%);
}

/* ── Bandeau confiance ──────────────────────────── */

.trust { background: var(--red); color: #fff; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.trust-item {
  padding: 22px 18px;
  text-align: center;
  position: relative;
}
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: -1px; top: 24%;
  height: 52%;
  border-left: 1px solid rgb(255 255 255 / 28%);
}
.trust-k {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.trust-v {
  display: block;
  font-size: .87rem;
  color: rgb(255 255 255 / 82%);
  line-height: 1.4;
}
.trust-v a {
  color: #fff;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ── Sections ───────────────────────────────────── */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-lede { color: var(--muted-dark); }
.section-dark h2 { color: #fff; }

/* ── Tarifs ─────────────────────────────────────── */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.pricing-block {
  background: #1c1b1a;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--radius);
  padding: 28px 28px 12px;
}
.pricing-block h3 { color: #fff; }
.pricing-block h3 small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--muted-dark);
  margin-top: 4px;
}

.price-list { list-style: none; margin: 18px 0 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgb(255 255 255 / 9%);
}
.pl-label { color: #d8d3cd; font-size: .98rem; }
.pl-price {
  flex: none;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.pricing-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 30px;
  background: rgb(255 255 255 / 5%);
  border-radius: var(--radius);
}
.pricing-cta p { margin: 0; color: #d8d3cd; max-width: 46ch; }

/* ── Étapes ─────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 34px;
}

.step { position: relative; padding-top: 8px; }
.step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ── Split (pourquoi nous) ──────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.checks { list-style: none; margin: 30px 0 0; padding: 0; }
.checks li {
  position: relative;
  padding: 0 0 18px 34px;
  color: var(--muted);
  font-size: .99rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--red)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z"/></svg>')
    center / 13px no-repeat;
}
.checks strong { color: var(--ink); }

.split-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── Certification Certibiocide ─────────────────── */

/* Section blanche : elle suit la section sombre des tarifs, le contraste
   est donc déjà net. Le logo Certibiocide repose sur du blanc pur. */
.section-certif { background: var(--paper); }

.certif-card {
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr;
  gap: clamp(30px, 4.5vw, 62px);
  align-items: center;
}

.certif-logo { text-align: center; }
.certif-logo img { width: 100%; height: auto; }

.certif-num {
  margin: 16px auto 0;
  max-width: 82%;
  padding-top: 14px;
  border-top: 2px solid var(--green);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.certif-copy h2 { text-wrap: balance; }
.certif-copy p { color: var(--muted); }
.certif-copy p strong { color: var(--ink); }
.certif-copy sup { font-size: .68em; }

.checks-green { margin-top: 22px; }
.checks-green li::before { background-color: var(--green); }
.checks-green li { padding-bottom: 14px; }

/* ── Galerie ────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery figcaption {
  margin-top: 11px;
  font-size: .88rem;
  color: var(--muted);
}

/* ── Zone d'intervention ────────────────────────── */

.towns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
}
.towns li {
  padding: 9px 17px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
}

/* ── CTA finale ─────────────────────────────────── */

.section-cta {
  background:
    radial-gradient(80% 130% at 50% 0%, #2a2522 0%, transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 720px; }
.section-cta h2 { color: #fff; text-wrap: balance; }
.section-cta > .wrap > p { color: var(--muted-dark); }
.section-cta .btn { margin-top: 26px; }
.cta-mail { margin-top: 26px; font-size: .95rem; color: var(--muted-dark); }
.cta-mail a { color: #fff; }

/* ── Pied de page ───────────────────────────────── */

.site-footer {
  background: #0c0c0c;
  color: var(--muted-dark);
  padding: 56px 0 28px;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.site-footer h3 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .9em;
}
.site-footer p { margin: 0; line-height: 1.85; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.brand-footer { display: block; width: 152px; margin-bottom: 18px; }
.brand-footer img { width: 100%; height: auto; }
.footer-tagline { max-width: 34ch; }

.legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 9%);
  font-size: .82rem;
  color: #77716b;
}
.legal p { margin: 0 0 6px; }

/* Repère visuel des informations manquantes — à retirer en production */
.todo {
  background: #4a3a00;
  color: #ffd469;
  padding: 0 6px;
  border-radius: 4px;
}

/* ── Barre d'appel mobile ───────────────────────── */

.callbar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / 60%);
}

/* ── Adaptations ────────────────────────────────── */

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 11; object-position: center 28%; }
  .split-photo img { aspect-ratio: 16 / 11; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .certif-card { grid-template-columns: 1fr; }
  .certif-logo { max-width: 300px; margin-inline: auto; }
}

@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 82px; }
  .header-call { font-size: 0; gap: 0; padding: 12px; }
  .header-call .ico-phone { width: 20px; height: 20px; }
  .callbar { display: flex; }
  .btn-lg, .btn-xl { width: 100%; justify-content: center; font-size: 1.24rem; }
  .pricing-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .pl-price { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
