/* Site ML CLIM 91 */
:root {
  --navy: #0a2a5c;
  --navy-deep: #071e42;
  --blue: #8ec9f5;
  --blue-soft: #d7ecfb;
  --blue-hover: #6bb6ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --text: #102038;
  --muted: #4a5b73;
  --line: #d5e3ef;
  --warn: #f5c400;
  --warn-bg: #fff6c8;
  --warn-text: #5c4a00;
  --pending: #8a6d00;
  --ok: #1e8e5a;
  --no: #c4372f;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(10, 42, 92, 0.08);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-width: 320px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 400;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px;
}

.logo img { height: 58px; width: auto; }
.logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { background: var(--blue-soft); text-decoration: none; color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 700; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform 0.15s, opacity 0.15s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 42, 92, 0.22);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); text-decoration: none; color: #fff; }
.btn-light { background: var(--blue); color: var(--navy-deep); box-shadow: 0 4px 14px rgba(142, 201, 245, 0.45); }
.btn-light:hover { background: var(--blue-hover); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--blue); background: #f3f9fe; color: var(--navy); }
.btn-nav { white-space: nowrap; padding: 10px 16px; min-height: 44px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #163e7a 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(142, 201, 245, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(142, 201, 245, 0.1) 0%, transparent 40%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-content { max-width: 740px; }
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.hero .lead { font-size: 1.15rem; margin-bottom: 10px; opacity: 0.95; }
.hero p { font-size: 1.02rem; opacity: 0.92; max-width: 620px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(142, 201, 245, 0.35);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: #fff;
}

.hero-mark {
  display: none;
  justify-content: center;
}
.hero-mark img {
  width: 220px;
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* Page intro (sous-pages) */
.page-intro {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 40px 0 44px;
}
.page-intro h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.page-intro p { opacity: 0.92; max-width: 720px; }

/* Sections */
section { padding: 64px 0; }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  color: var(--navy);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}
.kicker {
  display: block;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-title.left, .kicker.left, .section-sub.left { text-align: left; margin-left: 0; }

/* Cards / grids */
.cards-3, .cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 0.98rem; }
.card ul { margin: 10px 0 16px 0; }
.card li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}
.card li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--navy);
  font-weight: 700;
}
.card .card-link { font-weight: 600; }

.bg-soft { background: var(--bg-soft); }

/* Accueil — services résumé */
.service-card h3 { font-size: 1.25rem; }
.icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.icon-pill svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.cta-band p { opacity: 0.9; margin-bottom: 22px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }

.zone p { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }

