/* ===================================================
   DCO Sustentável — Design System & Landing Page CSS
   Paleta: Branco, Verde, Azul
   Estilo: Corporativo sóbrio / Minimalista
   =================================================== */

/* --- CSS Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores Primárias — baseadas no verde #659132 */
  --green-50: #f4f8ee;
  --green-100: #e6f0d7;
  --green-200: #cde1b0;
  --green-300: #b3d288;
  --green-400: #9ac361;
  --green-500: #7eb23a;
  --green-600: #659132;
  --green-700: #4f7127;
  --green-800: #39511c;
  --green-900: #273713;
  --green-950: #151d0a;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a5f;
  --blue-950: #0c1e3a;

  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0a0a0a;

  --white: #ffffff;
  --black: #000000;

  /* Accent Neon Verde */
  --accent-lime: #8ce62c;

  /* Tipografia */
  --font-sans: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--neutral-50);
  color: var(--neutral-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

::selection {
  background: var(--green-200);
  color: var(--green-950);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-blue {
  color: #133983;
}

.text-green {
  color: #5B9132;
}

.section--gradient .text-blue,
.section--dark .text-blue,
.cta-final .text-blue {
  color: #93c5fd;
}

.section--gradient .text-green,
.section--dark .text-green,
.cta-final .text-green {
  color: #34d399;
}

/* --- Glass Card Component --- */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
}

.glass-card-dark {
  background: rgba(23, 23, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- SVG Icon Utility --- */
.icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-500);
  transition: color var(--transition-fast);
}

.navbar__links a:hover,
.navbar__links a.nav-active {
  color: var(--green-600);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Hamburger */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-800);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.navbar__mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.navbar__mobile-menu.open {
  display: block;
}

.navbar__mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-bottom: 1px solid var(--neutral-100);
  border-radius: 4px;
}

.navbar__mobile-menu a:hover,
.navbar__mobile-menu a.nav-active {
  color: var(--green-600);
  background: var(--neutral-50);
}

.navbar__mobile-menu a:last-child {
  border-bottom: none;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: #5E9434;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(94, 148, 52, 0.25);
}

.btn-primary:hover {
  background: #4a7827;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(94, 148, 52, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: #5E9434;
  border: 1.5px solid #5E9434;
}

.btn-secondary:hover {
  background: #f6faf2;
  border-color: #4a7827;
  color: #4a7827;
}

.btn-dark {
  background: var(--blue-950);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(12, 30, 58, 0.3);
}

.btn-dark:hover {
  background: var(--blue-900);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 8px 20px;
}

/* ============================
   HERO SECTION (Scroll Mask Transition)
   ============================ */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  will-change: position, top;
  /* background-image moved to .hero-bg-image */
  background: none;
  padding: 0;
  overflow: visible;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  will-change: clip-path;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../imagem/backg_hero_home.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(12, 30, 58, 0.6) 0%,
      rgba(30, 60, 40, 0.35) 50%,
      transparent 100%);
  pointer-events: none;
  will-change: opacity;
}

.hero__grid-bg,
.hero__glow {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 20;
  text-align: left;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100vh;
  will-change: opacity, transform;
}

/* --- Scroll Spacer --- */
.scroll-spacer {
  position: relative;
  height: 100vh;
  pointer-events: none;
}

/* --- Service Image Placeholder (scroll mask target) --- */
.service-image-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  /* NO background-image — the hero's masked layer lands here visually */
}

/* Ensure About section sits below hero */
#sobre {
  position: relative;
  z-index: 5;
}

/* Ensure Modules section sits above hero mask */
.modules {
  position: relative;
  z-index: 20;
}



.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--green-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero__badge-dot {
  display: flex;
  position: relative;
  width: 8px;
  height: 8px;
}

.hero__badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-400);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__badge-dot::after {
  content: '';
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero__title-light {
  font-weight: 400;
}

.hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--accent-lime);
}

.hero__title-accent svg {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 12px;
  color: var(--green-600);
  z-index: -1;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 0 40px;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

#cta-hero-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base), color var(--transition-base);
}

#cta-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

#cta-hero-secondary svg {
  color: var(--white) !important;
}


/* ============================
   MODULES GRID
   ============================ */
