/* ============================================
   EWF Électricité Générale — Design System v4
   Cohesive premium design
   ============================================ */

:root {
  /* --- Palette chaude --- */
  --primary: #0D1B2A;
  --primary-deep: #070f1a;
  --accent: #F5A623;
  --accent-hover: #e6951a;
  --accent-soft: rgba(245,166,35,.1);
  --accent-glow: rgba(245,166,35,.25);
  --white: #FFFFFF;
  --cream: #FAF7F2;
  --warm-gray: #F2EFE9;
  --warm-gray-dark: #E8E4DD;
  --text-dark: #2D2D2D;
  --text-body: #5A5A5A;
  --text-muted: #8A8A8A;
  --text-light: #E2E8F0;
  --surface: #1A2744;

  /* --- Typo --- */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* --- UNE seule ombre, cohérente partout --- */
  --shadow: 0 3px 16px rgba(0,0,0,.1);
  --shadow-hover: 0 12px 32px rgba(0,0,0,.15);
  --shadow-accent: 0 6px 24px rgba(245,166,35,.3);

  /* --- Radius --- */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 50px;

  /* --- Transitions --- */
  --ease: .35s cubic-bezier(.4,0,.2,1);
  --ease-bounce: .4s cubic-bezier(.175,.885,.32,1.275);
  --nav-height: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--ease); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-muted);
}
.section-label::before,
.section-label::after {
  content: '';
  flex: 0 1 70px;
  border-bottom: 2px dotted var(--warm-gray-dark);
}
.section-label--light { color: rgba(255,255,255,.45); }
.section-label--light::before,
.section-label--light::after { border-color: rgba(255,255,255,.15); }

.section-title {
  text-align: center;
  margin-bottom: 64px;
}
.section-title h2 {
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.8;
}
.section-title--light h2 { color: var(--white); }
.section-title--light p { color: rgba(255,255,255,.65); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform var(--ease); }
.btn:hover svg { transform: scale(1.15); }

.btn--primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(245,166,35,.4);
}

.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn--dark {
  background: var(--primary);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn--whatsapp:hover {
  background: #1da851;
  transform: translateY(-3px);
}

/* --- Sections --- */
.section {
  padding: 130px 0;
  position: relative;
}
.section--dark { background: var(--primary); color: var(--text-light); }
.section--surface { background: var(--surface); color: var(--text-light); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--warm { background: var(--warm-gray); }

/* --- Waves (150px comme la ref) --- */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }
.wave svg { display: block; width: 100%; height: 150px; }
.wave--flip svg { transform: rotate(180deg); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 1001;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: opacity .3s, transform .3s;
}
.top-bar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar__item a { color: rgba(255,255,255,.6); }
.top-bar__item a:hover { color: var(--accent); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.nav--with-topbar { top: 38px; }
.nav.scrolled {
  background: var(--primary);
  padding: 14px 0;
  box-shadow: var(--shadow);
  top: 0 !important;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 72px; width: auto; transition: height var(--ease); }
.nav.scrolled .nav__logo img { height: 52px; }
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--ease);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__cta { padding: 11px 26px !important; font-size: .82rem !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.nav__burger span {
  width: 28px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 160px 0 240px;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,27,42,.8) 0%,
    rgba(13,27,42,.55) 40%,
    rgba(13,27,42,.6) 70%,
    rgba(13,27,42,.92) 100%
  );
  z-index: -1;
}
.hero__content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 24px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.2);
  padding: 10px 24px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: pulse-badge 2.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,166,35,.25); }
  50% { box-shadow: 0 0 0 14px rgba(245,166,35,0); }
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--accent); }
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  line-height: 1.85;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 250px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2s infinite;
}
.hero__scroll span {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 13px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ============================================
   TRUST CARDS (overlap hero)
   ============================================ */
.trust-cards {
  position: relative;
  z-index: 10;
  margin-top: -90px;
  padding: 0 24px;
  margin-bottom: 20px;
}
.trust-cards__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1140px;
  margin: 0 auto;
}
.trust-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--ease-bounce);
  border: 2px solid var(--primary);
}
.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.trust-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--ease);
}
.trust-card:hover .trust-card__icon {
  background: var(--accent);
  color: var(--primary);
}
.trust-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.services__grid .service-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: all var(--ease-bounce);
  position: relative;
  overflow: visible;
  border: 2px solid var(--primary);
}
.service-card__image {
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.service-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0;
  background: var(--primary);
}
.service-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.service-card:hover .service-card__image img {
  transform: scale(1.08);
}
.service-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.5) 0%, transparent 60%);
}
.service-card__icon {
  position: absolute;
  top: 16px; left: 16px;
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 2;
  box-shadow: var(--shadow);
}
.service-card__action {
  position: absolute;
  bottom: -20px; right: 20px;
  width: 42px; height: 42px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  z-index: 5;
  transition: all var(--ease-bounce);
  border: 3px solid var(--white);
}
.service-card:hover .service-card__action {
  transform: translateY(-6px) scale(1.1);
  background: var(--primary);
  color: var(--accent);
}
.service-card:hover .service-card__action svg {
  transform: rotate(90deg);
}
.service-card__action svg { transition: transform .3s ease; }
.service-card__body {
  padding: 28px 24px 24px;
  text-align: center;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.service-card h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
  text-transform: none;
  font-size: 1.1rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.75;
}

