

/* =========================
   RESET E BASE
   ========================= */
*{box-sizing:border-box;margin:0;padding:0}
html{
  overflow-x:hidden;
  width:100%;
  height:100%;
}
body{
  height:100%;
  width:100%;
  max-width:100vw;
  overflow-x:hidden;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  backgrou

/* =========================
   RESET E BASE
   ========================= */
*{box-sizing:border-box;margin:0;padding:0}
html{
  overflow-x:hidden;
  width:100%;
  height:100%;
}
body{
  height:100%;
  width:100%;
  max-width:100vw;
  overflow-x:hidden;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background:#f5f6f7;
  color:#222;
  -webkit-font-smoothing:antialiased;
  margin:0;
  padding:0;
  position:relative;
}

/* =========================
   HEADER
   ========================= */
.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  height:auto;
  padding:10px 50px;
  background:rgba(255, 255, 255, 0.527);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  z-index:9999;
  border-bottom:1px solid rgba(63,170,74,0.2);
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.header-container{
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0;
  gap:80px;
  height:auto;
}

.logo{
  display:flex;
  align-items:center;
}

.logo h2{
  /* keep natural capitalization, color will be applied per-part */
  font-size:1.8rem;
  font-weight:900;
  letter-spacing:2px;
  margin:0;
  line-height:1;
}

.logo-seg{ color:#3faa4a; }
.logo-energy{ color:#ffffff; }

/* ensure logo spacing doesn't push header too tall */
.logo h2 span{ display:inline-block; vertical-align:middle; }

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu{
  display:flex;
  gap:50px;
  align-items:center;
  justify-content:center;
  flex:1;
}

.nav-link{
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
  font-size:1rem;
  transition:color .3s ease;
  cursor:pointer;
  position:relative;
  text-shadow:0 1px 3px rgba(0,0,0,0.3);
}

.nav-link:after{
  content:'';
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:2px;
  background:#3faa4a;
  transition:width .3s ease;
}

.nav-link:hover{
  color:#3faa4a;
  text-shadow:0 2px 6px rgba(63,170,74,0.4);
}

.nav-link:hover:after{
  width:100%;
}

.btn-contact{
  background:#3faa4a;
  color:#fff;
  border:none;
  padding:11px 32px;
  border-radius:25px;
  font-weight:700;
  font-size:0.95rem;
  cursor:pointer;
  transition:all .3s ease;
  white-space:nowrap;
  text-transform:uppercase;
  letter-spacing:0.5px;
  box-shadow:0 6px 16px rgba(63,170,74,0.35);
}

.btn-contact:hover{
  background:#2d8a36;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(63,170,74,0.5);
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:1.5rem;
  cursor:pointer;
  flex-direction:column;
  gap:5px;
  padding:5px;
}

/* =========================
   HERO (Ajustado para cards)
   ========================= */
.hero{
  position:relative;
  width:100%;
  max-width:100vw;
  min-height:85vh;
  padding-top:100px;
  padding-bottom:400px;
  padding-left:24px;
  padding-right:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: url("https://segenergyluz.com.br/assets/Fundo.png")") center / cover no-repeat;
  background-attachment:fixed;
  margin-top:0;
  overflow:hidden;
}

/* overlay escuro por cima da imagem */
.hero-overlay{
  position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.2));z-index:1;
}

/* conteúdo do hero (texto) */
.hero-content{
  position:relative;
  z-index:10; /* manter texto/CTA acima dos cards */
  max-width:820px;
  text-align:center;
  color:#fff;
  padding:0 16px;
}
.hero-content h1{
  font-size:clamp(1.8rem, 5vw, 3.2rem);
  line-height:1.1;
  font-weight:800;
  text-shadow:0 6px 20px rgba(0,0,0,0.45);
  margin-bottom:18px;
}
.hero-content p{
  max-width:760px;
  margin:0 auto 22px;
  opacity:.85;
  line-height:1.6;
  font-size:clamp(0.9rem, 2vw, 1.05rem);
}
.btn-primary{
  display:inline-block;
  background:#3faa4a;
  color:#fff;
  padding:13px 36px;
  border-radius:25px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 28px rgba(63,170,74,0.25);
  transition:transform .2s ease,box-shadow .2s ease;
  font-size:1rem;
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(63,170,74,0.35);
}

/* =========================
   CARDS FLOUTANTES (DENTRO DO HERO)
   ========================= */
/* container alinhado ao centro horizontal, posicionado dentro do hero */
.floating-cards{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:20px;
  z-index:4;
  display:flex;
  gap:32px;
  align-items:center;
  width:calc(100% - 48px);
  max-width:min(1280px, 95vw);
  padding:0 12px;
  pointer-events:none;
  box-sizing:border-box;
}

/* base dos cards */
.card{
  pointer-events:auto;
  border-radius:14px;
  padding:24px;
  color:#fff;
  background:rgba(60,120,75,0.85);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  border:1px solid rgba(63,170,74,0.3);
  box-shadow:0 12px 35px rgba(0,0,0,0.25);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  overflow:hidden;
  opacity:0;
  animation:animateFadeUp .7s ease forwards;
  flex:1;
}

/* tamanhos / alturas diferentes (igual referência) */
.card:nth-child(1){
  width:400px;
  height:340px;
  align-self:center;
  transform: none;
}
.card:nth-child(2){
  width:400px;
  height:340px;
  align-self:center;
  transform: none;
}
.card:nth-child(3){
  width:400px;
  height:340px;
  align-self:center;
  transform: none;
}

/* Imagens dos cards com crop e preenchimento */
.card img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:14px;
  display:block;
}

/* conteudo interno flexível, possibilita textos curtos ou longos */
.card h3{font-size:1.2rem;margin-bottom:10px;font-weight:700}
.card p{font-size:0.95rem;line-height:1.45;opacity:.95;margin-bottom:14px;flex-grow:1}
.card .card-link{color:#9cec9f;text-decoration:none;font-weight:700;font-size:0.95rem}

/* animação com pequenos delays */
.card:nth-child(1){animation-delay:.15s}
.card:nth-child(2){animation-delay:.32s}
.card:nth-child(3){animation-delay:.55s}

@keyframes animateFadeUp{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:translateY(0)}
}

/* =========================
   ABOUT / COMO FUNCIONA
   ========================= */
.about{
  max-width:1180px;
  margin:60px auto 120px;
  display:flex;
  gap:48px;
  align-items:center;
  padding:0 20px;
}
.about-img img{
  width:520px;
  max-width:100%;
  border-radius:14px;
  box-shadow:0 14px 40px rgba(10,20,12,0.12);
}
.about-text{flex:1}
.about-text h2{font-size:1.9rem;margin-bottom:14px}
.about-text p{color:#444;line-height:1.7;margin-bottom:12px}
.btn-outline{
  display:inline-block;margin-top:10px;padding:10px 22px;border-radius:999px;border:2px solid #3faa4a;color:#3faa4a;text-decoration:none;font-weight:700;
}
.btn-outline:hover{background:#3faa4a;color:#fff}


/* =========================
   FOOTER (REESTILIZADO)
   ========================= */
footer{
  background:#f5f7f5;
  color:#2d3d2d;
  padding:0;
  border-top:3px solid #3faa4a;
}

.footer-content{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
  padding:28px 28px;
  border-bottom:1px solid rgba(63,170,74,0.18);
}

.footer-section{
  flex:1;
  min-width:200px;
}

/* Logo section */
.footer-logo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-logo img{
  height:80px; /* versão compacta */
  max-width:200px;
  width:auto;
  object-fit:contain;
  margin-bottom:6px;
  display:block;
  -webkit-font-smoothing:antialiased;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,0.22));
}

.footer-logo-img {
  height: 150px !important;
  max-width: 350px !important;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.15));
}

/* responsivo: reduzir a logo em telas menores */
@media (max-width:1000px){
  .footer-logo img{ height:110px; max-width:200px }
}

@media (max-width:480px){
  .footer-logo img{ height:80px; max-width:140px }
}

.footer-logo h2{
  color:#3faa4a;
  font-size:1.4rem;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:6px;
}

.footer-logo p{
  color:#b5d5c4;
  font-size:0.95rem;
  line-height:1.5;
}

/* Contact section */
.footer-contact h3{
  color:#2d3d2d;
  font-size:1rem;
  margin-bottom:10px;
  font-weight:700;
}

.footer-contact p{
  color:#4a5a4a;
  margin-bottom:6px;
  font-size:0.92rem;
  line-height:1.5;
}

/* Newsletter section */
.footer-newsletter h3{
  color:#2d3d2d;
  font-size:1.1rem;
  margin-bottom:14px;
  font-weight:700;
}

.newsletter-form{
  display:flex;
  gap:10px;
  align-items:center;
}

.footer-newsletter input{
  padding:12px 16px;
  border-radius:6px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(63,170,74,0.3);
  outline:none;
  color:#fff;
  font-size:0.95rem;
  transition:all .3s ease;
  flex:1;
}

.footer-newsletter input:focus{
  background:rgba(255,255,255,0.12);
  border-color:#3faa4a;
  box-shadow:0 0 8px rgba(63,170,74,0.15);
}

