:root {
  /* Palette Dynamique n°100 adoucie (Jaune Ambré & Bronze) */
  --primary: #EAB308;
  /* Jaune Ambré chaleureux (moins flashy) */
  --primary-dark: #854D0E;
  /* Bronze / Ocre foncé */
  --primary-light: #FEF08A;
  /* Jaune très clair */

  --secondary: #2E2512;
  /* Bronze Moyen */
  --secondary-dark: #1A1408;
  /* Charbon Bronze Chaud (Fond Footer / Pas de bleu) */
  --secondary-medium: #45351B;
  /* Bronze Intermédiaire */

  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-gray: #F1F5F9;
  --mid-gray: #E2E8F0;
  --text-gray: #64748B;
  --dark-gray: #475569;
  --black: #0F172A;

  --font-heading: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --shadow-card: none;
  --shadow-card-hover: none;
  --shadow-btn: none;
  --container: 1200px;
  --transition: all 0.25s ease;

  /* Redirection des variables Hero vers la palette n°100 adoucie */
  --color-blue: var(--secondary-dark);
  --color-orange: var(--primary);
  --color-orange-dark: var(--primary-dark);
  --color-orange-rgb: 234, 179, 8;
  /* RGB de #EAB308 */
  --color-white: var(--white);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}



/* BURGER MENU */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--secondary);
  margin: 5px 0;
  transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* NAV */
nav {
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: none;
  border-bottom: 1px solid var(--mid-gray);
  transition: transform 0.3s ease;
}

nav.header--hidden {
  transform: translateY(-100%);
}

/* MAIN */
main {
  margin-top: 70px;
}
@media (max-width: 992px) {
  main {
    margin-top: 80px;
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.logo img {
  height: 60px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-right: 20px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 200;
  border-bottom: 1px solid var(--mid-gray);
  box-shadow: none;
  padding: 20px 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-gray);
  display: block;
  text-align: center;
  padding: 10px 20px;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-call-btn {
  display: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: none;
  display: inline-block;
  border-radius: 8px 0px 8px 0px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: none;
}

.mobile-stars-bar {
  display: none;
}

/* FOOTER */
footer {
  background: var(--secondary-dark);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  background: var(--secondary-dark);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom span {
  color: var(--white);
}

/* RESPONSIVE */
@media (max-width: 992px) {

  .burger-menu {
    display: block;
  }

  .mobile-call-btn {
    display: inline-block;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  nav .nav-inner {
    height: 80px;
    padding: 10px 0;
  }

  nav .logo img {
    height: 50px;
  }

  nav .logo-text {
    font-size: 16px;
  }

  .mobile-call-btn {
    font-size: 11px !important;
    padding: 8px 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0px !important;
    margin-top: 0;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    text-align: center;
  }

  nav .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 18px;
  }

  .mobile-stars-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-dark);
    padding: 10px 0;
    width: 100%;
  }

  .mobile-stars-bar i {
    color: var(--primary);
    font-size: 12px;
  }

  .hero {
    padding-top: 40px !important;
  }

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

/* ========================================
   BOUTONS (Shine Effect - Style 45)
======================================== */
.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: 8px;
  /* Forme adoucie moderne */
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  /* Nécessaire pour l'effet reflet */
}

/* Bouton Principal Jaune Ambré avec Reflet */
.btn--primary,
.btn-primary {
  background: var(--primary);
  color: var(--secondary-dark);
  /* Contraste parfait sur fond jaune */
  border-color: var(--primary);
  box-shadow: none;
}

/* Le reflet blanc qui passe sur le bouton au survol */
.btn--primary::after,
.btn-primary::after,
.btn-flottant::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.13) 77%,
      rgba(255, 255, 255, 0.5) 92%,
      rgba(255, 255, 255, 0) 100%);
  transition: all 0.5s ease;
  pointer-events: none;
}

.btn--primary:hover,
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Déclenchement du balayage lumineux au survol */
.btn--primary:hover::after,
.btn-primary:hover::after,
.btn-flottant:hover::after {
  opacity: 1;
  left: 130%;
  transition: all 0.5s ease;
}

