/* ═══════════════════════════════════════════════
   CHEMS ENERGIES — home.css (page accueil)
═══════════════════════════════════════════════ */

/* ══ HERO ══ */
.hero {
  background: var(--gold);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.hero-left {
  padding: 72px 64px 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 800;
  color: var(--black);
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-bold {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 14px;
  color: rgba(0,0,0,0.55);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: rgba(0,0,0,0.12);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(0,0,0,0.3);
  text-align: center;
}
.hero-img-placeholder svg { width: 48px; height: 48px; fill: rgba(0,0,0,0.2); }
.hero-img-placeholder span { font-size: 13px; line-height: 1.6; }

/* ══ SERVICES PREVIEW ══ */
.services-preview {
  padding: 90px 0;
  background: var(--white);
}

.services-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-dark);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 18px;
}

.btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-link:hover { gap: 8px; }

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

/* ══ TESTIMONIALS ══ */
.testimonials {
  background: var(--gray-light);
  padding: 90px 0;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.testi-card:hover { box-shadow: var(--shadow); }

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

.testi-text {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.author-city {
  font-size: 12px;
  color: #999;
  margin-top: 1px;
}

/* ══ GALLERY SECTION ══ */
.gallery-section {
  background: var(--white);
  padding: 90px 0 70px;
}

.gallery-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 80px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 80px 12px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 280px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  transition: transform 0.25s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  color: #aaa;
  font-size: 12px;
}
.gallery-item.placeholder::after {
  content: '📷 Photo à venir';
}

.gallery-hint {
  text-align: center;
  font-size: 12px;
  color: #bbb;
  margin-top: 16px;
  letter-spacing: 0.04em;
}

/* ══ CTA SECTION ══ */
.cta-section {
  background: var(--gray-light);
  padding: 90px 80px;
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-inner h2 span { color: var(--gold-dark); }
.cta-inner p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .hero-left { padding: 56px 40px 56px 48px; }
  .services-preview-inner,
  .testimonials-inner { padding: 0 40px; }
  .gallery-section-header { padding: 0 40px; }
  .gallery-track { padding: 0 40px 12px; }
  .cta-section { padding: 72px 40px; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-left {
    padding: 48px 24px 40px;
    order: 1;
  }
  .hero-right {
    order: 2;
    min-height: 260px;
  }
  .hero-title { font-size: 52px; }

  .services-preview-inner,
  .testimonials-inner { padding: 0 24px; }
  .services-preview { padding: 64px 0; }
  .testimonials { padding: 64px 0; }
  .gallery-section { padding: 64px 0 48px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }

  .gallery-section-header { padding: 0 24px; flex-direction: column; align-items: flex-start; }
  .gallery-track { padding: 0 24px 12px; }
  .gallery-item { flex: 0 0 240px; height: 170px; }

  .cta-section { padding: 64px 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ══ HERO BADGES ══ */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-badge {
  background: rgba(0,0,0,0.15);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.2);
  white-space: nowrap;
}

/* ══ URGENCY BANNER ══ */
.urgency-banner {
  background: var(--black);
  padding: 16px 80px;
}
.urgency-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.urgency-icon { font-size: 22px; flex-shrink: 0; }
.urgency-text {
  flex: 1;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.urgency-text strong { color: var(--gold); }

/* ══ ZONES SECTION ══ */
.zones-section {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.zones-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.zones-map-wrap {
  margin-top: 8px;
}
.zones-map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 16px;
}
.zones-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.zone-tag {
  background: var(--gray-light);
  color: var(--black);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
}


/* ══ RESPONSIVE ADDITIONS ══ */
@media (max-width: 1024px) {
  .urgency-banner { padding: 16px 32px; }
  .zones-inner { padding: 0 32px; }
}
@media (max-width: 768px) {
  .urgency-banner { padding: 14px 20px; }
  .urgency-text { font-size: 13px; }
  .zones-section { padding: 56px 0; }
  .zones-inner { padding: 0 20px; }
  .zones-map-wrap iframe { height: 260px; }
  .hero-badge { font-size: 10px; padding: 4px 10px; }
  .whatsapp-float { max-width: 195px; padding: 10px 14px !important; }
  .whatsapp-float-text strong { font-size: 12px; }
}
