/* ============================================================
   JULIEN BURANDE PLOMBERIE CHAUFFAGISTE - DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  /* ============================================================
     Couleurs reprises du camion Julien Burande
     Logo flamme rouge + flocon bleu = chaud/froid (plombier+climatisation)
     ============================================================ */

  /* BLEU GLACIER (flocon, header, structure) */
  --c-night: #1E5FA8;          /* bleu glacier moyen - couleur structurelle principale */
  --c-night-soft: #2D72BF;     /* bleu glacier plus clair (variantes, états hover) */
  --c-night-deep: #154780;     /* bleu glacier foncé (footer, contraste fort) */

  /* ROUGE FLAMME (CTAs, accents, urgence) */
  --c-fire: #E63027;           /* rouge flamme vif (boutons primaires) */
  --c-fire-deep: #C8202E;      /* rouge un peu plus foncé (texte logo, hover boutons) */
  --c-fire-soft: #FCE4E2;      /* rouge très clair (fonds de pictos, badges) */

  /* FONDS NEUTRES (camion blanc cassé) */
  --c-cream: #FFFFFF;          /* blanc pur (fond principal) */
  --c-cream-warm: #F5F7FA;     /* gris-bleu très clair (sections alternées) */

  /* TEXTES */
  --c-charcoal: #3A3F4A;       /* gris foncé pour texte courant */
  --c-charcoal-soft: #6B7280;  /* gris moyen pour textes secondaires */

  /* LIGNES & DÉTAILS */
  --c-line: #E1E5EB;           /* gris très clair pour bordures et séparateurs */
  --c-white: #FFFFFF;
  --c-success: #2D7A4F;
  --c-star: #F5B833;

  /* Typographie */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem;
  --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem;
  --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;

  /* Rayons */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 30, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 30, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 30, 46, 0.12);
  --shadow-fire: 0 8px 24px rgba(230, 48, 39, 0.25);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-charcoal);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--c-night);
  text-decoration: none;
  transition: color var(--tr-fast);
}
a:hover { color: var(--c-fire); }

button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================================
   3. TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-night);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--c-charcoal); }

.italic-display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

@media (min-width: 768px) {
  .container, .container-narrow { padding-inline: var(--sp-6); }
}

section { padding-block: var(--sp-6); }
@media (min-width: 768px) { section { padding-block: var(--sp-7); } }

.section-dark {
  background: var(--c-night);
  color: var(--c-cream);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--c-cream);
}
.section-warm { background: var(--c-cream-warm); }

/* ============================================================
   5. COMPOSANTS - BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all var(--tr-base);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-fire);
  color: var(--c-white);
  box-shadow: 0 8px 24px rgba(230, 48, 39, 0.25);
}
.btn-primary:hover {
  background: var(--c-fire-deep);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 48, 39, 0.35);
}

.btn-secondary {
  background: var(--c-night);
  color: var(--c-cream);
}
.btn-secondary:hover {
  background: var(--c-night-soft);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-night);
  border: 1.5px solid var(--c-night);
}
.btn-ghost:hover {
  background: var(--c-night);
  color: var(--c-cream);
}

.btn-large { padding: 1.15rem 2.25rem; font-size: 1.0625rem; }

.section-dark .btn-ghost {
  color: var(--c-cream);
  border-color: var(--c-cream);
}
.section-dark .btn-ghost:hover {
  background: var(--c-cream);
  color: var(--c-night);
}

/* ============================================================
   6. COMPOSANTS - DIVERS
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-fire);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--c-fire);
}

.title-mark {
  position: relative;
  display: inline-block;
}
.title-mark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--c-fire);
}

.card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 1px solid var(--c-line);
  transition: all var(--tr-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-star);
  font-size: 1rem;
}

/* Fil d'Ariane (breadcrumb) */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--c-charcoal-soft);
  margin-bottom: var(--sp-5);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--sp-2);
  color: var(--c-line);
}
.breadcrumb a { color: var(--c-charcoal-soft); }
.breadcrumb a:hover { color: var(--c-fire); }
.breadcrumb [aria-current="page"] {
  color: var(--c-night);
  font-weight: 600;
}

/* ============================================================
   7. HEADER
   ============================================================ */
