/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIÁVEIS ===== */
:root {
  --blue: #0b3f8a;
  --green: #5f8f1c;
  --line: #94bc39;
  --text: #1f2937;
  --tempo-sol: 5s;
}
@font-face {
  font-display: swap;
  font-family: 'PT Sans';
  font-weight: 400;
  src: url('./assets/fonts/pt-sans-v18-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'PT Sans';
  font-weight: 700;
  src: url('./assets/fonts/pt-sans-v18-latin-700.woff2') format('woff2');
}

html {
  scroll-behavior: smooth;
}

/* ===== BASE ===== */
body {
  font-family: "PT Sans", sans-serif;
  background: #ebebeb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);

  animation: pulseScale 2.2s infinite;
}

@keyframes pulseScale {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  filter: brightness(1.08);
}

[id] {
  scroll-margin-top: 45px;
}
.top-header {
  display: flex;
  position: fixed;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 3rem;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.nav-brand img {
  width: 100%;
  max-width: 58px;
  height: auto;
  display: block;
}

.nav-brand span {
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
}

.nav-link,
.menu-mobile a {
  position: relative;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.72rem 1rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
    border: none;
  background: none;
}

.nav-link:hover,
.menu-mobile a:hover,
.nav-link:focus-visible,
.menu-mobile a:focus-visible {
  color: var(--green);
  background: none;
  box-shadow: none;
  
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

.nav-link:hover::after,
.menu-mobile a:hover::after,
.nav-link:focus-visible::after,
.menu-mobile a:focus-visible::after {
  transform: scaleX(1);
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), #1d5dbb);
  color: #fff;
  border-color: transparent;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #0a3471, #174f9b);
}

.nav-cta::after {
  background: #fff;
}

.links-desktop {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
  width: auto;
  margin: 0;
  padding: 0.72rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 63, 138, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(95, 143, 28, 0.35);
  box-shadow: 0 10px 24px rgba(11, 63, 138, 0.08);
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 63, 138, 0.12);
  box-shadow: 0 18px 40px rgba(11, 63, 138, 0.14);
  backdrop-filter: blur(14px);
  z-index: 60;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.menu-mobile.ativo {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.menu-mobile a {
  width: 100%;
  justify-content: flex-start;
}


/* ===== SEÇÕES DA LANDING ===== */
.landing-section {
  padding: clamp(2.5rem, 5vw, 5rem) 1rem;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.real-project {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.landing-container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: #082e63;
  background: rgba(11, 63, 138, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.section-title {
  color: var(--blue);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-text {
  color: #1f2937;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
  max-width: 780px;
  margin: 0 auto 1.2rem;
}



.projects-grid,
.benefits-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.project-card,
.benefit-card,
.step-card {
  background: #fff;
  border: 1px solid rgba(11,63,138,0.12);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 10px 25px rgba(11,63,138,0.06);
  text-align: left;
 
}

.project-img {
  height: 180px;
  border-radius: 16px;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(11,63,138,0.72), rgba(95,143,28,0.72)),
    url('background-solar.png') center/cover;
}

.project-card h3,
.benefit-card h3,
.step-card h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.project-card p,
.benefit-card p,
.step-card p {
  color: #555;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  margin-top: 1.6rem;
  background: linear-gradient(135deg, var(--blue), #1d5dbb);
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(11,63,138,0.25);
}

.site-footer {
  background: #082e63;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
  line-height: 1.5;
}

#servicos .content {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

#servicos .left-area {
  pointer-events: auto;
}

#servicos .projects-grid {
  position: static;
  left: clamp(1rem, 3vw, 3rem);
  bottom: clamp(5rem, 12vw, 9rem);
  width: min(760px, 92vw);
  z-index: 25;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0;
  padding-top: 3rem;
}

#servicos .project-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 2px solid #7dab2a;
  border-radius: 18px;
   opacity: 0;
  transform: translateY(30px) scale(0.96);

  animation: cardFadeUp 0.7s ease forwards;
}

@keyframes cardFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#servicos .project-card:nth-child(1) { animation-delay: 0.05s; }
#servicos .project-card:nth-child(2) { animation-delay: 0.15s; }
#servicos .project-card:nth-child(3) { animation-delay: 0.25s; }
#servicos .project-card:nth-child(4) { animation-delay: 0.35s; }
#servicos .project-card:nth-child(5) { animation-delay: 0.45s; }
#servicos .project-card:nth-child(6) { animation-delay: 0.55s; }


#servicos .cta-button {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1.8rem, 5vw, 3rem);
  z-index: 26;
}

.seo-cidades-solar {
  padding: 2rem 1rem;
  background: #f7fbff;
  border-top: 1px solid rgba(11,63,138,0.08);
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.seo-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.seo-cidades-solar h2 {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.seo-cidades-solar p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

.seo-cidades-solar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline;

  color: #2c2c2c; /* mais próximo de texto principal */
}

.seo-cidades-solar li {
  display: inline;
  font-weight: 500;
  color: var(--blue); /* 🔥 usa sua cor principal */
}

.seo-cidades-solar li:not(:last-child)::after {
  content: ", ";
  color: #777; /* vírgula mais suave */
}

/* ===== SLIDER PROJETOS SOLAR ===== */
.faq-solar {
  min-height: auto;
  max-height: none;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(11,63,138,0.12);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: left;
  box-shadow: 0 10px 25px rgba(11,63,138,0.06);
}

.faq-item h3 {
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.5;
}

.solar-slider {
  position: relative;
  width: min(900px, 100%);
  height: clamp(260px, 45vw, 460px);
  margin: 2rem auto 0;
  border-radius: 24px;
  overflow: hidden;
  background: #eef5ff;
  box-shadow: 0 18px 45px rgba(11, 63, 138, 0.16);
}

.solar-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.solar-slide.active {
  opacity: 1;
}

.solar-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* bolinhas */
.solar-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.solar-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.solar-dot.active {
  width: 26px;
  border-radius: 999px;
  background: #fff;
}

/* botão instagram verde/instagram */




#projetos {
  position: relative;
  background:
    
    url("./img/fundoProjetos.png") center/cover no-repeat;
}

.site-footer {
  background: #082e63;
  color: #fff;
  padding: 2.5rem 1rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 1rem;
}

.footer-brand strong {
  font-size: 1.2rem;
  display: block;
}

.footer-brand p {
  color: rgba(255,255,255,0.75);
}

.footer-contact a {
  color: #7dab2a;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.strong {
  color:  var(--blue);

  background: rgba(128, 182, 67, 0.548);
  padding: 2px 6px;
  border-radius: 6px;

  font-weight: 700;
}

.campo-desconto {
  margin: 0;
  font-size: 0.9rem;
  color: #1f2937; /* 🔥 mais escuro */
  font-weight: 600;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
.sun-wrap,
.sun-rays,
.halo,
#panelShine {
  animation: none;
}
}

/* ===== NAV RESPONSIVO ===== */
@media (min-width: 901px) {
  .menu-mobile,
  .menu-toggle {
    display: none !important;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  max-height: 850px;
  
  overflow: hidden;
  isolation: isolate;
}



/* FUNDO */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.97) 20%,
    rgba(255,255,255,0.88) 35%,
    rgba(255,255,255,0.65) 48%,
    rgba(255,255,255,0.35) 60%,
    rgba(255,255,255,0.12) 70%,
    rgba(255,255,255,0) 80%
  );
}