/* Bouton Secondaire (Outline Transparent) */
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('IMG-ELEC/hero-bg-3.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 40px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.hero .surtitre {
  color: var(--primary);
  border-bottom-color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 8, 0.9);
  /* Charbon Bronze Chaud à 90% d'opacité */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 46px);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__title .highlight {
  color: var(--color-orange);
}

.nowrap {
  white-space: nowrap;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero__advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}

.hero__advantage {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.hero__advantage i {
  color: var(--color-orange);
  font-size: 15px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
}

/* Animations d'apparition progressive (Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__title.reveal {
  transition-delay: 0.1s;
}

.hero__subtitle.reveal {
  transition-delay: 0.25s;
}

.hero__ctas.reveal {
  transition-delay: 0.4s;
}

.hero__advantages.reveal {
  transition-delay: 0.55s;
}

/* Version Mobile */
@media (max-width: 767px) {
  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }
}

/* ==============================================================================
   BOUTON FLOTTANT & ANIMATION TÉLÉPHONE (Vibration au survol)
============================================================================== */
.btn-flottant {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--secondary-dark);
  /* Contraste sur fond jaune */
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  font-family: var(--font-body);
  overflow: hidden;
  animation: pulse-ring 2s ease-out infinite;
}

.btn-flottant:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Animation de balancement infini par défaut pour attirer l'attention */
.btn-flottant i,
.btn-flottant svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  animation: ring-pulse 1.5s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0px rgba(234, 179, 8, 0.6);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(234, 179, 8, 0);
  }

  100% {
    box-shadow: 0 0 0 0px rgba(234, 179, 8, 0);
  }
}

@keyframes ring-pulse {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

/* Animation de vibration rapide au survol de n'importe quel bouton ou lien d'appel */
@keyframes ring-vibrate {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-15deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(15deg);
  }
}

a:hover i.fa-phone,
a:hover i.fa-phone-alt,
button:hover i.fa-phone,
button:hover i.fa-phone-alt,
.btn-flottant:hover i {
  display: inline-block;
  animation: ring-vibrate 0.3s ease-in-out infinite;
}

/* Version Mobile du bouton flottant */
@media (max-width: 768px) {
  .btn-flottant {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    min-width: 60px;
    justify-content: center;
  }

  .btn-flottant span {
    display: none;
    /* Cache le texte sur mobile, ne garde que l'icône */
  }

  .btn-flottant i,
  .btn-flottant svg {
    width: 22px;
    height: 22px;
  }
}

/* ========================================
   SURTITRE (Style 16: Souligné Pointillé)
======================================== */
.surtitre {
  display: inline-block;
  width: max-content;
  border-bottom: 2px dotted rgba(234, 179, 8, 0.4);
  /* Pointillé jaune ambré transparent */
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  margin-bottom: 12px;
}

/* ==========================================
   POPUP DEVIS (Style 34 - Soft UI Gris)
   ========================================== */
.popup-devis {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 37, 18, 0.6);
  /* Overlay sombre avec touche de bronze */
  backdrop-filter: blur(4px);
}

.popup-content {
  position: relative;
  z-index: 10;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 20px;
  padding: 36px 30px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  animation: popup-fade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popup-fade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light-gray);
  border: none;
  font-size: 16px;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.popup-close:hover {
  background: var(--mid-gray);
  color: var(--secondary-dark);
}

.popup-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--secondary-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.popup-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.popup-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Inputs & Textarea Style 34 - Soft UI Gris */
.popup-form-wrap .form-input,
.popup-form-wrap .form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--secondary-dark);
  outline: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.popup-form-wrap .form-textarea {
  resize: none;
}

.popup-form-wrap .form-input::placeholder,
.popup-form-wrap .form-textarea::placeholder {
  color: #94a3b8;
  /* slate-400 */
}

.popup-form-wrap .form-input:focus,
.popup-form-wrap .form-textarea:focus {
  border-color: #cbd5e1;
  /* slate-300 */
  box-shadow: 0 0 0 4px #f1f5f9, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* ring-4 ring-slate-100 */
}

