/**
* USI — Usina Santa Isabel
* Redesign Moderno & Profissional — Energia Solar e Geração Compartilhada
*/

/*--------------------------------------------------------------
# 1. CSS Variables & Design Tokens
--------------------------------------------------------------*/
:root {
  /* Typography */
  --default-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --heading-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nav-font: "Inter", sans-serif;

  /* Brand Palette: Deep Green, Natural Green, Solar Gold & Neutrals */
  --primary-dark: #0d362d;
  --primary-green: #164e41;
  --brand-green: #236455;
  --emerald-accent: #10b981;
  --emerald-hover: #059669;
  --solar-amber: #f59e0b;
  --solar-gold: #fbbf24;

  /* Backgrounds & Surfaces */
  --background-color: #ffffff;
  --light-bg: #f4f7f5;
  --surface-color: #ffffff;
  --border-subtle: #e2e8f0;
  --border-green-subtle: rgba(16, 185, 129, 0.18);

  /* Text Colors */
  --heading-color: #0f2922;
  --default-color: #475569;
  --muted-color: #64748b;
  --contrast-color: #ffffff;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(13, 54, 45, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 54, 45, 0.07);
  --shadow-lg: 0 20px 45px rgba(13, 54, 45, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# 2. Reset & Base Styles
--------------------------------------------------------------*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--emerald-accent);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--emerald-hover);
}

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

/*--------------------------------------------------------------
# 3. Sections & Shared Headings
--------------------------------------------------------------*/
section,
.section {
  padding: 88px 0;
  scroll-margin-top: 84px;
  position: relative;
}

.light-background {
  background-color: var(--light-bg);
}

.dark-background {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-hover);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-tag.tag-light {
  color: var(--solar-gold);
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.28);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 14px;
  color: var(--heading-color);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--default-color);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  section,
  .section {
    padding: 64px 0;
    scroll-margin-top: 72px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/*--------------------------------------------------------------
# 4. Header & Navigation Menu
--------------------------------------------------------------*/
.header {
  padding: 15px 0;
  transition: all 0.3s ease;
  z-index: 1000;
  background-color: rgba(13, 54, 45, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scrolled .header {
  padding: 11px 0;
  background-color: rgba(13, 54, 45, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.header-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

html[lang="pt-BR"] .header-container {
  max-width: 1160px;
}

.header .logo {
  position: relative;
  z-index: 10001;
  flex-shrink: 0;
  padding: 2px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header .logo:hover {
  transform: scale(1.04);
}

.header .logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

@media (max-width: 1199px) {
  .header .logo img {
    height: 34px;
  }
}

@media (max-width: 575px) {
  .header-container {
    padding: 0 16px;
    gap: 10px;
  }

  .header .logo img {
    height: 30px;
  }
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    display: flex;
    align-items: center;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
  }

  html[lang="pt-BR"] .navmenu ul {
    gap: 17px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a:not(.btn-nav-cta) {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14.5px;
    font-family: var(--nav-font);
    font-weight: 500;
    padding: 6px 2px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
  }

  .navmenu a:not(.btn-nav-cta)::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: var(--solar-gold);
    border-radius: 2px;
    transition: width 0.25s ease;
  }

  .navmenu a:not(.btn-nav-cta):hover,
  .navmenu a:not(.btn-nav-cta).active {
    color: #ffffff;
  }

  .navmenu a:not(.btn-nav-cta):hover::after,
  .navmenu a:not(.btn-nav-cta).active::after {
    width: 100%;
  }

  .btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: var(--solar-amber);
    color: #0f2922 !important;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
    transition: all 0.25s ease;
  }

  .btn-nav-cta:hover {
    background-color: var(--solar-gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  }
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(8, 36, 30, 0.72);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-btn .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.48;
  filter: saturate(0.7);
  transition: all 0.25s ease;
}

.lang-btn .lang-flag svg {
  width: 18px;
  height: 13px;
  display: block;
  border-radius: 2.5px;
}

.lang-btn:not(.active):hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn:not(.active):hover .lang-flag {
  opacity: 0.9;
  filter: saturate(1);
}

.lang-btn.active {
  background: linear-gradient(135deg, #fde047 0%, var(--solar-gold) 52%, var(--solar-amber) 100%);
  color: var(--primary-dark);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.45), 0 2px 6px rgba(0, 0, 0, 0.22);
}

.lang-btn.active .lang-flag {
  opacity: 1;
  filter: saturate(1.12) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.lang-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Tablet & Mobile Navigation */
@media (max-width: 1199px) {
  .header-container,
  html[lang="pt-BR"] .header-container {
    max-width: 100%;
    gap: 12px;
  }

  .header .logo {
    order: 1;
  }

  .lang-switcher {
    order: 2;
    margin-left: auto;
    z-index: 10001;
  }

  .navmenu {
    order: 3;
    display: flex;
    align-items: center;
  }

  .mobile-nav-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10001;
  }

  .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    max-width: 360px;
    margin: 0 0 0 auto;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    z-index: 10000;
  }

  .navmenu ul li + li {
    border-top: 1px solid #f1f5f9;
  }

  .navmenu ul li.nav-cta-item {
    border-top: none;
    margin-top: 14px;
  }

  .navmenu a:not(.btn-nav-cta) {
    color: var(--heading-color);
    padding: 11px 6px;
    font-size: 15.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navmenu a:not(.btn-nav-cta):hover,
  .navmenu a:not(.btn-nav-cta).active {
    color: var(--emerald-hover);
  }

  .btn-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--solar-amber);
    color: #0f2922 !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .header {
    background-color: rgba(13, 54, 45, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav-active .navmenu::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(13, 54, 45, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
    animation: navSlideDown 0.22s ease-out;
  }
}

@media (max-width: 575px) {
  .navmenu ul {
    max-width: none;
    margin: 0;
  }

  .lang-switcher {
    padding: 3px;
    gap: 2px;
  }

  .lang-btn {
    padding: 5px 9px;
    font-size: 12px;
    gap: 5px;
  }

  .lang-btn .lang-flag svg {
    width: 15px;
    height: 11px;
  }

  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
}

@media (max-width: 374px) {
  .lang-btn {
    padding: 5px 7px;
    font-size: 11px;
    gap: 4px;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# 5. Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: 90vh;
  padding: 148px 0 96px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 41, 34, 0.95) 0%,
    rgba(13, 54, 45, 0.89) 55%,
    rgba(22, 78, 65, 0.78) 100%
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--solar-gold);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--solar-gold);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.btn-primary-solar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--solar-amber);
  color: #0f2922;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
}

.btn-primary-solar:hover {
  background-color: var(--solar-gold);
  color: #0f2922;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.4);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn-secondary-outline i {
  color: var(--solar-gold);
  font-size: 18px;
}

.btn-secondary-outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Quick Visual Highlights */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
}

.hero-highlight-item i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Hero Visual Card */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.hero-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-image-frame img {
  transform: scale(1.03);
}

.hero-card-floating-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(13, 54, 45, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.hero-card-floating-tag i {
  font-size: 24px;
  color: var(--solar-gold);
}

.hero-card-floating-tag strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-card-floating-tag span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 10px 6px 10px;
}

.hero-stat-mini {
  text-align: center;
}

.hero-stat-mini .stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 2px;
}