.site-header {
  background: var(--c-cream);
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
  gap: var(--sp-5);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--c-night);
  line-height: 1.1;
}
.logo:hover { color: var(--c-night); }
.logo-mark {
  width: 56px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--c-charcoal-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--c-charcoal);
  position: relative;
  padding-block: var(--sp-2);
  white-space: nowrap;
  transition: color 150ms ease;
}
.main-nav a:hover { color: var(--c-night); }
.main-nav a.active,
.main-nav .has-dropdown.active > a {
  color: var(--c-night);
}
.main-nav a.active::after,
.main-nav .has-dropdown.active > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--c-fire);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  color: var(--c-night);
  font-size: 0.95rem;
  white-space: nowrap;
}
.tel-link svg {
  width: 18px;
  height: 18px;
  color: var(--c-fire);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--c-night);
}

/* Croix de fermeture menu mobile - cachée par défaut */
.nav-close {
  display: none;
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--c-cream);
  padding-block: var(--sp-6) var(--sp-7);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

/* Hero : titre H1 + eyebrow sur toute la largeur, puis texte à gauche / photo à droite */
.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  grid-template-areas:
    "header header"
    "content visual";
  gap: var(--sp-6) var(--sp-7);
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-header {
  grid-area: header;
  max-width: 980px;
}
.hero-header h1 {
  margin-top: var(--sp-3);
}
.hero-content {
  grid-area: content;
}
.hero-visual {
  grid-area: visual;
}

.hero-content h1 {
  margin-bottom: var(--sp-5);
}
.hero-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-fire);
}

.hero-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--c-charcoal-soft);
  margin-bottom: var(--sp-6);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  max-width: 460px;
}
.hero-trust strong {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-night);
  display: block;
  line-height: 1;
}
.hero-trust span {
  font-size: 0.85rem;
  color: var(--c-charcoal-soft);
}

.hero-visual {
  position: relative;
}
.hero-visual-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--c-night-deep) 0%, var(--c-night) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-family: var(--f-display);
  font-style: italic;
  text-align: center;
  padding: var(--sp-6);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-fire);
  color: var(--c-white);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  font-family: var(--f-display);
  font-weight: 600;
  box-shadow: var(--shadow-fire);
  max-width: 220px;
  line-height: 1.3;
}
.hero-badge strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 2px;
}

/* ============================================================
   9. SERVICES (cartes)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-charcoal);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--c-fire);
  transition: width var(--tr-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: var(--c-charcoal);
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-fire-soft);
  color: var(--c-fire);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
}
.service-card h3 {
  margin-bottom: var(--sp-3);
}
.service-card p {
  color: var(--c-charcoal-soft);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: var(--sp-4);
}
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-fire);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card.urgent {
  background: var(--c-night-deep);
  color: var(--c-white);
  border-color: var(--c-night-deep);
}
.service-card.urgent h3 { color: var(--c-white); }
.service-card.urgent p { color: rgba(255, 255, 255, 0.78); }
.service-card.urgent .service-icon {
  background: var(--c-fire);
  color: var(--c-white);
}

/* ============================================================
   10. AVIS CLIENTS
   ============================================================ */
.reviews-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-7);
  align-items: center;
  margin-bottom: var(--sp-7);
  padding: var(--sp-6);
  background: var(--c-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
}
.reviews-rating {
  text-align: center;
}
.reviews-rating-num {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--c-night);
  line-height: 1;
}
.reviews-rating-stars { font-size: 1.25rem; margin-block: var(--sp-2); }
.reviews-rating-meta {
  font-size: 0.875rem;
  color: var(--c-charcoal-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-5);
}

.review-card {
  background: var(--c-white);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-3);
  gap: var(--sp-3);
}
.review-author {
  font-weight: 700;
  color: var(--c-night);
}
.review-date {
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
  white-space: nowrap;
}
.review-stars { margin-bottom: var(--sp-3); }
.review-text {
  color: var(--c-charcoal);
  font-size: 0.95rem;
  flex-grow: 1;
  font-style: italic;
}
.review-text::before { content: '« '; color: var(--c-fire); font-weight: 700; }
.review-text::after { content: ' »'; color: var(--c-fire); font-weight: 700; }
.review-service {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-line);
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
}
.review-service strong { color: var(--c-night); }

/* ============================================================
   11. FAQ
   ============================================================ */