.footer-newsletter input::placeholder{
  color:rgba(215,243,228,0.5);
}



.footer-copy{
  color:#9ab3a3;
  font-size:0.9rem;
  margin:0;
  text-align:center;
}

/* parte inferior */
.footer-bottom{
  max-width:1200px;
  margin:10px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  color:#9ab3a3;
  font-size:.9rem;
  padding:14px 0;
}


.footer-social {
    display: flex;
  gap: 18px;
    align-items: center;
    justify-content: flex-start;
  margin-top: 6px;
}

/* BOTÃO SOCIAL */
.social-icon {
  width: 52px;
  height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(255,255,255,0.08) 0%,
        rgba(255,255,255,0.02) 40%,
        rgba(0,0,0,0.6) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .25s ease;
    overflow: hidden;
}

/* Glow sutil concentrado no centro */
.social-icon::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    box-shadow:
        0 0 12px rgba(255,255,255,0.09),
        inset 0 0 12px rgba(255,255,255,0.05);
    z-index: 1;
}

/* Ícone */
.social-icon img {
  width: 30px;
  height: 30px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));

}

/* Hover com destaque forte */
.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 18px rgba(255,255,255,0.16);
}


/* BOTÃO PADRÃO VERDE PREMIUM */
.btn-primary, .btn-contato, .header a {
    background: #2e7d32 !important;      /* Verde escuro premium */
    padding: 12px 24px;
    border-radius: 30px;                  /* Borda mais arredondada */
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);  /* sombra profissional */
    transition: 0.3s ease-in-out;
}

/* HOVER */
.btn-primary:hover, 
.btn-contato:hover, 
.header a:hover {
    background: #1b5e20 !important;      /* verde mais forte */
    transform: translateY(-2px);         /* leve elevação */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Ajuste específico para o botão "Economize Mais" */
.hero .btn-economize {
    background: #2e7d32 !important;      /* Verde escuro premium */
    padding: 10px 22px !important;  /* tamanho proporcional */
    border-radius: 30px;                  /* Borda mais arredondada */
    color: #ffffff !important;
    font-size: 0.95rem !important;  /* reduz fonte */
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);  /* sombra profissional */
    transition: 0.3s ease-in-out;
}

/* Hover igual aos outros */
.hero .btn-economize:hover {
    background: #1b5e20 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


/* =========================
   RESPONSIVO
   ========================= */

/* Telas muito grandes (> 1400px) */
@media (min-width:1400px){
  .hero-content{
    max-width:900px;
  }
  .floating-cards{
    max-width:1400px;
    gap:40px;
  }
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3){
    width:420px;
    height:360px;
  }
}

@media (max-width:1200px){
  .hero-content h1{font-size:2.8rem}
  .header-container{padding:0 32px;gap:40px}
  .nav-menu{gap:30px}
  .card:nth-child(1){width:350px;height:290px}
  .card:nth-child(2){width:330px;height:275px}
  .card:nth-child(3){width:310px;height:260px}
  .floating-cards{gap:20px;max-width:1000px;bottom:60px}
  .hero{padding-bottom:380px}
}

@media (max-width:1000px){
  .hero-content h1{font-size:2.4rem}
  .nav-menu{gap:20px}
  .nav-link{font-size:0.85rem}
  .card:nth-child(1){width:280px;height:240px}
  .card:nth-child(2){width:265px;height:230px}
  .card:nth-child(3){width:250px;height:220px}
  .floating-cards{gap:12px;max-width:850px;bottom:40px}
  .hero{padding-bottom:340px}
  .about{max-width:1000px;margin-left:auto;margin-right:auto}
}

@media (max-width:900px){
  .card:nth-child(1){width:260px;height:230px}
  .card:nth-child(2){width:245px;height:220px}
  .card:nth-child(3){width:230px;height:210px}
  .card img{height:120px}
  .card h3{font-size:1.05rem}
  .card p{font-size:0.85rem}
  .floating-cards{gap:10px;bottom:35px}
  .hero{padding-bottom:330px}
  .hero-content h1{font-size:2.2rem}
}

/* Breakpoint intermediário 601px - 768px */
@media (max-width:768px) and (min-width:601px){
  .hero{
    padding-bottom:350px;
  }
  .floating-cards{
    gap:18px;
    bottom:50px;
  }
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3){
    width:280px;
    height:auto;
    min-height:260px;
  }
}

@media (max-width:768px){
  .header-container{
    padding:0 20px;
    gap:20px;
  }
  .logo h2{
    font-size:1.4rem;
    letter-spacing:1px;
  }
  .nav-menu{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    right:0;
    flex-direction:column;
    background:#06130d;
    border-bottom:2px solid #3faa4a;
    padding:20px;
    gap:15px;
  }
  .nav-menu.active{
    display:flex;
  }
  .menu-toggle{
    display:flex;
  }
  .hero{
    padding-top:50px;
    padding-bottom:320px;
    min-height:auto;
    background-attachment:scroll;
  }
  .hero-content h1{
    font-size:2rem;
    margin-bottom:12px;
  }
  .hero-content p{
    font-size:0.95rem;
    margin-bottom:18px;
  }
  .btn-primary{
    padding:12px 32px;
    font-size:0.95rem;
  }
  .floating-cards{
    flex-direction:column;
    align-items:center;
    bottom:60px;
    gap:20px;
    max-width:100%;
    width:100%;
    left:0;
    transform:none;
    padding:0 20px;
  }
  .card{
    width:100%;
    max-width:min(400px, 90vw);
    transform:none !important;
    align-self:center;
    height:auto;
    min-height:auto;
  }
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3){
    width:100%;
    max-width:min(400px, 90vw);
    height:auto;
    min-height:auto;
  }
  .about{
    flex-direction:column;
    gap:24px;
    margin-top:40px;
    padding:0 16px;
  }
  .about-img img{
    width:100%;
  }
  .about-text h2{
    font-size:1.6rem;
  }
  .footer-content{
    gap:30px;
    padding:30px 20px;
    flex-direction:column;
  }
  .footer-section{
    min-width:100%;
  }
  .newsletter-form{
    flex-direction:column;
  }
  .btn-footer{
    width:100%;
  }
}

/* Breakpoint intermediário 381px - 480px */
@media (max-width:480px) and (min-width:381px){
  .hero-content h1{
    font-size:1.55rem;
  }
  .card{
    width:100%;
    max-width:92%;
  }
}

@media (max-width:480px){
  .header-container{
    padding:0 16px;
  }
  .logo h2{
    font-size:1.2rem;
  }
  .hero{
    padding-top:40px;
    padding-bottom:380px;
    max-width:100vw;
  }
  .hero-content h1{
    font-size:1.5rem;
    line-height:1.2;
    margin-bottom:10px;
  }
  .hero-content p{
    font-size:0.9rem;
    margin-bottom:16px;
  }
  .btn-primary{
    padding:10px 24px;
    font-size:0.9rem;
  }
  .floating-cards{
    bottom:60px;
  }
  .card{
    width:95%;
    max-width:350px;
  }
  .card h3{
    font-size:1rem;
  }
  .card p{
    font-size:0.8rem;
  }
  .card .card-link{
    font-size:0.8rem;
  }
  .about{
    padding:0 12px;
  }
  .about-text h2{
    font-size:1.4rem;
  }
  .footer-content{
    padding:20px 16px;
  }
  .footer-logo h2{
    font-size:1.4rem;
  }
}

@media (max-width:480px){
  .hero-content h1{font-size:1.6rem}
  .hero-content p{font-size:.98rem}
  .btn-primary{padding:10px 18px}
  .news-form input{padding:10px}
  .news-form button{padding:9px 12px}
}

/* ===========================
   FORMULÁRIO PREMIUM
   =========================== */

/* Wrapper centralizado para o formulário */
.hero.formulario-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    padding-top: 100px;
    background: url("https://segenergyluz.com.br/assets/Fundo.png")") center/cover no-repeat;
    background-attachment: fixed;
}

/* Card do formulário */
.form-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 22px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);

    animation: fadeIn 0.8s ease;
}

/* Título do formulário */
.hero-title {
    text-align: center;
    font-size: 1.8rem;
    color: #3faa4a;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-title span {
    color: #0a3e20;
    font-weight: 800;
}

.hero-title strong {
    color: white;
    font-size: 1.4rem;
}

/* Inputs do formulário */
.form-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.20);
    color: white;

    margin-bottom: 12px;
    transition: 0.25s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: #3faa4a;
    background: rgba(255, 255, 255, 0.30);
    transform: scale(1.02);
}

/* Select customizado */
.form-input option {
    background: #0a3e20;
    color: white;
}

/* Botão do formulário */
.formulario .btn-primary {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3faa4a, #0a3e20) !important;
    color: white !important;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;

    transition: 0.25s;
    margin-top: 15px;
}

