:root {
  --blue: #0076a8;
  --blue-deep: #006088;
  --navy: #01364d;
  --text: #7a7a7a;
  --yellow: #fbbb01;
  --yellow-foot: #fec100;
  --green: #a8cf45;
  --bg: #f5f5f5;
  --card: #f0f0f0;
  --footer: #e6e6e6;
  --container: 1140px;
  --font: "Raleway", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: #3c8ef6; text-decoration: none; }
button, input, textarea { font-family: inherit; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--blue);
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 8px; }

.topbar {
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.topbar a { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 16px; height: 16px; flex: 0 0 16px; }
.top-social { display: flex; gap: 8px; }
.top-social a {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.top-social svg { width: 22px; height: 22px; }

.site-header { background: #fff; }
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { display: block; width: 238px; height: 69px; }
.nav-desktop { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-desktop a[aria-current="page"] { font-weight: 800; }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 8px;
  cursor: pointer;
}
.mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 20px 16px;
}
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel a {
  display: block;
  padding: 12px 0;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
}

.hero { position: relative; height: 550px; overflow: hidden; background: #123; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.29);
}
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.15;
  padding: 0 70px;
  text-transform: uppercase;
}
.hero-caption > span { display: block; line-height: 1.25; }
.hero-caption .num { font-size: 135%; line-height: 1; }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.67);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.hero-arrow.prev { left: 15px; }
.hero-arrow.next { right: 15px; }
.hero-arrow svg { width: 32px; height: 32px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.about {
  padding: 54px 0 40px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.about h2, .page-title, .block-title {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.about p { margin: 0 0 16px; }
.about-photo {
  display: block;
  transition: transform 0.3s;
}
.about-photo:hover { transform: scale(0.9); }
.about-photo img { display: block; width: 100%; height: auto; }

.services {
  background: var(--blue);
  padding: 50px 0 36px;
}
.services h1,
.services h2 {
  margin: 0 0 28px;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.svc-col { display: flex; flex-direction: column; gap: 18px; }
.svc {
  background: #fff;
  overflow: hidden;
  text-align: center;
  border-bottom: 3px solid #0177a8;
}
.svc-thumb { display: block; margin: 0 0 -80px; }
.svc-thumb img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.svc-body {
  position: relative;
  top: 80px;
  height: 270px;
  padding: 0 16px 30px;
  background: #fff;
  transition: top 0.3s ease;
}
.svc:hover .svc-body { top: 0; }
.svc-sun {
  width: 80px;
  height: 80px;
  margin: 0 auto -40px;
  position: relative;
  top: -40px;
  border-radius: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.svc-sun svg { width: 30px; height: 30px; }
.svc h3 {
  margin: 8px 0 0;
  color: #013d56;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}
.svc-btn {
  display: inline-block;
  margin-top: 40px;
  position: relative;
  top: 10px;
  padding: 10px 20px;
  background: #a8cf45;
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  transition: top 0.3s ease, background 0.3s ease;
}
.svc:hover .svc-btn { top: 0; }
.svc-btn:hover { background: #424242; color: #fff; }
.svc-last {
  max-width: 270px;
  margin: 18px auto 0;
}

.solar-cta {
  position: relative;
  min-height: 433px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #01364d;
  background-image: url("/assets/img/beneficios-e-vantagens-energia-solar.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 120px 20px;
}
.solar-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #01364d;
  opacity: 0.5;
}
.solar-cta .inner { position: relative; z-index: 1; max-width: 820px; }
.solar-cta h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  text-transform: uppercase;
}
.btn-yellow:hover { background: var(--green); color: #fff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 50px 0;
}
.split-card {
  background: var(--card);
  text-align: center;
  padding: 28px 20px 32px;
  margin: 10px;
}
.split-card .ico { color: #a8cf45; margin-bottom: 6px; line-height: 1; }
.split-card .ico svg { height: 50px; width: auto; display: inline-block; }
.split-card h2 {
  margin: 8px 0 16px;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.7rem;
}
.reveal {
  opacity: 0;
  transform: scale(0.85);
}
.reveal.from-left { transform: translateX(-40px) scale(0.9); }
.reveal.from-right { transform: translateX(40px) scale(0.9); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.map-block { padding: 10px 0 40px; text-align: center; }
.map-block h2 {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: none;
  margin: 0 0 12px;
}
.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
}

.site-footer { background: var(--footer); color: var(--blue-deep); margin-top: 0; }
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.footer-logo { width: 155px; height: 125px; display: block; margin-bottom: 18px; background: transparent; }
.site-footer h3 {
  margin: 0 0 10px;
  color: var(--yellow-foot);
  font-weight: 600;
  font-size: 1.15rem;
}
.site-footer p { margin: 0; line-height: 1.45; }
.site-footer .addr {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 14px;
}
.site-footer .addr svg { width: auto; height: 15px; flex: 0 0 auto; margin-top: 2px; }
.site-footer .addr a { color: var(--blue-deep); }
.footer-social { display: flex; gap: 12px; align-items: flex-start; padding-top: 28px; }
.footer-social a.soc {
  width: 39px;
  height: 39px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.soc-fb { background: #557dbc; }
.soc-ig { background: #8a3ab9; }
.footer-social svg { width: 22px; height: 22px; display: block; }
.copyright {
  background: var(--blue);
  color: #fff;
  text-align: center;
  border-top: 3px solid var(--yellow-foot);
  padding: 14px 16px;
  font-size: 14px;
}
.copyright a { color: #fff; }

.wa-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.wa-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  padding: 14px 16px;
  min-width: 220px;
}
.wa-panel a {
  color: #128c7e;
  font-weight: 700;
}
.wa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.wa-toggle svg { width: 20px; height: 20px; }

.page-panel {
  background: #fff;
  max-width: 1140px;
  margin: 28px auto 48px;
  padding: 42px 48px 56px;
}
.page-panel p { margin: 0 0 16px; }
.lead { color: var(--blue); font-weight: 700; font-size: 1.25rem; line-height: 1.35; margin: 8px 0 14px; }
.area-photo { display: block; width: 100%; margin: 0 0 28px; }
.energy-hero { display: block; width: 100%; margin: 10px 0 18px; }
.perks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
  margin-top: 8px;
}
.perks img { width: 110px; height: 110px; object-fit: contain; }
.perks p { font-weight: 700; color: #555; font-size: 15px; margin: 8px 0 0; }

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 10px;
}
.member {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 0 22px 28px;
}
.member img {
  width: 80%;
  margin: 18px auto 0;
  display: block;
  height: auto;
}
.member h3 { margin: 16px 0 0; color: #444; font-size: 1.15rem; }
.member .role { margin: 0; color: #333; font-weight: 800; }
.member .job { color: #555; font-weight: 700; margin: 10px 0 4px; }
.crew-title {
  text-align: center;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.35rem;
  margin: 36px 0 22px;
  text-transform: uppercase;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}
.values h3 { color: var(--blue); margin: 8px 0; font-size: 1.4rem; font-weight: 800; }
.values .mark svg { width: 56px; height: 56px; display: inline-block; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.field { margin: 0 0 14px; }
.field label { display: block; margin-bottom: 4px; color: #555; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  background: #fafafa;
  padding: 8px 10px;
  font-size: 15px;
  color: #333;
}
.field textarea { min-height: 140px; resize: vertical; }
.btn-send {
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 10px 28px;
  font-weight: 700;
  cursor: pointer;
}
.btn-send:disabled { opacity: 0.7; }
.form-feedback { min-height: 1.4em; margin-top: 10px; color: var(--blue); font-weight: 700; }
.hp { position: absolute; left: -9999px; }
.map-side h2 { text-transform: none; font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.map-side .addr { margin-bottom: 10px; }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { padding-top: 0; }
}
@media (max-width: 921px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-panel.is-open { display: block; }
  .hero { height: 280px; }
  .hero-caption { justify-content: flex-start; text-align: left; padding: 0 16px; font-size: 18px; }
  .hero-arrow { display: none; }
  .solar-cta { background-attachment: scroll; }
  .about-grid, .split, .contact-grid, .team, .values { grid-template-columns: 1fr; }
  .page-panel { margin: 16px 12px 28px; padding: 28px 18px 36px; }
  .logo img { width: 180px; height: 52px; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; padding-top: 8px; }
}
@media (max-width: 640px) {
  .svc-grid, .perks, .footer-grid { grid-template-columns: 1fr; }
  .svc-last { max-width: none; }
  .about h2, .page-title, .services h1, .services h2 { font-size: 1.6rem; }
}