.faq-list {
  max-width: 780px;
  margin: var(--sp-7) auto 0;
}
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--c-fire);
  box-shadow: var(--shadow-md);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  color: var(--c-night);
  list-style: none;
  gap: var(--sp-4);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--c-fire);
  transition: transform var(--tr-base);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--c-charcoal);
}
.faq-answer p:not(:last-child) { margin-bottom: var(--sp-3); }

/* ============================================================
   12. ZONES INTERVENTION
   ============================================================ */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.zone-card {
  background: var(--c-white);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  transition: all var(--tr-base);
  display: block;
  color: var(--c-charcoal);
}
.zone-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-fire);
  color: var(--c-charcoal);
}
.zone-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-night);
  margin-bottom: var(--sp-1);
}
.zone-dept {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-fire);
  background: var(--c-fire-soft);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-3);
}
.zone-desc {
  font-size: 0.9rem;
  color: var(--c-charcoal-soft);
}

/* ============================================================
   13. CTA SECTION
   ============================================================ */
.cta-block {
  background: var(--c-night-deep);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--c-fire) 0%, transparent 70%);
  opacity: 0.18;
}
.cta-block h2 { color: var(--c-white); margin-bottom: var(--sp-4); }
.cta-block p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto var(--sp-6);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  position: relative;
}

/* ============================================================
   14. FORMULAIRE
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.form-row { grid-column: 1 / -1; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-night);
}
.form-group label .required { color: var(--c-fire); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-charcoal);
  transition: border-color var(--tr-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-fire);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .help-text {
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
}
.form-rgpd {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--c-charcoal-soft);
}
.form-rgpd input { margin-top: 4px; flex-shrink: 0; }

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-night-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-block: var(--sp-7) var(--sp-5);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col h4 {
  color: var(--c-white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--f-body);
  margin-bottom: var(--sp-4);
}
.footer-col ul li { margin-bottom: var(--sp-2); }
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
}
.footer-col a:hover { color: var(--c-fire); }

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  margin-block: var(--sp-4);
  font-size: 0.9375rem;
}
.footer-nap {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-nap a { color: var(--c-white); font-weight: 600; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

/* ============================================================
   16. CTA TEL STICKY MOBILE
   ============================================================ */
.cta-tel-sticky {
  display: none;
}

/* ============================================================
   17. BANDEAU COOKIES
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: 200;
  background: var(--c-night-deep);
  color: var(--c-white);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin-left: auto;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner h4 {
  color: var(--c-white);
  font-family: var(--f-display);
  margin-bottom: var(--sp-2);
}
.cookie-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: var(--sp-4);
}
.cookie-banner-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.cookie-banner .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================================
   18. PAGE INTÉRIEURE (services, zones, etc.)
   ============================================================ */
.page-header {
  background: var(--c-cream);
  padding-block: var(--sp-6) var(--sp-7);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at top, black 20%, transparent 60%);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: var(--sp-4); max-width: 920px; }
.page-header .lead {
  font-size: 1.125rem;
  color: var(--c-charcoal-soft);
  max-width: 880px;
  line-height: 1.6;
}

.content-narrow {
  max-width: 980px;
  margin-inline: auto;
}
.content-narrow h2 {
  margin-block: var(--sp-7) var(--sp-4);
}
.content-narrow h3 {
  margin-block: var(--sp-6) var(--sp-3);
  color: var(--c-night);
}
.content-narrow p,
.content-narrow ul:not(.no-style),
.content-narrow ol {
  margin-bottom: var(--sp-4);
}
.content-narrow ul:not(.no-style) {
  padding-left: var(--sp-5);
  list-style: none;
}
.content-narrow ul:not(.no-style) li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
}
.content-narrow ul:not(.no-style) li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--c-fire);
}

/* Encart de mise en valeur */
.callout {
  background: var(--c-cream-warm);
  border-left: 4px solid var(--c-fire);
  padding: var(--sp-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-block: var(--sp-5);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--c-night); }

/* Grille 2 colonnes pour les listes */
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-6);
}

/* ============================================================
   19. ACCESSIBILITÉ + ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--c-fire);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--c-night);
  color: var(--c-cream);
  padding: var(--sp-2) var(--sp-4);
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   20. VISUELS / IMAGES - Composants média
   ============================================================ */

/* Hero visual avec photo de fond */
.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--c-night-deep);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo .photo-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-5);
  background: linear-gradient(180deg, transparent 0%, rgba(21, 71, 128, 0.9) 100%);
  color: var(--c-white);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
}