.modules {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--white);
  position: relative;
  z-index: 20;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.modules__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 1440px;
  margin: 0 auto;
}

.module {
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-height: 180px;
  transition: background var(--transition-base);
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.module:nth-child(2n) {
  border-right: none;
}

.module:hover {
  background: rgba(94, 148, 52, 0.03);
}

.module__num {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 120px;
  height: 120px;
  color: var(--neutral-100);
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.module__num svg {
  width: 100%;
  height: 100%;
}

.module:hover .module__num {
  transform: scale(1.1) rotate(5deg);
}

.module__icon-wrap {
  position: relative;
  z-index: 10;
}

.module__icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  color: var(--green-600);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid var(--green-100);
}

.module:hover .module__icon {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
  transform: translateY(-2px);
}

.module__icon svg {
  width: 24px;
  height: 24px;
}

.module__text {
  position: relative;
  z-index: 10;
}

.module__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-950);
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.module:hover .module__title {
  color: var(--green-700);
}

.module__sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-400);
  font-weight: 600;
}

.module__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.module:hover .module__bar {
  transform: scaleX(1);
}

@media (min-width: 768px) {
  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module {
    border-bottom: none;
  }

  .module:nth-child(1),
  .module:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .module:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  .module:nth-child(even) {
    border-right: none !important;
  }
}

@media (min-width: 1024px) {
  .modules__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .module {
    border-bottom: none !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  .module:last-child {
    border-right: none !important;
  }
}

/* ============================
   SECTION — ABOUT / SOBRE
   ============================ */
.section {
  padding: 96px 0;
}

.section--white {
  background: var(--white);
}

#publico {
  padding-bottom: 160px;
}

.section--light {
  background: var(--neutral-50);
}

.section--green {
  background: linear-gradient(170deg, var(--green-50) 0%, var(--white) 100%);
}

.section--dark {
  background: var(--blue-950);
  color: var(--white);
}

.section--gradient {
  background: linear-gradient(170deg, var(--blue-950) 0%, var(--green-900) 100%);
  color: var(--white);
}

.section__header {
  margin-bottom: 56px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-600);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  color: inherit;
  margin-bottom: 16px;
}

.section--dark .section__title,
.section--gradient .section__title {
  color: var(--white);
}

.section--dark .section__tag,
.section--gradient .section__tag {
  color: var(--accent-lime);
}

.section__desc {
  font-size: 1rem;
  color: var(--neutral-500);
  max-width: 620px;
  line-height: 1.7;
}

.section--dark .section__desc,
.section--gradient .section__desc {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================
   ABOUT SECTION
   ============================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

#sobre .section__header {
  margin-bottom: 28px;
}

.about__text {
  font-size: 1.0625rem;
  color: var(--neutral-600);
  line-height: 1.8;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.about__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: all var(--transition-base);
}