/* ===== CONTEÚDO ===== */
.content {
  display: flex;
  position: relative;
  z-index: 3;
  width: 100%;
  max-height: 850px;
  padding:
    clamp(3rem, 6vh, 6rem)
    clamp(1rem, 3vw, 3rem)
    clamp(6.5rem, 12vh, 11rem)
    clamp(2rem, 4vw, 3.6rem);
}

.left-area {
  width: min(64vw, 960px);
  margin-top: clamp(1rem, 3vh, 2rem);
}

/* TOPO */
.top-block {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: center;
}

.logo-wrap {
 
position: relative;
display: inline-block;
overflow: hidden;
line-height: 0;
}

.logo-wrap img {
width: auto;
  max-width: 200px;
  height: auto;
  display: block;
animation: logoFloat 2.2s ease-in-out infinite;
transition: transform 0.3s ease, filter 0.3s ease;
will-change: transform;
}

.logo-wrap:hover img {
filter: drop-shadow(0 10px 18px rgba(11, 63, 138, 0.22));
}

/* brilho */
.logo-wrap::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 25%;
height: 100%;

background: linear-gradient(
  120deg,
  transparent 0%,
  rgba(255,255,255,0.55) 50%,
  transparent 100%
);

transform: translateX(-80%) skewX(-18deg);
animation: brilho 4.5s ease-in-out infinite;
pointer-events: none;
}