/* Image carrée dans section À propos */
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-caption {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--c-night-deep);
  backdrop-filter: blur(8px);
}

/* Galerie de réalisations */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: linear-gradient(180deg, transparent 0%, rgba(21, 71, 128, 0.92) 100%);
  color: var(--c-white);
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-item-label small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 2px;
}

/* Page header avec image en arrière-plan */
.page-header-with-image {
  position: relative;
  background: var(--c-night-deep);
  overflow: hidden;
  padding-block: var(--sp-7);
  color: var(--c-white);
}
.page-header-with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.page-header-with-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 71, 128, 0.92) 0%, rgba(30, 95, 168, 0.7) 100%);
  z-index: 1;
}
.page-header-with-image > .container {
  position: relative;
  z-index: 2;
}
.page-header-with-image h1,
.page-header-with-image h1 em {
  color: var(--c-white);
}
.page-header-with-image h1 em {
  color: #FCE4E2 !important;
}
.page-header-with-image .lead {
  color: rgba(255, 255, 255, 0.92);
}
.page-header-with-image .breadcrumb,
.page-header-with-image .breadcrumb a,
.page-header-with-image .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
}
.page-header-with-image .breadcrumb a:hover {
  color: var(--c-fire);
}
.page-header-with-image .eyebrow {
  color: #FCE4E2;
}
.page-header-with-image .eyebrow::before {
  background: #FCE4E2;
}
.page-header-with-image .btn-ghost {
  color: var(--c-white);
  border-color: var(--c-white);
}
.page-header-with-image .btn-ghost:hover {
  background: var(--c-white);
  color: var(--c-night-deep);
}

/* Image illustrative dans contenu (pages services) */
.content-image {
  margin-block: var(--sp-7);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  position: relative;
}
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive galerie */
@media (max-width: 991px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }
}
@media (max-width: 479px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   FIX : Eyebrow toujours sur sa propre ligne (pas inline avec titre)
   ============================================================ */
.eyebrow {
  /* override de inline-flex : on garde le flex pour le trait + texte,
     mais on force le display block pour qu'il prenne sa propre ligne */
  display: flex !important;
  width: fit-content;
}
.eyebrow + h2,
.eyebrow + h3,
.eyebrow + h1 {
  display: block;
  clear: both;
  margin-top: 4px;
}

/* ============================================================
   21. MEGA MENU PLEINE LARGEUR (Pack 2 & 3)
   ============================================================
   Architecture :
   - .has-mega : wrapper d'un item de menu avec dropdown
   - .mega-panel : panel pleine largeur (de bord à bord du container)
   - .mega-grid : grille auto-responsive des items (s'adapte à 4-12 items)
   - .mega-item : un item dans la grille
   - .mega-cta : lien "Voir tout" en bas du panel
   
   Aucune position dépendant du nombre d'items dans le menu : ROBUSTE.
   ============================================================ */

@media (min-width: 992px) {
  .has-mega {
    position: static;
  }
  
  .has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .mega-arrow {
    transition: transform 200ms ease;
  }
  .has-mega:hover .mega-arrow,
  .has-mega:focus-within .mega-arrow {
    transform: rotate(180deg);
  }
  
  .mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--c-white);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 16px 48px rgba(15, 30, 46, 0.10);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
    z-index: 100;
  }
  
  .mega-panel::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
  }
  
  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .mega-panel-inner {
    width: 100%;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
  }
  
  .mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4px;
  }
  
  .mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--r-md);
    color: inherit;
    text-decoration: none;
    transition: background-color 150ms ease;
  }
  
  .mega-item:hover {
    background: var(--c-cream-warm);
  }
  
  .mega-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-fire-soft);
    color: var(--c-fire);
    border-radius: var(--r-sm);
    transition: background-color 150ms ease, color 150ms ease;
  }
  
  .mega-item:hover .mega-icon {
    background: var(--c-fire);
    color: var(--c-white);
  }
  
  .mega-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  
  .mega-text strong {
    font-size: 0.9375rem;
    color: var(--c-night-deep);
    font-weight: 600;
    line-height: 1.3;
  }
  
  .mega-text small {
    font-size: 0.8125rem;
    color: var(--c-charcoal-soft);
    font-weight: 400;
    line-height: 1.4;
  }
  
  .mega-cta {
    margin-top: 8px;
    padding: 12px;
    border-top: 1px solid var(--c-line);
    text-align: right;
  }
  
  .mega-cta a {
    color: var(--c-fire);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
  }
  
  .mega-cta a:hover {
    color: var(--c-fire-deep);
  }
}