.formulario .btn-primary:hover {
    background: linear-gradient(135deg, #0a3e20, #3faa4a) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Animação de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsivo do formulário */
@media (max-width: 768px) {
    .form-wrapper {
        max-width: 90%;
        padding: 30px 20px;
        margin: 20px auto;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-title strong {
        font-size: 1.2rem;
    }

    .form-input {
        padding: 12px 15px;
        font-size: 16px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        max-width: 95%;
        padding: 25px 15px;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .hero-title strong {
        font-size: 1.05rem;
        display: block;
        margin-top: 5px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .formulario .btn-primary {
        padding: 14px 20px;
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

/* ===========================
   PASSE A GERAR SUA PRÓPRIA ENERGIA
   =========================== */
.gerar-energia {
    max-width: min(1200px, 100vw);
    margin: 80px auto;
    padding: 0 40px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.gerar-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.gerar-img {
    flex: 1;
    max-width: 450px;
}

.gerar-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    display: block;
}

.gerar-text {
    flex: 1;
}

.gerar-text h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.3;
}

.gerar-text .highlight {
    color: #3faa4a;
    font-weight: 800;
}

.info-box {
    background: linear-gradient(135deg, rgba(63, 170, 74, 0.08), rgba(10, 62, 32, 0.05));
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #3faa4a;
    margin-bottom: 20px;
}

.info-box h3 {
    color: #3faa4a;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-box p {
    color: #444;
    line-height: 1.7;
}

.gerar-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.gerar-text .destaque {
    color: #3faa4a;
    font-size: 1.1em;
}

.beneficio-destaque {
    background: #3faa4a;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    text-align: center;
}

.beneficio-destaque h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

/* ===========================
   APLICAÇÕES (CASA, NEGÓCIO, FAZENDA)
   =========================== */
.aplicacoes {
    background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
    padding: 80px 40px;
    margin-top: 60px;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.aplicacoes-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.aplicacoes-header h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 15px;
}

.aplicacoes-header p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.aplicacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.aplicacao-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.aplicacao-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(63, 170, 74, 0.2);
    border-top-color: #3faa4a;
}

.aplicacao-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3faa4a, #2d8a36);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.aplicacao-icon svg {
    width: 35px;
    height: 35px;
}

.aplicacao-card h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 10px;
}

.aplicacao-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.aplicacoes-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===========================
   AVALIAÇÕES GOOGLE - CARROSSEL ESTILO MODERNO
   =========================== */
.avaliacoes-google {
    background: #fff;
    padding: 100px 20px;
    text-align: center;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.avaliacoes-google h2 {
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.avaliacoes-google h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #3faa4a;
    margin: 25px auto 40px;
    border-radius: 2px;
}

/* Container do carrossel */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 60px;
}

.reviews-container {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Cards de avaliação - Estilo limpo e grande */
.review-card {
    min-width: 100%;
    flex-shrink: 0;
    padding: 50px 40px;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.review-card.active {
    opacity: 1;
    transform: scale(1);
}

.review-card .stars {
    color: #fbbc05;
    font-size: 2rem;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.review-card p {
    color: #333;
    line-height: 1.9;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.review-card p::before {
    content: "\201C";
    font-size: 4rem;
    color: #3faa4a;
    opacity: 0.3;
    position: absolute;
    left: -40px;
    top: -20px;
    font-family: Georgia, serif;
}

.review-card .author {
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 5px;
}

.review-card .author-title {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

/* Botões de navegação - Minimalistas */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #3faa4a;
    border: 2px solid #3faa4a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #3faa4a;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

/* Indicadores minimalistas */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #3faa4a;
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: #6bc275;
}

/* ===========================
   FINANCIAMENTO
   =========================== */
.financiamento {
  background: linear-gradient(135deg, #f5f7f9 0%, #e8eef3 100%);
  color: #222;
  padding: 80px 40px;
}

.financiamento-header {
    text-align: center;
    margin-bottom: 50px;
}

.financiamento-header h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 10px;
}

/* Layout balanceado: colunas de logos à esquerda/direita e texto ao centro */
.financiamento-balanced {
    display: grid;
    grid-template-columns: 1fr minmax(420px, 560px) 1fr;
    gap: 32px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logos-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.logo-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-item img { max-height: 70px; width: 100%; object-fit: contain; }

/* NOVO DESIGN - FINANCIAMENTO COM CARDS */
.financiamento {
    background: linear-gradient(135deg, #f5f7f9 0%, #e8eef3 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

.financiamento::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(63, 170, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.financiamento::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 62, 32, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.financiamento-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.financiamento-header h2 {
    font-size: 2.4rem;
    color: #222;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.financiamento-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Container principal */
.financiamento-balanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Cards de benefícios */
.financiamento-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.financiamento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(63, 170, 74, 0.15);
    border-color: rgba(63, 170, 74, 0.3);
}

.financiamento-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3faa4a 0%, #0a3e20 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.financiamento-card h3 {
    font-size: 1.3rem;
    color: #222;
    margin: 0;
    font-weight: 600;
}

.financiamento-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.financiamento-card strong {
    color: #3faa4a;
    font-weight: 600;
}

/* Logos section */
.logos-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(63, 170, 74, 0.15);
}

.logo-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 100px;
}

.logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(63, 170, 74, 0.12);
}

.logo-item img {
    max-height: 65px;
    width: 90%;
    object-fit: contain;
}

/* Responsivo */
@media (max-width: 980px) {
    .financiamento-balanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .logos-col {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .financiamento-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .financiamento {
        padding: 60px 20px;
    }
    
    .financiamento-balanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logos-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .financiamento-header h2 {
        font-size: 1.8rem;
    }
    
    .financiamento-card {
        padding: 28px 20px;
    }
}

@media (max-width: 560px) {
    .financiamento {
        padding: 50px 15px;
    }
    
    .financiamento-header h2 {
        font-size: 1.5rem;
    }
    
    .logos-col {
        grid-template-columns: 1fr;
    }
    
    .logo-item img {
        max-height: 45px;
    }
    
    .financiamento-card h3 {
        font-size: 1.15rem;
    }
    
    .financiamento-card p {
        font-size: 0.9rem;
    }
}

.bancos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.banco-logo {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.banco-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(63, 170, 74, 0.3);
}

.banco-placeholder {
    display: none;
  }

  .banco-logo img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.financiamento-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 3px solid #3faa4a;
}

.info-item .icon {
    font-size: 1.5rem;
    color: #3faa4a;
    font-weight: bold;
    flex-shrink: 0;
}

.info-item p {
    color: #555;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.info-item strong {
    color: #3faa4a;
}

/* ===========================
   RESPONSIVO - NOVAS SEÇÕES
   =========================== */
@media (max-width: 768px) {
    .gerar-content {
        flex-direction: column;
        gap: 30px;
    }

    .gerar-img {
        max-width: 100%;
    }

    .gerar-text h2 {
        font-size: 1.6rem;
    }

    .aplicacoes {
        padding: 50px 20px;
    }

    .aplicacoes-header h2 {
        font-size: 1.8rem;
    }

    .avaliacoes-google {
        padding: 50px 20px;
    }

    .avaliacoes-google h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 25px 20px;
    }

    .aplicacoes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .financiamento {
        padding: 50px 20px;
    }

    .financiamento-header h2 {
        font-size: 1.8rem;
    }

    .bancos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .gerar-energia {
        padding: 0 20px;
        margin: 50px auto;
    }

    .gerar-text h2 {
        font-size: 1.4rem;
    }

    .info-box {
        padding: 20px;
    }

    .aplicacoes-header h2 {
        font-size: 1.5rem;
    }

    .avaliacoes-google h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .review-card .author {
        font-size: 1rem;
    }

    .review-card .stars {
        font-size: 1.1rem;
    }

    .review-card p {
        font-size: 0.9rem;
    }

    .financiamento-header h2 {
        font-size: 1.5rem;
    }

    .bancos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   RESPONSIVO EXTRA - MOBILE
   ============================ */
@media (max-width: 600px) {
    /* Header */
    .header {
        padding: 12px 15px;
    }

    .header-container {
        gap: 15px;
    }

    .logo h2 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .btn-contato {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-content {
        order: 1;
        z-index: 10;
        padding: 20px 15px;
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.85rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .btn-economize {
        padding: 11px 24px !important;
        font-size: 0.85rem !important;
    }

    /* Floating Cards - Responsivo */
    .floating-cards {
        position: static;
        transform: none;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin-top: 30px;
        pointer-events: auto;
        order: 2;
    }

    .card {
        width: 100% !important;
        height: auto !important;
        padding: 18px;
        border-radius: 12px;
    }

    .card img {
        height: 160px;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 1rem !important;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 0.8rem !important;
        margin-bottom: 10px;
    }

    .card .card-link {
        font-size: 0.8rem;
    }

    /* Gerar Energia */
    .gerar-energia {
        padding: 50px 15px;
    }

    .gerar-content {
        flex-direction: column;
        gap: 25px;
    }

    .gerar-img {
        max-width: 100%;
        margin: 0 auto;
    }

    .gerar-img img {
        max-width: 100%;
        height: auto;
    }

    .gerar-text h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .gerar-text p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .info-box {
        padding: 15px;
        margin: 15px 0;
    }

    .info-box h3 {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 28px !important;
        font-size: 0.85rem !important;
        width: 100%;
    }

    /* Aplicações */
    .aplicacoes {
        padding: 50px 15px;
    }

    .aplicacoes-header {
        margin-bottom: 40px;
    }

    .aplicacoes-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .aplicacoes-header p {
        font-size: 0.85rem;
    }

    .aplicacoes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aplicacao-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .aplicacao-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .aplicacao-card h3 {
        font-size: 1.1rem;
    }

    .aplicacao-card p {
        font-size: 0.85rem;
    }

    /* Financiamento */
    .financiamento {
        padding: 50px 15px;
    }

    .financiamento-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .financiamento-header p {
        font-size: 0.85rem;
    }

    .financiamento-balanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .financiamento-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .financiamento-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .financiamento-card h3 {
        font-size: 1.05rem;
    }

    .financiamento-card p {
        font-size: 0.8rem;
    }

    .logos-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .logo-item {
        padding: 12px;
        min-height: 80px;
    }

    .logo-item img {
        max-height: 50px;
    }

    /* Footer */
    footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-section p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .footer-logo img {
        max-width: 60px;
        height: auto;
    }

    .footer-social {
        gap: 20px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon img {
        width: 25px;
        height: 25px;
    }

    .footer-copy {
        font-size: 0.75rem;
    }
}

/* Muito pequeno - extra small */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .gerar-text h2 {
        font-size: 1.2rem;
    }

    .aplicacoes-header h2 {
        font-size: 1.3rem;
    }

    .financiamento-header h2 {
        font-size: 1.3rem;
    }

    .logos-col {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-economize,
    .btn-contato {
        font-size: 0.8rem !important;
        padding: 10px 20px !important;
    }
}

/* ============================
   MODO PAISAGEM (LANDSCAPE) - MOBILE
   ============================ */
@media (max-height: 600px) and (orientation: landscape) {
    /* Header compacto no modo paisagem */
    .header {
        padding: 8px 20px;
        position: fixed;
    }

    .header-container {
        gap: 15px;
    }

    .logo-img {
        height: 45px !important;
    }

    .btn-contato {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }

    /* Hero ajustado para landscape */
    .hero {
        min-height: auto;
        height: auto;
        padding-top: 70px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background-attachment: scroll;
        gap: 20px;
    }

    .hero-content {
        width: 50%;
        flex-shrink: 0;
        padding: 15px;
        order: 1;
    }

    .hero-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.75rem !important;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .btn-economize,
    .btn-primary {
        padding: 8px 18px !important;
        font-size: 0.75rem !important;
    }

    /* Cards em linha horizontal compacta */
    .floating-cards {
        position: static;
        transform: none;
        display: flex;
        flex-direction: row;
        gap: 12px;
        width: 48%;
        padding: 10px;
        margin: 0;
        overflow-x: auto;
        overflow-y: visible;
        order: 2;
        height: auto;
        max-height: none;
    }

    .card {
        width: 200px !important;
        min-width: 200px;
        height: auto !important;
        padding: 12px;
        flex-shrink: 0;
    }

    .card img {
        height: 100px !important;
        margin-bottom: 8px;
    }

    .card h3 {
        font-size: 0.85rem !important;
        margin-bottom: 6px;
    }

    .card p {
        font-size: 0.7rem !important;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .card .card-link {
        font-size: 0.7rem !important;
    }

    /* Seções compactas */
    .gerar-energia {
        padding: 30px 20px;
        margin: 40px auto;
    }

    .gerar-content {
        flex-direction: row;
        gap: 25px;
    }

    .gerar-img {
        max-width: 40%;
    }

    .gerar-text {
        flex: 1;
    }

    .gerar-text h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .gerar-text p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .info-box {
        padding: 12px;
        margin: 12px 0;
    }

    .info-box h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .info-box p {
        font-size: 0.75rem;
    }

    /* Aplicações em grid horizontal */
    .aplicacoes {
        padding: 40px 20px;
    }

    .aplicacoes-header {
        margin-bottom: 30px;
    }

    .aplicacoes-header h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .aplicacoes-header p {
        font-size: 0.8rem;
    }

    .aplicacoes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .aplicacao-card {
        padding: 20px 15px;
    }

    .aplicacao-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .aplicacao-icon svg {
        width: 22px;
        height: 22px;
    }

    .aplicacao-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .aplicacao-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Financiamento */
    .financiamento {
        padding: 40px 20px;
    }

    .financiamento-header h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .financiamento-header p {
        font-size: 0.8rem;
    }

    .financiamento-balanced {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .financiamento-card {
        padding: 18px 12px;
    }

    .financiamento-card .icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .financiamento-card h3 {
        font-size: 0.9rem;
    }

    .financiamento-card p {
        font-size: 0.7rem;
    }

    .logos-col {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 25px;
        padding-top: 25px;
    }

    .logo-item {
        padding: 10px;
        min-height: 70px;
    }

    .logo-item img {
        max-height: 40px;
    }

    /* Footer compacto */
    footer {
        padding: 25px 15px 15px;
    }

    .footer-content {
        flex-direction: row;
        gap: 20px;
        padding: 20px 15px;
    }

    .footer-section {
        min-width: auto;
        flex: 1;
    }

    .footer-logo-img {
        height: 100px !important;
        max-width: 250px !important;
    }

    .footer-section h3 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .footer-section p {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .footer-social {
        gap: 12px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon img {
        width: 22px;
        height: 22px;
    }

    .footer-bottom {
        padding: 10px 0;
    }

    .footer-copy {
        font-size: 0.7rem;
    }

    /* Formulário em landscape */
    .hero.formulario-page {
        padding: 30px 20px;
        padding-top: 80px;
        min-height: auto;
    }

    .form-wrapper {
        max-width: 600px;
        padding: 25px 30px;
    }

    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .hero-title strong {
        font-size: 1rem;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .formulario .btn-primary {
        padding: 11px 20px;
        font-size: 0.85rem;
        margin-top: 10px;
    }
}

/* Landscape muito pequeno (celulares antigos) */
@media (max-height: 450px) and (orientation: landscape) {
    .hero {
        padding-top: 60px;
        padding-bottom: 30px;
        max-width: 100vw;
    }

    .hero-content h1 {
        font-size: 1.1rem !important;
    }

    .hero-content p {
        font-size: 0.7rem !important;
    }

    .card {
        width: 180px !important;
        min-width: 180px;
    }

    .card img {
        height: 80px !important;
    }

    .gerar-text h2 {
        font-size: 1rem;
    }

    .aplicacoes-header h2,
    .financiamento-header h2 {
        font-size: 1.1rem;
    }
}

/* ============================
   REGRAS UNIVERSAIS ANTI-BUG
   ============================ */

/* Prevenir overflow horizontal em TODOS os elementos */
* {
    max-width: 100%;
}

/* Exceções para elementos que precisam sair do container */
.hero-overlay,
.floating-cards,
.hero::before,
.hero::after,
.financiamento::before,
.financiamento::after {
    max-width: none;
}

/* Garantir que imagens não causem overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevenir texto muito longo de quebrar layout */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Garantir que containers principais não ultrapassem viewport */
section {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Breakpoint extra para telas muito estreitas */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.75rem !important;
    }
    
    .btn-primary,
    .btn-contato {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }
    
    .card {
        padding: 12px;
    }
    
    .card h3 {
        font-size: 0.9rem !important;
    }
    
    .card p {
        font-size: 0.75rem !important;
    }
    
    .gerar-text h2 {
        font-size: 1.1rem;
    }
    
    .aplicacao-card,
    .financiamento-card {
        padding: 18px 12px;
    }
}

/* Modo paisagem para tablets pequenos */
@media (min-height: 601px) and (max-height: 800px) and (orientation: landscape) {
    .hero {
        padding-bottom: 300px;
    }
    
    .floating-cards {
        bottom: 40px;
    }
}

/* ============================
   COMPATIBILIDADE COM SERVIDOR
   ============================ */

/* Garantir que background funcione em todos os navegadores */
.hero {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Suporte para Safari iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
        min-height: -webkit-fill-available;
    }
    
    body {
        min-height: -webkit-fill-available;
    }
}

/* Prevenir zoom indesejado no iOS */
input, select, textarea {
    font-size: 16px !important;
}

/* Smooth scroll para navegação */
html {
    scroll-behavior: smooth;
}

/* Garantir que backdrop-filter funcione */
@supports not (backdrop-filter: blur(8px)) {
    .header {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .card {
        background: rgba(60, 120, 75, 0.95);
    }
}

/* Performance: will-change para animações */
.card {
    will-change: opacity, transform;
}

.btn-primary,
.btn-contato,
.social-icon {
    will-change: transform;
}

/* Prevenir FOUC (Flash of Unstyled Content) */
html {
    visibility: visible;
    opacity: 1;
}
nd:#f5f6f7;
  color:#222;
  -webkit-font-smoothing:antialiased;
  margin:0;
  padding:0;
  position:relative;
}

/* =========================
   HEADER
   ========================= */
.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  height:auto;
  padding:10px 50px;
  background:rgba(255, 255, 255, 0.527);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  z-index:9999;
  border-bottom:1px solid rgba(63,170,74,0.2);
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.header-container{
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0;
  gap:80px;
  height:auto;
}

.logo{
  display:flex;
  align-items:center;
}

.logo h2{
  /* keep natural capitalization, color will be applied per-part */
  font-size:1.8rem;
  font-weight:900;
  letter-spacing:2px;
  margin:0;
  line-height:1;
}

.logo-seg{ color:#3faa4a; }
.logo-energy{ color:#ffffff; }

/* ensure logo spacing doesn't push header too tall */
.logo h2 span{ display:inline-block; vertical-align:middle; }

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu{
  display:flex;
  gap:50px;
  align-items:center;
  justify-content:center;
  flex:1;
}

.nav-link{
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
  font-size:1rem;
  transition:color .3s ease;
  cursor:pointer;
  position:relative;
  text-shadow:0 1px 3px rgba(0,0,0,0.3);
}

.nav-link:after{
  content:'';
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:2px;
  background:#3faa4a;
  transition:width .3s ease;
}

.nav-link:hover{
  color:#3faa4a;
  text-shadow:0 2px 6px rgba(63,170,74,0.4);
}

.nav-link:hover:after{
  width:100%;
}

.btn-contact{
  background:#3faa4a;
  color:#fff;
  border:none;
  padding:11px 32px;
  border-radius:25px;
  font-weight:700;
  font-size:0.95rem;
  cursor:pointer;
  transition:all .3s ease;
  white-space:nowrap;
  text-transform:uppercase;
  letter-spacing:0.5px;
  box-shadow:0 6px 16px rgba(63,170,74,0.35);
}

.btn-contact:hover{
  background:#2d8a36;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(63,170,74,0.5);
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:1.5rem;
  cursor:pointer;
  flex-direction:column;
  gap:5px;
  padding:5px;
}

/* =========================
   HERO (Ajustado para cards)
   ========================= */
.hero{
  position:relative;
  width:100%;
  max-width:100vw;
  min-height:85vh;
  padding-top:100px;
  padding-bottom:400px;
  padding-left:24px;
  padding-right:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: url("https://segenergyluz.com.br/assets/Fundo.png") center / cover no-repeat;
  background-attachment:fixed;
  margin-top:0;
  overflow:hidden;
}

/* overlay escuro por cima da imagem */
.hero-overlay{
  position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.2));z-index:1;
}

/* conteúdo do hero (texto) */
.hero-content{
  position:relative;
  z-index:10; /* manter texto/CTA acima dos cards */
  max-width:820px;
  text-align:center;
  color:#fff;
  padding:0 16px;
}
.hero-content h1{
  font-size:clamp(1.8rem, 5vw, 3.2rem);
  line-height:1.1;
  font-weight:800;
  text-shadow:0 6px 20px rgba(0,0,0,0.45);
  margin-bottom:18px;
}
.hero-content p{
  max-width:760px;
  margin:0 auto 22px;
  opacity:.85;
  line-height:1.6;
  font-size:clamp(0.9rem, 2vw, 1.05rem);
}
.btn-primary{
  display:inline-block;
  background:#3faa4a;
  color:#fff;
  padding:13px 36px;
  border-radius:25px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 28px rgba(63,170,74,0.25);
  transition:transform .2s ease,box-shadow .2s ease;
  font-size:1rem;
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(63,170,74,0.35);
}

/* =========================
   CARDS FLOUTANTES (DENTRO DO HERO)
   ========================= */
/* container alinhado ao centro horizontal, posicionado dentro do hero */
.floating-cards{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:20px;
  z-index:4;
  display:flex;
  gap:32px;
  align-items:center;
  width:calc(100% - 48px);
  max-width:min(1280px, 95vw);
  padding:0 12px;
  pointer-events:none;
  box-sizing:border-box;
}

/* base dos cards */
.card{
  pointer-events:auto;
  border-radius:14px;
  padding:24px;
  color:#fff;
  background:rgba(60,120,75,0.85);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  border:1px solid rgba(63,170,74,0.3);
  box-shadow:0 12px 35px rgba(0,0,0,0.25);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  overflow:hidden;
  opacity:0;
  animation:animateFadeUp .7s ease forwards;
  flex:1;
}

/* tamanhos / alturas diferentes (igual referência) */
.card:nth-child(1){
  width:400px;
  height:340px;
  align-self:center;
  transform: none;
}
.card:nth-child(2){
  width:400px;
  height:340px;
  align-self:center;
  transform: none;
}
.card:nth-child(3){
  width:400px;
  height:340px;
  align-self:center;
  transform: none;
}

/* Imagens dos cards com crop e preenchimento */
.card img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:14px;
  display:block;
}

/* conteudo interno flexível, possibilita textos curtos ou longos */
.card h3{font-size:1.2rem;margin-bottom:10px;font-weight:700}
.card p{font-size:0.95rem;line-height:1.45;opacity:.95;margin-bottom:14px;flex-grow:1}
.card .card-link{color:#9cec9f;text-decoration:none;font-weight:700;font-size:0.95rem}

/* animação com pequenos delays */
.card:nth-child(1){animation-delay:.15s}
.card:nth-child(2){animation-delay:.32s}
.card:nth-child(3){animation-delay:.55s}

@keyframes animateFadeUp{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:translateY(0)}
}

/* =========================
   ABOUT / COMO FUNCIONA
   ========================= */
.about{
  max-width:1180px;
  margin:60px auto 120px;
  display:flex;
  gap:48px;
  align-items:center;
  padding:0 20px;
}
.about-img img{
  width:520px;
  max-width:100%;
  border-radius:14px;
  box-shadow:0 14px 40px rgba(10,20,12,0.12);
}
.about-text{flex:1}
.about-text h2{font-size:1.9rem;margin-bottom:14px}
.about-text p{color:#444;line-height:1.7;margin-bottom:12px}
.btn-outline{
  display:inline-block;margin-top:10px;padding:10px 22px;border-radius:999px;border:2px solid #3faa4a;color:#3faa4a;text-decoration:none;font-weight:700;
}
.btn-outline:hover{background:#3faa4a;color:#fff}


/* =========================
   FOOTER (REESTILIZADO)
   ========================= */
footer{
  background:#f5f7f5;
  color:#2d3d2d;
  padding:0;
  border-top:3px solid #3faa4a;
}

.footer-content{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
  padding:28px 28px;
  border-bottom:1px solid rgba(63,170,74,0.18);
}

.footer-section{
  flex:1;
  min-width:200px;
}

/* Logo section */
.footer-logo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-logo img{
  height:80px; /* versão compacta */
  max-width:200px;
  width:auto;
  object-fit:contain;
  margin-bottom:6px;
  display:block;
  -webkit-font-smoothing:antialiased;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,0.22));
}

.footer-logo-img {
  height: 150px !important;
  max-width: 350px !important;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.15));
}

/* responsivo: reduzir a logo em telas menores */
@media (max-width:1000px){
  .footer-logo img{ height:110px; max-width:200px }
}

@media (max-width:480px){
  .footer-logo img{ height:80px; max-width:140px }
}

.footer-logo h2{
  color:#3faa4a;
  font-size:1.4rem;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:6px;
}

.footer-logo p{
  color:#b5d5c4;
  font-size:0.95rem;
  line-height:1.5;
}

/* Contact section */
.footer-contact h3{
  color:#2d3d2d;
  font-size:1rem;
  margin-bottom:10px;
  font-weight:700;
}

.footer-contact p{
  color:#4a5a4a;
  margin-bottom:6px;
  font-size:0.92rem;
  line-height:1.5;
}

/* Newsletter section */
.footer-newsletter h3{
  color:#2d3d2d;
  font-size:1.1rem;
  margin-bottom:14px;
  font-weight:700;
}

.newsletter-form{
  display:flex;
  gap:10px;
  align-items:center;
}

.footer-newsletter input{
  padding:12px 16px;
  border-radius:6px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(63,170,74,0.3);
  outline:none;
  color:#fff;
  font-size:0.95rem;
  transition:all .3s ease;
  flex:1;
}

.footer-newsletter input:focus{
  background:rgba(255,255,255,0.12);
  border-color:#3faa4a;
  box-shadow:0 0 8px rgba(63,170,74,0.15);
}

.footer-newsletter input::placeholder{
  color:rgba(215,243,228,0.5);
}



.footer-copy{
  color:#9ab3a3;
  font-size:0.9rem;
  margin:0;
  text-align:center;
}

/* parte inferior */
.footer-bottom{
  max-width:1200px;
  margin:10px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  color:#9ab3a3;
  font-size:.9rem;
  padding:14px 0;
}


.footer-social {
    display: flex;
  gap: 18px;
    align-items: center;
    justify-content: flex-start;
  margin-top: 6px;
}

/* BOTÃO SOCIAL */
.social-icon {
  width: 52px;
  height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(255,255,255,0.08) 0%,
        rgba(255,255,255,0.02) 40%,
        rgba(0,0,0,0.6) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .25s ease;
    overflow: hidden;
}

/* Glow sutil concentrado no centro */
.social-icon::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    box-shadow:
        0 0 12px rgba(255,255,255,0.09),
        inset 0 0 12px rgba(255,255,255,0.05);
    z-index: 1;
}

/* Ícone */
.social-icon img {
  width: 30px;
  height: 30px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));

}

/* Hover com destaque forte */
.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 18px rgba(255,255,255,0.16);
}


/* BOTÃO PADRÃO VERDE PREMIUM */
.btn-primary, .btn-contato, .header a {
    background: #2e7d32 !important;      /* Verde escuro premium */
    padding: 12px 24px;
    border-radius: 30px;                  /* Borda mais arredondada */
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);  /* sombra profissional */
    transition: 0.3s ease-in-out;
}

/* HOVER */
.btn-primary:hover, 
.btn-contato:hover, 
.header a:hover {
    background: #1b5e20 !important;      /* verde mais forte */
    transform: translateY(-2px);         /* leve elevação */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Ajuste específico para o botão "Economize Mais" */
.hero .btn-economize {
    background: #2e7d32 !important;      /* Verde escuro premium */
    padding: 10px 22px !important;  /* tamanho proporcional */
    border-radius: 30px;                  /* Borda mais arredondada */
    color: #ffffff !important;
    font-size: 0.95rem !important;  /* reduz fonte */
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);  /* sombra profissional */
    transition: 0.3s ease-in-out;
}

/* Hover igual aos outros */
.hero .btn-economize:hover {
    background: #1b5e20 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


/* =========================
   RESPONSIVO
   ========================= */

/* Telas muito grandes (> 1400px) */
@media (min-width:1400px){
  .hero-content{
    max-width:900px;
  }
  .floating-cards{
    max-width:1400px;
    gap:40px;
  }
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3){
    width:420px;
    height:360px;
  }
}

@media (max-width:1200px){
  .hero-content h1{font-size:2.8rem}
  .header-container{padding:0 32px;gap:40px}
  .nav-menu{gap:30px}
  .card:nth-child(1){width:350px;height:290px}
  .card:nth-child(2){width:330px;height:275px}
  .card:nth-child(3){width:310px;height:260px}
  .floating-cards{gap:20px;max-width:1000px;bottom:60px}
  .hero{padding-bottom:380px}
}

@media (max-width:1000px){
  .hero-content h1{font-size:2.4rem}
  .nav-menu{gap:20px}
  .nav-link{font-size:0.85rem}
  .card:nth-child(1){width:280px;height:240px}
  .card:nth-child(2){width:265px;height:230px}
  .card:nth-child(3){width:250px;height:220px}
  .floating-cards{gap:12px;max-width:850px;bottom:40px}
  .hero{padding-bottom:340px}
  .about{max-width:1000px;margin-left:auto;margin-right:auto}
}

@media (max-width:900px){
  .card:nth-child(1){width:260px;height:230px}
  .card:nth-child(2){width:245px;height:220px}
  .card:nth-child(3){width:230px;height:210px}
  .card img{height:120px}
  .card h3{font-size:1.05rem}
  .card p{font-size:0.85rem}
  .floating-cards{gap:10px;bottom:35px}
  .hero{padding-bottom:330px}
  .hero-content h1{font-size:2.2rem}
}

/* Breakpoint intermediário 601px - 768px */
@media (max-width:768px) and (min-width:601px){
  .hero{
    padding-bottom:350px;
  }
  .floating-cards{
    gap:18px;
    bottom:50px;
  }
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3){
    width:280px;
    height:auto;
    min-height:260px;
  }
}

@media (max-width:768px){
  .header-container{
    padding:0 20px;
    gap:20px;
  }
  .logo h2{
    font-size:1.4rem;
    letter-spacing:1px;
  }
  .nav-menu{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    right:0;
    flex-direction:column;
    background:#06130d;
    border-bottom:2px solid #3faa4a;
    padding:20px;
    gap:15px;
  }
  .nav-menu.active{
    display:flex;
  }
  .menu-toggle{
    display:flex;
  }
  .hero{
    padding-top:50px;
    padding-bottom:320px;
    min-height:auto;
    background-attachment:scroll;
  }
  .hero-content h1{
    font-size:2rem;
    margin-bottom:12px;
  }
  .hero-content p{
    font-size:0.95rem;
    margin-bottom:18px;
  }
  .btn-primary{
    padding:12px 32px;
    font-size:0.95rem;
  }
  .floating-cards{
    flex-direction:column;
    align-items:center;
    bottom:60px;
    gap:20px;
    max-width:100%;
    width:100%;
    left:0;
    transform:none;
    padding:0 20px;
  }
  .card{
    width:100%;
    max-width:min(400px, 90vw);
    transform:none !important;
    align-self:center;
    height:auto;
    min-height:auto;
  }
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3){
    width:100%;
    max-width:min(400px, 90vw);
    height:auto;
    min-height:auto;
  }
  .about{
    flex-direction:column;
    gap:24px;
    margin-top:40px;
    padding:0 16px;
  }
  .about-img img{
    width:100%;
  }
  .about-text h2{
    font-size:1.6rem;
  }
  .footer-content{
    gap:30px;
    padding:30px 20px;
    flex-direction:column;
  }
  .footer-section{
    min-width:100%;
  }
  .newsletter-form{
    flex-direction:column;
  }
  .btn-footer{
    width:100%;
  }
}

/* Breakpoint intermediário 381px - 480px */
@media (max-width:480px) and (min-width:381px){
  .hero-content h1{
    font-size:1.55rem;
  }
  .card{
    width:100%;
    max-width:92%;
  }
}

@media (max-width:480px){
  .header-container{
    padding:0 16px;
  }
  .logo h2{
    font-size:1.2rem;
  }
  .hero{
    padding-top:40px;
    padding-bottom:380px;
    max-width:100vw;
  }
  .hero-content h1{
    font-size:1.5rem;
    line-height:1.2;
    margin-bottom:10px;
  }
  .hero-content p{
    font-size:0.9rem;
    margin-bottom:16px;
  }
  .btn-primary{
    padding:10px 24px;
    font-size:0.9rem;
  }
  .floating-cards{
    bottom:60px;
  }
  .card{
    width:95%;
    max-width:350px;
  }
  .card h3{
    font-size:1rem;
  }
  .card p{
    font-size:0.8rem;
  }
  .card .card-link{
    font-size:0.8rem;
  }
  .about{
    padding:0 12px;
  }
  .about-text h2{
    font-size:1.4rem;
  }
  .footer-content{
    padding:20px 16px;
  }
  .footer-logo h2{
    font-size:1.4rem;
  }
}

@media (max-width:480px){
  .hero-content h1{font-size:1.6rem}
  .hero-content p{font-size:.98rem}
  .btn-primary{padding:10px 18px}
  .news-form input{padding:10px}
  .news-form button{padding:9px 12px}
}

/* ===========================
   FORMULÁRIO PREMIUM
   =========================== */

/* Wrapper centralizado para o formulário */
.hero.formulario-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    padding-top: 100px;
    background: url("https://segenergyluz.com.br/assets/Fundo.png") center/cover no-repeat;
    background-attachment: fixed;
}

/* Card do formulário */
.form-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 22px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);

    animation: fadeIn 0.8s ease;
}