@keyframes brilho {
0% {
  transform: translateX(-150%) skewX(-18deg);
  opacity: 0;
}

15% {
  opacity: 1;
}

50% {
  transform: translateX(350%) skewX(-18deg);
  opacity: 1;
}

70% {
  opacity: 0;
}

100% {
  transform: translateX(150%) skewX(-18deg);
  opacity: 0;
}
}

@keyframes logoFloat {
0% {
  transform: translateY(0);
}
50% {
  transform: translateY(-10px);
}
100% {
  transform: translateY(0);
}

}

/* section color */
.landing-section {
  position: relative;
  background: #fff;
  max-height: 850px;
}

.landing-section:nth-of-type(odd) {
  background: #f7fbff;
}

.landing-section + .landing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(11,63,138,0.14),
    transparent
  );
}
/* section dupla */
.sections-duplas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sections-duplas > section {
  flex: 1;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
/* TITULO */


.headline h1 {
  font-family: "PT Sans", sans-serif;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  min-height: 1.6em;
  font-size: clamp(2.2rem, 4.5vw, 5.2rem);
}

.headline h1 .green {
  display: block;
  color: var(--green);
}

.headline .line {
  width: min(100%, 350px);
  height: 3px;
  background: var(--line);
  margin: 1rem 0;
}

.headline p {
  max-width: 480px;
  color: var(--text);
  line-height: 1.25;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
}

/* ===== FEATURES ===== */

.features {
margin-top: clamp(1.5rem, 3vw, 2.4rem);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
gap: 1rem;
}

/* container do card */
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  opacity: 0;
  transform: translateY(30px) scale(0.96);

  animation: cardFadeUp 0.7s ease forwards;
}

.feature:nth-child(1) { animation-delay: 0.05s; }
.feature:nth-child(2) { animation-delay: 0.15s; }
.feature:nth-child(3) { animation-delay: 0.25s; }
.feature:nth-child(4) { animation-delay: 0.35s; }

/* ÍCONE */
.feature .icon {
width: 54px;
height: 54px;
margin: 0 auto 10px;

border: 2px solid #7dab2a;
border-radius: 50%;

display: flex;
align-items: center;
justify-content: center;

background: rgba(255, 255, 255, 0.18);
backdrop-filter: blur(4px);

transition:
  transform 0.25s ease,
  box-shadow 0.25s ease,
  border-color 0.25s ease,
  background 0.25s ease;
}

/* SVG */
.feature .icon svg {
width: 24px;
height: 24px;
stroke: #0b3f8a;

transition:
  transform 0.25s ease,
  stroke 0.25s ease;
}

/* TEXTO (sem fundo, só borda) */
.feature-title {
  display: inline-block;
  max-width: 100%;
  text-wrap: balance;

  border: none; /* remove borda */
  border-radius: 4px;

  padding: 2px 6px;
  line-height: 1.15;

  background: rgba(255, 255, 255, 0.70); /* 👈 fundo */
  backdrop-filter: blur(3px); /* opcional */

  font-size: clamp(0.8rem, 1vw, 1rem);
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;

  pointer-events: none;
}

/* ===== HOVER (SEM MOVER O CARD) ===== */
.feature:hover .icon {
transform: scale(1.08);
border-color: #ffffff;

background: rgba(255, 255, 255, 0.28);

box-shadow:
  0 10px 24px rgba(11, 63, 138, 0.14),
  0 0 18px rgba(125, 171, 42, 0.22);
}