@media (max-width: 991px) {
  .has-mega .mega-arrow {
    display: none;
  }
  
  .mega-panel {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  
  .mega-panel-inner {
    padding: 0 0 12px 16px;
  }
  
  .mega-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
  }
  
  .mega-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--c-fire-soft);
    color: var(--c-fire);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mega-text {
    display: flex;
    flex-direction: column;
  }
  
  .mega-text strong {
    font-size: 0.9375rem;
    color: var(--c-night-deep);
    font-weight: 600;
  }
  
  .mega-text small {
    font-size: 0.8125rem;
    color: var(--c-charcoal-soft);
  }
  
  .mega-cta {
    padding: 10px 0;
    border-top: 1px solid var(--c-line);
    margin-top: 8px;
  }
  
  .mega-cta a {
    color: var(--c-fire);
    font-weight: 600;
    font-size: 0.9rem;
  }
}

/* ============================================================
   22. CARTE LEAFLET ZONE D'INTERVENTION
   ============================================================ */
.burande-map-block {
  margin-block: var(--sp-7);
}
.burande-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-bottom: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.burande-map-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-night-deep);
}
.burande-map-title::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-fire);
  flex-shrink: 0;
}
.burande-map-meta {
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
}

.burande-map {
  width: 100%;
  height: 480px;
  border: 1px solid var(--c-line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: #E8EEF5;
  position: relative;
  z-index: 1;
}

.burande-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-cream-warm);
  border: 1px solid var(--c-line);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
}
.burande-map-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.burande-map-legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.burande-map-legend-dot.atelier {
  background: var(--c-night);
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--c-night);
}
.burande-map-legend-dot.commune {
  background: var(--c-fire);
}
.burande-map-legend-line {
  display: inline-block;
  width: 16px;
  border-top: 2px dashed var(--c-fire);
}

/* Adapter le z-index du header/menu pour passer au-dessus de leaflet */
.site-header {
  z-index: 1000;
}
.cookie-banner {
  z-index: 1001;
}

@media (max-width: 767px) {
  .burande-map {
    height: 360px;
  }
  .burande-map-legend {
    gap: var(--sp-3);
    font-size: 0.75rem;
  }
}

/* Override styles Leaflet pour cohérence charte */
.leaflet-popup-content-wrapper {
  border-radius: var(--r-md) !important;
  box-shadow: 0 8px 24px rgba(15, 30, 46, 0.12) !important;
}
.leaflet-popup-content {
  margin: 12px 14px !important;
}
.leaflet-popup-tip {
  background: var(--c-white) !important;
}
.leaflet-control-zoom a {
  border-radius: var(--r-sm) !important;
  font-family: var(--f-body) !important;
  color: var(--c-night-deep) !important;
}

/* ============================================================
   23. RÉALISATIONS - GALERIE
   ============================================================ */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}
.realisation-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms ease, border-color 250ms ease;
}
.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 30, 46, 0.1);
  border-color: transparent;
}
.realisation-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-line);
}
.realisation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.realisation-card:hover .realisation-image img {
  transform: scale(1.04);
}
.realisation-type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(230, 48, 39, 0.95);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.realisation-body {
  padding: var(--sp-5);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.realisation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
}
.realisation-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}
.realisation-desc {
  font-size: 0.95rem;
  color: var(--c-charcoal-soft);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
  flex-grow: 1;
}
.realisation-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--c-line);
  padding-top: var(--sp-3);
}
.realisation-highlights li {
  font-size: 0.875rem;
  color: var(--c-night);
  padding: 4px 0;
}