.about__tag:hover {
  border-color: var(--green-400);
  background: var(--green-50);
  color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.about__tag .icon {
  color: var(--green-500);
  width: 12px;
  height: 12px;
}

#solucoes {
  background-image: url('../imagem/energia-renovavel-amazonia-2.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#tecnologias {
  background-image: url('../imagem/backg02.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ============================
   BENEFITS BENTO GRID
   ============================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bento-card {
  border-radius: var(--radius-2xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.bento-card:hover {
  transform: translateY(-4px);
}

.bento-card--dark {
  background: var(--blue-950);
  color: var(--white);
}

.bento-card--light {
  background: var(--white);
  border: 1px solid var(--neutral-200);
}

.bento-card--light:hover {
  box-shadow: var(--shadow-lg);
}

.bento-card--green {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.bento-card--blue {
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.bento-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.bento-card--dark .bento-card__icon {
  background: var(--blue-900);
  color: var(--accent-lime);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card--light .bento-card__icon {
  background: var(--neutral-100);
  color: var(--neutral-900);
}

.bento-card--green .bento-card__icon {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.bento-card--blue .bento-card__icon {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.bento-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  opacity: 0.7;
}

.bento-card--dark .bento-card__desc {
  color: rgba(255, 255, 255, 0.6);
}

.bento-card--light .bento-card__desc {
  color: var(--neutral-500);
}

/* ============================
   METRICS / COUNTERS
   ============================ */
.metrics {
  padding: 80px 0;
  background: linear-gradient(rgba(19, 57, 131, 0.85), rgba(19, 57, 131, 0.85)), url('../imagem/tecnologia-microgeracao-dco-3.webp') center/cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .metrics__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric__card {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(19, 57, 131, 0.3);
  padding: 36px 24px;
  border-radius: 4px;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.metric__card:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(19, 57, 131, 0.5);
  transform: translateY(-2px);
}

.metric__value {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
  text-align: center;
}

.metric__label {
  font-size: 0.875rem;
  color: var(--accent-lime);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  text-align: center;
}

/* ============================
   PUBLIC TARGET / CARDS
   ============================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-2xl);
  padding: 40px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-300);
}

.card--has-image {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.card__image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card--has-image:hover .card__image-wrapper img {
  transform: scale(1.05);
}

.card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card--has-image .card__title {
  color: var(--green-600);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card--has-image .card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--neutral-600);
  margin: 0;
}

.card__icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  background: linear-gradient(135deg, var(--green-100), var(--blue-100));
  color: var(--green-700);
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--neutral-900);
}

.card__desc {
  font-size: 0.9375rem;
  color: var(--neutral-500);
  line-height: 1.65;
}

/* ============================
   SOLAR SECTION
   ============================ */
.solar-section {
  position: relative;
  background: linear-gradient(rgba(19, 57, 131, 0.9), rgba(19, 57, 131, 0.9)), url('../imagem/energia-solar-dco-sustentavel-1.webp') center/cover no-repeat;
  color: var(--white);
  padding: 60px 0;
  overflow: visible;
}

.solar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}

@media (min-width: 992px) {
  .solar-grid {
    grid-template-columns: 55% 45%;
    gap: 32px;
  }
}

.solar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
}

.solar-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.solar-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
}

.solar-checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .solar-checklist {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }
}

.solar-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.solar-check-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solar-check-icon .icon {
  width: 18px;
  height: 18px;
}

.solar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.solar-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media (min-width: 992px) {
  .solar-visual {
    position: absolute;
    right: -40px;
    top: -120px;
    bottom: -60px;
    width: 45%;
    display: block;
    pointer-events: none;
    z-index: 20;
    clip-path: inset(-300px -300px 0px -300px);
  }
}

.solar-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .solar-image {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 120%;
    object-fit: contain;
    object-position: bottom right;
  }
}

/* ============================
   TECHNOLOGY CARDS
   ============================ */
.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: 40px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-6px);
}

.tech-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.tech-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tech-card__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

/* ============================
   PARTNERS / LOGOS
   ============================ */
.partners {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}

.partners__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .partners__grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.partners__heading-split {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
}

.partners__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* ============================
   ODS BADGE
   ============================ */
.ods-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--blue-950);
  color: var(--accent-lime);
  font-size: 0.8125rem;
  font-weight: 700;
}

.section--dark .ods-badge,
.section--gradient .ods-badge {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

/* ============================
   CTA FINAL SECTION
   ============================ */
.cta-final-section {
  position: relative;
  background-image: url('../imagem/backg_hero_home.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-final-box {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: 60px 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-2xl);
}

@media (max-width: 767px) {
  .cta-final-box {
    padding: 40px 24px;
  }
}

.cta-final-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-final-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-final-title {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta-final-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-final-btn-wrapper {
  display: flex;
  justify-content: center;
}

.cta-final-btn-wrapper .btn-primary {
  background: #5E9434;
  color: var(--white);
  padding: 16px 40px;
  font-size: 0.9375rem;
  box-shadow: 0 4px 14px rgba(94, 148, 52, 0.3);
}

.cta-final-btn-wrapper .btn-primary:hover {
  background: #4a7827;
  box-shadow: 0 6px 20px rgba(94, 148, 52, 0.45);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: linear-gradient(135deg, #0d1f42 0%, #081329 100%);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer__brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a,
.footer__list span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: flex-start;
  line-height: 1.5;
}

.footer__list a {
  text-decoration: none;
}

.footer__list a:hover {
  color: var(--accent-lime);
}

.footer__list svg {
  color: var(--accent-lime);
  flex-shrink: 0;
  margin-right: 8px;
  margin-top: 3px;
  transition: color var(--transition-fast);
}

.footer__list a:hover svg {
  color: var(--white);
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer__socials a:hover {
  background: var(--accent-lime);
  color: #0d1f42;
  transform: translateY(-3px);
}


.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__credits {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__credits a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__credits a:hover {
  color: var(--accent-lime);
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-float__btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

.whatsapp-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__btn svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* Pulse ring */
.whatsapp-float__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2s ease-in-out infinite;
  z-index: -1;
}

/* Balloon */
.whatsapp-float__balloon {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--neutral-200);
}

.whatsapp-float__balloon.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .whatsapp-float__balloon {
    display: none !important;
  }
}

.whatsapp-float__balloon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-right: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  transform: rotate(45deg);
}

.whatsapp-float__balloon-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--neutral-100);
}

.whatsapp-float__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--green-200);
}