.feature:hover .icon svg {
transform: scale(1.05);
stroke: #7dab2a;
}

.feature:hover .feature-title {
border-color: #7dab2a;
color: #7dab2a;
}

/* entrada em cascata */
.feature:nth-child(1) { transition-delay: 0.05s; }
.feature:nth-child(2) { transition-delay: 0.15s; }
.feature:nth-child(3) { transition-delay: 0.25s; }
.feature:nth-child(4) { transition-delay: 0.35s; }

/* ===== BASE ===== */
.bottom-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  
}

.parte-baixa-img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTEÚDO BASE */

.bottom-left {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(0.7rem, 1.2vw, 1rem);
  align-self: end;
}

.bottom-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;

  padding: 0.35rem 0.4rem;
  min-width: 0;
}

.simulacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.bottom-icon {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1;
  margin-top: 0.1rem;
}

.bottom-card strong {
  display: block;
  color: #91d131;
  text-transform: uppercase;
  line-height: 1.08;
  font-size: clamp(0.78rem, 0.9vw, 0.96rem);
  margin-bottom: 0.15rem;
}

.bottom-card span {
  display: block;
  line-height: 1.15;
  font-size: clamp(0.72rem, 0.84vw, 0.9rem);
  color: #fff;
}

.contact {
  display: grid;
  gap: clamp(0.35rem, 0.8vw, 0.6rem);
  align-self: center;
  justify-self: end;
  text-align: left;
  min-width: 0;
}

.contact > div {
  font-size: clamp(0.76rem, 0.88vw, 0.94rem);
  line-height: 1.2;
  word-break: break-word;
  color: #fff;
}

/* estrela  */
 .energia-hero {

position: absolute;
bottom: 20px; /* sobe um pouco */
right: 40px;  /* afasta da borda */
z-index: 6; /* não atrapalha cliques */
pointer-events: none;
}

.energia-animacao {
width: min(420px, 40vw);
margin: 0 auto;
}

.energia-svg {
width: 20rem;
height: auto;
display: block;
overflow: visible;
}

.sun-wrap {
  transform-origin: 220px 120px;
  animation: sunRiseToPosition var(--tempo-sol) cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes sunRiseToPosition {
  0% {
    transform: translate(var(--sun-start-x), var(--sun-start-y)) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(var(--sun-start-x), var(--sun-start-y)) scale(0.7);
    opacity: 1;
  }

  45% {
    transform: translate(var(--sun-start-x), var(--sun-start-y)) scale(0.7);
    opacity: 1;
  }

  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

.sun-rays {
transform-origin: 220px 120px;
animation: sunRotate 20s linear infinite;
}

.sun-core {
filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.35));
}

.halo,
.halo-2 {
  transform-origin: 220px 120px;
  opacity: 0;
}

.halo {
  animation: haloPulse 4s ease-in-out infinite;
  animation-delay: calc(var(--tempo-sol));
}

.halo-2 {
  animation: haloPulse 4s ease-in-out infinite 8.8s;
  animation-delay: calc(var(--tempo-sol) + 1s);
}

#panelShine {
animation: shinePulse 2.8s ease-in-out infinite;
}

.particle {
fill: #9adfff;
opacity: 0.9;
}