/* Título do formulário */
.hero-title {
    text-align: center;
    font-size: 1.8rem;
    color: #3faa4a;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-title span {
    color: #0a3e20;
    font-weight: 800;
}

.hero-title strong {
    color: white;
    font-size: 1.4rem;
}

/* Inputs do formulário */
.form-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.20);
    color: white;

    margin-bottom: 12px;
    transition: 0.25s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: #3faa4a;
    background: rgba(255, 255, 255, 0.30);
    transform: scale(1.02);
}

/* Select customizado */
.form-input option {
    background: #0a3e20;
    color: white;
}

/* Botão do formulário */
.formulario .btn-primary {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3faa4a, #0a3e20) !important;
    color: white !important;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;

    transition: 0.25s;
    margin-top: 15px;
}

.formulario .btn-primary:hover {
    background: linear-gradient(135deg, #0a3e20, #3faa4a) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Animação de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsivo do formulário */
@media (max-width: 768px) {
    .form-wrapper {
        max-width: 90%;
        padding: 30px 20px;
        margin: 20px auto;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-title strong {
        font-size: 1.2rem;
    }

    .form-input {
        padding: 12px 15px;
        font-size: 16px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        max-width: 95%;
        padding: 25px 15px;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .hero-title strong {
        font-size: 1.05rem;
        display: block;
        margin-top: 5px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .formulario .btn-primary {
        padding: 14px 20px;
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

/* ===========================
   PASSE A GERAR SUA PRÓPRIA ENERGIA
   =========================== */
.gerar-energia {
    max-width: min(1200px, 100vw);
    margin: 80px auto;
    padding: 0 40px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.gerar-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.gerar-img {
    flex: 1;
    max-width: 450px;
}

.gerar-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    display: block;
}

.gerar-text {
    flex: 1;
}

.gerar-text h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.3;
}

.gerar-text .highlight {
    color: #3faa4a;
    font-weight: 800;
}

.info-box {
    background: linear-gradient(135deg, rgba(63, 170, 74, 0.08), rgba(10, 62, 32, 0.05));
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #3faa4a;
    margin-bottom: 20px;
}

.info-box h3 {
    color: #3faa4a;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-box p {
    color: #444;
    line-height: 1.7;
}

.gerar-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.gerar-text .destaque {
    color: #3faa4a;
    font-size: 1.1em;
}

.beneficio-destaque {
    background: #3faa4a;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    text-align: center;
}

.beneficio-destaque h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

/* ===========================
   APLICAÇÕES (CASA, NEGÓCIO, FAZENDA)
   =========================== */
.aplicacoes {
    background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
    padding: 80px 40px;
    margin-top: 60px;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.aplicacoes-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.aplicacoes-header h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 15px;
}

.aplicacoes-header p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.aplicacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.aplicacao-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.aplicacao-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(63, 170, 74, 0.2);
    border-top-color: #3faa4a;
}

.aplicacao-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3faa4a, #2d8a36);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.aplicacao-icon svg {
    width: 35px;
    height: 35px;
}

.aplicacao-card h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 10px;
}

.aplicacao-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.aplicacoes-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===========================
   AVALIAÇÕES GOOGLE - DESIGN ULTRA PROFISSIONAL
   =========================== */
.avaliacoes-google {
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
    padding: 100px 40px 120px;
    text-align: center;
    position: relative;
}

.avaliacoes-google h2 {
    font-size: 2.6rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.avaliacoes-google h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3faa4a, #2d8a36);
    border-radius: 2px;
}

/* Container do carrossel */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 70px auto 0;
    padding: 0 90px;
}

.reviews-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Premium com sombra elegante */
.review-card {
    min-width: 100%;
    flex-shrink: 0;
    padding: 50px 60px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    margin: 0 15px;
    border: 1px solid rgba(63, 170, 74, 0.08);
}

.review-card.active {
    opacity: 1;
}

.review-content-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Aspas decorativas grandes */
.review-card::before {
    content: "\201C";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: rgba(63, 170, 74, 0.08);
    font-family: Georgia, serif;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

/* Frase destaque grande */
.review-highlight {
    font-size: 1.7rem;
    font-weight: 600;
    color: #2c2c2c;
    line-height: 1.5;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Texto do depoimento */
.review-card p {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 35px;
}

/* Container do autor com divisor */
.review-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.review-card .author {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.3px;
}

.review-card .author-title {
    font-size: 0.95rem;
    color: #3faa4a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Estrelas com animação */
.review-card .stars {
    color: #fbbf24;
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-top: 12px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.2));
}

/* Botões elegantes com ícones */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #3faa4a;
    border: 2px solid rgba(63, 170, 74, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
    background: #3faa4a;
    color: #fff;
    border-color: #3faa4a;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 30px rgba(63, 170, 74, 0.25);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Indicadores modernos */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-dot.active {
    background: #3faa4a;
    width: 36px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(63, 170, 74, 0.3);
}

.carousel-dot:hover:not(.active) {
    background: #999;
    transform: scale(1.2);
}

/* Responsivo */
@media (max-width: 768px) {
    .avaliacoes-google {
        padding: 80px 20px 100px;
    }
    
    .avaliacoes-google h2 {
        font-size: 2rem;
    }
    
    .review-card {
        padding: 40px 30px;
    }
    
    .review-highlight {
        font-size: 1.3rem;
    }
    
    .review-card p {
        font-size: 0.95rem;
    }
    
    .reviews-carousel-wrapper {
        padding: 0 60px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* Container do carrossel */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 70px;
}

.reviews-container {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

/* Cards de avaliação - Design Limpo sem foto */
.review-card {
    min-width: 100%;
    flex-shrink: 0;
    padding: 60px 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    background: #f9f9f9;
    border-radius: 20px;
    margin: 0 10px;
}

.review-card.active {
    opacity: 1;
}

/* Container do conteúdo */
.review-content-container {
    max-width: 850px;
    margin: 0 auto;
}

/* Título do depoimento (frase de destaque) */
.review-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 25px;
}

.review-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 35px;
}

/* Informações do autor embaixo */
.review-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.review-card .author {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
}

.review-card .author-title {
    font-size: 1rem;
    color: #3faa4a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-card .stars {
    color: #fbbf24;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #3faa4a;
    border: 2px solid #3faa4a;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(63, 170, 74, 0.2);
}

.carousel-btn:hover {
    background: #3faa4a;
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(63, 170, 74, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Indicadores elegantes */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 45px;
}
Minimalista */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #3faa4a;
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
    background: #3faa4a;
    color: #fff;
    border-color: #3faa4a;
    box-shadow: 0 4px 15px rgba(63, 170, 74, 0.3);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

/* Indicadores simples */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #3faa4a;
    transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
    background: #a0a0a0;
}

/* ===========================
   FINANCIAMENTO
   =========================== */
.financiamento {
    background: linear-gradient(135deg, #f5f7f9 0%, #e8eef3 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

.financiamento::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(63, 170, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.financiamento::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 62, 32, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.financiamento-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.financiamento-header h2 {
    font-size: 2.4rem;
    color: #222;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.financiamento-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Container principal */
.financiamento-balanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Cards de benefícios */
.financiamento-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.financiamento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(63, 170, 74, 0.15);
    border-color: rgba(63, 170, 74, 0.3);
}

.financiamento-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3faa4a 0%, #0a3e20 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.financiamento-card h3 {
    font-size: 1.3rem;
    color: #222;
    margin: 0;
    font-weight: 600;
}

.financiamento-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.financiamento-card strong {
    color: #3faa4a;
    font-weight: 600;
}

/* Logos section */
.logos-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(63, 170, 74, 0.15);
}

.logo-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 100px;
}

.logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(63, 170, 74, 0.12);
}

.logo-item img {
    max-height: 65px;
    width: 90%;
    object-fit: contain;
}

/* Responsivo */
@media (max-width: 980px) {
    .financiamento-balanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .logos-col {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .financiamento-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .financiamento {
        padding: 60px 20px;
    }
    
    .financiamento-balanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logos-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .financiamento-header h2 {
        font-size: 1.8rem;
    }
    
    .financiamento-card {
        padding: 28px 20px;
    }
}

@media (max-width: 560px) {
    .financiamento {
        padding: 50px 15px;
    }
    
    .financiamento-header h2 {
        font-size: 1.5rem;
    }
    
    .logos-col {
        grid-template-columns: 1fr;
    }
    
    .logo-item img {
        max-height: 45px;
    }
    
    .financiamento-card h3 {
        font-size: 1.15rem;
    }
    
    .financiamento-card p {
        font-size: 0.9rem;
    }
}

.bancos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.banco-logo {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.banco-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(63, 170, 74, 0.3);
}

.banco-placeholder {
    display: none;
  }

  .banco-logo img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.financiamento-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 3px solid #3faa4a;
}

.info-item .icon {
    font-size: 1.5rem;
    color: #3faa4a;
    font-weight: bold;
    flex-shrink: 0;
}

.info-item p {
    color: #555;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.info-item strong {
    color: #3faa4a;
}

/* ===========================
   RESPONSIVO - NOVAS SEÇÕES
   =========================== */
@media (max-width: 768px) {
    .gerar-content {
        flex-direction: column;
        gap: 30px;
    }

    .gerar-img {
        max-width: 100%;
    }

    .gerar-text h2 {
        font-size: 1.6rem;
    }

    .aplicacoes {
        padding: 50px 20px;
    }

    .aplicacoes-header h2 {
        font-size: 1.8rem;
    }

    .avaliacoes-google {
        padding: 50px 20px;
    }

    .avaliacoes-google h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 25px 20px;
    }

    .aplicacoes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .financiamento {
        padding: 50px 20px;
    }

    .financiamento-header h2 {
        font-size: 1.8rem;
    }

    .bancos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .gerar-energia {
        padding: 0 20px;
        margin: 50px auto;
    }

    .gerar-text h2 {
        font-size: 1.4rem;
    }

    .info-box {
        padding: 20px;
    }

    .aplicacoes-header h2 {
        font-size: 1.5rem;
    }

    .avaliacoes-google h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .review-card .author {
        font-size: 1rem;
    }

    .review-card .stars {
        font-size: 1.1rem;
    }

    .review-card p {
        font-size: 0.9rem;
    }

    .financiamento-header h2 {
        font-size: 1.5rem;
    }

    .bancos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   RESPONSIVO EXTRA - MOBILE
   ============================ */
@media (max-width: 600px) {
    /* Header */
    .header {
        padding: 12px 15px;
    }

    .header-container {
        gap: 15px;
    }

    .logo h2 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .btn-contato {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-content {
        order: 1;
        z-index: 10;
        padding: 20px 15px;
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.85rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .btn-economize {
        padding: 11px 24px !important;
        font-size: 0.85rem !important;
    }

    /* Floating Cards - Responsivo */
    .floating-cards {
        position: static;
        transform: none;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin-top: 30px;
        pointer-events: auto;
        order: 2;
    }

    .card {
        width: 100% !important;
        height: auto !important;
        padding: 18px;
        border-radius: 12px;
    }

    .card img {
        height: 160px;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 1rem !important;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 0.8rem !important;
        margin-bottom: 10px;
    }

    .card .card-link {
        font-size: 0.8rem;
    }

    /* Gerar Energia */
    .gerar-energia {
        padding: 50px 15px;
    }

    .gerar-content {
        flex-direction: column;
        gap: 25px;
    }

    .gerar-img {
        max-width: 100%;
        margin: 0 auto;
    }

    .gerar-img img {
        max-width: 100%;
        height: auto;
    }

    .gerar-text h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .gerar-text p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .info-box {
        padding: 15px;
        margin: 15px 0;
    }

    .info-box h3 {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 28px !important;
        font-size: 0.85rem !important;
        width: 100%;
    }

    /* Aplicações */
    .aplicacoes {
        padding: 50px 15px;
    }

    .aplicacoes-header {
        margin-bottom: 40px;
    }

    .aplicacoes-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .aplicacoes-header p {
        font-size: 0.85rem;
    }

    .aplicacoes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aplicacao-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .aplicacao-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .aplicacao-card h3 {
        font-size: 1.1rem;
    }

    .aplicacao-card p {
        font-size: 0.85rem;
    }

    /* Financiamento */
    .financiamento {
        padding: 50px 15px;
    }

    .financiamento-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .financiamento-header p {
        font-size: 0.85rem;
    }

    .financiamento-balanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .financiamento-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .financiamento-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .financiamento-card h3 {
        font-size: 1.05rem;
    }

    .financiamento-card p {
        font-size: 0.8rem;
    }

    .logos-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .logo-item {
        padding: 12px;
        min-height: 80px;
    }

    .logo-item img {
        max-height: 50px;
    }

    /* Footer */
    footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-section p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .footer-logo img {
        max-width: 60px;
        height: auto;
    }

    .footer-social {
        gap: 20px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon img {
        width: 25px;
        height: 25px;
    }

    .footer-copy {
        font-size: 0.75rem;
    }
}

/* Muito pequeno - extra small */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .gerar-text h2 {
        font-size: 1.2rem;
    }

    .aplicacoes-header h2 {
        font-size: 1.3rem;
    }

    .financiamento-header h2 {
        font-size: 1.3rem;
    }

    .logos-col {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-economize,
    .btn-contato {
        font-size: 0.8rem !important;
        padding: 10px 20px !important;
    }
}

/* ============================
   MODO PAISAGEM (LANDSCAPE) - MOBILE
   ============================ */
@media (max-height: 600px) and (orientation: landscape) {
    /* Header compacto no modo paisagem */
    .header {
        padding: 8px 20px;
        position: fixed;
    }

    .header-container {
        gap: 15px;
    }

    .logo-img {
        height: 45px !important;
    }

    .btn-contato {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }

    /* Hero ajustado para landscape */
    .hero {
        min-height: auto;
        height: auto;
        padding-top: 70px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background-attachment: scroll;
        gap: 20px;
    }

    .hero-content {
        width: 50%;
        flex-shrink: 0;
        padding: 15px;
        order: 1;
    }

    .hero-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.75rem !important;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .btn-economize,
    .btn-primary {
        padding: 8px 18px !important;
        font-size: 0.75rem !important;
    }

    /* Cards em linha horizontal compacta */
    .floating-cards {
        position: static;
        transform: none;
        display: flex;
        flex-direction: row;
        gap: 12px;
        width: 48%;
        padding: 10px;
        margin: 0;
        overflow-x: auto;
        overflow-y: visible;
        order: 2;
        height: auto;
        max-height: none;
    }

    .card {
        width: 200px !important;
        min-width: 200px;
        height: auto !important;
        padding: 12px;
        flex-shrink: 0;
    }

    .card img {
        height: 100px !important;
        margin-bottom: 8px;
    }

    .card h3 {
        font-size: 0.85rem !important;
        margin-bottom: 6px;
    }

    .card p {
        font-size: 0.7rem !important;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .card .card-link {
        font-size: 0.7rem !important;
    }

    /* Seções compactas */
    .gerar-energia {
        padding: 30px 20px;
        margin: 40px auto;
    }

    .gerar-content {
        flex-direction: row;
        gap: 25px;
    }

    .gerar-img {
        max-width: 40%;
    }

    .gerar-text {
        flex: 1;
    }

    .gerar-text h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .gerar-text p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .info-box {
        padding: 12px;
        margin: 12px 0;
    }

    .info-box h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .info-box p {
        font-size: 0.75rem;
    }

    /* Aplicações em grid horizontal */
    .aplicacoes {
        padding: 40px 20px;
    }

    .aplicacoes-header {
        margin-bottom: 30px;
    }

    .aplicacoes-header h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .aplicacoes-header p {
        font-size: 0.8rem;
    }

    .aplicacoes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .aplicacao-card {
        padding: 20px 15px;
    }

    .aplicacao-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .aplicacao-icon svg {
        width: 22px;
        height: 22px;
    }

    .aplicacao-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .aplicacao-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Financiamento */
    .financiamento {
        padding: 40px 20px;
    }

    .financiamento-header h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .financiamento-header p {
        font-size: 0.8rem;
    }

    .financiamento-balanced {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .financiamento-card {
        padding: 18px 12px;
    }

    .financiamento-card .icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .financiamento-card h3 {
        font-size: 0.9rem;
    }

    .financiamento-card p {
        font-size: 0.7rem;
    }

    .logos-col {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 25px;
        padding-top: 25px;
    }

    .logo-item {
        padding: 10px;
        min-height: 70px;
    }

    .logo-item img {
        max-height: 40px;
    }

    /* Footer compacto */
    footer {
        padding: 25px 15px 15px;
    }

    .footer-content {
        flex-direction: row;
        gap: 20px;
        padding: 20px 15px;
    }

    .footer-section {
        min-width: auto;
        flex: 1;
    }

    .footer-logo-img {
        height: 100px !important;
        max-width: 250px !important;
    }

    .footer-section h3 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .footer-section p {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .footer-social {
        gap: 12px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon img {
        width: 22px;
        height: 22px;
    }

    .footer-bottom {
        padding: 10px 0;
    }

    .footer-copy {
        font-size: 0.7rem;
    }

    /* Formulário em landscape */
    .hero.formulario-page {
        padding: 30px 20px;
        padding-top: 80px;
        min-height: auto;
    }

    .form-wrapper {
        max-width: 600px;
        padding: 25px 30px;
    }

    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .hero-title strong {
        font-size: 1rem;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .formulario .btn-primary {
        padding: 11px 20px;
        font-size: 0.85rem;
        margin-top: 10px;
    }
}

/* Landscape muito pequeno (celulares antigos) */
@media (max-height: 450px) and (orientation: landscape) {
    .hero {
        padding-top: 60px;
        padding-bottom: 30px;
        max-width: 100vw;
    }

    .hero-content h1 {
        font-size: 1.1rem !important;
    }

    .hero-content p {
        font-size: 0.7rem !important;
    }

    .card {
        width: 180px !important;
        min-width: 180px;
    }

    .card img {
        height: 80px !important;
    }

    .gerar-text h2 {
        font-size: 1rem;
    }

    .aplicacoes-header h2,
    .financiamento-header h2 {
        font-size: 1.1rem;
    }
}

/* ============================
   REGRAS UNIVERSAIS ANTI-BUG
   ============================ */

/* Prevenir overflow horizontal em TODOS os elementos */
* {
    max-width: 100%;
}

/* Exceções para elementos que precisam sair do container */
.hero-overlay,
.floating-cards,
.hero::before,
.hero::after,
.financiamento::before,
.financiamento::after {
    max-width: none;
}

/* Garantir que imagens não causem overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevenir texto muito longo de quebrar layout */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Garantir que containers principais não ultrapassem viewport */
section {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Breakpoint extra para telas muito estreitas */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.75rem !important;
    }
    
    .btn-primary,
    .btn-contato {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }
    
    .card {
        padding: 12px;
    }
    
    .card h3 {
        font-size: 0.9rem !important;
    }
    
    .card p {
        font-size: 0.75rem !important;
    }
    
    .gerar-text h2 {
        font-size: 1.1rem;
    }
    
    .aplicacao-card,
    .financiamento-card {
        padding: 18px 12px;
    }
}

/* Modo paisagem para tablets pequenos */
@media (min-height: 601px) and (max-height: 800px) and (orientation: landscape) {
    .hero {
        padding-bottom: 300px;
    }
    
    .floating-cards {
        bottom: 40px;
    }
}

/* ============================
   COMPATIBILIDADE COM SERVIDOR
   ============================ */

/* Garantir que background funcione em todos os navegadores */
.hero {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Suporte para Safari iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
        min-height: -webkit-fill-available;
    }
    
    body {
        min-height: -webkit-fill-available;
    }
}

/* Prevenir zoom indesejado no iOS */
input, select, textarea {
    font-size: 16px !important;
}

/* Smooth scroll para navegação */
html {
    scroll-behavior: smooth;
}

/* Garantir que backdrop-filter funcione */
@supports not (backdrop-filter: blur(8px)) {
    .header {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .card {
        background: rgba(60, 120, 75, 0.95);
    }
}

/* Performance: will-change para animações */
.card {
    will-change: opacity, transform;
}

.btn-primary,
.btn-contato,
.social-icon {
    will-change: transform;
}

/* Prevenir FOUC (Flash of Unstyled Content) */
html {
    visibility: visible;
    opacity: 1;
}