/* Variante compacte pour la page d'accueil (3 cards de prévisualisation) */
.realisations-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.realisations-preview .realisation-card {
  /* moins de padding pour tenir dans 3 colonnes */
}
.realisations-preview .realisation-body {
  padding: var(--sp-4);
}
.realisations-preview .realisation-card h3 {
  font-size: 1.0625rem;
}
.realisations-preview .realisation-desc {
  font-size: 0.875rem;
  /* Limite à 2 lignes en preview */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.realisations-preview .realisation-highlights {
  display: none;
}

@media (max-width: 991px) {
  .realisations-grid {
    grid-template-columns: 1fr;
  }
  .realisations-preview {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   24. BLOG (Pack 3)
   ============================================================ */

/* Hub blog - Grille des articles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}
.blog-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 30, 46, 0.1);
  border-color: transparent;
}
.blog-card a {
  display: block;
  color: inherit;
}
.blog-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-line);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-fire);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.blog-card-body {
  padding: var(--sp-5);
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.8125rem;
  color: var(--c-charcoal-soft);
}
.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  line-height: 1.3;
  color: var(--c-night);
}
.blog-card p {
  font-size: 0.9375rem;
  color: var(--c-charcoal-soft);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.blog-card-link {
  display: inline-block;
  color: var(--c-fire);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Article - méta */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: 0.875rem;
  color: var(--c-charcoal-soft);
}

/* Article - corps */
.article-body h2 {
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  font-size: 1.625rem;
  color: var(--c-night-deep);
}
.article-body h3 {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  font-size: 1.25rem;
  color: var(--c-night);
}
.article-body p {
  margin-bottom: var(--sp-4);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-charcoal);
}
.article-body ul,
.article-body ol {
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-5);
}
.article-body li {
  margin-bottom: var(--sp-2);
  font-size: 1rem;
  line-height: 1.65;
}

/* Articles connexes */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.related-card {
  display: block;
  padding: var(--sp-5);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: all 200ms ease;
}
.related-card:hover {
  border-color: var(--c-fire);
  background: var(--c-cream-warm);
}
.related-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-fire);
  margin-bottom: var(--sp-2);
}
.related-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-night);
  font-family: var(--f-display);
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   25. PAGE TARIFS (Pack 3)
   ============================================================ */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.tarif-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all 200ms ease;
}
.tarif-card:hover {
  border-color: var(--c-fire);
  box-shadow: 0 12px 30px rgba(15, 30, 46, 0.08);
}
.tarif-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}
.tarif-card-icon {
  width: 48px;
  height: 48px;
  background: var(--c-fire-soft);
  color: var(--c-fire);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tarif-card h3 {
  font-size: 1.125rem;
  margin: 0;
}
.tarif-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tarif-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.9375rem;
}
.tarif-list li:last-child {
  border-bottom: none;
}
.tarif-prix {
  color: var(--c-fire);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   26. ZONES - CARDS DE SERVICES (remplaçant les listes h3+p)
   ============================================================ */
.zone-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
  margin-block: var(--sp-5);
}
.zone-service-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: all 200ms ease;
  text-decoration: none;
  color: inherit;
}
.zone-service-card:hover {
  border-color: var(--c-fire);
  background: var(--c-cream-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 30, 46, 0.08);
}
.zone-service-card--featured {
  background: var(--c-night-deep);
  color: var(--c-cream);
  border-color: var(--c-night-deep);
}
.zone-service-card--featured:hover {
  background: var(--c-night);
  color: var(--c-white);
  border-color: var(--c-fire);
}
.zone-service-card--featured .zone-service-icon {
  background: var(--c-fire);
  color: var(--c-white);
}
.zone-service-card--featured h3 {
  color: var(--c-cream);
}
.zone-service-card--featured p {
  color: rgba(250, 246, 240, 0.85);
}
.zone-service-card--featured .zone-service-link {
  color: var(--c-fire);
}
.zone-service-icon {
  width: 44px;
  height: 44px;
  background: var(--c-fire-soft);
  color: var(--c-fire);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}
.zone-service-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  color: var(--c-night-deep);
  font-family: var(--f-display);
}
.zone-service-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--c-charcoal-soft);
  margin: 0 0 var(--sp-3);
  flex-grow: 1;
}
.zone-service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-fire);
}

/* Bouton 'Lire le détail' sur les cards réalisations Pack 3 */
.realisation-card-link {
  display: inline-block;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-fire);
  border-top: 1px solid var(--c-line);
  transition: color 200ms ease;
}
.realisation-card-link:hover {
  color: var(--c-fire-deep);
}
.realisation-card {
  position: relative;
}
.realisation-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.realisation-card a:not(.realisation-card-link) {
  position: relative;
  z-index: 2;
}

