/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/


/* ==========================================================================
   LAMBERT ÉLECTRICITÉ — Styles maquette (importés de /maquette/style.css)
   ========================================================================== */

/* ==========================================================================
   LAMBERT ÉLECTRICITÉ - Styles globaux
   Convention BEM simplifiée : section__element
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --c-primary: #0a2540; /* Bleu nuit - confiance */
  --c-primary-dark: #061829;
  --c-primary-light: #14365b;
  --c-accent: #ffc72c; /* Jaune électrique */
  --c-accent-dark: #e5b020;
  --c-accent-light: #ffdf2c;
  --c-accent-ultra-light: #fff1a1;
  --c-text: #1a1f2e;
  --c-text-muted: #5a6477;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f8fb;
  --c-border: #e3e8ef;
  --c-success: #16a34a;

  /* Typographie */
  --ff-heading: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espacements */
  --section-py: 5rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);

  /* Transitions */
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover,
a:hover .link-light {
  color: var(--c-accent-dark) !important;
}

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

/* --------------------------------------------------------------------------
   2. UTILITAIRES GLOBAUX (réutilisables)
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-py) 0;
}
.section--soft {
  background: var(--c-bg-soft);
}
.section--dark {
  background: var(--c-primary);
  color: #fff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow {
  color: var(--c-accent);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
}

.section__lead {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  max-width: 640px;
}
.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.75);
}

/* Boutons globaux */
.btn-primary-custom,
.btn-secondary-custom,
.btn-ghost-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-custom {
  background: var(--c-accent);
  color: var(--c-primary);
  border-color: var(--c-accent);
}
.btn-primary-custom:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-ultra-light);
  color: var(--c-primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0px 1px 13px 5px rgba(255, 211, 91, 0.45);
}

.btn-secondary-custom {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-secondary-custom:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost-custom {
  background: transparent;
  color: white;
  border-color: var(--c-border);
}
.btn-ghost-custom:hover {
  border-color: var(--c-primary-light);
  background: var(--c-primary-light);
  color: #fff;
}

.btn-ghost-custom.border-dark {
  background: transparent;
  color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

.btn-ghost-custom.border-dark:hover {
  background: var(--c-primary-light);
  color: white;
  border-color: var(--c-primary-light);
}

.section--dark .btn-ghost-custom {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.section--dark .btn-ghost-custom:hover {
  background: #fff;
  color: var(--c-primary);
}

/* Liens utilitaires */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--c-primary);
  font-size: 0.9375rem;
}
.link-arrow i {
  transition: transform var(--transition);
}
.link-arrow:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#bootscore-navbar {
  margin-left: 0 !important;
}

.header__topbar {
  background: var(--c-primary);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}
.header__topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.header__topbar-info i {
  color: var(--c-accent);
  margin-right: 0.4rem;
}
.header__topbar-info a {
  color: #fff;
}
.header__topbar-info a:hover {
  color: var(--c-accent);
}

.header-actions {
  gap: 0.75rem;
}

/* CTA repris dans le tiroir offcanvas (menu mobile < xl) */
.header__offcanvas-cta {
  width: 100%;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.header__logo-img {
  max-height: 70px;
  width: 100%;
}

@media (max-width: 425px) {
  .header__logo-img {
    max-height: 45px;
  }
}

.header__cta-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-primary);
}
.header__cta-phone i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: var(--c-primary);
  border-radius: 50%;
  font-size: 0.875rem;
}

/* ==========================================================================
   14. MENU NATIF WORDPRESS — style maquette (survol, actif, dropdown)
   ========================================================================== */

#bootscore-navbar.navbar-nav {
  gap: 1rem;
}

#bootscore-navbar .nav-item {
  position: relative;
}

/* Liens de premier niveau */
#bootscore-navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
#bootscore-navbar .nav-link:hover,
#bootscore-navbar .nav-link:focus,
#bootscore-navbar .dropdown:hover .nav-link {
  color: var(--c-primary) !important;
  background: var(--c-bg-soft) !important;
}