.hero-stat-mini .stat-value {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-stat-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 991px) {
  .hero {
    padding: 124px 0 72px 0;
    min-height: auto;
  }
}

/*--------------------------------------------------------------
# 6. Key Highlights Section (Indicadores em Destaque)
--------------------------------------------------------------*/
.highlights-section {
  padding: 64px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.metric-card {
  background: var(--surface-color);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--emerald-accent));
  opacity: 0.85;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-green-subtle);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.metric-card:nth-child(1) .metric-icon,
.col-lg-3:nth-child(3) .metric-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.metric-number {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 6px;
}

.metric-number small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-hover);
}

.metric-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.metric-desc {
  font-size: 0.92rem;
  color: var(--muted-color);
  margin-bottom: 0;
  line-height: 1.55;
}

/*--------------------------------------------------------------
# 7. How It Works Section ("Como funciona")
--------------------------------------------------------------*/
.step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.35);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-number {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(16, 185, 129, 0.22);
  letter-spacing: -0.04em;
}

.step-card:hover .step-number {
  color: var(--emerald-accent);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-dark);
  color: var(--solar-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.step-card p {
  font-size: 0.96rem;
  color: var(--default-color);
  margin-bottom: 0;
}

/* Visual Energy Flow Banner */
.energy-flow-banner {
  background: var(--primary-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}

.badge-law {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--solar-gold);
  background: rgba(251, 191, 36, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.flow-intro h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.flow-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.flow-diagram {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.flow-node {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.flow-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.flow-node strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.flow-node span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--solar-gold);
  font-size: 20px;
}

@media (max-width: 767px) {
  .energy-flow-banner {
    padding: 28px 22px;
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: -4px 0;
  }
}

/*--------------------------------------------------------------
# 8. Benefits Section ("Benefícios")
--------------------------------------------------------------*/
.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.35);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: all 0.25s ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--primary-dark);
  color: var(--solar-gold);
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.benefit-card p {
  font-size: 0.94rem;
  color: var(--default-color);
  margin-bottom: 0;
  line-height: 1.58;
}

.sustainability-strip {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(13, 54, 45, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 30px;
}

.strip-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--emerald-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.sustainability-strip h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.sustainability-strip p {
  font-size: 0.93rem;
  color: var(--default-color);
}

.btn-strip-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--primary-dark);
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
}

