:root {
  --primary: #1537a6;
  --primary-light: #2357d6;
  --primary-soft: #eef4ff;
  --text: #222735;
  --muted: #667085;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --shadow: 0 24px 60px rgba(21, 55, 166, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 104px 0;
}

/* HEADER GLOBAL APPOIO */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-grid {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1d2433;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #5a6478;
  font-size: 14px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:not(.btn):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--primary);
  font-weight: 400;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-small {
  min-height: 46px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-1px);
}

/* HERO HOME */
.hero {
  padding-top: 124px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 300;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 34px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.stats div {
  padding-left: 14px;
  border-left: 2px solid var(--primary);
}

.stats span,
.contact-card span,
.data-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stats strong,
.contact-card strong,
.data-grid strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
}

/* CARD ENERGIA HOME */
.energy-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #e8edf5 1px, transparent 1px),
    linear-gradient(to bottom, #e8edf5 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.66;
}

.energy-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-head strong {
  font-weight: 400;
}

.icon-box,
.mini-icons span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--primary);
}

.mini-icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.mini-icons span {
  width: 34px;
  height: 34px;
  background: #f6f8fb;
}

.bar-chart {
  flex: 1;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 0 14px 24px;
}

.bar-chart div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.bar-chart span {
  width: 100%;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #2d85dc, #00579d);
}

.bar-chart small {
  color: var(--muted);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.data-grid div {
  padding: 14px;
  background: rgba(247, 249, 252, 0.85);
}

.data-grid strong {
  margin-top: 3px;
  color: #00579d;
  font-size: 18px;
}

.card-note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #4b5563;
}

.card-note b {
  color: #00579d;
  font-weight: 500;
}

/* SEÇÕES */
.section-title {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-title h2,
.contact h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 300;
}

.section-title p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.2s ease;
}

.service-card:hover {
  border-color: rgba(21, 55, 166, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card span,
.steps span {
  color: rgba(21, 55, 166, 0.2);
  font-size: 44px;
  line-height: 1;
  font-weight: 300;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  font-weight: 300;
}

.service-card p,
.steps p {
  color: var(--muted);
  font-size: 15px;
}

/* MÉTODO */
.method {
  background: var(--bg-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 76px;
  align-items: start;
}

.method-block {
  padding: 42px;
  background: var(--primary);
  color: #fff;
}

.method-block h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.16;
  font-weight: 300;
}

.method-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.steps {
  display: grid;
  gap: 30px;
}

.steps article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 300;
}

.steps p {
  margin-bottom: 0;
}

/* CONTATO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card div {
  padding-left: 16px;
  border-left: 2px solid var(--primary);
}

.contact-card strong {
  margin-top: 4px;
  font-size: 17px;
}

/* RODAPÉ */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

/* RESPONSIVO TABLET */
@media (max-width: 920px) {
  .hero-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .energy-card {
    min-height: 430px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVO CELULAR */
@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section-pad {
    padding: 76px 0;
  }

  .hero {
    padding-top: 92px;
  }

  .header-grid {
    min-height: 72px;
  }

  .brand {
    font-size: 14px;
    gap: 10px;
  }

  .brand-logo,
  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav .btn {
    margin-top: 8px;
  }

  .service-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 16px;
  }

  .energy-card-content {
    padding: 24px;
  }

  .bar-chart {
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
  }

  .steps article {
    grid-template-columns: 54px 1fr;
  }

  .method-block,
  .contact-card,
  .service-card {
    padding: 26px;
  }
}