/* État actif */
#bootscore-navbar .nav-link.active,
#bootscore-navbar .nav-item.current-menu-item > .nav-link,
#bootscore-navbar .nav-item.show > .nav-link {
  color: var(--c-primary) !important;
  background: var(--c-bg-soft) !important;
  font-weight: 600;
}

/* Flèche chevron (remplace le caret Bootstrap) */
#bootscore-navbar .dropdown-toggle::after {
  content: "\f078"; /* fa-chevron-down */
  font-family: "Font Awesome 6 Free";
  font-size: 0.9rem;
  font-weight: 900;
  margin-left: 0.1rem;
  line-height: 1;
  vertical-align: middle;
  border: none;
  transform: rotate(0deg);
  transition: all ease-in 0.2s;
  display: none;
}

#bootscore-navbar .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Le lien parent reste un lien cliquable : on autorise le wrap link + bouton */
#bootscore-navbar .nav-item.dropdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Bouton chevron séparé (ouvre/ferme le sous-menu, ajouté en JS) */
#bootscore-navbar .header__submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
#bootscore-navbar .header__submenu-toggle i {
  opacity: 0.6;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
/* #bootscore-navbar .header__submenu-toggle:hover {
  background: var(--c-bg-soft);
  color: var(--c-primary);
} */

#bootscore-navbar .header__submenu-toggle:hover {
  background: var(--c-bg-soft);
  color: var(--c-primary);
}

#bootscore-navbar .nav-item.dropdown.is-open > .header__submenu-toggle i {
  opacity: 1;
  transform: rotate(180deg);
}

/* Sous-menu — carte blanche façon maquette */
#bootscore-navbar .dropdown-menu {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 260px;
  margin: 0;
}
#bootscore-navbar .dropdown-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  white-space: normal;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
#bootscore-navbar .dropdown-item:hover,
#bootscore-navbar .dropdown-item:focus,
#bootscore-navbar .dropdown-item.active {
  background: var(--c-bg-soft);
  color: var(--c-primary);
  padding-left: 1rem;
}

/* Ouverture au clic du bouton chevron (in-canvas + tablette) */
#bootscore-navbar .nav-item.dropdown.is-open > .dropdown-menu {
  display: block;
}

