*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.solar-body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #88c2d8;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 2000;
  background: #fff;
  padding: 8px 12px;
}

.solar-header {
  background: #fff;
}

.solar-topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 16px;
  gap: 40px;
}

.solar-logo img {
  display: block;
  width: auto;
  max-width: 354px;
  height: auto;
}

.solar-dados {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  color: #0e425d;
  font-size: 18px;
  font-weight: 500;
}

.solar-dados li {
  padding: 0 0 6px;
}

.solar-dados a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0e425d;
}

.solar-dados svg {
  flex: 0 0 auto;
}

.solar-nav-wrap {
  background: #0e425d;
  position: sticky;
  top: 0;
  z-index: 90;
}

.solar-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.solar-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.solar-nav a {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 16px;
}

.solar-nav a:hover,
.solar-nav .current a {
  color: #fff;
}

.solar-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 14px 16px;
}

.solar-toggle-bars {
  width: 18px;
  height: 2px;
  background: #fff;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

.solar-toggle[aria-expanded="true"] .solar-toggle-text,
.solar-toggle .solar-toggle-close {
  display: none;
}

.solar-toggle[aria-expanded="true"] .solar-toggle-close {
  display: inline;
}

.solar-slide {
  position: relative;
  height: 600px;
  background: #333;
  overflow: hidden;
}

.solar-slide .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  background: #333 center / cover no-repeat;
}

.solar-slide .slide.is-active {
  opacity: 1;
  z-index: 1;
}

.solar-slide .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.73;
}

.solar-slide .frase {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.solar-slide h1 {
  margin: 0;
  max-width: 920px;
  background: rgba(111, 204, 30, 0.8);
  color: #fff !important;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  padding: 18px 28px;
}

.solar-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.solar-section {
  padding: 30px 0;
}

.solar-section h2 {
  text-align: center;
  color: #0e425d;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 15px;
}

.solar-section h2 span,
.solar-about h1 span {
  color: #6fcc1e;
}

.solar-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.solar-split h3 {
  font-size: 26px;
  font-weight: 400;
  color: #4a4a4a;
  margin: 0 0 12px;
}

.solar-split p {
  margin: 0 0 14px;
}

.solar-diagram {
  display: block;
  margin: 0 auto;
}

#vantagens .solar-wrap > p,
#vantagens .lead {
  margin-bottom: 8px;
}

.vant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  margin-top: 10px;
}

.vant-item {
  text-align: center;
}

.vant-item img {
  width: 139px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}

.acc.pill .acc-head {
  width: 50%;
  margin: 0 auto;
  background: #88c2d8;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 25px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.acc.pill .acc-body {
  background: #fff;
  color: #0e425d;
  text-align: justify;
  padding: 15px 30px;
}

.acc-body {
  display: none;
}

.acc.is-open > .acc-body {
  display: block;
}

.acc-plus {
  font-size: 18px;
  line-height: 1;
}

#instalacao {
  background: #6fcc1e;
  padding: 50px 0;
  color: #fff;
}

#instalacao h2,
#instalacao h3 {
  color: #fff;
  text-align: center;
  margin: 0 0 15px;
}

#instalacao h3 {
  font-size: 26px;
  font-weight: 400;
}

.acc.lime {
  width: 70%;
  margin: 0 auto 10px;
}

.acc.lime .acc-head {
  width: 100%;
  background: #6fcc1e;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.acc.lime .acc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.acc.lime .acc-title svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.acc.lime .acc-body {
  background: #6fcc1e;
  color: #fff;
  padding: 15px 30px;
}

.acc.lime .acc-body svg,
.arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
}

#areas-de-atuacao {
  background: #ffc000;
  padding: 50px 0;
}

