/* ==========================================================================
   AARON ENERGIA SOLAR - IDENTIDADE VISUAL EXECUTIVA & BING ADS COMPLIANT
   Fundada em 1994 | São Paulo - SP | CNPJ: 00.234.394/0001-42
   ========================================================================== */

:root {
  --cor-primaria: #0a1d37;
  --cor-primaria-clara: #132b4f;
  --cor-secundaria: #0f2b48;
  --cor-solar: #f59e0b;
  --cor-solar-hover: #d97706;
  --cor-solar-gradiente: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --cor-eletrica: #0284c7;
  --cor-verde-eco: #10b981;
  --cor-fundo: #ffffff;
  --cor-cinza-bg: #f8fafc;
  --cor-cinza-card: #ffffff;
  --cor-borda: #e2e8f0;
  --cor-borda-escura: #334155;
  --cor-texto: #0f172a;
  --cor-texto-suave: #475569;
  --cor-texto-claro: #f8fafc;
  --sombra-card: 0 10px 25px -5px rgba(10, 29, 55, 0.08), 0 8px 10px -6px rgba(10, 29, 55, 0.04);
  --sombra-hover: 0 20px 30px -10px rgba(10, 29, 55, 0.16);
  --transicao: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --raio: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--cor-texto);
  background-color: var(--cor-fundo);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--cor-primaria);
  font-weight: 700;
  line-height: 1.25;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR INSTITUCIONAL
   ========================================================================== */
.top-bar-aaron {
  background: #061224;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-highlight {
  color: #fbbf24;
  font-weight: 600;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background: var(--cor-primaria);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  background: var(--cor-solar-gradiente);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.brand-titles h1 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.brand-titles span {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-links a {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fbbf24;
}

.btn-nav-cta {
  background: var(--cor-solar-gradiente);
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.35rem !important;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #061224 0%, #0a1d37 55%, #132b4f 100%);
  color: #ffffff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-tradition {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #fbbf24;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary-hero {
  background: var(--cor-solar-gradiente);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.55);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 1.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
  color: #fbbf24;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
}

.stat-item p {
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0;
}

/* HERO SIMULATOR CARD */
.hero-card-simulator {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: var(--cor-texto);
  border: 1px solid #e2e8f0;
}

.hero-card-simulator h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--cor-primaria);
}

.hero-card-simulator p {
  font-size: 0.9rem;
  color: var(--cor-texto-suave);
  margin-bottom: 1.5rem;
}

.form-group-custom {
  margin-bottom: 1.25rem;
}

.form-group-custom label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: #1e293b;
}

.form-input-custom {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transicao);
}

.form-input-custom:focus {
  outline: none;
  border-color: var(--cor-solar);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-calc-submit {
  width: 100%;
  background: var(--cor-primaria);
  color: #ffffff;
  border: none;
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transicao);
}

.btn-calc-submit:hover {
  background: var(--cor-solar-gradiente);
}

/* ==========================================================================
   SEÇÕES GERAIS E CARDS
   ========================================================================== */
.py-section {
  padding: 5rem 0;
}

.bg-cinza {
  background: var(--cor-cinza-bg);
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.badge-pill-section {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.section-header-center h2 {
  font-size: 2.3rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-header-center p {
  color: var(--cor-texto-suave);
  font-size: 1.05rem;
}

/* CARDS DE SOLUÇÕES */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--sombra-card);
  transition: var(--transicao);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
  border-color: #cbd5e1;
}

.solution-icon-box {
  width: 58px;
  height: 58px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.solution-card p {
  color: var(--cor-texto-suave);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.solution-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.solution-features-list li {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-features-list li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 800;
}

.card-link-btn {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cor-eletrica);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link-btn:hover {
  color: var(--cor-solar-hover);
}

/* ==========================================================================
   BLOCO OFICIAL RFB & CREDIBILIDADE BING ADS
   ========================================================================== */
.rfb-card-official {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem;
  margin-top: 2rem;
  box-shadow: var(--sombra-card);
}

.rfb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.rfb-card-header h3 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cor-primaria);
  margin: 0;
}

.status-badge-rfb {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rfb-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rfb-data-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.rfb-data-item span {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
}

/* ==========================================================================
   ETAPAS DE IMPLEMENTAÇÃO (PROCESSO TURNKEY)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 1.75rem;
  position: relative;
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--cor-texto-suave);
  margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 1.75rem;
}

.faq-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--cor-primaria);
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--cor-texto-suave);
  margin: 0;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner-wrapper {
  background: linear-gradient(135deg, #0a1d37 0%, #132b4f 100%);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 15px 35px rgba(10, 29, 55, 0.25);
}

.cta-banner-wrapper h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-banner-wrapper p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #061224;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
}

.footer-nav-list li {
  margin-bottom: 0.6rem;
}

.footer-nav-list a:hover {
  color: #fbbf24;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
}

.footer-contact-list li {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.6rem;
}

.footer-contact-list strong {
  color: #e2e8f0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #fbbf24;
}

.footer-disclaimer-anp {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.5rem;
  line-height: 1.5;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

/* ==========================================================================
   PÁGINAS INTERNAS & FORMULÁRIOS
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, #061224 0%, #0a1d37 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.page-hero-banner h1 {
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

.page-hero-banner p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.legal-document-box {
  background: #ffffff;
  border: 1px solid var(--cor-borda);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--sombra-card);
  max-width: 900px;
  margin: 0 auto;
}

.legal-document-box h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.legal-update-label {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal-document-box h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--cor-primaria);
}

.legal-document-box p,
.legal-document-box ul {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 1.25rem;
}

.legal-document-box ul {
  padding-left: 1.5rem;
}

.legal-document-box li {
  margin-bottom: 0.5rem;
}

/* FORMULÁRIO DE CONTATO / SIMULADOR */
.form-card-container {
  background: #ffffff;
  border: 1px solid var(--cor-borda);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--sombra-card);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-3-col,
  .steps-grid,
  .rfb-data-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none; /* Simplificado para landing de alta performance sem bugs */
  }
  .grid-3-col,
  .steps-grid,
  .rfb-data-grid,
  .faq-grid,
  .footer-columns-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .legal-document-box {
    padding: 1.75rem;
  }
  .cta-banner-wrapper {
    padding: 2.5rem 1.5rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