.whatsapp-float__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-float__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.whatsapp-float__status {
  font-size: 0.6875rem;
  color: var(--green-600);
  display: flex;
  align-items: center;
  gap: 4px;
}

.whatsapp-float__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.whatsapp-float__message {
  font-size: 0.8125rem;
  color: var(--neutral-600);
  line-height: 1.5;
  background: var(--neutral-50);
  padding: 12px;
  border-radius: var(--radius-md);
}

.whatsapp-float__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--neutral-500);
  transition: background var(--transition-fast);
}

.whatsapp-float__close:hover {
  background: var(--neutral-200);
}


/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes waPulse {

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

  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .hero__content {
    max-width: 50%;
  }

  .navbar__links {
    display: flex;
  }

  .navbar__toggle {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .bento-card--featured {
    grid-column: span 2;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }


  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero {
    padding: 180px 0 120px;
  }

}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-card--span-8 {
    grid-column: span 8;
  }

  .bento-card--span-4 {
    grid-column: span 4;
  }

  .bento-card--span-6 {
    grid-column: span 6;
  }

  .cards-grid--tech {
    grid-template-columns: repeat(3, 1fr);
  }
}

.es-mobile-btn {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .hero {
    padding: 250px 0 60px;
  }

  .about__grid > div:nth-child(1) {
    order: 2;
  }
  
  .about__grid > div:nth-child(2) {
    order: 1;
  }

  .hero--subpage {
    padding: 150px 0 50px;
    min-height: auto !important;
  }
  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .es-desktop-btn {
    display: none !important;
  }
  .es-mobile-btn {
    display: block !important;
  }

  .section {
    padding: 64px 0;
  }

  .solar-section {
    padding-bottom: 0;
  }

  .bento-card {
    padding: 28px;
  }

  .card {
    padding: 28px;
  }

  .card--has-image {
    padding: 0;
  }


  .cta-final {
    padding: 80px 0;
  }

  .metrics {
    padding: 48px 0;
  }

  .metrics__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .whatsapp-float__balloon {
    width: 260px;
    right: -8px;
  }
}

/* ============================
   LANGUAGE SELECTOR
   ============================ */
.lang-selector {
  position: relative;
  margin-right: 16px;
  display: inline-block;
}

.lang-selector__btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--white);
}

.navbar.scrolled .lang-selector__btn {
  border-color: var(--neutral-300);
  color: var(--neutral-800);
}

.lang-selector__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar.scrolled .lang-selector__btn:hover {
  background: var(--neutral-100);
  border-color: var(--neutral-400);
}

.lang-selector__flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lang-selector__code {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-selector__arrow {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform var(--transition-fast);
}

.lang-selector--active .lang-selector__arrow {
  transform: rotate(180deg);
}

.lang-selector__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  min-width: 90px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 9999;
}

.lang-selector--active .lang-selector__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-selector__option {
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background var(--transition-fast);
  color: var(--neutral-800);
}

.lang-selector__option:hover {
  background: var(--neutral-100);
  color: var(--blue-900);
}

.lang-selector__option--active {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 600;
}

/* Mobile Language Row */
.navbar__mobile-lang-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__mobile-lang-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.navbar__mobile-lang-btn.active {
  background: var(--green-600);
  border-color: var(--green-500);
  font-weight: 700;
}