/* Ouverture au survol — desktop (>= 1200px) */
@media (min-width: 1200px) {
  #bootscore-navbar .nav-item.dropdown > .dropdown-menu {
    display: block;
    position: absolute;
    top: 70%;
    left: 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }
  #bootscore-navbar .nav-item.dropdown:hover > .dropdown-menu,
  #bootscore-navbar .nav-item.dropdown:focus-within > .dropdown-menu,
  #bootscore-navbar .nav-item.dropdown.is-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  #bootscore-navbar .nav-link {
    font-size: 0.9375rem;
  }

  #bootscore-navbar .dropdown-toggle::after {
    display: inline-flex;
  }
  .header__submenu-toggle {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. HERO — layout asymétrique avec cartes flottantes + bandeau de stats
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  overflow: hidden;
  padding: 4rem 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 0%,
      rgba(255, 199, 44, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 0% 100%,
      rgba(20, 54, 91, 0.6) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 3.5rem;
}

.hero__content {
  padding: 1rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}

.hero__title {
  color: #fff;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  margin: 0 0 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero__title-accent {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 700;
  position: relative;
}

.hero__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 0 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  font-family: var(--ff-body);
}
.hero__phone:hover {
  color: var(--c-accent);
}
.hero__phone-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--c-accent);
}
.hero__phone-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__phone-number {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__meta-item i {
  color: var(--c-accent);
  font-size: 0.75rem;
}

/* --- Visuel : image + chips flottants --- */
.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
}
.hero__visual-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}
.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__chip {
  position: absolute;
  background: #fff;
  color: var(--c-primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero__chip--top {
  top: 1.5rem;
  left: 0;
  padding: 1rem 1.4rem;
  background: var(--c-accent);
}
.hero__chip-value {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--c-primary);
}
.hero__chip-value span {
  font-size: 1.5rem;
}
.hero__chip-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-top: 0.35rem;
}
.hero__chip--bottom {
  bottom: 1.5rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero__chip-rating {
  color: var(--c-accent);
  font-size: 0.875rem;
  letter-spacing: 1px;
}
.hero__chip-rating-text {
  font-size: 0.8125rem;
  color: var(--c-text);
}
.hero__chip-rating-text strong {
  color: var(--c-primary);
  font-weight: 700;
}
.hero__chip--side {
  top: 50%;
  right: -0.5rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}
.hero__chip-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: var(--c-accent);
  border-radius: 50%;
  font-size: 0.95rem;
}
.hero__chip-title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
}
.hero__chip-sub {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* --- Bandeau de chiffres-clés en bas --- */
.hero__strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.hero__strip-item {
  text-align: center;
}
.hero__strip-value {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -0.02em;
}
.hero__strip-value span {
  font-size: 1.25rem;
  opacity: 0.85;
}
.hero__strip-suffix {
  font-size: 1.25rem;
  opacity: 0.85;
}
.hero__strip-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}
.hero__strip-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__visual {
    min-height: 420px;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  .hero__strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
  }
  .hero__strip-divider {
    display: none;
  }
  .hero__strip-item {
    padding: 0.5rem;
  }
}
@media (max-width: 575.98px) {
  .hero__visual {
    min-height: 380px;
  }
  .hero__chip--side {
    right: 0.5rem;
    padding: 0.6rem 0.85rem;
  }
  .hero__chip--top {
    padding: 0.75rem 1rem;
  }
  .hero__chip-value {
    font-size: 2rem;
  }
  .hero__strip-value {
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   5. PRESENTATION — grille éditoriale asymétrique
   -------------------------------------------------------------------------- */
.presentation {
  padding: var(--section-py) 0;
}

.presentation__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "intro intro intro intro intro intro intro media media media media media"
    "lead  lead  lead  lead  lead  lead  lead  media media media media media"
    "body  body  body  body  body  body  body  stats stats stats stats stats";
  gap: 2rem 3rem;
  align-items: start;
}

.presentation__intro {
  grid-area: intro;
}
.presentation__lead {
  grid-area: lead;
}
.presentation__body {
  grid-area: body;
}
.presentation__media {
  grid-area: media;
}
.presentation__stats {
  grid-area: stats;
  border: solid 0.25px rgba(255, 255, 255, 0.432);
}

.presentation__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.presentation__title-line {
  display: block;
}
.presentation__title-line--accent {
  font-style: italic;
  font-weight: 700;
  color: var(--c-text-muted);
  position: relative;
  padding-left: 3.5rem;
}
.presentation__title-line--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.75rem;
  height: 4px;
  background: var(--c-accent);
  transform: translateY(-50%);
}

.presentation__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: zoom-in;
}
.presentation__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.presentation__media:hover img {
  transform: scale(1.04);
}
.presentation__media-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.presentation__media-tag i {
  color: var(--c-accent);
  margin-right: 0.4rem;
}

.presentation__lead-text {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.375rem);
  line-height: 1.5;
  color: var(--c-primary);
  margin: 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--c-accent);
}

.presentation__text {
  color: var(--c-text-muted);
  font-size: 1rem;
  margin: 0 0 1rem;
  line-height: 1.7;
}
.presentation__cta {
  margin-top: 0.5rem;
}

.presentation__stats {
  list-style: none;
  margin: 0;
  padding: 1.75rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.presentation__stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 100% 0%,
    rgba(255, 199, 44, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.presentation__stat {
  text-align: center;
  position: relative;
}
.presentation__stat + .presentation__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.presentation__stat-value {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--c-accent);
  line-height: 1;
}
.presentation__stat-value span {
  font-size: 1rem;
  opacity: 0.85;
  margin-left: 0.15rem;
}
.presentation__stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
  .presentation__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "media"
      "lead"
      "body"
      "stats";
    gap: 1.75rem;
  }
  .presentation__title-line--accent {
    padding-left: 2.5rem;
  }
  .presentation__title-line--accent::before {
    width: 2rem;
  }
  .presentation__media {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 575.98px) {
  .presentation__stats {
    padding: 1.25rem;
  }
  .presentation__stat-value {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   6. RÉASSURANCE
   -------------------------------------------------------------------------- */
.reassurance {
  background: var(--c-primary);
  color: #fff;
  padding: 3rem 0;
}
.reassurance__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.reassurance__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 199, 44, 0.15);
  color: var(--c-accent);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}
