/* ============================================================
   YAM ENERGY – style.css
   Police : Inter | Fond : #FFFFFF | Footer : #111111
   ============================================================ */

/* ---- Variables ---- */
:root {
  --green:        #2E7D32;
  --green-light:  #66BB6A;
  --green-xlight: #E8F5E9;
  --green-mid:    #43A047;
  --gray:         #6B7280;
  --gray-light:   #F3F4F6;
  --gray-border:  #E5E7EB;
  --text:         #111111;
  --text-light:   #374151;
  --white:        #FFFFFF;
  --footer-bg:    #111111;
  --font:         'Inter', sans-serif;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --transition:   0.3s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
  background: var(--white);
}
.section-alt {
  background: #F8FAF8;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-xlight);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 12px 24px;
  box-shadow: 0 4px 14px rgba(46,125,50,0.25);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.35);
}
.btn-outline {
  background:  #FFFFFF;
  color: var(--text);
  padding: 12px 24px;
  border: 1.5px solid var(--gray-border);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-xlight);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 0.95rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img   { height: 44px; width: auto; object-fit: contain; }

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--green);
  background: var(--green-xlight);
}
.cta-header { flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1099;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 50%;
  min-width: 260px;
  height: 100%;
  background: var(--white);
  z-index: 1100;
  padding: 88px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: var(--transition);
}
.mobile-close:hover { background: var(--gray-light); }
.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--green); background: var(--green-xlight); }
.mobile-cta { margin-top: 16px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: url('images/fond_deco.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
/* subtle radial tint */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(102,187,106,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-xlight);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 24px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  width: fit-content;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-border);
}

/* ---- Charge station visual ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 420px;
}
.charge-station {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.station-body {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: 24px;
  padding: 28px 24px;
  width: 220px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.station-screen {
  background: var(--green-xlight);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid rgba(46,125,50,0.15);
}
.screen-content { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.screen-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
}
.screen-label {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.screen-percent {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.03em;
}

.battery-bar-container { margin-bottom: 20px; }
.battery-bar {
  height: 10px;
  background: var(--gray-border);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}
.battery-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 100px;
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
}
.battery-fill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}
.battery-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 500;
}

.station-connector { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.connector-plug {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-xlight);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--green-light);
}
.connector-wire {
  width: 2px; height: 20px;
  background: linear-gradient(180deg, var(--green-light), transparent);
  border-radius: 2px;
}

/* Glow rings */
.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(102,187,106,0.25);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: pulse-ring 3s ease-in-out infinite;
}
.glow-ring-1 { width: 280px; height: 280px; animation-delay: 0s; }
.glow-ring-2 { width: 360px; height: 360px; animation-delay: 0.7s; opacity: 0.6; }
.glow-ring-3 { width: 440px; height: 440px; animation-delay: 1.4s; opacity: 0.3; }
@keyframes pulse-ring {
  0%   { opacity: 0.8; transform: translate(-50%,-50%) scale(0.95); }
  50%  { opacity: 0.3; transform: translate(-50%,-50%) scale(1.05); }
  100% { opacity: 0.8; transform: translate(-50%,-50%) scale(0.95); }
}

/* Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--green-light);
  animation: float-particle 4s ease-in-out infinite;
}
.p1 { width: 10px; height: 10px; top: 20%; right: 10%; animation-delay: 0s; }
.p2 { width: 6px;  height: 6px;  top: 60%; right: 5%;  animation-delay: 0.8s; opacity: 0.7; }
.p3 { width: 8px;  height: 8px;  top: 80%; left: 10%;  animation-delay: 1.6s; }
.p4 { width: 5px;  height: 5px;  top: 15%; left: 15%;  animation-delay: 2.4s; opacity: 0.6; }
@keyframes float-particle {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(-16px); opacity: 0.4; }
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ============================================================
   PARTNERS / BANDEROLE
   ============================================================ */
.partners-section {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}
.partners-track-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: scroll-partners 20s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: var(--transition);
}
.partner-item:hover img {
  opacity: 0.8;
  filter: none;
}
@keyframes scroll-partners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   IRVE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  cursor: default;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.card-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46,125,50,0.06), var(--shadow-md);
}
.card-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.card-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card-icon-green { background: var(--green-xlight); }
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.card-cta:hover { gap: 10px; color: var(--green); }
.card-cta-green { color: var(--green); }