/* Navigation entre réalisations */
.realisation-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
}
.realisation-nav-link {
  font-size: 0.9375rem;
  color: var(--c-fire);
  font-weight: 600;
  text-decoration: none;
  flex-basis: 48%;
  padding: var(--sp-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: all 200ms ease;
}
.realisation-nav-link:hover {
  background: var(--c-cream-warm);
  border-color: var(--c-fire);
}
.realisation-nav-link:nth-child(2) {
  text-align: right;
}
@media (max-width: 768px) {
  .realisation-nav { flex-direction: column; }
  .realisation-nav-link { flex-basis: 100%; }
}

/* ============================================================
   HERO T2 - Photo en arrière-plan + dégradé latéral
   ============================================================ */
.hero.hero-bg {
  position: relative;
  padding: 0;
  min-height: 580px;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: var(--sp-7);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 30, 46, 0.92) 0%,
    rgba(15, 30, 46, 0.82) 40%,
    rgba(15, 30, 46, 0.65) 70%,
    rgba(15, 30, 46, 0.45) 100%
  );
  z-index: 2;
}

.hero-bg-content {
  position: relative;
  z-index: 3;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--sp-8);
}

.hero-bg .hero-content {
  max-width: 100%;
  color: var(--c-white);
}

.hero-bg .eyebrow.eyebrow-light {
  color: rgba(255, 255, 255, 0.95);
}
.hero-bg .eyebrow.eyebrow-light::before {
  background: rgba(255, 255, 255, 0.9);
}

.hero-bg h1 {
  color: var(--c-white);
  margin-block: var(--sp-3) var(--sp-4);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
}

.hero-bg h1 em {
  color: #FCE4E2;
  font-style: italic;
}

.hero-bg .hero-lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--sp-5);
  max-width: 720px;
}

.hero-bg .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero-bg .btn-ghost.btn-ghost-light {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.hero-bg .btn-ghost.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--c-white);
  color: var(--c-white);
}

.hero-bg .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero-bg .hero-trust > div {
  display: flex;
  flex-direction: column;
}
.hero-bg .hero-trust strong {
  color: var(--c-white);
  font-size: 1.0625rem;
  font-weight: 700;
}
.hero-bg .hero-trust span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.825rem;
}
.hero-bg .hero-trust-divider {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: var(--sp-4);
}

@media (max-width: 991px) {
  .hero.hero-bg { min-height: 520px; margin-bottom: var(--sp-6); }
  .hero-bg-content { min-height: 520px; padding-block: var(--sp-7); }
  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 30, 46, 0.55) 0%,
      rgba(15, 30, 46, 0.85) 100%
    );
  }
  .hero-bg .hero-content { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero.hero-bg { min-height: 480px; }
  .hero-bg-content { min-height: 480px; padding-block: var(--sp-6); }
}


/* Override : neutraliser le fond blanc hérité du .hero-trust ancien dans le hero T2 */
.hero-bg .hero-trust {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 100%;
  margin-top: var(--sp-2);
}
.hero-bg .hero-trust strong {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--c-white);
  display: block;
  line-height: 1.2;
}
.hero-bg .hero-trust span {
  display: block;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}
.hero-bg .hero-trust-divider {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: var(--sp-4);
}

/* ============================================================
   AMÉLIORATION TYPOGRAPHIQUE : text-wrap balance pour les H1
   ============================================================
   Évite les retours à la ligne disgracieux où un seul mot
   se retrouve isolé sur la dernière ligne du titre.
   Supporté par tous les navigateurs modernes (Chrome 114+, Safari 17.4+, Firefox 121+).
   ============================================================ */
h1, h2 {
  text-wrap: balance;
}

/* Garde-fou : pour les écrans très larges, augmenter la largeur max des H1 */
@media (min-width: 1280px) {
  .page-header h1 {
    max-width: 1100px;
  }
}


/* ============================================================
   FIX H1 + HEADER MENU
   ============================================================ */

/* H1 doit pouvoir s'étendre sur toute la largeur (pas de retour ligne disgracieux) */
.page-header h1 {
  max-width: 100% !important;
}

/* H1 avec un <em> long : autoriser le wrap propre (text-wrap balance déjà ajouté plus haut) */
.page-header h1 em.italic-display {
  display: inline;
  word-spacing: normal;
}

/* Téléphone dans le header : décaler un peu vers la gauche pour respirer */
.header-cta {
  gap: var(--sp-4);
}
.tel-link {
  margin-right: var(--sp-2);
  white-space: nowrap;
}