.reassurance__title {
  font-family: var(--ff-heading);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.25rem;
}
.reassurance__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. SERVICES
   -------------------------------------------------------------------------- */
.services {
  padding: var(--section-py) 0;
  background: var(--c-bg-soft);
}

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.services__item {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.services__item:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.services__item-count {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--c-bg-soft);
  color: var(--c-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--c-border);
}

/* --- Cartes expandables : la sublist se déploie au hover --- */
.services__item--expandable {
  cursor: default;
}
.services__sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
  border-top: 1px dashed transparent;
}
.services__sublist li {
  margin: 0;
}
.services__sublist a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}
.services__sublist a:last-child {
  border-bottom: none;
}
.services__sublist a i {
  font-size: 0.7rem;
  color: var(--c-accent-dark);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}
.services__sublist a:hover {
  color: var(--c-primary);
  padding-left: 0.4rem;
}
.services__sublist a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.services__item--expandable:hover .services__sublist,
.services__item--expandable:focus-within .services__sublist {
  max-height: 500px;
  opacity: 1;
  margin: 0.85rem 0 1rem;
  border-top-color: var(--c-border);
  padding-top: 0.4rem;
}

/* Sublist du service phare (toujours visible, fond sombre) */
.services__sublist--featured {
  max-height: none;
  opacity: 1;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: none;
  gap: 0.15rem 1rem;
}
.services__sublist--featured a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0;
  font-size: 0.875rem;
}
.services__sublist--featured a i {
  color: var(--c-accent);
}
.services__sublist--featured a:hover {
  color: var(--c-accent);
  padding-left: 0.4rem;
}

.services__item--featured {
  grid-column: span 12;
  background: linear-gradient(
    135deg,
    var(--c-primary) 0%,
    var(--c-primary-light) 100%
  );
  color: #fff;
  border: none;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.services__item--featured .services__item-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.services__item--featured .services__item-media {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  min-height: 280px;
}
.services__item--featured .services__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services__item--featured .services__item-title {
  color: #fff;
  font-size: 1.75rem;
}
.services__item--featured .services__item-text {
  color: rgba(255, 255, 255, 0.8);
}

.services__item-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-accent);
  color: var(--c-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  align-self: flex-start;
  white-space: nowrap;
}

.services__item-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: var(--c-primary);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.services__item--featured .services__item-icon {
  background: var(--c-accent);
  color: var(--c-primary);
}

.services__item-title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
  color: var(--c-primary);
}
.services__item-text {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}
.services__item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.services__item-list li {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.services__item-list i {
  color: var(--c-accent);
  font-size: 0.75rem;
}

.services__item-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  align-self: flex-start;
}
.services__item--featured .services__item-link {
  color: var(--c-accent);
}
.services__item-link i {
  transition: transform var(--transition);
}
.services__item:hover .services__item-link i {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .services__item {
    grid-column: span 6;
  }
  .services__item--featured {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }
  .services__item--featured .services__item-media {
    min-height: 200px;
  }
}
@media (max-width: 575.98px) {
  .services__item {
    grid-column: span 12;
  }
}

/* --------------------------------------------------------------------------
   8. RÉALISATIONS (Swiper)
   -------------------------------------------------------------------------- */
.realisations {
  padding: var(--section-py) 0;
}

.realisations__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.realisations__nav {
  display: flex;
  gap: 0.5rem;
}
.realisations__nav button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-primary);
  cursor: pointer;
  transition: all var(--transition);
}
.realisations__nav button:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.realisations__nav button.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.realisations__slide {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  display: block;
}
.realisations__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.realisations__slide:hover img {
  transform: scale(1.05);
}

