:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --ink: #14202b;
  --muted: #5b6b78;
  --brand: #c7442e;   /* accent par défaut (ajustable par site) */
  --brand-dark: #a8321f;
  --line: #e4e8ec;
  --radius: 12px;
  --maxw: 1120px;
  --shadow: 0 6px 22px rgba(20, 32, 43, 0.07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; margin-left: auto; }
.nav a { font-weight: 500; }
.nav a:hover { color: var(--brand); }
.cta-phone {
  background: var(--brand); color: #fff !important;
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.cta-phone:hover { background: var(--brand-dark); opacity: 1; }

/* ---------- hero ---------- */
.hero { padding: 72px 0; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero .kicker { color: var(--brand); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; background: var(--brand); color: #fff !important;
}
.btn.secondary { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--line); }
.btn.secondary:hover { border-color: var(--brand); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head .kicker { color: var(--brand); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- services grid ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform 0.12s ease;
}
.card:hover { transform: translateY(-3px); }
.card .ic { font-size: 1.6rem; margin-bottom: 8px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.card .more { color: var(--brand); font-weight: 600; font-size: 0.9rem; }

/* ---------- trust band ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px;
}

/* ---------- testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tquote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tquote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.tquote p { font-style: italic; }
.tquote .who { font-weight: 600; font-size: 0.9rem; }

/* ---------- content page (rich text) ---------- */
.rich { max-width: 760px; }
.rich h2, .rich h3 { margin-top: 1.2em; }
.rich ul { padding-left: 20px; }
.rich li { margin-bottom: 0.3em; }
.rich a { color: var(--brand); text-decoration: underline; }

/* ---------- service detail ---------- */
.detail-hero { padding: 40px 0 0; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.info-card .ic { font-size: 1.4rem; }
.info-card a { color: var(--brand); font-weight: 600; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #dfe6ec; margin-top: 40px; padding: 48px 0 24px; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--brand); opacity: 1; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 28px; }
.footer-brand { font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-block h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; font-size: 0.85rem; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .nav { display: none; } /* mobile: garder le CTA téléphone */
}
