/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --green:        #FBBA05;
  --green-dark:   #d99e00;
  --green-light:  #fff8e1;
  --dark:         #1A1A2E;
  --dark-2:       #2C2C3E;
  --gray:         #6B7280;
  --gray-light:   #F3F4F6;
  --white:        #FFFFFF;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
  --font:         'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  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; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--gray); line-height: 1.75; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { color: var(--dark); margin-bottom: .6rem; }
.section-header p  { font-size: 1.05rem; }
.section-header .underline {
  width: 60px; height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: .8rem auto 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(57,181,74,0.15);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

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

.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 700; font-size: 1.1rem; color: var(--dark);
}
.nav-logo .logo-dot {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--gray);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--green);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--green);
  color: var(--dark) !important;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .88rem !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-dark) !important; color: var(--dark) !important; transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: .5rem;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0d0d1f 0%, #1A1A2E 55%, #1a1200 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2339B54A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}

.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(251,186,5,0.18);
  border: 1px solid rgba(251,186,5,0.45);
  color: #FBBA05;
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '★'; color: var(--green); }

.hero-text h1 {
  color: var(--white);
  margin-bottom: .6rem;
}
.hero-text h1 span { color: var(--green); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  font-weight: 400;
}
.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  border-left: 3px solid var(--green);
  padding-left: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--green);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(251,186,5,0.4);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(251,186,5,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
}
.stat { text-align: center; }
.stat-number {
  font-size: 1.8rem; font-weight: 700; color: var(--green);
  display: block;
}
.stat-label {
  font-size: .78rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: .05em;
}

