/* ===== RESET / BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding-left: 0; }
ol { padding-left: 18px; }

/* ===== CONTAINER PADRÃO ===== */
.container {
  width: min(1150px, 92vw);
  margin: 0 auto;
}

/* ===== BOTÕES ===== */
.btn {
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, opacity .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn:hover { transform: translateY(-2px); opacity: .95; }

.btn-primary {
  background: #19a974;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(25,169,116,.18);
}

.btn-secondary {
  background: #ffffff;
  color: #19a974;
  border: 2px solid #19a974;
}

.btn-secondary-light {
  background: rgba(255,255,255,.92);
  color: #0f172a;
  border: 2px solid rgba(255,255,255,.6);
}

.btn-large { padding: 16px 30px; font-size: 15px; }

/* ===== HERO (imagem via CSS) ===== */
.hero{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;

  /* ✅ Ajuste o nome da imagem: hero.png */
  background: url("../images/hero.png") center/cover no-repeat;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
  width: min(980px, 92vw);
  padding: 28px 16px;
  color: #ffffff;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}

.hero-headline{
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  text-shadow: 0 10px 25px rgba(0,0,0,.25);
  margin-bottom: 14px;
}

.hero-subheadline{
  font-size: clamp(15px, 1.6vw, 18px);
  opacity: .92;
  margin: 0 auto 24px;
  max-width: 760px;
}

.hero-ctas{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SEÇÕES (padding padrão) ===== */
section { padding: 72px 0; }

/* ===== EDUCATION BLOCK ===== */
.education-block .container{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: start;
}

.education-left h2{
  font-size: 32px;
  line-height: 1.15;
}

.education-right p{
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 14px;
}

/* ===== HOW WORKS ===== */
.how-works .container{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: center;
}

.how-left img{
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

.how-right h2{
  font-size: 34px;
  margin-bottom: 16px;
}

.steps-list{
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
  padding-left: 0;
}

.steps-list li{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 14px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}

.step-number{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #19a974;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.steps-list strong{
  display: block;
  margin-bottom: 3px;
}

.steps-list p{
  color: #64748b;
  line-height: 1.55;
}

.how-ctas{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== PERFIL RESIDENCIAL ===== */
.residential-profile { background: #f8fafc; }

.residential-profile .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.profile-left h2{
  font-size: 34px;
  margin-bottom: 10px;
}

.profile-left p{
  color: #334155;
  line-height: 1.7;
  margin-bottom: 18px;
}

.profile-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.profile-card{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2,6,23,.10);
}

.profile-card img{ width: 100%; height: 280px; object-fit: cover; }

/* ===== PERFIL CORPORATIVO ===== */
.corporate-profile .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.profile-cards-corporate{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.profile-left-corporate .profile-card img{
  height: 260px;
  object-fit: cover;
}

.profile-right-corporate h2{
  font-size: 34px;
  margin-bottom: 10px;
}

.profile-right-corporate p{
  color: #334155;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ===== DARK HIGHLIGHT ===== */
.dark-highlight{
  background: #0b1220;
  color: #ffffff;
}

.dark-highlight h2{
  font-size: 36px;
  margin-bottom: 22px;
  text-align: center;
}

.benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.benefit-item{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.benefit-item i{
  font-size: 20px;
  color: #19a974;
  margin-bottom: 10px;
}

.benefit-item h3{ font-size: 18px; margin-bottom: 6px; }
.benefit-item p{ color: rgba(255,255,255,.86); }

/* ===== DISCOUNT APPLICATION ===== */
.discount-application { background: #ffffff; }

.discount-application .container{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: center;
}

.discount-left img{
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

.discount-right h2{
  font-size: 34px;
  margin-bottom: 10px;
}

.discount-right p{ color: #334155; line-height: 1.7; margin-bottom: 12px; }

.discount-list{
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.discount-list li{
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
}

/* ===== CONSUMPTION PROFILES ===== */
.consumption-profiles { background: #f8fafc; }

.consumption-profiles h2{
  font-size: 34px;
  text-align: center;
  margin-bottom: 18px;
}

.consumption-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.consumption-card{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}

.consumption-icon{ font-size: 26px; margin-bottom: 10px; }
.consumption-card h3{ margin-bottom: 6px; }
.consumption-card p{ color: #475569; line-height: 1.6; }
.consumption-saving{ margin-top: 10px; font-weight: 800; color: #19a974; }

/* ===== WHY JOIN ===== */
.why-join h2{
  font-size: 34px;
  text-align: center;
  margin-bottom: 18px;
}

.reasons-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.reason-item{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(2,6,23,.05);
}

.reason-item i{
  font-size: 18px;
  color: #19a974;
  margin-bottom: 8px;
}

.reason-item h4{ font-size: 14px; }

/* ===== CTA BANNER ===== */
.cta-banner{
  background: linear-gradient(135deg, #19a974, #0ea5a4);
  color: #ffffff;
  padding: 60px 0;
}

.cta-content{
  width: min(980px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.cta-content h2{
  font-size: 36px;
  margin-bottom: 8px;
}

.cta-content p{
  opacity: .95;
  margin-bottom: 18px;
}

.cta-buttons{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== AUTHORITY ===== */
.authority { background: #ffffff; }

.authority-content{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: center;
}

.authority-text h2{ font-size: 34px; margin-bottom: 10px; }
.authority-text p{ color: #334155; line-height: 1.7; margin-bottom: 12px; }

.authority-images img{
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

/* ===== FOOTER ===== */
.footer{
  background: #0b1220;
  color: rgba(255,255,255,.9);
  padding: 50px 0 22px;
}

.footer-content{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.footer-section h4{
  margin-bottom: 10px;
  font-size: 16px;
  color: #ffffff;
}

.footer-section p, .footer-section li a{
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}

.footer-section ul{ display: grid; gap: 6px; }

.social-icons{
  display: flex;
  gap: 10px;
}

.social-icons a{
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 14px;
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

/* ===== MODAL ===== */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open{ display: block; }

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.modal-card{
  position: relative;
  width: min(680px, 92vw);
  margin: 8vh auto;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.modal-close{
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.modal-form .form-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.modal-form label{ font-weight: 700; font-size: 14px; }
.modal-form input{
  padding: 12px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
}

.modal-form small{ color: #64748b; font-size: 12px; }

.form-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.form-note{
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 980px){
  .education-block .container,
  .how-works .container,
  .residential-profile .container,
  .corporate-profile .container,
  .discount-application .container,
  .authority-content{
    grid-template-columns: 1fr;
  }

  .profile-cards, .profile-cards-corporate{
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid, .consumption-grid{
    grid-template-columns: 1fr;
  }

  .reasons-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px){
  section{ padding: 54px 0; }
  .footer-content{ grid-template-columns: 1fr; }
  .profile-cards, .profile-cards-corporate{ grid-template-columns: 1fr; }
}
/* ===== Carrossel Corporativo ===== */
.corp-carousel{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

.corp-track{
  display: flex;
  width: 100%;
  transition: transform .45s ease;
}

.corp-slide{
  min-width: 100%;
  height: 320px;
}

.corp-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corp-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.corp-prev{ left: 12px; }
.corp-next{ right: 12px; }

.corp-dots{
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.corp-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.25);
  cursor: pointer;
}

.corp-dot.is-active{
  background: rgba(255,255,255,.95);
}