/* ============================================================
   GHRLOG — Design System v1
   Dark premium · Laranja GHRLOG · Turquesa miniiHub
   ============================================================ */

/* Fontes self-hosted (variáveis, subset latin) */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
}

:root {
  /* Cores de marca */
  --bg: #0B0B0D;
  --bg-soft: #101014;
  --surface: #16161B;
  --surface-2: #1D1D24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --orange: #F7941D;
  --orange-soft: #FFA63D;
  --orange-deep: #E07B00;
  --teal: #35C4C8;
  --teal-soft: #5FDEE2;

  --text: #FFFFFF;
  --text-2: #B4B8C2;
  --text-3: #7E828D;

  --grad-orange: linear-gradient(135deg, #FFA63D 0%, #F7941D 55%, #E07B00 100%);

  /* Escala tipográfica */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;

  /* Tipografia */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Espaçamento e forma */
  --container: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
  --section-y: clamp(72px, 10vw, 128px);

  --shadow-orange: 0 8px 40px rgba(247, 148, 29, 0.35);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Acessibilidade ---------- */
:is(a, button, summary):focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--orange);
  color: #14100A;
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
.display {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.01em; }
.h2-wordmark {
  height: 1.5em;
  width: auto;
  display: inline-block;
  vertical-align: -0.42em;
  margin-left: 0.15em;
}
.h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-2); }
.lead strong { color: var(--text); }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--grad-orange);
  border-radius: 2px;
}
.eyebrow--teal { color: var(--teal); }
.eyebrow--teal::before { background: var(--teal); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .h2 { margin: 14px 0 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--grad-orange);
  color: #14100A;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(247, 148, 29, 0.5); }

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-teal {
  background: linear-gradient(135deg, #4ED4D8 0%, #2BA9AD 100%);
  color: #06282A;
  box-shadow: 0 8px 40px rgba(53, 196, 200, 0.3);
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(53, 196, 200, 0.45); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav a:hover, .nav a.active { color: var(--text); }
.header .btn { padding: 11px 22px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 14px 12px;
  margin-right: -12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 99;
  background: rgba(11, 11, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: 32px 24px 48px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(247, 148, 29, 0.14), transparent 65%),
    radial-gradient(700px 500px at 12% 85%, rgba(247, 148, 29, 0.06), transparent 60%),
    var(--bg);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(247, 148, 29, 0.35);
  background: rgba(247, 148, 29, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-soft);
  margin-bottom: 28px;
}
.hero-badge svg { width: 15px; height: 15px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 540px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-ctas--flush { margin-bottom: 0; }

.hero-trust {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}
.hero-trust .trust-item { flex: 1 1 0; min-width: 0; }
.trust-item .trust-label { max-width: 20ch; }
.trust-item .trust-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.trust-item .trust-num em { font-style: normal; color: var(--orange); }
.trust-item .trust-label { font-size: 0.82rem; color: var(--text-3); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  animation: drive-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes drive-in {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(22, 22, 27, 0.9);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  opacity: 0;
  animation: chip-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes chip-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-chip svg { width: 20px; height: 20px; flex: none; }
.hero-chip small { display: block; font-weight: 400; color: var(--text-3); font-size: 0.75rem; }
.chip-1 { top: 6%; left: -4%; animation-delay: 0.7s; }
.chip-2 { bottom: 10%; right: -2%; animation-delay: 1s; }

/* ---------- Faixa de players (marquee) ---------- */
.players {
  padding: 34px 0 40px;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
}
.players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.players-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ml-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.ml-badge svg { width: 15px; height: 15px; flex: none; color: var(--orange); }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.player-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  white-space: nowrap;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.player-chip:hover { transform: translateY(-2px); }
.player-chip svg { width: 20px; height: 20px; flex: none; }
.player-chip b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--text-2);
  transition: color 0.25s ease;
}
.player-chip:hover b { color: var(--text); }
.chip-meli:hover { border-color: rgba(255, 230, 0, 0.45); }
.chip-amazon:hover { border-color: rgba(255, 153, 0, 0.45); }
.chip-shopee:hover { border-color: rgba(238, 77, 45, 0.45); }
.chip-magalu:hover { border-color: rgba(0, 134, 255, 0.45); }
.chip-correios:hover { border-color: rgba(255, 209, 0, 0.45); }
.chip-j3:hover { border-color: rgba(53, 196, 200, 0.45); }

@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group:last-child { display: none; }
}
@media (max-width: 768px) {
  .players-head { justify-content: center; text-align: center; }
  .player-chip { padding: 11px 20px; }
}

/* ---------- Ecossistema (arquitetura de marca) ---------- */
.eco-card { position: relative; }
.eco-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eco-card--ghrlog .eco-role { color: var(--orange-soft); }
.eco-card--miniihub .eco-role { color: var(--teal); }
.eco-card .eco-logo {
  width: min(100%, 340px);
  height: auto;
  margin-bottom: 26px;
}

/* Alinha as linhas dos dois cards (tag, logo, texto e checklist na mesma altura) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 769px) {
    #ecossistema .split-2 { row-gap: 0; }
    .audience-card.eco-card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
      justify-items: start;
    }
    .audience-card.eco-card .eco-role { align-self: center; margin-bottom: 16px; }
    .audience-card.eco-card .eco-logo { align-self: center; margin-bottom: 22px; }
    .audience-card.eco-card > p { align-self: start; margin-bottom: 20px; }
    .audience-card.eco-card ul { align-self: start; margin-bottom: 0; justify-self: stretch; }
  }
}
.eco-card > p { color: var(--text-2); font-size: var(--fs-base); margin-bottom: 20px; }
.eco-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--text-3);
  font-size: 0.9rem;
  text-align: center;
}
.eco-link svg { width: 18px; height: 18px; color: var(--orange); }

/* Linha de rastreio — assinatura visual: o motor alimenta o produto */
.eco-route {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-inline: clamp(8px, 6vw, 96px);
}
.eco-route-node {
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  position: relative;
}
.eco-route-node--orange {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(247, 148, 29, 0.15), 0 0 18px rgba(247, 148, 29, 0.6);
}
.eco-route-node--teal {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(53, 196, 200, 0.15), 0 0 18px rgba(53, 196, 200, 0.6);
}
.eco-route-track {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
}
.eco-route-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 12px, var(--bg) 12px 22px);
  animation: route-flow 0.9s linear infinite;
}
@keyframes route-flow {
  to { background-position: 22px 0; }
}
.eco-route-pkg {
  position: absolute;
  top: 50%;
  left: 0%;
  translate: -50% -50%;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 0 4px rgba(255, 255, 255, 0.6);
  animation: route-travel 4.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  z-index: 1;
}
@keyframes route-travel {
  0% { left: 0%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .eco-route-track::after { animation: none; }
  .eco-route-pkg { display: none; }
}

/* ---------- Seções genéricas ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section--tight { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }

/* Variantes de tag desacopladas do card pai */
.audience-tag--orange { background: rgba(247, 148, 29, 0.14); color: var(--orange-soft); }
.audience-tag--teal { background: rgba(53, 196, 200, 0.14); color: var(--teal); }

/* ---------- Problema ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(247, 148, 29, 0.4); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(247, 148, 29, 0.12);
  color: var(--orange);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 0.95rem; }

.card--danger .card-icon { background: rgba(239, 68, 68, 0.12); color: #F87171; }
.card--danger:hover { border-color: rgba(239, 68, 68, 0.4); }

/* ---------- Media frame ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.media-frame img { width: 100%; display: block; }
.media-frame .media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  font-size: 0.76rem;
  color: var(--text-2);
}

/* ---------- CTA split (imagem + texto) ---------- */
.cta-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  text-align: left;
}
.cta-split .media-frame { margin-bottom: 0; }
.cta-split .h2, .cta-split .lead { margin-left: 0; margin-right: 0; max-width: none; }
.cta-split .hero-ctas { justify-content: flex-start; }
@media (max-width: 900px) {
  .cta-split { grid-template-columns: 1fr; text-align: center; }
  .cta-split .hero-ctas { justify-content: center; }
}

/* ---------- Como funciona (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(53, 196, 200, 0.45); }

/* Conectores tracejados fase a fase */
.step + .step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -22px;
  width: 22px;
  border-top: 2px dashed rgba(53, 196, 200, 0.45);
}
@media (max-width: 1024px) {
  /* grade 2 colunas: o 3º item abre nova linha, sem conector */
  .steps .step:nth-child(odd)::before { display: none; }
}
@media (max-width: 768px) {
  /* 1 coluna: conector vertical entre os cards */
  .step + .step::before {
    top: -22px;
    left: 50%;
    width: 0;
    height: 22px;
    border-top: none;
    border-left: 2px dashed rgba(53, 196, 200, 0.45);
    display: block;
  }
  .steps .step:nth-child(odd)::before { display: block; }
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }
.step-icon { width: 40px; height: 40px; color: var(--teal); margin-bottom: 18px; }
.step-icon svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.06rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--text-2); }