/* ============================================================
   ELECTRICITÉ GÉNÉRALE
   ============================================================ */
.elec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.elec-card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.elec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.elec-card-inner {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.elec-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: var(--green-xlight);
  display: flex; align-items: center; justify-content: center;
}
.elec-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.elec-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.elec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.elec-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-xlight);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-slider-wrapper { position: relative; }
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: var(--transition);
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.reviewer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.reviewer-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.reviewer-type {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.review-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.review-service {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-xlight);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: var(--transition);
}
.slider-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-border);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--green);
  width: 24px;
  border-radius: 100px;
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.certif-card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: var(--transition);
}
.certif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.certif-logo {
  flex-shrink: 0;
  width: 100px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 10px;
}
.certif-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.certif-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.certif-content p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.certif-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-xlight);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ============================================================
   POURQUOI NOUS CHOISIR
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.why-card:hover::before { transform: scaleX(1); }
.why-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-border);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-xlight);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.why-card p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--white);
}
.contact-inner {
  background: linear-gradient(135deg, var(--green-xlight) 0%, rgba(255,255,255,0.8) 100%);
  border: 1.5px solid rgba(46,125,50,0.15);
  border-radius: 28px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.contact-text .section-title { text-align: left; }
.contact-text .section-subtitle { text-align: left; margin-left: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.contact-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-xlight);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-content { flex: 1; }
.contact-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-card-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.contact-card-arrow { color: var(--gray); transition: var(--transition); }
.contact-card:hover .contact-card-arrow { color: var(--green); transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  /* ensure logo shows on dark bg – invert if it's dark originally */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-desc {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.footer-certifs {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-certif-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.4;
}
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-link:hover { color: var(--white); }
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   ANIMATIONS – IntersectionObserver
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 0.8s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--card-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FORMULAIRE CONTACT
   ============================================================ */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-submit {
  width: 100%;
  justify-content: center;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px 16px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .elec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-desktop, .cta-header { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-stats { justify-content: center; width: 100%; }
  .hero-visual {
    order: -1;
    min-height: 280px;
    width: 100%;
  }

  /* Grids */
  .cards-grid, .elec-grid { grid-template-columns: 1fr; }
  .certif-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    padding: 48px 40px;
    gap: 36px;
  }
  .contact-text .section-title,
  .contact-text .section-subtitle { text-align: center; margin: 0 auto; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  /* Global */
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }

  /* Hero */
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-inner { padding-top: 20px; padding-bottom: 60px; gap: 32px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .hero-actions .btn { justify-content: center; }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 16px;
  }
  .stat-divider { width: 60px; height: 1px; }

  /* Hero visual – réduire les glow rings pour éviter le débordement */
  .hero-visual { min-height: 220px; overflow: hidden; }
  .glow-ring-1 { width: 180px; height: 180px; }
  .glow-ring-2 { width: 240px; height: 240px; }
  .glow-ring-3 { width: 300px; height: 300px; }
  .station-body { width: 190px; padding: 22px 18px; }

  /* Grids */
  .cards-grid, .elec-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .certif-card { flex-direction: column; align-items: flex-start; }
  .certif-logo { width: 80px; height: 64px; }

  /* Reviews slider */
  .reviews-slider { grid-template-columns: 1fr; }

/* Contact */
  .section-contact .container {
    padding: 0 16px;
    overflow: hidden;
  }
  .contact-inner {
    padding: 28px 16px;
    gap: 24px;
    border-radius: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .contact-text {
    width: 100%;
    overflow: hidden;
  }
  .contact-text .section-title {
    font-size: 1.7rem;
    word-break: break-word;
    white-space: normal;
  }
  .contact-text .section-subtitle {
    font-size: 0.9rem;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
  }
  .contact-cards {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .contact-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 12px;
    transform: none !important;
    transition: none !important;
  }
  .contact-card-arrow {
    display: none;
  }
  .contact-card-value {
    font-size: 0.75rem;
    word-break: break-all;
  }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-top: 50px; }

  /* Menu mobile plein écran */
  .mobile-menu { width: 85%; min-width: unset; }

  /* Boutons */
  .btn-lg { padding: 13px 22px; font-size: 0.9rem; }
}