/* =============================================
   ThermoExpert 95 – Feuille de style principale
   Design : Moderne, artisan sérieux, couleurs
   Orange chaleur (#E84318) + Ardoise (#1A2332)
   ============================================= */

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

:root {
  --c-fire:    #E84318;   /* orange/rouge – urgence, CTA */
  --c-flame:   #FF6B35;   /* orange clair */
  --c-slate:   #1A2332;   /* bleu ardoise sombre */
  --c-slate2:  #243044;   /* ardoise moyen */
  --c-ice:     #F0F4F8;   /* fond clair */
  --c-white:   #FFFFFF;
  --c-text:    #2D3748;
  --c-muted:   #6B7A94;
  --c-border:  #DDE3ED;
  --c-gold:    #F5A623;   /* étoiles */

  /* --font-head: 'Syne', sans-serif; */
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--c-ice); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

.highlight {
  color: var(--c-fire);
  position: relative;
  display: inline-block;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 4px;
  background: var(--c-flame);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--c-fire); color: #fff; box-shadow: 0 4px 16px rgba(232,67,24,.35); }
.btn-primary:hover { background: #c93510; box-shadow: 0 6px 24px rgba(232,67,24,.45); }

.btn-outline { background: transparent; border-color: var(--c-fire); color: var(--c-fire); }
.btn-outline:hover { background: var(--c-fire); color: #fff; }

.btn-call  { background: var(--c-slate); color: #fff; font-size: .88rem; padding: 10px 18px; }
.btn-call:hover { background: var(--c-slate2); }

.btn-devis { background: var(--c-fire); color: #fff; font-size: .88rem; padding: 10px 18px; }
.btn-devis:hover { background: #c93510; }

/* Hero specific */
.btn-hero-call {
  background: #fff;
  color: var(--c-slate);
  font-size: 1.05rem;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-hero-call:hover { background: var(--c-ice); }

.btn-hero-devis {
  background: var(--c-fire);
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(232,67,24,.45);
}
.btn-hero-devis:hover { background: #c93510; }

.btn-urgence {
  background: var(--c-fire);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,67,24,.4);
}
.btn-urgence:hover { background: #c93510; }

.btn-form-submit {
  width: 100%;
  justify-content: center;
  background: var(--c-fire);
  color: #fff;
  font-size: 1rem;
  padding: 15px;
  box-shadow: 0 4px 16px rgba(232,67,24,.35);
}
.btn-form-submit:hover { background: #c93510; }

/* CTA section */
.btn-cta-call {
  background: #fff;
  color: var(--c-slate);
  padding: 16px 36px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}
.btn-cta-call:hover { background: var(--c-ice); }
.btn-cta-devis {
  background: var(--c-fire);
  color: #fff;
  padding: 16px 36px;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(232,67,24,.45);
  border: 2px solid rgba(255,255,255,.3);
}
.btn-cta-devis:hover { background: #c93510; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--c-muted); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: rgba(232,67,24,.1);
  color: var(--c-fire);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,35,50,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.3); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; line-height: 1; }
.logo-text strong { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: #fff; line-height: 1.1; }
.logo-text em { display: block; font-style: normal; font-size: .72rem; color: var(--c-flame); font-family: var(--font-head); letter-spacing: .05em; }

/* Nav */
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.1); }

.header-cta { display: flex; gap: 10px; align-items: center; margin-left: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ===== URGENCE BANNER ===== */
.urgence-banner {
  background: linear-gradient(90deg, var(--c-fire), #c93510);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: .88rem;
  font-family: var(--font-head);
}
.urgence-banner a { color: #fff; text-decoration: underline; font-weight: 700; }
.urgence-banner a:hover { opacity: .85; }

.pulse-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #fff; border-radius: 50%; margin-right: 8px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

/* ===== HERO ===== */
.hero {
  background: var(--c-slate);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--c-fire);
  top: -200px; right: -100px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: #3B5EA6;
  bottom: -100px; left: -100px;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-family: var(--font-head);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.badge-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }

.hero h1 { margin-bottom: 20px; letter-spacing: -.02em; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 520px; margin-bottom: 36px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
  font-weight: 600;
}
.trust-item svg { color: var(--c-flame); flex-shrink: 0; }

/* Hero card (quick form) */
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.card-header {
  background: var(--c-slate);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-urgence {
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-flame);
}
.card-header strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
}

.quick-form { padding: 24px; display: flex; flex-direction: column; gap: 14px; }

.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: .82rem; font-weight: 600; color: var(--c-text); font-family: var(--font-head); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--c-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-fire);
  box-shadow: 0 0 0 3px rgba(232,67,24,.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-note { text-align: center; font-size: .78rem; color: var(--c-muted); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--c-slate2);
  color: #fff;
  padding: 30px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 40px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-flame);
  line-height: 1;
}
.stat-item span { font-size: .82rem; color: rgba(255,255,255,.65); }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,.1); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-fire);
}
.service-card--urgent {
  border-color: var(--c-fire);
  background: linear-gradient(135deg, #fff8f6, #fff);
}

.service-icon { font-size: 2.4rem; margin-bottom: 16px; line-height: 1; }
.service-card h3 { margin-bottom: 10px; color: var(--c-slate); }
.service-card p { color: var(--c-muted); font-size: .92rem; margin-bottom: 14px; }

.service-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.service-list li {
  font-size: .87rem;
  color: var(--c-text);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--c-fire);
  font-weight: 700;
}

.service-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--c-fire);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

.services-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== WHY US ===== */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.why-content .section-tag { margin-bottom: 12px; display: inline-block; }
.why-content h2 { margin-bottom: 16px; }
.why-intro { color: var(--c-muted); font-size: 1.05rem; margin-bottom: 36px; }

.why-points { display: flex; flex-direction: column; gap: 28px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }

.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.why-icon--1 { background: rgba(232,67,24,.12); }
.why-icon--2 { background: rgba(245,166,35,.12); }
.why-icon--3 { background: rgba(74,222,128,.12); }
.why-icon--4 { background: rgba(99,102,241,.12); }

.why-point h3 { font-size: 1rem; margin-bottom: 5px; color: var(--c-slate); }
.why-point p { font-size: .9rem; color: var(--c-muted); }

/* Urgence card */
.urgence-card {
  background: var(--c-slate);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: 90px;
}
.urgence-badge {
  display: inline-block;
  background: var(--c-fire);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.urgence-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.urgence-card p { color: rgba(255,255,255,.7); font-size: .95rem; margin-bottom: 24px; }

.urgence-zones {
  margin-top: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.testi-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card--featured {
  border-color: var(--c-fire);
  background: linear-gradient(135deg, #fff8f6, #fff);
}

.testi-stars { color: var(--c-gold); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card blockquote {
  font-size: .93rem;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  background: var(--c-slate);
  color: var(--c-flame);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .9rem; color: var(--c-slate); }
.testi-author span { font-size: .78rem; color: var(--c-muted); }

.testi-cta { text-align: center; }

/* ===== ZONE SECTION ===== */
.zone-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.city-group { margin-bottom: 28px; }
.city-group h3 { font-size: .95rem; color: var(--c-slate); margin-bottom: 12px; font-family: var(--font-head); }

.city-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.city-tag {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .82rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-text);
  transition: border-color var(--transition), color var(--transition);
}
.city-tag--main {
  background: var(--c-fire);
  border-color: var(--c-fire);
  color: #fff;
}
.city-tag:hover { border-color: var(--c-fire); color: var(--c-fire); }

.zone-map iframe { box-shadow: var(--shadow-md); }
.zone-cta { text-align: center; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--c-slate) 0%, var(--c-slate2) 100%);
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--c-fire);
  border-radius: 50%;
  opacity: .08;
  filter: blur(60px);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-text h2 { margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,.7); max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0F1720;
  color: rgba(255,255,255,.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-brand address { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.8; }
.footer-brand address a { color: var(--c-flame); }
.footer-brand address a:hover { text-decoration: underline; }

.footer-links h3 {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--c-flame); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: underline; }
.footer-seo { font-size: .72rem !important; }

/* ===== FLOATING CALL BUTTON (mobile) ===== */
.floating-call {
  display: none;
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  background: var(--c-fire);
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(232,67,24,.5);
  animation: float-bounce 2s infinite;
}
@keyframes float-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ===== FORM MESSAGES ===== */
.form-success, .form-error {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 20px;
  display: none;
}
.form-success { background: #ecfdf5; color: #065f46; border: 1.5px solid #6ee7b7; }
.form-error   { background: #fef2f2; color: #991b1b; border: 1.5px solid #fca5a5; }
.form-success.show, .form-error.show { display: block; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--c-slate) 0%, var(--c-slate2) 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  font-family: var(--font-head);
}
.breadcrumb a { color: var(--c-flame); }

/* ===== DEVIS PAGE ===== */
.devis-section { padding: 80px 0; }
.devis-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.devis-form-wrap {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.devis-form-wrap h2 { margin-bottom: 24px; color: var(--c-slate); }

.devis-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.devis-sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.sidebar-card h3 { margin-bottom: 12px; color: var(--c-slate); font-size: 1rem; }
.sidebar-card p { font-size: .9rem; color: var(--c-muted); margin-bottom: 12px; }

.sidebar-urgence { background: var(--c-slate); color: #fff; border-color: var(--c-slate); }
.sidebar-urgence h3 { color: #fff; }
.sidebar-urgence p { color: rgba(255,255,255,.7); }

.trust-list { display: flex; flex-direction: column; gap: 10px; }
.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--c-text);
}
.trust-list .trust-check {
  width: 22px; height: 22px;
  background: rgba(232,67,24,.1);
  color: var(--c-fire);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 48px; height: 48px;
  background: rgba(232,67,24,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.info-block h3 { font-size: 1rem; margin-bottom: 4px; }
.info-block p, .info-block a { font-size: .93rem; color: var(--c-muted); }
.info-block a:hover { color: var(--c-fire); }

.contact-map { margin-top: 32px; }
.contact-map iframe { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* ===== SERVICES PAGE ===== */
.services-page-section { padding: 80px 0; }
.services-page-section + .services-page-section { padding-top: 0; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
  padding: 40px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail-icon { font-size: 3.5rem; margin-bottom: 16px; }
.service-detail h2 { margin-bottom: 14px; color: var(--c-slate); }
.service-detail p { color: var(--c-muted); margin-bottom: 16px; }
.service-detail-list { margin-bottom: 20px; }
.service-detail-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .92rem;
  display: flex;
  gap: 10px;
  align-items: center;
}
.service-detail-list li:last-child { border-bottom: none; }
.service-detail-list li::before { content: '→'; color: var(--c-fire); font-weight: 700; }

.service-detail-img {
  background: var(--c-ice);
  border-radius: var(--radius-md);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 1.5px solid var(--c-border);
}

/* ===== ZONE INTERVENTION PAGE ===== */
.zone-page { padding: 80px 0; }
.zone-intro { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.zone-intro h2 { margin-bottom: 14px; }
.zone-intro p { color: var(--c-muted); }

.zone-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 40px; }

.zone-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.zone-card h3 { color: var(--c-slate); margin-bottom: 12px; }
.zone-card-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.zone-city-pill {
  background: var(--c-ice);
  border: 1px solid var(--c-border);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }

  .why-inner { grid-template-columns: 1fr; }
  .urgence-card { position: static; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  .devis-inner,
  .contact-inner { grid-template-columns: 1fr; }

  .zone-inner { grid-template-columns: 1fr; }

  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav open state */
  .main-nav.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--c-slate);
    padding: 20px;
    flex-direction: column;
    z-index: 99;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { font-size: 1rem; padding: 12px 16px; display: block; }

  /* Mobile nav: show CTA inside */
  .header-cta.open {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: var(--c-slate);
    z-index: 99;
    border-top: 1px solid rgba(255,255,255,.1);
    gap: 12px;
  }
  .header-cta.open .btn { flex: 1; justify-content: center; }

  .floating-call { display: flex; }

  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .btn-hero-call, .btn-hero-devis { width: 100%; justify-content: center; }

  .stats-inner { gap: 0; }
  .stat-item { padding: 12px 20px; }
  .stat-divider { height: 30px; }
  .stat-num { font-size: 1.5rem; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; flex-direction: column; }
  .btn-cta-call, .btn-cta-devis { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .devis-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .zone-cards { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp .7s ease both;
}
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .4s; }
.hero-content > *:nth-child(5) { animation-delay: .5s; }

.hero-card { animation: fadeInUp .7s ease .4s both; }

/* =============================================
   CARROUSEL – Section galerie (accueil)
   ============================================= */

.galerie-section { background: var(--c-white); }

/* Wrapper piste */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--c-slate);
  /* Hauteur fixe pour que les 4 slides soient identiques */
  aspect-ratio: 16 / 9;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}

/* Chaque slide occupe 100% de la largeur de la piste */
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.carousel-img-wrap {
  flex: 1;
  overflow: hidden;
}
.carousel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.carousel-slide:hover .carousel-img-wrap img {
  transform: scale(1.03);
}

/* Légende */
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
  padding: 40px 24px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-caption p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  margin: 0;
}
.carousel-tag {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.carousel-tag--urgence {
  background: rgba(232,67,24,.7);
  border-color: var(--c-fire);
}

/* Boutons précédent / suivant */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.95);
  color: var(--c-slate);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 10;
}
.carousel-btn:hover {
  background: var(--c-fire);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(232,67,24,.4);
}
.carousel-btn--prev { left: -24px; }
.carousel-btn--next { right: -24px; }

/* Points indicateurs */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--c-fire);
  width: 28px;
  border-radius: 5px;
}
.carousel-dot:hover { background: var(--c-flame); }

/* CTA galerie */
.galerie-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.galerie-cta-text {
  color: var(--c-muted);
  font-size: .95rem;
}

/* =============================================
   PAGE GALERIE COMPLÈTE (galerie.html)
   ============================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-slate);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  aspect-ratio: 4 / 3;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.7));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
}

.gallery-zoom-icon {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--c-slate);
}
.gallery-item:hover .gallery-zoom-icon { opacity: 1; }

.gallery-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(26,35,50,.85);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 50px;
}
.gallery-tag--urgence { background: rgba(232,67,24,.85); }

/* Filtre */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.filter-btn {
  background: #fff;
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--c-fire);
  border-color: var(--c-fire);
  color: #fff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
  transition: opacity .3s ease;
}
.lightbox-caption {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-head);
}
.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--c-fire); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--c-fire); }
.lightbox-nav--prev { left: -64px; }
.lightbox-nav--next { right: -64px; }

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  font-family: var(--font-head);
}

/* Responsive carrousel */
@media (max-width: 768px) {
  .carousel-btn--prev { left: 8px; }
  .carousel-btn--next { right: 8px; }
  .carousel-btn { width: 38px; height: 38px; background: rgba(255,255,255,.85); }
  .lightbox-nav--prev { left: 8px; }
  .lightbox-nav--next { right: 8px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