/* --- Image borders: navy on light bg, white on dark bg --- */
.section--cream .about__image-main,
.section--cream .about__image-secondary,
.section--white .gallery__item { border: 3px solid var(--primary); }

.section--dark .gallery__item { border: 3px solid var(--white); }
.section--dark .gallery__item { border-radius: var(--r-md); }

/* ============================================
   ABOUT
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__images {
  position: relative;
  min-height: 520px;
}
/* Décor accent circle behind images */
.about__images::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background: rgba(13,27,42,.04);
  border: 2px dashed rgba(13,27,42,.08);
  border-radius: 50%;
  top: -30px; left: -30px;
  z-index: 0;
}
.about__image-main {
  width: 72%;
  height: 420px;
  object-fit: cover;
  border-radius: 150px 10px 10px 150px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.about__image-secondary {
  width: 52%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px 10px 150px 150px;
  box-shadow: var(--shadow);
  border: 6px solid var(--cream);
  position: absolute;
  bottom: 0; right: 0;
  z-index: 2;
}
.about__image-badge {
  position: absolute;
  top: 20px; right: 38%;
  background: var(--accent);
  color: var(--primary);
  padding: 14px 22px;
  border-radius: var(--r-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-accent);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.about__certs {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: -14px; left: 16px;
  z-index: 3;
}
.about__cert {
  background: var(--primary);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.about__content h2 {
  color: var(--text-dark);
  margin-bottom: 20px;
  text-transform: none;
}
.about__content > p {
  color: var(--text-body);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.85;
}
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--accent-soft);
  padding: 24px 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(245,166,35,.12);
}
.counter { text-align: center; padding: 10px 4px; }
.counter__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.counter__label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--warm-gray-dark);
  border-bottom: 1px solid var(--warm-gray-dark);
}
.partners__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.partners__label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  width: 100%;
}
.partner-logo {
  height: 52px;
  width: auto;
  filter: grayscale(100%) opacity(.5);
  transition: all var(--ease);
}
.partner-logo:hover {
  filter: grayscale(0) opacity(1);
}
.partners__logos { gap: 72px; }