#areas-de-atuacao h2 {
  color: #fff;
  margin-bottom: 24px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.area-ico {
  max-width: 250px;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.area-ico:hover {
  transform: scale(1.1);
}

.area-ico img {
  display: block;
  width: 100%;
  height: auto;
}

#projetos {
  background: #333 center / cover no-repeat;
  background-image: url("/assets/img/solar/galeria-scaled.jpg");
  background-attachment: fixed;
  padding: 150px 0;
}

.projetos-box {
  background: #0e425d;
  padding: 50px;
  max-width: 500px;
  margin: 0 auto;
  color: #fff;
}

.projetos-box h1 {
  text-align: center;
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}

.btn-verde {
  display: inline-block;
  background: #6fcc1e !important;
  color: #fff !important;
  padding: 10px 28px;
  border: 1px solid #fff;
  margin-top: 16px;
}

.projetos-box p {
  text-align: center;
  margin: 16px 0 0;
}

.solar-about {
  padding: 30px 0 40px;
}

.solar-about h1 {
  text-align: left;
  margin: 0 0 5px;
  color: #0e425d;
  font-size: 32px;
  font-weight: 400;
}

.solar-map {
  background: #efefef;
}

.solar-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.solar-footer {
  background: #efefef;
  color: #0e425d;
}

.solar-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.solar-footer-inner img {
  display: block;
  margin: 0 auto;
}

.solar-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.solar-footer a {
  color: #0e425d;
  font-weight: 700;
}

#fale-conosco {
  font-size: 17px;
  font-weight: bold;
}

#fale-conosco svg {
  color: #ffc000;
}

.solar-footer-contacts a,
.solar-footer nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.solar-copy {
  background: #0e425d;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  padding: 14px 12px;
}

.solar-copy a {
  color: #fff;
}

.solar-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 40px;
  height: 40px;
  background: #0e425d;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.solar-top.is-visible {
  display: flex;
}

.page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e425d center / cover no-repeat;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  padding: 24px;
}

.solar-entry {
  max-width: 950px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.solar-entry p {
  margin: 0 0 12px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.gallery.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery a img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid #c7c7c7;
}

.wpsp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.wpsp-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
}

.wpsp-card h3 a {
  color: #333;
}

.wpsp-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0 0 12px;
}

.wpsp-card p {
  margin: 0 0 12px;
  color: #4a4a4a;
}

.wpsp-more {
  display: inline-block;
  background: #88c2d8;
  color: #fff !important;
  border: 1px solid #fff;
  padding: 8px 16px;
}

.wpsp-more:hover {
  background: #fcb713;
}

.related {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.related h3 {
  text-align: center;
  font-size: 18px;
  margin: 0 0 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.related-grid h4 {
  margin: 10px 0 0;
  font-size: 16px;
}

.related-grid a {
  color: #333;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close {
  top: 16px;
  right: 24px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

@media (max-width: 1000px) {
  .solar-topbar {
    width: auto;
  }
}

@media (max-width: 900px) {
  .solar-split,
  .vant-grid,
  .areas-grid,
  .wpsp,
  .related-grid,
  .gallery,
  .gallery.cols-3,
  .solar-footer-inner {
    grid-template-columns: 1fr;
  }

  .solar-slide {
    height: 420px;
  }

  .acc.pill .acc-head,
  .acc.lime {
    width: 100%;
  }

  #projetos {
    background-attachment: scroll;
    padding: 80px 16px;
  }
}

@media (max-width: 800px) {
  .solar-topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 8px;
  }

  .solar-dados {
    margin-top: 5px;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
  }

  .solar-dados li {
    padding-right: 0;
  }

  .solar-toggle {
    display: flex;
  }

  .solar-nav {
    display: none;
    background: #0e425d;
  }

  .solar-nav.is-open {
    display: block;
  }

  .solar-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .solar-nav a {
    border-top: 1px solid #fff;
    padding: 12px 16px;
  }

  .solar-logo img {
    max-width: 252px;
  }
}

@media (max-width: 420px) {
  h1, h2 {
    font-size: 25px !important;
  }

  .solar-footer {
    font-size: 14px;
  }
}
