/* ==========================================================================
   1. IMPORT FONTS (Google Fonts)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* ==========================================================================
   2. CSS VARIABLES (:root)
   ========================================================================== */
:root {
  --bg-primary: #FAFAFA; /* Off-white de fundo limpo e leve modernizado */
  --bg-secondary: #FFFFFF; /* Fundo puro para containers e cartões */
  --bg-card: rgba(255, 255, 255, 0.75); /* Vidro claro */
  --text-primary: #191919; /* Preto neutro moderno */
  --text-secondary: #555555; /* Cinza escuro neutro */
  --text-tertiary: #999999;
  --blue-primary: #323afd; /* Novo azul vibrante solicitado */
  --blue-light: #5c64ff; /* Versão mais clara */
  --blue-dark: #1e24c2; /* Versão mais escura */
  --blue-glow: rgba(50, 58, 253, 0.05);
  --cyan-primary: #00b4d8; /* Ajuste para combinar com o novo azul */
  --border: rgba(25, 25, 25, 0.08); /* Borda fina neutra */
  --border-active: rgba(50, 58, 253, 0.25);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
}

/* ==========================================================================
   3. RESET + GLOBAL STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(92, 100, 255, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 100% 20%, rgba(0, 180, 216, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 0% 80%, rgba(50, 58, 253, 0.04) 0%, transparent 40%);
  /* Fundo fixo com gradientes força repintura contínua e causa travamentos
     perceptíveis na rolagem, principalmente em celulares. */
  background-attachment: scroll;
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grid sutil de precisão matemática */
.grid-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

::selection {
  background-color: rgba(29, 78, 216, 0.1);
  color: var(--blue-primary);
}

button, input, select {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   4. HEADER (.header)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  height: 80px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.header-cta {
  background-color: var(--blue-primary);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  background-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.25);
}

/* ==========================================================================
   5. HERO (.hero)
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 48px));
  padding-top: 100px;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-badge-icon {
  color: var(--blue-primary);
  display: flex;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  /* Reserva espaço para descendentes como g, ç e p, sobretudo na linha com
     gradiente em navegadores móveis. */
  line-height: 1.18;
  padding: 0.04em 0 0.12em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.18;
  padding-bottom: 0.08em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.hero-microbadges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, gap 0.2s ease;
}

.hero-secondary-cta:hover {
  color: var(--cyan-primary);
  gap: 12px;
}