.realisations__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 37, 64, 0.85) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.realisations__slide-content {
  color: #fff;
}
.realisations__slide-tag {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}
.realisations__slide-title {
  font-family: var(--ff-body);
  color: white !important;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.realisations__slide-location {
  font-size: 0.8125rem;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   9. AVIS
   -------------------------------------------------------------------------- */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--c-bg-soft);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonials__header .section__lead {
  margin: 0 auto;
}

.testimonials__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--c-border);
  margin-bottom: 1rem;
}
.testimonials__rating-stars {
  color: var(--c-accent);
  font-size: 0.875rem;
}
.testimonials__rating-text {
  font-size: 0.875rem;
  font-weight: 600;
}
.testimonials__rating-text span {
  color: var(--c-text-muted);
  font-weight: 500;
}

.testimonials__slide {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: auto;
  display: flex;
  flex-direction: column;
}
.testimonials__quote {
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  flex-grow: 1;
  position: relative;
  padding-top: 2rem;
}
.testimonials__quote::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--c-accent);
  font-size: 1.25rem;
}
.testimonials__stars {
  color: var(--c-accent);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
}
.testimonials__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.testimonials__author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-primary);
}
.testimonials__author-location {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

.testimonials__pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.testimonials__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--c-border);
  opacity: 1;
  transition: all var(--transition);
}
.testimonials__pagination .swiper-pagination-bullet-active {
  background: var(--c-primary);
  width: 28px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   10. CTA GLOBAL
   -------------------------------------------------------------------------- */
.cta-global {
  padding: var(--section-py) 0;
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-global::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 90% 50%,
    rgba(255, 199, 44, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
}
.cta-global__inner {
  position: relative;
  z-index: 2;
}

.cta-global__title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}
.cta-global__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  margin: 0 0 2rem;
  max-width: 560px;
}
.cta-global__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta-global__highlight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.cta-global__highlight-title {
  font-family: var(--ff-heading);
  color: var(--c-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.cta-global__highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cta-global__highlight-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}
.cta-global__highlight-list i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 199, 44, 0.15);
  color: var(--c-accent);
  border-radius: 50%;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}
.footer__col-title {
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 1.25rem;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer__logo img {
  max-height: 70px;
}
.footer__logo-name {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  color: #fff;
}
.footer__description {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.footer__socials {
  display: flex;
  gap: 0.5rem;
}
.footer__socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.footer__socials a:hover {
  background: var(--c-accent);
  color: var(--c-primary);
  border-color: var(--c-accent);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}
.footer__list a:hover {
  color: var(--c-accent);
  padding-left: 0.25rem;
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.footer__contact-item i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--c-accent);
  font-size: 0.8125rem;
}
.footer__contact-item a {
  color: rgba(255, 255, 255, 0.85);
}
.footer__contact-item a:hover {
  color: var(--c-accent);
}
.footer__contact-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.6;
  margin-bottom: 0.15rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.6);
}
.footer__bottom-links a:hover {
  color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   12. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 0.6s ease both;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE FINAL
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  :root {
    --section-py: 3.5rem;
  }
  .hero {
    padding: 3rem 0 4rem;
  }
  .hero__stats {
    gap: 1.5rem;
  }
  .hero__stat-value {
    font-size: 1.5rem;
  }
  .services__header,
  .realisations__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header__cta-phone i {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   15. TITRE DE PAGE (page-title) — fond quadrillé façon Hero / image en option
   ========================================================================== */

.page-title {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  overflow: hidden;
  padding: 3.5rem 0;
}

/* Fond quadrillé (repris du Hero) */
.page-title__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 0%,
      rgba(255, 199, 44, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 0% 100%,
      rgba(20, 54, 91, 0.6) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  pointer-events: none;
}
.page-title__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
}

/* Variante avec image de fond */
.page-title--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-title__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 24, 41, 0.78) 0%,
    rgba(10, 37, 64, 0.85) 100%
  );
  pointer-events: none;
}

.page-title__content {
  position: relative;
  z-index: 2;
}

