/* ═══════════════════════════════════════════════════════════
   THEME DEFAULT — Design premium bois · métal · vert · blanc
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand palette — overridden at runtime from site.json via <style> */
  --primary:    #3B6B44;   /* vert forêt */
  --secondary:  #1C2B22;   /* vert charcoal sombre */
  --accent:     #B5832A;   /* ambre boisé */
  --bg:         #F5F0E8;   /* blanc ivoire chaud */
  --text:       #1C2B22;

  /* Dérivés */
  --primary-dark:   color-mix(in srgb, var(--primary) 80%, black);
  --accent-dark:    color-mix(in srgb, var(--accent) 80%, black);
  --wood-light:     color-mix(in srgb, var(--accent) 20%, white);
  --forest-light:   color-mix(in srgb, var(--primary) 12%, white);

  /* Surfaces */
  --surface-0:  var(--bg);
  --surface-1:  #ffffff;
  --surface-2:  color-mix(in srgb, var(--bg) 60%, white);
  --surface-dark: var(--secondary);

  /* Lignes & ombres */
  --line-soft:  color-mix(in srgb, var(--text) 10%, transparent);
  --line-wood:  color-mix(in srgb, var(--accent) 30%, transparent);
  --shadow-sm:  0 4px 16px rgba(28, 43, 34, 0.08);
  --shadow-md:  0 12px 36px rgba(28, 43, 34, 0.13);
  --shadow-lg:  0 24px 60px rgba(28, 43, 34, 0.18);

  /* Textes */
  --text-soft:  color-mix(in srgb, var(--text) 72%, transparent);
  --text-muted: color-mix(in srgb, var(--text) 50%, transparent);

  /* Typographie */
  --font-heading: "Fraunces", "Georgia", serif;
  --font-body:    "Plus Jakarta Sans", "Segoe UI", sans-serif;

  /* Bootstrap overrides */
  --bs-primary:          var(--primary);
  --bs-secondary:        var(--secondary);
  --bs-body-bg:          var(--bg);
  --bs-body-color:       var(--text);
  --bs-link-color:       var(--primary);
  --bs-link-hover-color: var(--primary-dark);
  --bs-border-color:     var(--line-soft);
  --bs-font-sans-serif:  var(--font-body);
  --bs-border-radius:    0.75rem;
}

/* Fallback sans color-mix() */
@supports not (background: color-mix(in srgb, white, black)) {
  :root {
    --primary-dark:  #2d5436;
    --accent-dark:   #8e6520;
    --wood-light:    #f9edd5;
    --forest-light:  #edf5ef;
    --surface-2:     #f0ece4;
    --line-soft:     rgba(28, 43, 34, 0.10);
    --line-wood:     rgba(181, 131, 42, 0.30);
    --text-soft:     rgba(28, 43, 34, 0.72);
    --text-muted:    rgba(28, 43, 34, 0.50);
  }
}

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 140% 60% at 50% -10%, rgba(59,107,68,0.06), transparent);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--secondary);
}

p, li { line-height: 1.72; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Accessibility ─────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 0.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 107, 68, 0.28);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 10px 28px rgba(59, 107, 68, 0.36);
}

.btn-wood {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(181, 131, 42, 0.28);
}
.btn-wood:hover, .btn-wood:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 10px 28px rgba(181, 131, 42, 0.36);
}

.btn-outline-primary { border-width: 2px; font-weight: 700; }

.btn-lg { padding: 0.85rem 2.2rem; font-size: 1.05rem; border-radius: 0.7rem; }
.btn-xl { padding: 1rem 2.6rem; font-size: 1.15rem; border-radius: 0.75rem; }

