/* ============================================================
   SEÇÃO 1 — CONFIGURAÇÕES GERAIS - ADAPTADO PARA TEMA PRETO/VERMELHO
   (Define comportamento global da página e estilo base)
============================================================ */
:root{
  --bg-1: #080808; /* Cor de fundo principal (Home) */
  --bg-2: #121212; /* Cor de fundo secundário (Home) */
  --accent: #e31c1c; /* Vermelho da marca (Home) */
  --sticky-offset: 210px;
}

body {
  /* Fundo principal ADAPTADO: Gradiente escuro da Home */
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%) no-repeat fixed;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: #e6edf7; /* Mantém cor padrão do texto (branco-azulado) */
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px;
}

.card {
  /* Fundo do card ADAPTADO: Preto carvão com borda discreta */
  background: #181818; 
  border: 1px solid #333333;
  border-radius: 14px;
  padding: 14px;
  margin-top: 14px;
}

/* ============================================================
   SEÇÃO 2 — CAMPOS DO FORMULÁRIO - ADAPTADO PARA TEMA PRETO/VERMELHO
============================================================ */
label { 
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #3d3d3d; /* Borda mais escura */
  background: #242424; /* Fundo do campo mais escuro */
  color: #e6edf7;
  font-size: 16px;
  scroll-margin-top: var(--sticky-offset);
}
input:focus { 
  outline: none;
  border-color: var(--accent); /* COR DE FOCO: Vermelho da marca */
  box-shadow: 0 0 0 3px #e31c1c44; /* Efeito de brilho vermelho suave no foco */
}

.row { 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) { 
  .row { grid-template-columns: 1fr; }
}

.actions { 
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

button { 
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* BOTÃO PRINCIPAL ADAPTADO: VERDE (Consistente com o botão SIM) */
.primary { 
  background: linear-gradient(180deg, #34d399, #10b981); /* Gradiente verde */
  color: #fff; 
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4); /* Sombra verde */
}
.primary:hover {
  transform: translateY(-2px); /* Efeito lift da Home */
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.6); /* Sombra verde mais forte */
}

/* BOTÃO GHOST ADAPTADO */
.ghost { 
  background: transparent; 
  border: 1px solid #333333; 
  color: #dce6f9; 
}
.ghost:hover {
  border-color: var(--accent);
}

.status { 
  min-height: 22px;
  margin-top: 8px;
  color: #9fb3d1;
}

/* ============================================================
   SEÇÃO 3 — BANNER (LOGOS + TARJA DOURADA)
============================================================ */
#brand-banner {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #181818; /* Fundo igual ao card */
  /* Cria a linha divisória abaixo do banner em VERMELHO */
  box-shadow: 0 20px 0 #181818, 0 22px 0 var(--accent);
  padding-bottom: 0px; 
  margin-bottom: 20px;
}

/* ============================================================
   SEÇÃO 4 — LINHA DOS LOGOS
============================================================ */
.brand-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 20px;
}

/* ============================================================
   SEÇÃO 5 — LOGOS INDIVIDUAIS
============================================================ */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 160px;
  min-height: 150px;
  position: relative;
  top: 0.4px;
}
.brand img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
  vertical-align: top;
  transform: translateY(-0.3px);
}

/* Alturas base para desktop */
.logo-dna       { height: 115px; } 
.logo-smartpoup { height: 120px; } 
.logo-winpower  { height: 120px; } 

/* ============================================================
   SEÇÃO 6 — HANDLE (INSTAGRAM)
============================================================ */
.handle {
  margin-top: auto;
  font-size: 16px;
  color: #e6edf7;
  display: flex; 
  justify-content: center; 
  align-items: center;
  gap: 1px;
  padding-bottom: 2px;
}
.handle img.ig { width: 18px; height: 18px; }

/* ============================================================
   SEÇÃO 7 — TARJA DOURADA
============================================================ */
.section-pill {
  width: clamp(240px, 65%, 620px);
  margin: 16px auto 8px;
  background: linear-gradient(180deg, #f7d765, #dfa437); /* Dourado mantido */
  border: 1px solid #890200; /* Borda vermelha escura */
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  letter-spacing: .3px;
  color: #111;
  padding: 4px 14px;
}
.section-pill span { 
  display: inline-block; 
  font-size: clamp(15px, 2.6vw, 18px); 
}

/* ============================================================
   SEÇÃO 8 — RESPONSIVIDADE (TABLETS E CELULARES)
============================================================ */
@media (max-width: 900px) {
  .brand-row { gap: 18px; }
  .brand { min-width: 0; flex: 1 1 0; min-height: 140px; }
  .logo-dna,
  .logo-smartpoup,
  .logo-winpower { height: clamp(88px, 14vw, 110px); }
  .handle { font-size: clamp(13px, 2.1vw, 16px); }
  .handle img.ig { width: clamp(10px, 2vw, 10px); height: clamp(16px, 2vw, 18px); }
  :root { --sticky-offset: 220px; }
}
/* ============================================================
   SEÇÃO 9 — RESPONSIVIDADE AVANÇADA (CELULARES)
============================================================ */
@media (max-width: 640px) {

  /* BLOCO 1 — Linha dos logos */
  .brand-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(6px, 1.8vw, 12px);
    padding: 0 8px;
    background: transparent !important;
    overflow: hidden;
  }

  /* BLOCO 2 — Faixa de compressão vertical */
  .brand {
    flex: 1 1 0;
    min-width: 0;
    max-width: 30%;
    height: clamp(55px, 7vw, 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none;
    background: transparent !important;
  }

/* BLOCO 3 — Logos */
.brand img {
  max-height: 100%;
  width: auto;
  max-width: 95%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: transparent !important;
}

  /* BLOCO 4 — Ajuste fino individual dos logos (forçado) */
.brand.logo-dna img {
  transform: scale(0.85) !important;
}

.brand.logo-smartpoup img {
  transform: scale(0.60) !important;
}

.brand.logo-winpower img {
  transform: scale(1.00) !important;
}


  /* BLOCO 5 — Redes sociais simplificadas */
.handle {
  font-size: 12px;
  margin-top: 25px;
  margin-bottom: -12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: translateY(-15px);
}

.handle img.ig {
  width: 12px;
  height: 12px;
  position: relative;
  top: 1px;
  background: transparent !important;
}

  /* BLOCO 6 — Tarja dourada */
  .section-pill {
    width: clamp(220px, 78%, 520px);
    padding: 2px 12px;
    margin: 0px auto 6px;
    box-shadow: 0 5px 15px rgba(212,175,55,.2);
    background: linear-gradient(180deg, #f5c44e, #d39b22);
  }
  .section-pill span { font-size: clamp(13px, 3.6vw, 16px); }

  :root { --sticky-offset: 260px; }
}

/* ============================================================
   SEÇÃO 10 — PAISAGEM (TELAS BAIXAS)
============================================================ */
@media (max-height: 480px) and (orientation: landscape) {
  .brand-row { gap: 20px; }
  .brand { min-height: 140px; }
  .logo-dna,
  .logo-smartpoup,
  .logo-winpower { height: clamp(80px, 14vw, 110px); }
  .handle { font-size: clamp(12px, 2vw, 16px); }
  :root { --sticky-offset: 220px; }
}

/* ============================================================
   SEÇÃO 11 — PADRÃO GERAL DE CÁLCULO
============================================================ */
*, *::before, *::after { 
  box-sizing: border-box;
}