/* Fil d'Ariane */
.page-title__breadcrumb {
  margin-bottom: 1rem;
}
.page-title__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}
.page-title__breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}
.page-title__breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.page-title__breadcrumb-item a:hover {
  color: var(--c-accent);
}
.page-title__breadcrumb-item i {
  font-size: 0.6rem;
  opacity: 0.5;
}
.page-title__breadcrumb-item--current {
  color: #fff;
  font-weight: 600;
}

.page-title__title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}
.page-title__text {
  margin: 1rem 0 0;
  max-width: 640px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
}
.page-title__cta {
  margin-top: 1.75rem;
}

/* ==========================================================================
   16. IMAGE + TEXTE (image-text) — full option
   ========================================================================== */

.image-text {
  padding: var(--section-py) 0;
}

/* Fonds */
.image-text--bg-white {
  background: var(--c-bg);
}
.image-text--bg-soft {
  background: var(--c-bg-soft);
}
.image-text--bg-primary {
  background: var(--c-primary);
}

/* Variante sombre : texte clair */
.image-text--dark .section__title,
.image-text--dark .image-text__title {
  color: #fff;
}
.image-text--dark .image-text__text {
  color: rgba(255, 255, 255, 0.75);
}
.image-text--dark .image-text__text strong {
  color: #fff;
}
.image-text--dark .image-text__bullets li {
  color: rgba(255, 255, 255, 0.85);
}
.image-text--dark .section__eyebrow {
  color: var(--c-accent);
}

/* Média */
.image-text__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.image-text__media-col--full .image-text__media {
  max-width: 960px;
  margin-inline: auto;
}
.image-text__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Texte */
.image-text__title {
  margin-bottom: 1.25rem;
}
.image-text__text {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.image-text__text p:last-child {
  margin-bottom: 0;
}

/* Liste à puces (check jaune) */
.image-text__bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.image-text__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--c-text);
}
.image-text__bullets li i {
  color: var(--c-accent-dark);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.image-text--dark .image-text__bullets li i {
  color: var(--c-accent);
}

/* Réassurance sous l'image (réutilise le style des stats de Présentation) */
.image-text__stats {
  margin-top: 1.5rem;
}

.image-text__cta {
  margin-top: 1.75rem;
}

/* ==========================================================================
   17. FAQ (accordéon natif <details>)
   ========================================================================== */

.faq {
  padding: var(--section-py) 0;
}

/* Fonds */
.faq--bg-white {
  background: var(--c-bg);
}
.faq--bg-soft {
  background: var(--c-bg-soft);
}
.faq--bg-primary {
  background: var(--c-primary);
}

.faq__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.faq__header .section__lead {
  margin-inline: auto;
}

/* Variante sombre */
.faq--dark .section__title {
  color: #fff;
}
.faq--dark .section__eyebrow {
  color: var(--c-accent);
}
.faq--dark .section__lead {
  color: rgba(255, 255, 255, 0.75);
}

/* Liste */
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.faq__item[open] {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.faq--dark .faq__item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.faq--dark .faq__item[open] {
  border-color: rgba(255, 255, 255, 0.25);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-primary);
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq--dark .faq__question {
  color: #fff;
}

.faq__icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--c-accent-dark);
  transition: transform var(--transition);
}
.faq--dark .faq__icon {
  color: var(--c-accent);
}
.faq__item[open] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 1.35rem 1.35rem;
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq__answer p:last-child {
  margin-bottom: 0;
}
.faq--dark .faq__answer {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   18. FORMULAIRE DE CONTACT (Contact Form 7)
   ========================================================================== */

.contact-form .contact-form__label {
  display: block;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--c-primary);
  margin-bottom: 0.4rem;
}
.contact-form .contact-form__label .req {
  color: var(--c-accent-dark);
}

/* Champs */
.contact-form .wpcf7-form-control-wrap {
  display: block;
}
.contact-form input.wpcf7-form-control:not(.wpcf7-submit),
.contact-form textarea.wpcf7-form-control:not(.wpcf7-submit),
.contact-form select.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.contact-form input.wpcf7-form-control:focus,
.contact-form textarea.wpcf7-form-control:focus,
.contact-form select.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--c-accent-dark);
  box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.25);
}
.contact-form textarea.wpcf7-form-control {
  min-height: 150px;
  resize: vertical;
}
.contact-form select.wpcf7-form-control {
  cursor: pointer;
}