/* ── Header / Navbar ───────────────────────────────────────── */
.site-header {
  background: var(--secondary) !important;
  border-bottom: 3px solid var(--accent) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header .navbar { padding: 0.7rem 0; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.4rem;
  border-radius: 0.5rem;
  flex: 0 0 auto;
  max-width: 240px;
  white-space: normal;
  margin-right: 0.5rem;
  transition: opacity 0.2s;
}
.navbar-brand:hover { opacity: 0.88; text-decoration: none; }

/* Le bloc texte (nom + tagline) peut rétrécir pour autoriser le retour à la ligne */
.navbar-brand > span {
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  flex: 0 0 auto;
}

.brand-mark {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0ece0;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}

.site-header .nav-link {
  color: rgba(240, 236, 224, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.45rem;
  transition: background 0.18s, color 0.18s;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  background: rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
}

.site-header .dropdown-menu {
  background: var(--secondary);
  border: 1px solid rgba(181, 131, 42, 0.3);
  border-radius: 0.65rem;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

.site-header .dropdown-item {
  color: rgba(240,236,224,0.85);
  font-weight: 500;
  border-radius: 0.4rem;
  padding: 0.42rem 0.85rem;
  transition: background 0.15s, color 0.15s;
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item.active {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.site-header .dropdown-divider { border-color: rgba(181,131,42,0.25); }

.header-cta {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  border-radius: 0.6rem;
  box-shadow: 0 4px 14px rgba(181, 131, 42, 0.35);
  transition: filter 0.15s, box-shadow 0.15s;
}
.header-cta:hover, .header-cta:focus {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(181, 131, 42, 0.45);
  color: #fff !important;
  text-decoration: none;
}

/* Mobile nav */
.offcanvas { background: var(--secondary); }
.offcanvas-header { border-bottom: 1px solid rgba(181,131,42,0.25); }
.offcanvas-title { color: #f0ece0; font-family: var(--font-heading); }
.btn-close { filter: invert(1); }

.mobile-nav .mobile-link,
.mobile-nav .mobile-sub-link {
  display: block;
  padding: 0.5rem 0;
  color: rgba(240,236,224,0.85);
  font-weight: 600;
  transition: color 0.15s;
}
.mobile-nav .mobile-link { font-size: 1.05rem; }
.mobile-nav .mobile-link:hover,
.mobile-nav .mobile-sub-link:hover,
.mobile-nav .mobile-link.is-active,
.mobile-nav .mobile-sub-link.is-active {
  color: var(--accent);
  text-decoration: none;
}

.accordion-item { background: transparent; border: none; border-bottom: 1px solid rgba(181,131,42,0.18); }
.accordion-button {
  background: transparent;
  color: rgba(240,236,224,0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 0;
  box-shadow: none;
}
.accordion-button:not(.collapsed) { color: var(--accent); background: transparent; box-shadow: none; }
.accordion-button::after { filter: invert(1); }
.accordion-collapse { background: transparent; }
.accordion-body { padding: 0.25rem 0 0.75rem 1rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-nav {
  padding: 0.5rem 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}
.breadcrumb { margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb-item.active { color: var(--text-soft); }

/* ── Hero / First row ───────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
/* Overlay bois + vert */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 43, 34, 0.78) 0%,
    rgba(28, 43, 34, 0.55) 55%,
    rgba(181, 131, 42, 0.18) 100%
  );
}

.hero-section > .container {
  position: relative;
  z-index: 1;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.intro-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  height: 100%;
}

/* Quand pas d'image hero, la carte reste lisible sur fond clair */
.hero-section:not(:has(.hero-image)) .intro-card {
  background: var(--surface-1);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-md);
}
/* ...et le texte passe en couleurs sombres (sinon blanc sur clair = illisible) */
.hero-section:not(:has(.hero-image)) .hero-title { color: var(--secondary); }
.hero-section:not(:has(.hero-image)) .hero-lead,
.hero-section:not(:has(.hero-image)) .first-row-body p { color: var(--text); }
.hero-section:not(:has(.hero-image)) .hero-badges .badge-text { color: var(--text); }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* Badges */
.hero-badges { margin: 0; padding: 0; }

.hero-badges .badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.hero-badges .badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-badges .badge-text {
  color: #fff;
  font-weight: 600;
  font-size: 0.97rem;
}

.first-row-body p { color: rgba(255,255,255,0.82); max-width: 56ch; }
.first-row-body p:last-child { margin-bottom: 0; }

.first-row-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  padding: 0.8rem 2rem;
  border-radius: 0.65rem;
  box-shadow: 0 8px 24px rgba(181,131,42,0.35);
}
.first-row-cta:hover, .first-row-cta:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 12px 32px rgba(181,131,42,0.45);
}

/* Formulaire sticky */
.devis-sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 10;
}
#devis-form { scroll-margin-top: 6rem; }

/* Card formulaire */
.form-card {
  background: var(--surface-1);
  border: 2px solid var(--accent);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-card .card-body { padding: 1.5rem; }

.form-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.form-card h2 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* ── Panneau infos solaires (gauche du formulaire) ──────────── */
.hero-solar {
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.hero-solar-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  margin: 0 0 0.7rem;
}
.hero-solar-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1rem;
}
.hero-solar-stats .num {
  display: block;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}
.hero-solar-stats .lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
}

/* ── Annuaire entreprises ───────────────────────────────────── */
.entreprise-card { border: 1px solid var(--line-soft); }
.entreprise-card .card-body { padding: 1rem 1.1rem; }
.badge-rge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.5rem;
  border-radius: 0.35rem;
  margin-bottom: 0.5rem;
}
.badge-soft {
  display: inline-block;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  border-radius: 0.35rem;
  margin: 0 0 0.5rem 0.25rem;
}