.microbadge {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.microbadge-icon {
  color: var(--cyan-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   6. DROPZONE (.dropzone-wrapper)
   ========================================================================== */
.dropzone-wrapper {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.82));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2.35rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
}

.dropzone-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-primary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dropzone-wrapper:hover,
.dropzone-wrapper.drag-over {
  border-color: var(--blue-primary);
  box-shadow: 0 8px 40px rgba(29, 78, 216, 0.1), 0 2px 8px rgba(29, 78, 216, 0.05);
  transform: translateY(-3px);
}

.dropzone-wrapper:hover::after,
.dropzone-wrapper.drag-over::after {
  transform: scaleX(1);
}

.dropzone-wrapper.uploading {
  border-color: var(--blue-primary);
  cursor: wait;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
}

.dropzone-icon svg rect {
  stroke: var(--text-tertiary);
}
.dropzone-icon svg path {
  stroke: var(--blue-primary);
}

.dropzone-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.dropzone-subtitle {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 0.7rem;
  font-weight: 400;
  line-height: 1.6;
}

.dropzone-btn {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  color: #FFFFFF;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.2);
}

.dropzone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 1.5rem;
  display: none;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-primary));
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.progress-text {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   7. CARDS SECTION (.cards-section)
   ========================================================================== */
.cards-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   6.5. DUAS ROTAS DE ECONOMIA
   ========================================================================== */
.routes-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.routes-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-kicker,
.route-card-label,
.solar-result-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.routes-heading h2 {
  margin: 1rem 0 0.8rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

.routes-heading p,
.routes-disclaimer {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.route-card-solar {
  border-color: rgba(0, 180, 216, 0.38);
  background: linear-gradient(145deg, rgba(235, 253, 255, 0.95), rgba(246, 249, 255, 0.95));
}

.route-card h3 {
  margin: 1rem 0 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}

.route-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.route-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.route-card li {
  display: flex;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.route-card li::before {
  content: '✓';
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.1);
  color: var(--blue-primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.route-card-cta,
.solar-result-cta {
  width: 100%;
  margin-top: auto;
  padding: 0.9rem 1rem;
  border: 1px solid var(--blue-primary);
  border-radius: 10px;
  background: var(--blue-primary);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.route-card-cta:hover,
.solar-result-cta:hover {
  background: var(--cyan-primary);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.22);
  transform: translateY(-1px);
}

.routes-disclaimer {
  max-width: 920px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--cyan-primary);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.hero-route-note {
  max-width: 590px;
  margin: 1.2rem 0 0;
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.55;
}

.solar-result-card {
  margin: 0 0 1.5rem;
  padding: 1.3rem;
  border: 1px solid rgba(0, 180, 216, 0.38);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.95), rgba(247, 250, 255, 0.95));
}

.solar-result-card h3 {
  margin: 0.75rem 0 0.45rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.solar-result-card p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.solar-result-cta {
  margin-top: 0;
}

@media (max-width: 720px) {
  .routes-section { padding: 5rem 0; }
  .routes-grid { grid-template-columns: 1fr; }
  .route-card { padding: 1.6rem; }
}

.cards-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cards-section-title span {
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cards-section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  /* Cartões opacos preservam a leitura visual sem o custo de compor vários
     backdrop-filters durante a rolagem. */
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  border-color: var(--border-active);
  box-shadow: 0 12px 40px rgba(29, 78, 216, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  transform: translateY(-6px);
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-primary);
  transition: background 0.3s ease;
}

.card:hover .card-icon-wrapper {
  background: rgba(29, 78, 216, 0.1);
}

.card-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: var(--cyan-primary);
  margin-bottom: 1rem;
  opacity: 0.15;
}

.card-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--blue-primary);
  background: rgba(29, 78, 216, 0.06);
  padding: 4px 12px;
  border-radius: 100px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
  flex-grow: 1;
}

.card-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  gap: 8px;
  border: none;
  background: none;
  align-self: flex-start;
  transition: gap 0.3s ease, color 0.2s ease;
}

.card-cta:hover {
  gap: 14px;
  color: var(--cyan-primary);
}

/* Card largo (ocupa a linha inteira) — projetos de engenharia com instalação */
.card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(50, 58, 253, 0.035), rgba(0, 180, 216, 0.03));
}

/* Cabeçalho em linha única: ícone + número + selo, tudo centrado verticalmente */
.card-wide-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.card-wide-head .card-icon-wrapper {
  flex-shrink: 0;
  margin-bottom: 0;
}

.card-wide-head .card-number {
  font-size: 2rem;
  margin-bottom: 0;
  opacity: 0.2;
}

.card-wide-head .card-badge {
  margin-bottom: 0;
}

.card-wide .card-text {
  flex-grow: 0;
  margin-bottom: 1.75rem;
  max-width: 70ch;
}

.dropzone-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(50, 58, 253, 0.16);
  border-radius: 999px;
  background: rgba(50, 58, 253, 0.06);
  color: var(--blue-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dropzone-deliverables {
  display: grid;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  text-align: left;
}

.dropzone-deliverables li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

.dropzone-deliverables li::before {
  content: '✓';
  display: grid;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  place-items: center;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(50, 58, 253, 0.1);
  color: var(--blue-primary);
  font-size: 0.65rem;
  font-weight: 800;
}

.dropzone-privacy {
  margin-top: 0.9rem;
  color: var(--text-tertiary);
  font-size: 0.72rem;
  line-height: 1.45;
}

.card-wide-servicos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.servico-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  height: 100%;
}

/* Título, selo e texto empilhados — mantém os 3 cards alinhados
   mesmo com títulos de tamanhos diferentes. */
.servico-conteudo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.servico-icone {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(29, 78, 216, 0.06);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.servico-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.servico-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .card-wide-servicos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-wide-servicos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   8. HOW IT WORKS (.steps-section)
   ========================================================================== */
.steps-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.steps-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 4.5rem;
  letter-spacing: -0.02em;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.step {
  position: relative;
  text-align: center;
}

.step-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.06);
  border: 1.5px solid rgba(29, 78, 216, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--blue-primary);
  transition: all 0.3s ease;
}