/* Bouton d'envoi */
.contact-form input.wpcf7-submit {
  margin-top: 0.25rem;
  cursor: pointer;
}

.wpcf7-submit {
  width: 100%;
}

/* Spinner CF7 */
.contact-form .wpcf7-spinner {
  margin: 0 0 0 0.75rem;
}

/* Messages de validation / réponse */
.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #dc2626;
}
.contact-form input.wpcf7-not-valid,
.contact-form textarea.wpcf7-not-valid,
.contact-form select.wpcf7-not-valid {
  border-color: #dc2626;
}
.wpcf7 .contact-form + .wpcf7-response-output,
.contact-form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  border-width: 1px;
  border-style: solid;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--c-success);
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

/* ==========================================================================
   19. SECTION CONTACT (coordonnées + carte + formulaire)
   ========================================================================== */

.contact-section {
  padding: var(--section-py) 0;
  background: var(--c-bg-soft);
}

.contact-section__header {
  max-width: 720px;
  margin: 0 0 3rem;
}

/* Coordonnées */
.contact-section__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-section__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--c-text);
}
.contact-section__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-accent-dark);
  font-size: 1.05rem;
}
.contact-section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.2rem;
}
.contact-section__item a {
  color: var(--c-primary);
}
.contact-section__item a:hover {
  color: var(--c-accent-dark);
}

/* Carte */
.contact-section__map {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-section__map p {
  margin: 0;
}

.contact-section__map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.cc-map__placeholder{
  background-color: var(--c-accent-ultra-light);
  text-align: center !important;
}

/* Carte formulaire */
.contact-section__form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

@media (max-width: 991.98px) {
  .contact-section__form {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   20. PAGE 404 — fond sombre quadrillé (façon Hero)
   ========================================================================== */

.section-error404 {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: 5rem 0;
}

/* Fond quadrillé + dégradés (repris du Hero) */
.error404__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 0%,
      rgba(255, 199, 44, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 0% 100%,
      rgba(20, 54, 91, 0.6) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  pointer-events: none;
}
.error404__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
}

.error404__inner {
  position: relative;
  z-index: 2;
}
.error404__content {
  max-width: 640px;
}

.error404__code {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-accent);
  margin: 0.5rem 0 1rem;
  animation: flashingGlow 2s ease-in-out infinite;
}

@keyframes flashingGlow {
  0% {
    -webkit-text-stroke: 2px var(--c-accent);
    text-shadow: 0px 0px 0px var(--c-accent-light);
  }

  50% {
    -webkit-text-stroke: 2px var(--c-accent-ultra-light);
    text-shadow: 1px 1px 15px var(--c-accent-light);
  }

  100% {
     -webkit-text-stroke: 2px var(--c-accent);
    text-shadow: 0px 0px 0px var(--c-accent-light);
  }
}

.error404__title {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
.error404__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2rem;
}
.error404__widget {
  margin-bottom: 1.5rem;
}

.error404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ==========================================================================
   17. BANDEAU & MODALE COOKIES (CookieConsent) — charte Lambert Électricité
   Tout est cadré sous #bs-cookie-wrapper / #bs-cookie-modal pour ne pas
   impacter les autres composants Bootstrap du site.
   ========================================================================== */

/* --- Bandeau (barre fixée en bas) --- */
#bs-cookie-bar {
  background: var(--c-primary) !important;
  color: rgba(255, 255, 255, 0.75);
  border-top: 3px solid var(--c-accent);
  box-shadow: 0 -12px 40px rgba(6, 24, 41, 0.35);
}
#bs-cookie-bar #c-ttl {
  font-family: var(--ff-heading);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
#bs-cookie-bar #c-txt {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
#bs-cookie-bar #c-txt a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#bs-cookie-bar #c-txt a:hover {
  color: var(--c-accent-light) !important;
}

/* Liens bas de bandeau (politique de confidentialité) */
#consent-links {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}
#consent-links a {
  color: rgba(255, 255, 255, 0.6) !important;
}
#consent-links a:hover {
  color: var(--c-accent) !important;
}