.btn-strip-action:hover {
  background: var(--brand-green);
  color: #ffffff;
}

/*--------------------------------------------------------------
# 9. About USI Section ("Sobre a USI")
--------------------------------------------------------------*/
.about-visual-wrapper {
  position: relative;
  padding-bottom: 28px;
}

.about-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.about-main-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.about-brand-card {
  position: absolute;
  bottom: 0;
  right: 24px;
  left: 24px;
  max-width: 420px;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.about-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.about-brand-meta {
  border-left: 1px solid var(--border-subtle);
  padding-left: 16px;
}

.about-brand-meta span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-color);
}

.about-brand-meta strong {
  font-size: 0.9rem;
  color: var(--heading-color);
}

.about-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  margin-bottom: 18px;
}

.about-lead {
  font-size: 1.06rem;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.about-specs-box {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spec-item + .spec-item {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.spec-item i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.spec-label {
  display: block;
  font-size: 12px;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-item strong {
  font-size: 0.98rem;
  color: var(--heading-color);
}

@media (max-width: 575px) {
  .about-main-image img {
    height: 280px;
  }

  .about-brand-card {
    position: static;
    margin-top: 14px;
    max-width: 100%;
  }

  .about-visual-wrapper {
    padding-bottom: 0;
  }
}

/*--------------------------------------------------------------
# 10. FAQ Section ("Dúvidas frequentes" - Acordeão)
--------------------------------------------------------------*/
.faq-sidebar h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  margin-bottom: 14px;
}

.faq-help-card {
  margin-top: 28px;
  background: var(--light-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.faq-help-card > i {
  font-size: 26px;
  color: var(--emerald-hover);
  line-height: 1;
}

.faq-help-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.faq-help-card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.faq-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-green);
}

.faq-wa-link:hover {
  color: var(--emerald-hover);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.faq-active {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-q-text {
  font-family: var(--heading-font);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--heading-color);
  transition: color 0.2s ease;
}

.faq-item:hover .faq-q-text,
.faq-item.faq-active .faq-q-text {
  color: var(--brand-green);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--heading-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-item.faq-active .faq-toggle {
  background: var(--primary-dark);
  color: var(--solar-gold);
  transform: rotate(180deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease-out, opacity 0.25s ease;
  opacity: 0;
}

.faq-content p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
  font-size: 0.96rem;
  color: var(--default-color);
  line-height: 1.65;
}

.faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 20px;
}

/*--------------------------------------------------------------
# 11. Contact & CTA Section ("Contato")
--------------------------------------------------------------*/
.contact-cta {
  padding-top: 40px;
}

.contact-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #14493c 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-box h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin-bottom: 16px;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp-cta:hover {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-email-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
}

.btn-email-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info-item .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--solar-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-info-item a,
.contact-info-item strong {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
}

.contact-info-item a:hover {
  color: var(--solar-gold);
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  color: var(--default-color);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: 0.92rem;
  color: var(--muted-color);
  margin-bottom: 22px;
}

.usi-form .form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.usi-form .form-control,
.usi-form .form-select {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--heading-color);
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.usi-form .form-control:focus,
.usi-form .form-select:focus {
  background-color: #ffffff;
  border-color: var(--emerald-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-submit-solar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-submit-solar:hover {
  background: var(--brand-green);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .contact-box {
    padding: 36px 22px;
  }

  .contact-form-card {
    padding: 26px 20px;
  }
}

/*--------------------------------------------------------------
# 12. Footer ("Rodapé")
--------------------------------------------------------------*/
.footer {
  background-color: #08241e;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-top {
  padding: 64px 0 44px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo img {
  height: 30px;
  width: auto;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 360px;
}

.footer h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-links ul,
.footer-contact .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li + li {
  margin-top: 10px;
}

.footer-links ul a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer-links ul a:hover {
  color: var(--solar-gold);
}

.footer-contact .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact .contact-list li + li {
  margin-top: 14px;
}

.footer-contact .contact-list i {
  color: var(--solar-gold);
  font-size: 16px;
  margin-top: 2px;
}

.footer-contact .contact-list a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact .contact-list a:hover {
  color: var(--solar-gold);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom strong {
  color: #ffffff;
}

/*--------------------------------------------------------------
# 13. Floating WhatsApp Button & Preloader
--------------------------------------------------------------*/
.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  transition: all 0.25s ease;
}

.whatsapp-button:hover {
  background-color: #1ebe5b;
  color: #ffffff;
  transform: scale(1.06) translateY(-2px);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--primary-dark);
  transition: all 0.5s ease-out;
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 26px);
  left: calc(50% - 26px);
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--solar-gold);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
