/* ============================================================
   UpToAI — Landing page (tráfego pago, Fase B)
   Marca FECHADA 28/07 — identidade própria (independente da S4S).
   Cores oficiais (uptoai-marca-final/LEIA-ME.md):
   grafite #2D2C2E · dourado #BE9650 · fundo escuro #18171C
   Sistema: grafite = texto/estrutura/contorno; dourado = acento
   (CTA, filetes, números, ícones de destaque). Fundos sempre
   claros; cor forte só em detalhe (regra da marca).
   As variáveis mantêm os nomes antigos (--navy/--blue/--magenta)
   para minimizar a troca; os VALORES agora são os da marca.
   ============================================================ */

:root {
  --navy: #2D2C2E;    /* grafite — texto, títulos, contornos, estrutura */
  --blue: #2D2C2E;    /* grafite — acento secundário (ícones, bullets, números) */
  --magenta: #BE9650; /* dourado — acento de destaque (CTA, filetes, ênfase) */
  --gold: #BE9650;    /* dourado (alias explícito) */
  --ink: #2D2C2E;     /* grafite (alias explícito) */
  --dark: #18171C;    /* fundo escuro (dark mode / reservado) */
  --text: #1A1A1A;
  --text-muted: #5B6470;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --border: #E5E8EC;
  --shadow: 0 4px 20px rgba(45, 44, 46, 0.10);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4.5rem 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* traço dourado da marca antes do rótulo (acento legível) */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.6rem;
  transform: translateY(-1px);
}

.section-intro {
  max-width: 640px;
  margin-top: 0.75rem;
}

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.cta-button--secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.cta-button--small { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.cta-button--large { padding: 1.1rem 2.4rem; font-size: 1.1rem; }

/* Faixa clara de destaque com filete magenta (regra/adaptação) */
.regra-banda {
  margin-top: 2.5rem;
  background: var(--bg-soft);
  border-left: 4px solid var(--magenta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  color: var(--text-muted);
}

.regra-banda strong { color: var(--navy); }

/* ===== SECTION: header ===== */

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-weight: 900;
  font-size: 1.4rem;
}

.wordmark__up { color: var(--ink); }
.wordmark__to { color: var(--ink); }
.wordmark__accent { color: var(--gold); }

/* Logo oficial em imagem (wordmark UpToAi — símbolo + circuito + seta) */
.brand-logo { display: block; height: 30px; width: auto; }
.brand-logo--footer { height: 26px; }
.compare__marca-img { display: block; height: 34px; width: auto; margin-bottom: 0.6rem; }

/* ===== SECTION: hero ===== */

.hero { padding-top: 4.5rem; padding-bottom: 4.5rem; background: var(--bg-soft); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__subheadline {
  font-size: 1.15rem;
  margin-top: 1.2rem;
  max-width: 580px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero__chips {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero__chips li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.hero__mascote { text-align: center; }

.hero__mascote img {
  width: min(220px, 60%);
  height: auto;
}

.hero__mascote-legenda {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

/* ===== SECTION: venda-perdida (anatomia + bullets) ===== */

.venda-perdida__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.timeline-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.timeline-card__label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.timeline {
  list-style: none;
  border-left: 2px solid var(--border);
  padding-left: 1.25rem;
  display: grid;
  gap: 1.1rem;
}

.timeline__item { position: relative; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem - 6px);
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg-soft);
}

.timeline__item:nth-child(2)::before { background: var(--text-muted); }
.timeline__item:last-child::before { background: var(--magenta); }

.timeline__hora {
  display: block;
  font-weight: 900;
  font-size: 0.95rem;
}

.timeline__hora--azul { color: var(--blue); }
.timeline__hora--muted { color: var(--text-muted); }
.timeline__hora--magenta { color: var(--magenta); }

.timeline__texto { font-size: 0.95rem; color: var(--text-muted); }
.timeline__texto--final { color: var(--ink); font-style: italic; font-weight: 700; }

.timeline-card__moral {
  margin-top: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  font-size: 0.95rem;
}

/* Lista de destaques com filete (reusada em venda-perdida e feature rows) */
.feat-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.feat-list__item {
  border-left: 3px solid var(--blue);
  padding-left: 1.1rem;
}

.feat-list__item--magenta { border-left-color: var(--magenta); }

.feat-list__item h3, .feat-list__item h4 { margin-bottom: 0.3rem; }

.feat-list__item p { font-size: 0.95rem; }

.feat-list--compacta { gap: 1.1rem; margin-top: 1.25rem; }

/* ===== SECTION: solucao (3 pilares) ===== */

.solucao { background: var(--bg-soft); }

.pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pilar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.pilar__num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.pilar h3 { margin-bottom: 0.5rem; }

.pilar--destaque { border: 2px solid var(--magenta); box-shadow: var(--shadow); }
.pilar--destaque .pilar__num { color: var(--magenta); }

/* ===== SECTION: produto (feature rows com telas reais) ===== */

.feature-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3.5rem;
}

.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-row__shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-row__texto h3 { font-size: 1.45rem; }

.feature-row__banda {
  margin-top: 1.25rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--magenta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== SECTION: duo premium (cobrança + agenda) ===== */

.duo-premium { background: var(--bg-soft); }

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.duo__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.duo__card h3 { margin-bottom: 0.75rem; }

.duo__card p { margin-bottom: 0.75rem; font-size: 0.95rem; }

.duo__frase {
  font-style: italic;
  font-weight: 600;
  color: var(--navy) !important;
  margin-bottom: 0 !important;
}

/* ===== SECTION: aprende (3 passos) ===== */

.passos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.passo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.passo h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--blue); }

.passo p { font-size: 0.95rem; }

/* ===== SECTION: card-grid (cenarios) ===== */

.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card-grid--6 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }

.cenarios { background: var(--bg-soft); }

.cenarios .card { box-shadow: var(--shadow); }

.card--cenario .card__dor {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card--cenario .card__resolucao {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.card--cenario .card__resolucao::before {
  content: "→ ";
  color: var(--magenta);
}

/* ===== SECTION: preco (a conta + planos + expansão) ===== */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.compare__card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.compare__card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }

.compare__valor {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-muted);
}

.compare__valor span { font-size: 0.9rem; font-weight: 600; }

.compare__lista {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.compare__lista li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.compare__lista li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.compare__card--uptoai {
  background: var(--bg);
  border: 2px solid var(--magenta);
  box-shadow: var(--shadow);
}

.compare__card--uptoai .compare__lista li::before { color: var(--magenta); }

.compare__marca { font-size: 1.1rem; font-weight: 900; margin-bottom: 0.5rem; }

.preco__tabela {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.preco__tabela span {
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-block;
}

.preco__atual {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
}

.preco__atual span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.compare__inclui {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.preco__moral {
  margin-top: 1.75rem;
  text-align: center;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
}

.planos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.plano {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.plano--destaque {
  background: var(--bg);
  border: 2px solid var(--magenta);
  box-shadow: var(--shadow);
}

.plano__badge {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
}

.plano h3 { font-size: 1.15rem; }

.plano__alvo { font-size: 0.85rem; margin-bottom: 0.75rem; }

.plano__valor { font-size: 1.8rem; font-weight: 900; color: var(--navy); line-height: 1.1; }

.plano__valor span { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }

.plano__implantacao { font-size: 0.85rem; margin-top: 0.2rem; }

.plano .compare__lista { margin-top: 1rem; margin-bottom: 1.25rem; flex: 1; }

.plano .cta-button--small { text-align: center; }

.planos__nota {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  max-width: 720px;
}

.planos__nota strong { color: var(--navy); }

.expansao {
  margin-top: 2.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.expansao__label {
  font-weight: 900;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.expansao__lista { list-style: none; display: grid; gap: 0.6rem; }

.expansao__lista li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
}

.expansao__lista li:last-child { border-bottom: none; padding-bottom: 0; }

.expansao__lista span { color: var(--text-muted); }

.expansao__lista strong { color: var(--navy); white-space: nowrap; }

.expansao__nota {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== SECTION: faq ===== */

.faq { background: var(--bg-soft); }

.faq__inner { max-width: 760px; }

.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 0.9rem;
  overflow: hidden;
}

.faq__item:first-of-type { margin-top: 2.25rem; }

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1rem 1.25rem;
  list-style: none;
  position: relative;
  padding-right: 2.75rem;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--magenta);
}

.faq__item[open] summary::after { content: "–"; }

.faq__item p { padding: 0 1.25rem 1.1rem; font-size: 0.95rem; }

/* ===== SECTION: credibilidade ===== */

.credibilidade { text-align: center; }

.credibilidade__label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.credibilidade__texto {
  max-width: 560px;
  margin: 0.75rem auto 2.5rem;
  font-style: italic;
}

.credibilidade__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  filter: grayscale(1);
  opacity: 0.75;
}

.credibilidade__logo { height: 32px; width: auto; }

/* ===== SECTION: cta-final ===== */

.cta-final {
  background: var(--bg-soft);
  text-align: center;
}

.cta-final h2 { max-width: 720px; margin: 0 auto; }

.cta-final__sub { max-width: 560px; margin: 1rem auto 2rem; }

/* ===== SECTION: footer ===== */

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--border); }

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.wordmark--footer { font-size: 1.1rem; }

.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__links a:hover { color: var(--navy); }

/* ===== Responsivo ===== */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mascote { order: -1; }
  .hero__mascote img { width: 140px; }
  .venda-perdida__grid { grid-template-columns: 1fr; }
  .feature-row,
  .feature-row--reverse { grid-template-columns: 1fr; direction: ltr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  section { padding: 2.75rem 0; }
  .site-header__inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .hero { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .expansao__lista li { flex-direction: column; gap: 0.15rem; }
}

/* ===== SECTION: sistema (10 frentes) ===== */

.frentes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.frente {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.frente__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.frente h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.frente p { font-size: 0.95rem; }

.sistema__cta { margin-top: 2.25rem; text-align: center; }

/* ===== SECTION: radar (roadmap) ===== */

.radar { background: var(--bg-soft); }

.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.radar-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.radar-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.radar-card p { font-size: 0.95rem; }

.expansao__texto { font-size: 0.95rem; }

/* ===== SECTION: integracoes ===== */

.integracoes { background: var(--bg-soft); }
.integracoes .frente { background: var(--bg); }

/* ===== páginas legais (privacidade / termos) ===== */

.legal-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.legal-hero .container { padding-top: 2.75rem; padding-bottom: 2.25rem; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy); }
.legal-hero__meta { margin-top: 0.7rem; color: var(--text-muted); font-size: 0.9rem; }

.legal { max-width: 820px; margin: 0 auto; padding: 2.75rem 1.5rem 4rem; }
.legal__intro { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.3rem; color: var(--navy); margin: 2.4rem 0 0.6rem; }
.legal h3 { font-size: 1.05rem; color: var(--navy); margin: 1.6rem 0 0.5rem; }
.legal p { margin-bottom: 1rem; color: var(--text); }
.legal ul { margin: 0 0 1.15rem 1.25rem; padding: 0; }
.legal li { margin-bottom: 0.45rem; color: var(--text); }
.legal a { color: var(--blue); }
.legal strong { color: var(--navy); }
.legal__scroll { overflow-x: auto; margin: 1rem 0 1.6rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); color: var(--navy); font-weight: 800; }