/* ── Section: contenu central ───────────────────────────────── */
.seo-section {
  border-bottom: 1px solid var(--line-soft);
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.seo-content {
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.18);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 75ch;
}

.seo-content.is-full { max-width: none; }

.seo-content h2, .seo-content h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}
.seo-content h2:first-child, .seo-content h3:first-child { margin-top: 0; }

.seo-content p, .seo-content li {
  color: var(--text-soft);
  line-height: 1.78;
}

.seo-content ul { padding-left: 1.2rem; }
.seo-content li::marker { color: var(--primary); }

.produit-img {
  object-fit: cover;
  border-radius: 0.85rem;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}

/* Appels à l'action vers le formulaire (partials/cta_devis.html) */
.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
  margin: 2rem 0; padding: 1.25rem 1.5rem;
  background: var(--forest-light); border: 1px solid var(--line-wood); border-left: 5px solid var(--accent);
  border-radius: 0.8rem;
}
.cta-inline-body { flex: 1 1 18rem; }
.cta-inline-title { margin: 0 0 0.25rem; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--secondary); }
.cta-inline-text { margin: 0; color: var(--text-soft); font-size: 0.95rem; }
.cta-inline-btn { white-space: nowrap; padding: 0.75rem 1.6rem; border-radius: 0.6rem; font-weight: 700; }
.cta-end { background: var(--secondary); border-color: var(--secondary); border-left-color: var(--accent); }
.cta-end .cta-inline-title { color: #fff; }
.cta-end .cta-inline-text { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 575.98px) { .cta-inline-btn { width: 100%; text-align: center; } }

/* CTA fin de section */
.seo-end-cta { display: flex; justify-content: center; }
.seo-end-cta .btn { font-size: 1.1rem; padding: 0.9rem 2.4rem; border-radius: 0.7rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-card {
  background: var(--forest-light);
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.faq-card h2 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.faq-card dt {
  color: var(--secondary);
  font-weight: 700;
  margin-top: 1rem;
  font-size: 0.97rem;
}
.faq-card dd {
  color: var(--text-soft);
  margin-left: 0;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ── Cards (sous-services, services, etc.) ─────────────────── */
.card {
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-body { padding: 1.25rem; }

/* Cards service avec accent bois */
.service-card {
  border-top: 3px solid var(--accent);
}

.service-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}

.service-card .card-link {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.service-card .card-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ── Maillage (liens villes) ───────────────────────────────── */
.maillage-section {
  background: var(--surface-2);
  border-top: 1px solid var(--line-soft);
}

.maillage-card {
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.maillage-list { margin: 0; padding-left: 0; list-style: none; }
.maillage-list li { margin-bottom: 0.38rem; }
.maillage-list li:last-child { margin-bottom: 0; }
.maillage-list a {
  color: var(--text-soft);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}
.maillage-list a::before {
  content: "›";
  color: var(--primary);
  font-weight: 700;
}
.maillage-list a:hover { color: var(--primary); text-decoration: none; }

/* ── Sections trust / landing ─────────────────────────────── */
.trust-bar {
  background: var(--secondary);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(181,131,42,0.3);
  border-bottom: 1px solid rgba(181,131,42,0.3);
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240,236,224,0.9);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-bar-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--secondary) !important;
  color: rgba(240, 236, 224, 0.85);
  border-top: 3px solid var(--accent) !important;
}

.site-footer .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0ece0;
  margin-bottom: 0.25rem;
}

.site-footer .footer-tagline {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer a { color: rgba(240,236,224,0.75); }
.site-footer a:hover { color: var(--accent); text-decoration: none; }

.site-footer .footer-divider {
  border-color: rgba(181,131,42,0.2);
}

/* ── Utilitaires ────────────────────────────────────────────── */
.text-wood { color: var(--accent); }
.text-forest { color: var(--primary); }
.bg-forest-light { background: var(--forest-light); }
.bg-wood-light { background: var(--wood-light); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .brand-sub { max-width: 18ch; }
  .devis-sticky { position: static; }
  .intro-card { padding: 1.25rem; }
  .hero-section > .container { padding-top: 1rem; padding-bottom: 2rem; }

  /* Sur mobile, le hero card est opaque pour lisibilité */
  .intro-card {
    background: rgba(28, 43, 34, 0.82);
    border-color: rgba(255,255,255,0.12);
  }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.55rem; }
  .first-row-cta { width: 100%; justify-content: center; }
}

/* ── Barre CTA mobile fixe (conversion) ───────────────────────── */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
}
.mobile-cta-devis {
  flex: 1 1 auto;
  background: var(--accent);
  color: var(--secondary);
}
.mobile-cta-call {
  flex: 0 0 auto;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
@media (max-width: 991.98px) {
  body { padding-bottom: 72px; }
}

/* ─── Contenu éditorial (guides, pages service) : tableaux, listes, lisibilité ───
   Les guides contiennent des tableaux markdown (prix, aides, comparatifs) qui
   s'affichaient sans style. Rendu lisible, défilement horizontal sur mobile. */
.seo-content table {
  width: 100%;
  margin: 1.25rem 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.seo-content table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.seo-content table th,
.seo-content table td {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line-soft, #e3e3e3);
  vertical-align: top;
}
.seo-content table tbody tr:nth-child(even) { background: rgba(0, 0, 0, 0.03); }
.seo-content table tbody td:first-child { font-weight: 600; }
.seo-content h3 { margin-top: 1.75rem; margin-bottom: 0.6rem; }
.seo-content ul, .seo-content ol { padding-left: 1.35rem; }
.seo-content li { margin-bottom: 0.4rem; }
.seo-content p, .seo-content li { max-width: 72ch; }
.seo-content table, .seo-content p em { max-width: none; }
.seo-content a { text-decoration: underline; text-underline-offset: 0.15em; }
.seo-content em { color: rgba(0, 0, 0, 0.62); font-size: 0.92em; }
@media (max-width: 575.98px) {
  .seo-content table { font-size: 0.88rem; }
  .seo-content table th, .seo-content table td { padding: 0.45rem 0.6rem; }
}