/* Bouton Valider (Style 34 adouci aux couleurs de la marque) */
.popup-form-wrap .btn-submit {
  width: 100%;
  background: var(--secondary-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  /* shadow-md */
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.popup-form-wrap .btn-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.13) 77%,
      rgba(255, 255, 255, 0.5) 92%,
      rgba(255, 255, 255, 0) 100%);
  transition: all 0.5s ease;
  pointer-events: none;
}

.popup-form-wrap .btn-submit:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.popup-form-wrap .btn-submit:hover::after {
  opacity: 1;
  left: 130%;
  transition: all 0.5s ease;
}

/* ==============================================================================
   SECTION NOTRE ENTREPRISE (Style CABINET ENERGIS avec Palette Dynamique)
   ============================================================================== */
.section-pad {
  padding: 72px 0;
}

.about {
  background: var(--white);
}

.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.presentation-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.presentation-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  /* Forme adoucie cohérente */
}

.presentation-images img:nth-child(3) {
  grid-column: span 2;
  height: 250px;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-paragraph {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: normal;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* CTA Secondaire (Outline Sombre) */
.btn--outline-dark {
  background: transparent;
  color: var(--secondary-dark);
  border: 2px solid rgba(46, 37, 18, 0.3);
}

.btn--outline-dark:hover {
  background: rgba(46, 37, 18, 0.05);
  border-color: var(--secondary-dark);
  color: var(--secondary-dark);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .presentation-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==============================================================================
   SECTION SERVICES (Style WORK-SITE3-BRUXELLES avec Palette Dynamique)
   ============================================================================== */
.services-section {
  padding: 90px 0;
  background: var(--light-gray);
  /* Contraste doux */
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 16px;
}

.section-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

.services-header .section-desc {
  margin: 12px auto 0;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
}

.service-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.service-card-img-wrap {
  margin-left: 16px;
  margin-top: 16px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-radius: 0;
  /* Bords carrés exacts */
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 0;
  /* Bords carrés exacts */
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  background: var(--white);
  padding: 24px;
  position: relative;
  z-index: 20;
  margin-top: -32px;
  margin-right: 16px;
  margin-left: 0;
  border: 1px solid var(--mid-gray);
  border-radius: 0;
  /* Bords carrés exacts */
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: margin 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

/* EFFET SURVOL : La carte de texte glisse vers la droite */
.service-card:hover .service-card-body {
  margin-right: 0;
  margin-left: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.service-card-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  border-radius: 0;
  /* Bords carrés exacts */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  align-self: flex-start;
}

.service-card-icon i {
  color: var(--primary-dark) !important;
  font-size: 18px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  margin-top: auto;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.service-card a:hover {
  color: var(--primary);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 24px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }
}

/* ==============================================================================
   SECTION ZONES D'INTERVENTION (Style template-design avec Palette Dynamique)
   ============================================================================== */
.zones-section-wrap {
  padding: 90px 0;
  background: var(--white);
}

.zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.zones-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 28px;
}

.zone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-gray);
  padding: 4px 0;
}

.zone-item i {
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}

.zones-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  box-shadow: 0 10px 30px rgba(46, 37, 18, 0.06);
}

.zones-map-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 0;
}