/* Services — plans entretien */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.plan .head {
  background: var(--navy);
  color: #fff;
  padding: 18px 22px;
  position: relative;
}
.plan.confort .head { background: linear-gradient(120deg, var(--navy) 0%, #163e7a 100%); }
.plan .head .name { font-size: 1.4rem; font-weight: 800; }
.plan .head .tag { font-size: 0.92rem; color: #cfe5fb; margin-top: 2px; }
.plan .badge-plan {
  display: inline-block;
  background: var(--blue);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.prices { padding: 8px 22px 18px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.price-row:last-child { border-bottom: none; }
.price-row .lbl { font-weight: 600; color: var(--text); }
.price-row .lbl small { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.price-row .val { font-weight: 800; color: var(--navy); font-size: 1.25rem; white-space: nowrap; }
.price-row .val span { font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.extra-line {
  margin: 4px 0 6px;
  background: var(--blue-soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--text);
}
.extra-line b { color: var(--navy); }

.cmp {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.cmp th, .cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.cmp thead th { background: var(--navy); color: #fff; font-weight: 600; }
.cmp thead th.c, .cmp td.c { text-align: center; width: 22%; }
.cmp tbody tr:nth-child(even) td { background: #f3f8fe; }
.cmp tr.sep td { background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cmp td small { color: var(--muted); }
.y, .n {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.y { background: #dff3e8; color: var(--ok); }
.n { background: #fbe3e1; color: var(--no); }
.note-cell { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 400; margin-top: 2px; }

.visit-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.visit-cols .grp {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.visit-cols li { padding-left: 22px; position: relative; color: var(--muted); margin: 6px 0; }
.visit-cols li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

.hcgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hcgrid .cell {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hcgrid .cell span { color: var(--text); font-weight: 500; }
.hcgrid .cell small { color: var(--muted); font-weight: 400; }
.hcgrid .cell b { font-size: 1.35rem; color: var(--navy); white-space: nowrap; }

.legal-note {
  margin-top: 22px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text);
}
.legal-note p + p { margin-top: 8px; }
.legal-note strong { color: var(--navy); }

/* Mentions / textes juridiques */
.legal-page { padding: 48px 0 72px; }
.legal-page h1 { color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 8px; }
.legal-page .lead { color: var(--muted); margin-bottom: 28px; }
.legal-page h2 { color: var(--navy); font-size: 1.2rem; margin: 28px 0 10px; }
.legal-page p, .legal-page li { margin-bottom: 10px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal-page a { font-weight: 600; }
.placeholder {
  display: inline-block;
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px dashed #d4a800;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 6px;
}
.placeholder-block {
  background: var(--warn-bg);
  border: 1px dashed #d4a800;
  color: var(--warn-text);
  padding: 12px 14px;
  border-radius: 10px;
  margin: 10px 0 16px;
}
.placeholder-block strong { color: var(--warn-text); }

/* Formulaire devis */
.devis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; color: var(--muted); }
.contact-item strong { color: var(--navy); display: block; }
.contact-item a { color: var(--navy); font-weight: 600; }
.icon-dot {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.form-devis {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
.form-devis label { font-weight: 600; color: var(--navy); font-size: 0.92rem; display: grid; gap: 6px; }
.form-devis .req { color: #a11; }
.form-devis input,
.form-devis textarea,
.form-devis select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
  min-height: 48px;
}
.form-devis textarea { min-height: 140px; resize: vertical; }
.form-devis input:focus,
.form-devis textarea:focus,
.form-devis select:focus {
  outline: 2px solid var(--blue);
  border-color: var(--navy);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--text);
  font-size: 0.92rem;
}
.consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin-top: 2px;
  flex: 0 0 22px;
  accent-color: var(--navy);
}
.form-note, .form-disabled-note {
  font-size: 0.88rem;
  color: var(--muted);
}
.form-disabled-note {
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid #e6c84a;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
}
.form-disabled-note[hidden] { display: none; }


/* Champ anti-spam Netlify (honeypot), masqué visuellement */
.honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #d5e6f6;
  padding: 36px 0 28px;
  font-size: 0.88rem;
}
.site-footer strong { color: #fff; }
.site-footer a { color: #d5e6f6; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-meta { opacity: 0.8; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; }

/* Bouton d'appel mobile */
.call-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 42, 92, 0.35);
  align-items: center;
  justify-content: center;
}
.call-fab:hover { color: #fff; text-decoration: none; background: var(--navy-deep); }
.call-fab svg { width: 24px; height: 24px; fill: currentColor; }


/* Responsive */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .hcgrid .cell { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 800px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .visit-cols { grid-template-columns: repeat(3, 1fr); }
  .hcgrid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1.4fr 0.7fr; }
  .hero-mark { display: flex; }
  .devis-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
@media (min-width: 900px) {
  section { padding: 80px 0; }
}
@media (max-width: 799px) {
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .site-header.is-open .nav-links { display: flex; }
  .nav-links a { min-height: 48px; font-size: 1.05rem; }
  .call-fab { display: flex; }
  body { padding-bottom: 80px; }
  .logo img { height: 50px; }
  .site-nav { min-height: 68px; }
  .hero { padding: 40px 0 48px; }
  .cmp thead th, .cmp td { padding: 10px 8px; font-size: 0.86rem; }
  .cmp thead th.c, .cmp td.c { width: auto; }
}
@media (max-width: 480px) {
  .price-row { flex-direction: column; gap: 2px; }
}