/* ============================================
   GALLERY
   ============================================ */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gallery__filter {
  padding: 10px 26px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.12);
  transition: all var(--ease);
  cursor: pointer;
  background: transparent;
}
.gallery__filter:hover,
.gallery__filter.active {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: opacity .3s ease, transform .3s ease;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity var(--ease);
}
.gallery__item:hover .gallery__item-overlay { opacity: 1; }
.gallery__item-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2001;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  transition: background var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--r-md); }

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.timeline::before { display: none; }
.timeline__step {
  position: relative;
  text-align: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  padding: 48px 18px 28px;
  opacity: 0 !important;
  transform: translateY(50px) scale(.92) !important;
  transition: opacity .7s ease-out, transform .7s ease-out !important;
}
.timeline__step.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}
.timeline__step:nth-child(1) { transition-delay: 0s !important; }
.timeline__step:nth-child(2) { transition-delay: .3s !important; }
.timeline__step:nth-child(3) { transition-delay: .6s !important; }
.timeline__step:nth-child(4) { transition-delay: .9s !important; }
.timeline__step:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(245,166,35,.15);
}
.timeline__number {
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: var(--shadow-accent);
  border: 4px solid var(--surface);
}
.timeline__step h3 {
  color: var(--white);
  margin-bottom: 8px;
  text-transform: none;
  font-size: 1rem;
}
.timeline__step p {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.testimonials__header-text h2 {
  margin: 14px 0 24px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}
.testimonials__header-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.testimonials__header-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
}
.testimonials__rating-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonials__rating-inline p { font-size: 1rem; color: var(--text-muted); margin: 0; }
.testimonials__rating {
  text-align: center;
  margin-bottom: 48px;
}
.testimonials__stars { font-size: 1.8rem; color: var(--accent); letter-spacing: 3px; }
.testimonials__rating p { font-size: 1rem; color: var(--text-muted); margin-top: 6px; }

@media (max-width: 768px) {
  .testimonials__header { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .testimonials__header-text .section-label { justify-content: center !important; }
  .testimonials__header-text h2 { display: inline-block; }
  .testimonials__header-text h2::after { left: 50%; transform: translateX(-50%); }
  .testimonials__rating-inline { justify-content: center; }
  .testimonials__header-image img { height: 260px; }
}

/* --- FAQ Header (image + texte) --- */
.faq__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.faq__header-text h2 {
  margin: 14px 0 24px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}
.faq__header-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.faq__header-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq__header-image img {
  max-width: 100%;
  height: auto;
  max-height: 460px;
  width: auto;
  display: block;
  vertical-align: top;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
}

@media (max-width: 768px) {
  .faq__header { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .faq__header-text .section-label { justify-content: center !important; }
  .faq__header-text h2 { display: inline-block; }
  .faq__header-text h2::after { left: 50%; transform: translateX(-50%); }
  .faq__header-image img { height: 260px; }
  .faq__header-image { order: -1; }
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all var(--ease-bounce);
  border: 2px solid var(--primary);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card p {
  flex: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-card__quote {
  position: absolute;
  top: -14px; right: 22px;
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  border: 3px solid var(--cream);
}
.testimonial-card__stars { color: var(--accent); font-size: .92rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
  color: var(--text-body);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  flex: 1;
}
.testimonial-card__footer { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 40px; height: 40px;
  background: var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-dark);
}
.testimonial-card__author { font-weight: 600; color: var(--text-dark); font-size: .88rem; }
.testimonial-card__meta { font-size: .75rem; color: var(--text-muted); }

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.testimonials__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--warm-gray-dark);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
}
.testimonials__dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: var(--r-pill);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--primary);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(245,166,35,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245,166,35,.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.18);
  border-radius: var(--r-pill);
  padding: 8px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.cta-band h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.6); margin-bottom: 4px; }

/* ============================================
   MAP / ZONE
   ============================================ */
.zone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
#map {
  height: 400px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.zone__cities h3 { color: var(--text-dark); margin-bottom: 20px; text-transform: none; }
.zone__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zone__list li {
  color: var(--text-body);
  font-size: .92rem;
  padding-left: 20px;
  position: relative;
}
.zone__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================
   WHY EWF
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  transition: all var(--ease-bounce);
}
.why-card:hover {
  transform: translateY(-6px);
  background: rgba(245,166,35,.05);
  border-color: rgba(245,166,35,.2);
}
.why-card__icon { margin-bottom: 16px; }
.why-card h3 { color: var(--white); margin-bottom: 12px; text-transform: none; }
.why-card p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.75; }