/* --- Boutons du bandeau et de la modale --- */
/* Base commune : reprend l'allure des .btn-*-custom du site */
#bs-cookie-wrapper .c-bn,
#bs-cookie-modal .c-bn {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  padding: 0.7rem 1.25rem;
  transition: all var(--transition);
}

/* Action principale « Tout accepter » → jaune électrique */
#c-p-bn,
#s-all-bn {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  color: var(--c-primary) !important;
}
#c-p-bn:hover,
#s-all-bn:hover {
  background: var(--c-accent-dark) !important;
  border-color: var(--c-accent-ultra-light) !important;
  color: var(--c-primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 1px 13px 5px rgba(255, 211, 91, 0.35);
}

/* « Tout refuser » → contour clair (ghost) */
#c-s-bn,
#s-rall-bn {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}
#c-s-bn:hover,
#s-rall-bn:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--c-primary) !important;
}

/* « Gérer / Enregistrer mes préférences » → secondaire plein */
#set-s-bn,
#s-sv-bn {
  background: var(--c-primary-light) !important;
  border-color: var(--c-primary-light) !important;
  color: #fff !important;
}
#set-s-bn:hover,
#s-sv-bn:hover {
  background: var(--c-primary-dark) !important;
  border-color: var(--c-primary-dark) !important;
  color: #fff !important;
}

/* Dans la modale (fond clair), « Gérer/Enregistrer » reste lisible tel quel.
   « Tout refuser » sur fond clair : on inverse le ghost pour rester visible. */
#bs-cookie-modal #s-rall-bn {
  border-color: var(--c-border) !important;
  color: var(--c-primary) !important;
}
#bs-cookie-modal #s-rall-bn:hover {
  background: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
  color: #fff !important;
}

/* --- Modale de préférences --- */
#bs-cookie-modal .modal-content {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
#bs-cookie-modal .modal-header {
  border-bottom-color: var(--c-border);
}
#bs-cookie-modal .modal-footer {
  border-top-color: var(--c-border);
}
#bs-cookie-modal #s-ttl {
  font-family: var(--ff-heading);
  font-weight: 800;
  color: var(--c-primary);
}

/* Blocs de catégories (accordéons) */
#bs-cookie-modal .c-bl.b-ex {
  background: var(--c-bg-soft) !important;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md) !important;
}
#bs-cookie-modal .b-tl {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-primary);
  background: transparent;
  border: none;
  text-align: left;
}
#bs-cookie-modal .b-tl.exp:hover {
  color: var(--c-accent-dark);
}
#bs-cookie-modal .desc .p {
  color: var(--c-text-muted);
}
#bs-cookie-modal .desc a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#bs-cookie-modal .desc a:hover {
  color: var(--c-accent-dark) !important;
}

/* Interrupteurs (toggles) : couleur active = jaune électrique */
#bs-cookie-modal .form-check-input:checked {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
}
#bs-cookie-modal .form-check-input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 0.2rem rgba(255, 199, 44, 0.35);
}
#bs-cookie-modal .form-check-input:disabled {
  opacity: 0.55;
}

/* Tableaux de cookies */
#bs-cookie-modal .desc table {
  width: 100%;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  border-collapse: collapse;
}
#bs-cookie-modal .desc th {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--c-primary);
  border-bottom: 2px solid var(--c-border);
  padding: 0.5rem 0.6rem;
  text-align: left;
}
#bs-cookie-modal .desc td {
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
  padding: 0.5rem 0.6rem;
  vertical-align: top;
}

/* ==========================================================================
   18. CARTE GOOGLE MAPS (RGPD) — conteneur + repli avant consentement
   ========================================================================== */
.contact-section__map .cc-map,
.contact-section__map iframe {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  width: 100%;
}
.cc-map__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2rem;
  text-align: center;
  background: var(--c-bg-soft);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}
.cc-map__placeholder p {
  margin: 0;
}
.cc-map__placeholder a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-map__placeholder a:hover {
  color: var(--c-accent-dark);
}