.step:hover .step-icon-circle {
  background: rgba(29, 78, 216, 0.1);
  border-color: rgba(29, 78, 216, 0.3);
  transform: scale(1.05);
}

.step-num-display {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.step-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   9. TRUST SECTION (.trust-section)
   ========================================================================== */
.trust-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.trust-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.trust-section-title span {
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-counters {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.counter-item {
  flex: 1;
  min-width: 200px;
}

.counter-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.counter-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.4;
}

.trust-logos-title {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.logos-grid {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 4rem;
}

.logo-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease;
  padding: 8px 16px;
  border-radius: 6px;
}

.logo-item:hover {
  opacity: 1;
  color: var(--blue-primary);
  background: rgba(29, 78, 216, 0.04);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ==========================================================================
   10. FOOTER (.footer) — Dark Premium
   ========================================================================== */
.footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 5rem 0 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue-primary), var(--cyan-primary)) 1;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-logo span {
  font-weight: 300;
  color: #94A3B8;
}

.footer-description {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
  color: #64748B;
}

.footer-cnpj {
  margin-top: 0.9rem;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.footer-nav-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-nav a,
.footer-contact a,
.footer-contact p {
  display: block;
  color: #94A3B8;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--blue-light);
}

.footer-whatsapp-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #25D366 !important;
  font-weight: 500;
}

.footer-whatsapp-link:hover {
  color: #20bf58 !important;
}

.footer-instagram-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #F472B6 !important;
  font-weight: 500;
}

.footer-instagram-link:hover {
  color: #FB7185 !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 0;
}

.footer-security {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748B;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #64748B;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--blue-light);
}

.footer-copy {
  color: #475569;
  font-size: 0.75rem;
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 2rem;
  line-height: 1.9;
}

.footer-cnpj {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   11. MODALS (.modal-overlay)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  max-width: 580px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12), 0 10px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-wide {
  max-width: 640px;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

/* Scrollbar própria do modal — trilho transparente e thumb recuado,
   para não "vazar" sobre os cantos arredondados (border-radius: 16px). */
.modal {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.22) transparent;
}
.modal::-webkit-scrollbar {
  width: 10px;
}
.modal::-webkit-scrollbar-track {
  background: transparent;
  margin: 16px 0; /* afasta o trilho dos cantos arredondados */
}
.modal::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.22);
  border-radius: 999px;
  border: 3px solid transparent; /* recuo do thumb em relação à borda */
  background-clip: content-box;
}
.modal::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.38);
  background-clip: content-box;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 0.75rem;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.modal-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.modal-data-item label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}

.modal-data-item .value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.economy-box {
  border-left: 3px solid var(--blue-primary);
  padding: 1rem 0 1rem 1.5rem;
  margin-bottom: 2rem;
  background: rgba(29, 78, 216, 0.03);
  border-radius: 0 12px 12px 0;
}

.economy-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.economy-discount {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--blue-primary);
  margin: 0.25rem 0;
}

.economy-monthly {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-primary);
}

.economy-monthly span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.economy-yearly {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.economy-yearly-label {
  display: none; /* Simplificado no design elegante */
}

.modal-benefits {
  margin-bottom: 2.5rem;
}

.modal-benefits li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
}

.modal-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.modal-divider {
  height: 1px;
  background-color: var(--border);
  margin: 2.5rem 0;
  border: none;
}

.modal-alert {
  font-size: 0.92rem;
  color: var(--text-secondary);
  background-color: rgba(59, 130, 246, 0.06);
  border-left: 3px solid var(--blue-light);
  padding: 1.25rem;
  border-radius: 0 12px 12px 0;
  margin-top: 1.5rem;
  line-height: 1.7;
}

.trust-section-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.trust-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  text-align: left;
}

.trust-principle {
  position: relative;
  min-height: 198px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.025);
}

.trust-principle > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--blue-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trust-principle > span::after {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(50, 58, 253, 0.13);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 58, 253, 0.12) 0 24%, transparent 26%);
  content: '';
}

.trust-principle h3 {
  margin-bottom: 0.55rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.35;
}

.trust-principle p {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.65;
}