.guarantees {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  padding: 28px 36px;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.guarantee { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 500; }
.guarantee__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(245,166,35,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   FAQ
   ============================================ */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--ease);
  border: 2px solid var(--primary);
}
.faq__item:hover { box-shadow: var(--shadow-hover); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: color var(--ease);
}
.faq__question:hover { color: var(--accent); }
.faq__icon {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 14px;
  width: 32px; height: 32px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.faq__item.active .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--primary);
}
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq__item.active .faq__answer { max-height: 300px; padding: 0 26px 22px; }
.faq__answer p { color: var(--text-body); font-size: .9rem; line-height: 1.85; }

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact__form {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255,255,255,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: all var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(245,166,35,.12);
}
.form-group select option { background: var(--primary); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-checkbox {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px; cursor: pointer;
}
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.form-checkbox span { color: rgba(255,255,255,.7); font-size: .88rem; }

.contact__info { color: var(--text-light); }
.contact__info h3 { color: var(--white); margin-bottom: 26px; text-transform: none; font-size: 1.35rem; }
.contact__detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact__detail-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(245,166,35,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__detail a { color: rgba(255,255,255,.75); }
.contact__detail a:hover { color: var(--accent); }
.contact__detail p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.6); }

.contact__response {
  margin-top: 30px;
  padding: 16px 22px;
  background: rgba(245,166,35,.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .88rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,.5);
  padding: 60px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer__brand img { height: 44px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: 14px; }
.footer__brand p { color: rgba(255,255,255,.35); font-size: .85rem; line-height: 1.7; }
.footer h4 { color: var(--white); margin-bottom: 18px; font-size: .95rem; text-transform: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,.4); font-size: .85rem; transition: color var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom p, .footer__bottom a { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer__bottom a:hover { color: var(--accent); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 100px; right: 24px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s ease;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,.08);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }

/* ============================================
   MENTIONS LEGALES
   ============================================ */
.legal { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 80px; min-height: 100vh; }
.legal h1 { color: var(--text-dark); margin-bottom: 40px; font-size: 2.2rem; }
.legal h2 { color: var(--text-dark); margin: 32px 0 12px; font-size: 1.3rem; }
.legal p, .legal li { color: var(--text-body); line-height: 1.8; margin-bottom: 12px; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: all .3s ease;
  animation: wa-entrance .6s 2s both;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.45); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes wa-entrance {
  from { opacity: 0; transform: scale(0) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
  .services__grid { gap: 20px; }
  .services__grid .service-card { flex-basis: calc(33.333% - 14px); max-width: calc(33.333% - 14px); }
  .trust-cards__grid { gap: 10px; }
  .trust-card { padding: 22px 14px; }
  .trust-card__title { font-size: .82rem; }
}

@media (max-width: 1024px) {
  .trust-cards__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid .service-card { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__images { min-height: 400px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .zone__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 90px 0; }
  .top-bar { display: none; }
  .nav--with-topbar { top: 0; }
  .wave svg { height: 80px; }

  .nav__links {
    display: none;
    position: fixed; inset: 0;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }

  .hero { min-height: 85vh; }
  .hero__content h1 { font-size: 2.2rem; }
  .hero__subtitle { font-size: .95rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__scroll { bottom: 100px; }

  .trust-cards { margin-top: -50px; }
  .trust-cards__grid { grid-template-columns: repeat(3, 1fr); }

  .services__grid .service-card { flex-basis: 100%; max-width: 100%; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__images { min-height: 320px; }
  .about__image-main { width: 68% !important; height: 320px !important; border-radius: 60px 10px 10px 60px !important; }
  .about__image-secondary { width: 48% !important; height: 220px !important; border-radius: 10px 10px 60px 60px !important; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item-overlay { opacity: 1; background: linear-gradient(to top, rgba(13,27,42,.7) 0%, transparent 40%); }
  .timeline { grid-template-columns: 1fr; gap: 48px; }
  .timeline::before { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .zone__grid { grid-template-columns: 1fr; }
  #map { height: 280px; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .trust-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cards__grid > :last-child { grid-column: 1 / -1; max-width: 200px; margin: 0 auto; }
  .gallery__grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .guarantees { flex-direction: column; align-items: center; }
  .zone__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* --- Subtle bg texture on cream sections --- */
.section--cream {
  background-image: radial-gradient(circle, rgba(13,27,42,.02) 1px, transparent 1px);
  background-size: 24px 24px;
}