.zones-map-overlay {
  position: relative;
  z-index: 2;
  background: rgba(26, 20, 8, 0.85);
  /* Charbon bronze transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.zones-map-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.zones-map-title strong {
  color: var(--primary-light);
}

.zones-map-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mid-gray);
  margin: 0;
}

.zones-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .zones-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .zones-buttons {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }

  .zones-buttons .btn,
  .zones-buttons .btn-primary,
  .zones-buttons .btn--outline-dark {
    width: 100% !important;
    max-width: 340px;
    justify-content: center;
    text-align: center;
  }
}

/* ==============================================================================
   SECTION CHIFFRES CLES (Style 3 - Alignement Gauche avec Palette Dynamique)
   ============================================================================== */
.stats-section-wrap {
  padding: 60px 0;
  background: var(--light-gray);
  /* Contraste doux */
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}

.stats-grid-align-left {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-col {
  text-align: left;
  border-left: 3px solid var(--primary);
  /* Ligne d'accent jaune ambré */
  padding-left: 18px;
}

.stat-col .stat-num {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-col .stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
}

@media (max-width: 992px) {
  .stats-grid-align-left {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}

@media (max-width: 480px) {
  .stats-grid-align-left {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
}

/* ==============================================================================
   SECTION FAQ (Style CABINET ENERGIS - Adapté)
   ============================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.faq-img {
  position: relative;
}

.faq-img img {
  width: 100%;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.accordeon {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--mid-gray);
  margin-bottom: 24px;
}

.acc-item {
  border-bottom: 1px solid var(--mid-gray);
}

.acc-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0 !important;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--secondary-dark) !important;
  letter-spacing: 0.03em;
  transition: color 0.18s;
}

.acc-btn:hover,
.acc-btn.ouvert {
  color: var(--primary-dark) !important;
}

.acc-chevron {
  flex-shrink: 0;
  transition: transform 0.22s;
  color: var(--text-gray);
}

.acc-btn.ouvert .acc-chevron {
  transform: rotate(180deg);
  color: var(--primary-dark) !important;
}

/* Transition glissante fluide pour l'ouverture (défilement doux) */
.acc-corps {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 !important;
  font-family: var(--font-body);
  color: var(--text-gray) !important;
  font-size: 14px !important;
  line-height: 1.65;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s ease-in-out;
}

.acc-corps.ouvert {
  max-height: 200px;
  opacity: 0.85;
  padding: 0 0 18px !important;
}

@media (max-width: 992px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==============================================================================
   SECTION CONTACT / CTA FINAL
   ============================================================================== */
.cta-section {
  background: var(--white);
  padding: 80px 0;
}

.cta-box {
  background: var(--secondary);
  /* Bronze moyen - légèrement différent du fond */
  border-radius: 0;
  /* Bords strictement carrés */
  padding: 64px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-box-left {
  text-align: left;
}

.cta-box-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.cta-box-left p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Bouton outline blanc spécifique au CTA sombre */
.btn--outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Colonne droite : infos de contact */
.cta-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 48px;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0;
  /* Bords carrés */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.cta-info-text p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cta-info-text h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin: 2px 0 0;
}

.cta-info-text a {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-info-text a:hover {
  opacity: 0.8;
}

@media (max-width: 992px) {
  .cta-box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 32px;
  }

  .cta-info {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 32px;
  }

  .cta-box-left p {
    margin-left: 0;
  }
}

@media (max-width: 580px) {
  .cta-box {
    padding: 40px 24px;
  }

  .cta-box-left h2 {
    font-size: 26px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn,
  .cta-buttons .btn--outline-white {
    width: 100%;
    justify-content: center;
  }
}








/* ==============================================================================
   AJUSTEMENTS MOBILE SPECIFIQUES (Centrage CTA Hero, À Propos, FAQ & Badge Zone)
   ============================================================================== */
@media (max-width: 767px) {

  /* Centrer les CTA du Hero */
  .hero__ctas {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Centrer les boutons d'action de la section À Propos */
  .action-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .action-buttons .btn {
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
  }

  /* Ajustement de l'overlay de la carte d'intervention sur mobile */
  .zones-map-overlay {
    padding: 12px 16px !important;
    background: rgba(26, 20, 8, 0.9) !important;
  }

  .zones-map-title {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }

  .zones-map-desc {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}

/* ── CALLBACK POPUP ── */
.callback-popup {
  position: fixed;
  right: 20px;
  top: 150px;
  background: #ffffff;
  border-right: 4px solid var(--primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 20px;
  z-index: 1001;
  min-width: 260px;
  display: none;
}

.close-popup {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

.close-popup:hover {
  color: var(--primary);
}

.callback-content h3 {
  font-family: var(--font-heading), serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.callback-content p {
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}

.callback-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
}

.callback-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--secondary);
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.callback-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
}

@media (max-width: 768px) {
  .callback-popup {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 80px;
    min-width: auto;
  }
}