.arquivo-selecionado {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-radius: 9px;
  background: rgba(29, 78, 216, 0.045);
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.arquivo-selecionado::before {
  content: '✓';
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #dc2626;
  border-radius: 0 7px 7px 0;
  background: rgba(220, 38, 38, 0.06);
  color: #b91c1c;
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Inputs de simulação interativos */
.sim-input-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0.25rem;
}

.sim-input {
  width: 100%;
  padding: 6px 10px;
  background: rgba(248, 250, 252, 0.6);
  border: 1px dashed rgba(29, 78, 216, 0.25);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select.sim-input {
  padding-right: 28px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}

.sim-input:hover {
  background: rgba(248, 250, 252, 0.95);
  border-color: var(--blue-primary);
}

.sim-input:focus {
  outline: none;
  background: #FFFFFF;
  border-style: solid;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
  cursor: text;
}

.sim-input.text-mono {
  font-family: var(--font-mono);
}

.currency-prefix::before {
  content: 'R$ ';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  pointer-events: none;
  font-weight: 500;
}

.currency-prefix .sim-input {
  padding-left: 28px;
}

.kwh-suffix::after {
  content: ' kWh';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  pointer-events: none;
  font-weight: 500;
}

.kwh-suffix .sim-input {
  padding-right: 44px;
}

.kw-suffix::after {
  content: ' kW';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  pointer-events: none;
  font-weight: 500;
}

.kw-suffix .sim-input {
  padding-right: 38px;
}

/* Estilo do Dropdown Customizado */
.custom-select-container {
  position: relative;
  width: 100%;
  margin-top: 0.25rem;
  z-index: 10;
}

.custom-select-trigger {
  width: 100%;
  padding: 8px 12px;
  background: rgba(248, 250, 252, 0.6);
  border: 1px dashed rgba(29, 78, 216, 0.25);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.custom-select-container:hover .custom-select-trigger {
  background: rgba(248, 250, 252, 0.95);
  border-color: var(--blue-primary);
}

.custom-select-container.open .custom-select-trigger {
  background: #FFFFFF;
  border-style: solid;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
}

.custom-select-trigger .arrow {
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.custom-select-container.open .custom-select-trigger .arrow {
  transform: rotate(180deg);
}

/* Opções Suspensas */
.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 4px;
  display: none;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select-container.open .custom-select-options {
  display: block;
  animation: dropdownFadeInDown 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-option {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 400;
  text-align: left;
}

.custom-select-option:hover {
  background: rgba(29, 78, 216, 0.05);
  color: var(--blue-primary);
}

.custom-select-option.selected {
  background: var(--blue-primary);
  color: #FFFFFF;
  font-weight: 500;
}

/* Animação suave de entrada do dropdown */
@keyframes dropdownFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   12. FORMS (.modal-form)
   ========================================================================== */
.form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  line-height: 1.4;
}

.form-checkbox input[type='checkbox'] {
  accent-color: var(--blue-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.form-submit:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Radio buttons no ACL */
.form-toggle-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.form-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-toggle input[type="radio"] {
  accent-color: var(--blue-primary);
}


/* ==========================================================================
   13. SUCCESS SCREEN (.success-screen)
   ========================================================================== */
.success-screen {
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #34D399;
  font-size: 1.5rem;
}

.success-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.success-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 320px;
}

.success-protocol {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 4px;
}

.success-protocol .protocol-number {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue-light);
}

/* ==========================================================================
   14. BELOW THRESHOLD / WHATSAPP
   ========================================================================== */
.modal-compact {
  max-width: 440px;
  padding: 3.5rem 2rem;
}

.simulacao-resultado-valor {
  margin: 1.25rem 0 0.45rem;
  color: var(--blue-primary);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 7vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
}

.simulacao-resultado-percentual {
  margin: 1rem 0 0;
  color: var(--blue-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.simulacao-resultado-texto {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.simulacao-disclaimer {
  margin: 0 0 1.25rem;
  padding: 0.85rem 0.95rem;
  border-left: 3px solid rgba(50, 58, 253, 0.5);
  border-radius: 0 8px 8px 0;
  background: rgba(50, 58, 253, 0.045);
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.55;
}

.simulacao-result-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.simulacao-link-btn {
  border: 0;
  background: transparent;
  color: var(--blue-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background-color: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

/* Tablet - 768px */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
    gap: 3rem;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-microbadges {
    justify-content: flex-start;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step {
    text-align: center;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(100% - 20px);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--border-active), transparent);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .hero {
    padding-top: 100px;
    text-align: center;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 7rem;
  }

  .dropzone-wrapper {
    padding: 2rem 1.35rem;
  }

  .hero-badge {
    margin: 0 auto 1.5rem;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-microbadges {
    justify-content: center;
    gap: 1rem;
  }

  .microbadge {
    font-size: 0.82rem;
  }

  .logos-grid {
    gap: 2rem;
  }

  .counter-item {
    min-width: 100%;
  }

  .modal {
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal {
    justify-content: center;
  }

  .step {
    text-align: center;
  }

  .step-text {
    margin: 0 auto;
  }
}

/* ==========================================================================
   16. ANIMATIONS & REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  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);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--text-tertiary) var(--bg-secondary);
}

/* Ações do relatório: ícone preservado e rótulo sempre em uma linha. */
.report-actions {
  display: grid;
  gap: 0.75rem;
}

.report-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 0 !important;
  padding: 14px 12px;
  min-height: 50px;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  font-size: clamp(0.74rem, 3.4vw, 0.9rem);
}

.report-action svg {
  flex: 0 0 auto;
}

/* Respeita visitantes que pedem menos animação no sistema operacional. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   17. TRUST SEALS
   ========================================================================== */
.trust-seals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(29, 78, 216, 0.04);
  border: 1px solid rgba(29, 78, 216, 0.1);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.trust-seal:hover {
  border-color: rgba(29, 78, 216, 0.2);
  background: rgba(29, 78, 216, 0.07);
}

.trust-seal svg {
  color: var(--blue-primary);
  flex-shrink: 0;
}

.trust-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 3rem auto 0;
  text-align: left;
}

.trust-process-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
}

.trust-process-item > span {
  flex: 0 0 auto;
  color: var(--blue-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-process-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.trust-process-item p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ==========================================================================
   18. FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  position: relative;
}

/* Seções abaixo da dobra podem ser compostas quando se aproximam da viewport,
   reduzindo o trabalho de pintura em páginas longas. */
.routes-section,
.cards-section,
.steps-section,
.trust-section,
.faq-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@media (max-width: 767px) {
  .header,
  .cta-flutuante,
  .cookie-consent {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.faq-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.faq-section-title span {
  color: var(--blue-primary);
}

.faq-section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  transition: color 0.2s ease;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--blue-primary);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ==========================================================================
   20. COOKIE CONSENT BANNER (LGPD)
   ========================================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-consent.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex: 1;
}

.cookie-consent-text svg {
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.cookie-consent-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-consent-btn {
  background: var(--blue-primary);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.cookie-consent-btn:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE — Novos Componentes
   ========================================================================== */
@media (max-width: 768px) {
  .trust-principles {
    grid-template-columns: 1fr;
  }

  .trust-principle {
    min-height: auto;
  }

  .trust-process {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .trust-seals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .trust-seal {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.6rem 0.25rem;
    font-size: clamp(0.54rem, 2.25vw, 0.7rem);
    line-height: 1.2;
  }

  .trust-seal svg {
    width: 16px;
    height: 16px;
  }

  .faq-question {
    font-size: 0.88rem;
    padding: 1rem 0;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-consent-text {
    justify-content: center;
    text-align: center;
  }

  .cookie-consent-text svg {
    display: none;
  }
}

/* ==========================================================================
   AGENDAMENTO DE REUNIÃO (calendário de horários)
   ========================================================================== */
.agendar-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.agendar-loading {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  padding: 1.5rem 0;
  text-align: center;
}

.agendar-erro {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Faixa de dias (rolagem horizontal) */
.agendar-dias {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
}
.agendar-dia {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 62px;
  padding: 0.6rem 0.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.agendar-dia:hover { border-color: var(--border-active); }
.agendar-dia.ativo {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
}
.agendar-dia-wd { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-tertiary); }
.agendar-dia-num { font-size: 1.25rem; font-weight: 700; line-height: 1.1; color: var(--text-primary, #191919); }
.agendar-dia-mes { font-size: 0.7rem; text-transform: uppercase; color: var(--text-tertiary); }
.agendar-dia.ativo .agendar-dia-wd,
.agendar-dia.ativo .agendar-dia-num,
.agendar-dia.ativo .agendar-dia-mes { color: #fff; }

/* Grade de horários */
.agendar-horarios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.agendar-slot {
  padding: 0.65rem 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.18s ease;
  font-family: inherit;
}
.agendar-slot:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}
.agendar-slot.ativo {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
}

.agendar-form { border-top: 1px solid var(--border); padding-top: 1.25rem; }

.agendar-sucesso-info {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0.5rem 0 1rem;
}


/* Cloudflare Turnstile — só ocupa espaço quando há desafio visível */

/* ==========================================================================
   BARRA FLUTUANTE DE AÇÃO (aparece após sair do topo)
   ========================================================================== */
.cta-flutuante {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 150%);
  z-index: 900;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
}

.cta-flutuante.visivel {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.cta-flutuante-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta-primario {
  background: var(--blue-primary);
  color: #fff;
}
.cta-primario:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.cta-secundario {
  background: #fff;
  color: var(--text-primary);
  border-color: var(--border);
}
.cta-secundario:hover {
  border-color: #25D366;
  color: #128C7E;
  transform: translateY(-1px);
}

/* No celular, ocupa a largura e some o botão flutuante redondo p/ não sobrepor */
@media (max-width: 640px) {
  .cta-flutuante {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    transform: translate(0, 150%);
  }
  .cta-flutuante.visivel { transform: translate(0, 0); }
  .cta-flutuante-btn {
    flex: 1;
    padding: 0.85rem 0.5rem;
    font-size: 0.82rem;
  }
}

/* Cloudflare Turnstile — só ocupa espaço quando há desafio visível */
.turnstile-box:not(:empty) {
  margin: 1.25rem 0 1.1rem;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   MODAL DE CONTATO DIRETO — compacto para caber sem rolagem
   ========================================================================== */
#modal-contato .modal {
  padding: 2rem 2.25rem;
  max-width: 520px;
}
#modal-contato .modal-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
#modal-contato .modal-subtitle {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
#modal-contato .modal-badge {
  margin-bottom: 0.6rem;
}
#modal-contato .form-group {
  margin-bottom: 0.85rem;
}
#modal-contato .form-label {
  margin-bottom: 0.2rem;
}
#modal-contato .form-input {
  padding: 0.65rem 0.85rem;
}
#modal-contato .form-checkbox {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.45;
}
#modal-contato .turnstile-box:not(:empty) {
  margin: 1rem 0 0.9rem;
}
#modal-contato .form-submit {
  margin-top: 0.2rem;
}

/* Auditoria: os campos ficam em duas colunas em tela ampla para que a ação
   principal, consentimento e proteção anti-bot apareçam sem rolagem. */
#modal-auditoria-ia .modal {
  width: min(760px, calc(100% - 2rem));
  max-width: 760px;
  max-height: calc(100dvh - 2rem);
  padding: 1.65rem 2rem;
  overflow: hidden;
}
#modal-auditoria-ia .modal-header {
  margin-bottom: 0.65rem;
  padding-right: 2.5rem;
}
#modal-auditoria-ia .modal-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}
#modal-auditoria-ia .captura-intro {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}
#modal-auditoria-ia .capture-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}
#modal-auditoria-ia .form-group {
  margin-bottom: 0;
}
#modal-auditoria-ia .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
}
#modal-auditoria-ia .form-input {
  min-height: 44px;
  padding: 0.6rem 0.8rem;
}
#modal-auditoria-ia .form-checkbox {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.4;
}
#modal-auditoria-ia .turnstile-box:not(:empty) {
  margin: 0.65rem 0;
}
#modal-auditoria-ia .form-submit {
  margin-top: 0.15rem;
  min-height: 46px;
  padding: 0.7rem 1rem;
}

@media (max-width: 640px), (max-height: 700px) {
  #modal-auditoria-ia .modal {
    max-height: calc(100dvh - 1rem);
    padding: 1.4rem;
    overflow-y: auto;
  }
  #modal-auditoria-ia .capture-fields {
    grid-template-columns: 1fr;
  }
}