.hero-image-wrap {
  display: flex; justify-content: center; align-items: center;
  order: 2;
}
.hero-mobile-photo {
  display: none;
}
.hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #2d8f3a, #39B54A);
  box-shadow: var(--shadow-lg);
}
.hero-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: rgba(255,255,255,0.8);
  font-size: .9rem; text-align: center; padding: 2rem;
}
.hero-photo-placeholder .avatar-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.hero-ppf-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow);
  font-size: .8rem; font-weight: 700; color: var(--dark);
}
.hero-ppf-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* ============================================================
   HERO EXTRAS
   ============================================================ */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.hero-rge {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.2rem;
}
.hero-rge-badge {
  background: rgba(251,186,5,0.18);
  border: 1.5px solid rgba(251,186,5,0.55);
  color: #FBBA05;
  font-size: .8rem; font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
#painpoints { background: var(--white); }
.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pp-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.pp-card:hover {
  border-color: var(--green);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pp-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.pp-card h3 { color: var(--dark); margin-bottom: .6rem; font-size: 1rem; }
.pp-card p { font-size: .88rem; }
@media (max-width: 700px) { .pp-grid { grid-template-columns: 1fr; } }

/* DPE BANNER */
.dpe-banner {
  margin-top: 3rem;
  background: var(--white);
  border: 1.5px solid #e8eaed;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.dpe-label-col { flex: 1; }
.dpe-intro { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: .6rem; }
.dpe-sub { font-size: .9rem; color: var(--gray); line-height: 1.6; }

.dpe-scale {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.dpe-arrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .4rem .9rem .4rem 1rem;
  border-radius: 0 6px 6px 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  min-width: 200px;
  position: relative;
  transition: transform .2s;
}
.dpe-arrow:hover { transform: scaleX(1.03); }
.dpe-letter { font-weight: 800; font-size: 1.1rem; color: var(--white); width: 22px; }
.dpe-kwh { font-size: .75rem; color: rgba(255,255,255,0.85); flex: 1; }
.dpe-tag {
  background: rgba(0,0,0,0.25);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.dpe-a { background: #319834; width: 140px; }
.dpe-b { background: #51B847; width: 155px; }
.dpe-c { background: #AACC30; width: 170px; }
.dpe-d { background: #F7C900; width: 185px; }
.dpe-e { background: #F4A100; width: 200px; }
.dpe-f { background: #E97C00; width: 215px; }
.dpe-g { background: #E8372B; width: 230px; }

.dpe-bad { box-shadow: 0 0 0 2px rgba(232,55,43,0.25); }

@media (max-width: 900px) {
  .dpe-banner { flex-direction: column; gap: 2rem; }
  .dpe-arrow { min-width: unset; }
  .dpe-a { width: 110px; } .dpe-b { width: 125px; } .dpe-c { width: 140px; }
  .dpe-d { width: 155px; } .dpe-e { width: 170px; } .dpe-f { width: 185px; }
  .dpe-g { width: 200px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
#process { background: var(--gray-light); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.8rem; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative; z-index: 1;
}
.process-num {
  font-size: .72rem; font-weight: 800; color: var(--green);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .4rem;
}
.process-icon {
  width: 64px; height: 64px;
  background: var(--white);
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow);
}
.process-step h3 { color: var(--dark); margin-bottom: .5rem; }
.process-step p { font-size: .88rem; }
@media (max-width: 700px) {
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps::before { display: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.testimonial-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1.5px solid #e8eaed;
  transition: all var(--transition);
  display: flex; flex-direction: column; gap: .8rem;
}
.testimonial-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.stars { color: #FBBA05; font-size: 1.1rem; letter-spacing: .1em; }
.testimonial-text {
  font-size: .9rem; color: var(--dark-2);
  line-height: 1.7; font-style: italic; flex: 1;
}
.testimonial-author { margin-top: auto; }
.testimonial-author strong { display: block; font-size: .9rem; color: var(--dark); }
.testimonial-author span { font-size: .8rem; color: var(--gray); }
.testimonials-disclaimer {
  text-align: center; font-size: .75rem;
  color: var(--gray); font-style: italic; opacity: .7;
}
@media (max-width: 700px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-whatsapp {
  position: fixed; bottom: 4.5rem; right: 1.5rem;
  width: 50px; height: 50px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  z-index: 998;
  transition: all var(--transition);
}
.float-whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--gray-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--green-light), #c8f0cd);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.about-image-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: var(--green-dark);
  font-size: .9rem; text-align: center; padding: 2rem;
}
.about-image-placeholder .icon {
  font-size: 4rem;
  background: var(--white);
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.about-zone-tag {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: var(--green);
  color: var(--dark);
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .78rem; font-weight: 600;
}

.about-content h2 { color: var(--dark); margin-bottom: 1.2rem; }
.about-content .lead {
  font-size: 1.1rem; color: var(--dark); font-weight: 500;
  margin-bottom: 1rem; line-height: 1.7;
}
.about-content p { margin-bottom: 1.2rem; }

.about-highlight {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--dark-2);
}

.about-qualities {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem;
}
.quality-tag {
  background: var(--white);
  border: 2px solid var(--green-light);
  color: var(--green-dark);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.quality-tag:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1.5px solid #e8eaed;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 { color: var(--dark); margin-bottom: .5rem; }
.service-card p { font-size: .9rem; margin-bottom: 1rem; }
.service-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ============================================================
   BRANDS / MARQUES PARTENAIRES
   ============================================================ */
#brands { background: var(--white); }

.brands-grid { display: flex; flex-direction: column; gap: 2rem; }

/* ── Carte héro Thermor ── */
.brand-hero-card {
  background: linear-gradient(135deg, #fff8dc 0%, #fffef5 50%, #fff 100%);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.8rem;
  box-shadow: 0 6px 32px rgba(251,186,5,0.18);
  transition: box-shadow var(--transition);
}
.brand-hero-card:hover { box-shadow: 0 10px 48px rgba(251,186,5,0.28); }

.brand-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.brand-hero-name {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.04em;
  line-height: 1;
}
.brand-hero-category {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
}
.brand-hero-badge {
  background: var(--green);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
  align-self: flex-start;
}
.brand-hero-desc {
  font-size: .95rem;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.brand-products {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.brand-product-tag {
  background: rgba(251,186,5,0.15);
  color: var(--dark);
  border: 1px solid rgba(251,186,5,0.45);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 50px;
}

/* ── Séparateur autres équipements ── */
.brand-others-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  position: relative;
}
.brand-others-title::before, .brand-others-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 110px);
  height: 1px;
  background: #e0e4e8;
}
.brand-others-title::before { left: 0; }
.brand-others-title::after  { right: 0; }

/* ── Grille secondaire ── */
.brand-others-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.brand-card {
  background: var(--white);
  border: 1.5px solid #e8eaed;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.brand-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.brand-category {
  font-size: .68rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.brand-desc {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.5;
  margin-top: .15rem;
}

@media (max-width: 900px) {
  .brand-others-grid { grid-template-columns: 1fr 1fr; }
  .brand-hero-name { font-size: 2.2rem; }
  .brand-hero-card { padding: 1.8rem 1.6rem; }
}
@media (max-width: 500px) {
  .brand-others-grid { grid-template-columns: 1fr; }
  .brand-hero-name { font-size: 1.8rem; }
  .brand-hero-top { flex-direction: column; }
  .brand-hero-badge { align-self: flex-start; }
}

/* ============================================================
   NETWORK SECTION
   ============================================================ */
.network-section {
  background: var(--green);
  padding: 4rem 0;
}
.network-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.network-banner-left {
  display: flex; flex-direction: column; gap: .8rem;
}
.network-icon {
  font-size: 2.5rem;
}
.network-banner-left h3 {
  color: var(--dark); font-size: 1.6rem; font-weight: 700;
  line-height: 1.3;
}
.network-banner-left p {
  color: rgba(26,26,46,0.7); font-size: .95rem; line-height: 1.65;
}
.network-banner-right {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.network-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.network-tag {
  background: rgba(26,26,46,0.12);
  border: 1px solid rgba(26,26,46,0.25);
  color: var(--dark);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
}
.btn-network-cta {
  background: var(--dark);
  color: var(--white);
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-decoration: none;
  width: 100%;
}
.btn-network-cta:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

@media (max-width: 700px) {
  .network-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   AIDS & FINANCING
   ============================================================ */
#aids { background: var(--dark); color: var(--white); }
#aids .section-header h2 { color: var(--white); }
#aids .section-header p { color: rgba(255,255,255,0.65); }

.aids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.aid-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all var(--transition);
}
.aid-card:hover {
  background: rgba(57,181,74,0.12);
  border-color: rgba(57,181,74,0.4);
  transform: translateY(-4px);
}
.aid-card-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 1rem;
}
.aid-card h3 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }
.aid-card p { font-size: .88rem; color: rgba(255,255,255,0.65); }

.certif-section {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.certif-section h4 { color: rgba(255,255,255,0.6); font-size: .85rem; font-weight: 500; width: 100%; text-align: center; }
.certif-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(57,181,74,0.3);
  color: var(--white);
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}
.partner-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: .45rem 1rem;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
}

/* ============================================================
   CHATBOT
   ============================================================ */
#chatbot { background: var(--gray-light); }

.chatbot-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.chatbot-info h2 { margin-bottom: 1rem; }
.chatbot-info p { margin-bottom: 1.5rem; }
.chatbot-features {
  display: flex; flex-direction: column; gap: .8rem;
}
.chatbot-feature {
  display: flex; align-items: center; gap: .8rem;
  font-size: .95rem; font-weight: 500; color: var(--dark-2);
}
.chatbot-feature::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.chatbot-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1.5px solid #e8eaed;
}
.chatbot-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: .8rem;
  color: var(--white);
}
.chatbot-header .bot-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.chatbot-header .bot-info small { font-size: .75rem; opacity: .8; display: block; }
.chatbot-header .status-dot {
  width: 8px; height: 8px;
  background: #7ee88a;
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 0 2px rgba(126,232,138,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .7; }
}

.chatbot-messages {
  padding: 1.5rem;
  min-height: 200px;
  display: flex; flex-direction: column; gap: 1rem;
}
.chat-bubble {
  max-width: 80%;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  line-height: 1.5;
}
.chat-bubble.bot {
  background: var(--gray-light);
  color: var(--dark);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--green);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-bubble.coming-soon {
  background: #fff8e1;
  border: 1px dashed #f0a500;
  color: #856404;
  text-align: center;
  max-width: 100%;
  font-style: italic;
}
.chatbot-input-row {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e8eaed;
  display: flex; gap: .8rem;
}
.chatbot-input-row input {
  flex: 1;
  border: 1.5px solid #e8eaed;
  border-radius: 50px;
  padding: .6rem 1rem;
  font-family: var(--font);
  font-size: .88rem;
  outline: none;
  transition: border-color var(--transition);
}
.chatbot-input-row input:focus { border-color: var(--green); }
.chatbot-input-row button {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .6rem 1.2rem;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.chatbot-input-row button:hover { background: var(--green-dark); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}

.contact-info h2 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 46px; height: 46px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--dark); font-size: .95rem; margin-bottom: .15rem; }
.contact-item span { font-size: .9rem; color: var(--gray); }
.contact-item a { color: var(--green); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.social-links {
  margin-top: 2rem;
  display: flex; gap: .8rem; flex-wrap: wrap;
}
.social-link {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border: 1.5px solid #e8eaed;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--dark);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}
.social-icon { font-size: 1rem; }

.contact-form {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form h3 { color: var(--dark); margin-bottom: 1.5rem; font-size: 1.3rem; }

.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid #e0e4e8;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  background: var(--green);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  padding: .95rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: .5rem;
}
.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57,181,74,0.35);
}
.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.2rem; text-align: center;
}
.footer-logo {
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: .5rem;
}
.footer-tagline { font-size: .95rem; }
.footer-legal { font-size: .8rem; color: rgba(255,255,255,0.35); }
.footer-copy { font-size: .8rem; border-top: 1px solid rgba(255,255,255,0.08); width: 100%; padding-top: 1.2rem; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.96);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-overlay a:hover { color: var(--green); }
.nav-overlay-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--white); font-size: 2rem;
  cursor: pointer; line-height: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrap { display: flex; justify-content: center; order: 0; margin-bottom: 1rem; }
  .hero-photo-card { display: none; }
  .hero-mobile-photo {
    display: block;
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 50%;
    border: 3px solid var(--green);
    margin: 0 auto;
  }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-tagline { border-left: none; border-top: 3px solid var(--green); padding: .8rem 0 0; text-align: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 240px; margin: 0 auto; aspect-ratio: 4/5; }
  .about-image img { object-position: center 15%; }

  .chatbot-wrapper { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .aids-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .contact-form { padding: 1.5rem; }
}

/* ============================================================
   BLOG — LISTING PAGE
   ============================================================ */
.blog-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #1A1A2E 55%, #1a1200 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23FBBA05' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.blog-hero h1 { color: var(--white); margin-bottom: .8rem; position: relative; }
.blog-hero h1 span { color: var(--green); }
.blog-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 580px; margin: 0 auto; position: relative; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.blog-card {
  background: var(--white);
  border: 1.5px solid #e8eaed;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.blog-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
  width: fit-content;
}
.blog-tag.tag-aides     { background: #e8f5e9; color: #1b5e20; }
.blog-tag.tag-chauffage { background: #fff3e0; color: #e65100; }
.blog-tag.tag-isolation { background: #e3f2fd; color: #0d47a1; }
.blog-tag.tag-solaire   { background: #fffde7; color: #f57f17; }
.blog-tag.tag-general   { background: var(--green-light); color: var(--green-dark); }

.blog-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.4;
  flex: 1;
}
.blog-card p.blog-excerpt {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .78rem;
  color: var(--gray);
  padding-top: .8rem;
  border-top: 1px solid #f0f0f0;
}
.blog-meta span { display: flex; align-items: center; gap: .3rem; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--green-dark);
  font-weight: 700;
  font-size: .88rem;
  transition: gap var(--transition);
  margin-top: .3rem;
}
.blog-read-more:hover { gap: .7rem; color: var(--green); }

/* ============================================================
   BLOG — ARTICLE PAGE
   ============================================================ */
.article-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #1A1A2E 55%, #1a1200 100%);
  padding: 120px 0 50px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23FBBA05' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.article-hero-inner {
  position: relative;
  max-width: 820px;
}
.article-hero h1 {
  color: var(--white);
  margin: 1rem 0 .8rem;
  line-height: 1.2;
}
.article-hero .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: rgba(255,255,255,0.6);
  font-size: .85rem;
  margin-top: 1rem;
}
.article-hero .article-meta span { display: flex; align-items: center; gap: .4rem; }

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.article-body h2 {
  color: var(--dark);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green-light);
}
.article-body h3 {
  color: var(--dark);
  font-size: 1.1rem;
  margin: 1.8rem 0 .6rem;
}
.article-body p {
  color: var(--dark-2);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.article-body ul {
  margin: 1rem 0 1.4rem 1.5rem;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--dark-2);
  line-height: 1.75;
  margin-bottom: .5rem;
  font-size: .97rem;
}
.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}
.article-highlight {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: .97rem;
  color: var(--dark);
  line-height: 1.7;
}
.article-highlight strong { color: var(--green-dark); }

.article-stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.article-stat {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
}
.article-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-dark);
  display: block;
}
.article-stat .lbl {
  font-size: .78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.article-cta-box h3 { color: var(--white); margin-bottom: .6rem; }
.article-cta-box p  { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
.article-cta-box .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gray);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.article-back:hover { color: var(--green-dark); }

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; padding: 2.5rem 0; }
  .article-stat-box { grid-template-columns: 1fr; }
  .article-body { padding: 2rem 1rem 3.5rem; }
}