/* ---------- Números ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.metric {
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(247,148,29,0.07), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-label { color: var(--text-2); font-size: 0.9rem; margin-top: 8px; }

/* ---------- Dois públicos ---------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.audience-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.audience-card--condo {
  background:
    radial-gradient(500px 300px at 90% -10%, rgba(247, 148, 29, 0.16), transparent 70%),
    var(--surface);
}
.audience-card--player {
  background:
    radial-gradient(500px 300px at 90% -10%, rgba(53, 196, 200, 0.14), transparent 70%),
    var(--surface);
}
.audience-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.audience-card--condo .audience-tag { background: rgba(247,148,29,0.14); color: var(--orange-soft); }
.audience-card--player .audience-tag { background: rgba(53,196,200,0.14); color: var(--teal); }
.audience-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.audience-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.audience-card--condo .price { color: var(--orange); }
.audience-card--player .price { color: var(--teal); }
.audience-card ul { display: grid; gap: 13px; margin-bottom: 32px; }
.audience-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.95rem;
}
.audience-card li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.audience-card--condo li svg { color: var(--orange); }
.audience-card--player li svg { color: var(--teal); }
.audience-card .btn { align-self: flex-start; margin-top: auto; }
.price-note {
  font-size: var(--fs-sm);
  color: var(--text-3);
  margin: -12px 0 22px;
  max-width: 40ch;
}

/* Faixa do morador (influenciador) */
.morador-strip {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  padding: 24px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.morador-strip p { color: var(--text-2); font-size: var(--fs-base); max-width: 56ch; }
.morador-strip strong { color: var(--text); }
.morador-strip .btn { flex: none; }

/* ---------- ESG strip ---------- */
.esg-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.esg-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.esg-item svg { width: 26px; height: 26px; flex: none; color: var(--teal); }
.esg-item strong { display: block; font-size: 0.95rem; }
.esg-item span { font-size: 0.83rem; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(247, 148, 29, 0.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.25s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 26px 24px; color: var(--text-2); font-size: 0.95rem; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(72px, 9vw, 110px) 0;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(247, 148, 29, 0.16), transparent 70%),
    var(--bg-soft);
  z-index: -1;
}
.cta-final .h2 { max-width: 640px; margin: 0 auto 18px; }
.cta-final .lead { max-width: 560px; margin: 0 auto 36px; }
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-3); font-size: 0.9rem; max-width: 280px; }
.footer h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 12px; }
.footer ul a {
  color: var(--text-2);
  font-size: 0.92rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer ul a:hover { color: var(--orange); }
.footer ul a svg { width: 17px; height: 17px; color: var(--text-3); }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  transition: all 0.2s ease;
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 0.85rem;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #23C55E;
  color: #06230F;
  box-shadow: 0 10px 32px rgba(35, 197, 94, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Hero 50/50 (variante) ---------- */
.hero-split {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 76px;
}
.hero-split-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px);
  overflow: hidden;
  border-right: 1px solid var(--border);
  transition: background 0.4s ease;
}
.hero-split-panel:last-child { border-right: none; }
.panel-condo {
  background:
    radial-gradient(700px 480px at 70% 20%, rgba(247, 148, 29, 0.15), transparent 65%),
    var(--bg);
}
.panel-player {
  background:
    radial-gradient(700px 480px at 30% 20%, rgba(53, 196, 200, 0.13), transparent 65%),
    var(--bg-soft);
}
.hero-split-panel .audience-tag { margin-bottom: 20px; }
.hero-split-panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-split-panel .lead { font-size: 1.02rem; margin-bottom: 30px; max-width: 440px; }
.hero-split-panel ul { display: grid; gap: 11px; margin-bottom: 34px; }
.hero-split-panel li {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--text-2);
  font-size: 0.93rem;
}
.hero-split-panel li svg { width: 18px; height: 18px; flex: none; }
.panel-condo li svg { color: var(--orange); }
.panel-player li svg { color: var(--teal); }
.hero-split-topbar {
  position: absolute;
  top: 96px;
  left: 0; right: 0;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
.hero-split-topbar span {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(22, 22, 27, 0.9);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  /* Header desktop não cabe em tablet — menu hambúrguer entra já aqui */
  .nav, .header .btn-header { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-panel { border-right: none; border-bottom: 1px solid var(--border); min-height: 70svh; }
  .hero-split-topbar { display: none; }
}
@media (max-width: 768px) {
  .split-2 { grid-template-columns: 1fr; }
  .esg-strip { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-chip { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .audience-card { padding: 34px 26px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  /* alvos de toque confortáveis no rodapé (WCAG 2.5.8) */
  .footer ul { gap: 4px; }
  .footer ul a { min-height: 44px; align-items: center; }
}
@media (max-width: 480px) {
  .metrics { gap: 14px; }
  .metric { padding: 28px 10px; }
  .metric-num { font-size: clamp(1.65rem, 8.5vw, 2.9rem); }
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
}