.photon-trail {
fill: rgba(255, 213, 79, 0.18);
filter: url(#beamGlow);
}

.photon-core {
fill: #ffd54f;
}

.photon-hot {
fill: #fff6c7;
}

@keyframes sunRotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

@keyframes sunFloat {
0% { transform: translateY(0); }
50% { transform: translateY(-7px); }
100% { transform: translateY(0); }
}

@keyframes haloPulse {
0% { opacity: 0.55; transform: scale(1); }
50% { opacity: 0.9; transform: scale(1.05); }
100% { opacity: 0.55; transform: scale(1); }
}

@keyframes shinePulse {
0% { opacity: 0.08; }
50% { opacity: 0.22; }
100% { opacity: 0.08; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .content {
    padding:
      3rem
      1rem
      15rem
      1rem;
  }

  .top-header {
    padding: 0.85rem 1rem;
  }

  .nav-brand img {
    max-width: 50px;
  }

  .nav-brand span {
    font-size: 0.92rem;
  }

  .links-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link-main {
    display: none;
  }

  .left-area {
    width: 100%;
  }

  @keyframes brilho {
0% {
  left: -20%;
}
100% {
  left:30%;
}
}

.logo-wrap::after
{
  width: 5%;
}

  .top-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .headline p,
  .headline .line {
    margin-left: auto;
    margin-right: auto;
  }

  .bottom-left {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 0.7rem;
  }

  .contact {
    justify-self: start;
    align-self: end;
    text-align: left;
  }
}

/* mobile */
@media (max-width: 700px) {
  .faq-list {
    grid-template-columns: 1fr;
  }

  .solar-slider {
    height: 300px;
    border-radius: 18px;
  }

  body:not(.svg-loaded) .sun-wrap,
body:not(.svg-loaded) #panelGroup,
body:not(.svg-loaded) #panelGroupServicos {
  display: none !important;
}

body.svg-loaded .sun-wrap,
body.svg-loaded #panelGroup,
body.svg-loaded #panelGroupServicos {
  display: inline !important;
}
  
  #projetos::before {
  content: "";
  position: absolute;

  top: -2px; /* 👈 sobe e encosta na section de cima */
  left: 50%;
  transform: translateX(-50%);

  width: 50px;
  height: 4px;

  background: linear-gradient(
  to right,
  transparent,
  #5f8f1c,
  transparent
);

  border-radius: 999px;
  opacity: 0.9;
}

  #servicos .projects-grid {
    grid-template-columns: 1fr;
    bottom: 6rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-bottom: 13rem;
    margin-top: 10px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }

  

  .projects-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  
  
  .project-card,
  .benefit-card,
  .step-card {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .logo-wrap::after {
    animation: none;
    opacity: 0;
  }

  .halo {
  animation: haloPulse 4s ease-in-out infinite;
  animation-delay: calc(var(--tempo-sol) + 3s);
}

.halo-2 {
  animation: haloPulse 4s ease-in-out infinite 8.8s;
  animation-delay: calc(var(--tempo-sol) + 4s);
}
  
   .simulacao-grid {
    grid-template-columns: 1fr;
   }

   .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.8rem;
   }

   .energia-hero {
     position: absolute;
     bottom: -1.2rem; /* sobe um pouco */
     right: 30%;  /* afasta da borda */
     z-index: 6; /* não atrapalha cliques */
    
   }

   .feature .icon {
     width: 46px;
     height: 46px;
   }

   .feature .icon svg {
     width: 21px;
     height: 21px;
   }

   .feature-title {
     font-size: 0.74rem;
     background: none;
     backdrop-filter: none;
   }

   .headline {
    min-height: 180px;
  }

   .headline h1 {
      font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .logo-wrap img {
    width: auto;
    max-width: 160px;
    height: auto;
  }

    @keyframes brilho {
      0% {
        left: 0%;
      }
      100% {
        left:0%;
      }
    }

    .bottom-left {
      grid-template-columns: 1fr;
    }

    .bottom-card {
      gap: 0.55rem;
      padding: 0.2rem 0;
    }

    .bottom-icon {
      font-size: 1rem;
    }

    .bottom-card strong {
      font-size: 0.74rem;
    }

    .bottom-card span,
    .contact > div {
      font-size: 0.7rem;
    }

    .energia-hero {
      right: 35%;
    }
    
    .top-header {
    padding: 0.75rem 0.85rem;
  }

  

  :root {
    --tempo-sol: 0s;
  }

  .nav-container {
    gap: 0.7rem;
  }

  .nav-brand {
    gap: 0.5rem;
  }

  .nav-brand img {
    max-width: 44px;
  }

  .nav-brand span {
    font-size: 0.82rem;
  }

  .menu-toggle {
    padding: 0.66rem 0.82rem;
    font-size: 0.95rem;
  }

  .menu-mobile {
    min-width: 190px;
    right: 0;
  }
    
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
    font-size: 1.5rem;
  }

}
