/* RECEON — landing page de anúncios (comece.receon.com.br). Mobile first.
   Paleta: VERDE = identidade (cores do app, src/theme/tokens.ts) · AZUL = informação e
   confiança · LARANJA = só ações (botões "Começar grátis"). Fundos claros, bastante respiro. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-400Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-700Bold.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}

:root {
  /* Verde — identidade */
  --green: #087a55;
  --green-vibrant: #18c982;
  --green-dark: #063f31;
  --green-soft: #e3f5ec;
  /* Azul — informação, confiança, variedade */
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --blue-soft: #eaf1ff;
  --blue-border: #c7d8fb;
  /* Laranja — ação. Tons 600/700: texto branco legível (contraste ≥ 3:1 em texto grande). */
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-glow: rgba(234, 88, 12, 0.32);
  /* Neutros */
  --bg: #f6f8f7;
  --surface: #ffffff;
  --border: #e1e7e4;
  --text: #15221e;
  --text-2: #4f5d58;
  --text-3: #75827d;
  --danger: #d6363b;
  --danger-soft: #fdecec;
  --warning: #b45309;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(21, 34, 30, 0.05), 0 4px 14px rgba(21, 34, 30, 0.06);
  --shadow: 0 2px 4px rgba(21, 34, 30, 0.04), 0 16px 40px rgba(21, 34, 30, 0.1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 88px; /* espaço da chamada fixa no celular */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green);
}
h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(32px, 8.4vw, 56px);
  font-weight: 800;
}
h2 {
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 800;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
p,
figure {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
/* Ação principal: laranja (texto ≥ 19px negrito → contraste adequado com branco). */
.btn-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 10px 24px var(--orange-glow);
}
.btn-cta:hover {
  box-shadow: 0 14px 30px var(--orange-glow);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 700;
}
.btn-lg {
  min-height: 58px;
  padding: 14px 30px;
}
.btn-sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 15px;
  background: var(--orange-dark); /* texto menor → tom mais escuro (contraste ≥ 4,5:1) */
}

/* Topo */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand img {
  width: 108px;
  height: auto;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.link-quiet {
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
.topbar .btn-sm {
  display: none; /* no celular, a chamada fica fixa embaixo */
}

/* Hero */
.hero {
  position: relative;
  padding: 32px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(37, 99, 235, 0.1), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(24, 201, 130, 0.14), transparent 70%);
}
.hero-inner {
  display: grid;
  gap: 36px;
}
.eyebrow {
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-blue {
  color: var(--blue);
}
.lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-2);
}
.lead-strong {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}
.lead-strong span {
  color: var(--green);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.cta-row .btn {
  flex: 1 1 220px;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.free-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-vibrant);
  box-shadow: 0 0 0 4px rgba(24, 201, 130, 0.2);
}

/* Imagem 1 (pessoa) + tela do app sobreposta, sem cobrir a pessoa */
.hero-visual {
  position: relative;
  padding-bottom: 40px;
}
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 40%;
}
.phone {
  position: relative;
  margin: 0;
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 10px;
  background: #0f1b17;
  box-shadow:
    0 30px 60px rgba(6, 63, 49, 0.28),
    0 8px 18px rgba(6, 63, 49, 0.18);
}
.phone img {
  border-radius: 31px;
  aspect-ratio: 780 / 1688;
  object-fit: cover;
  width: 100%;
}
.phone-sm {
  width: min(250px, 64vw);
  border-radius: 34px;
  padding: 8px;
}
.phone-sm img {
  border-radius: 27px;
}
/* No celular, a tela do app aparece pequena no canto da foto (lado do notebook). */
.phone-hero {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 34%;
  max-width: 170px;
  border-radius: 24px;
  padding: 5px;
}
.phone-hero img {
  border-radius: 19px;
  aspect-ratio: 780 / 1100;
  object-position: top;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.chip-warn {
  left: 10px;
  top: 10px;
  color: var(--warning);
}
.chip-warn .dot {
  background: #f59e0b;
}
.chip-danger {
  display: none; /* no celular, só um destaque — não cobrir a pessoa */
  left: 10px;
  top: 52px;
  color: var(--danger);
}
.chip-danger .dot {
  background: var(--danger);
}

/* Seções */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-blue {
  background: linear-gradient(180deg, var(--blue-soft), #f5f8ff);
}
.section-head {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
}
.section-lead.left {
  text-align: left;
}
.section-lead strong {
  color: var(--text);
}

/* Dor: imagem 2 + texto */
.pain {
  display: grid;
  gap: 32px;
  align-items: center;
}
.pain-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pain-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 30%;
}
.pain-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.pile {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pile li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}
.pile li:nth-child(4),
.pile li:nth-child(6) {
  background: var(--danger-soft);
  border-color: #f6c9ca;
  color: #b42328;
}
.pain-punch {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--blue-soft);
  font-size: 17px;
  color: var(--text-2);
}
.pain-punch strong {
  color: var(--text);
}

/* Faixa da consequência */
.band {
  background: linear-gradient(140deg, #0b6048, var(--green-dark));
  color: #fff;
  padding: 64px 0;
}
.band-inner {
  text-align: center;
}
.band p {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}
.band blockquote {
  margin: 28px auto 0;
  padding: 20px 22px;
  max-width: 640px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

/* Solução */
.solution {
  display: grid;
  gap: 40px;
  align-items: center;
}
.solution-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.solution-points li {
  position: relative;
  padding-left: 32px;
  font-weight: 700;
}
.solution-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.duo .phone-sm {
  width: min(210px, 44vw);
}
.phone-offset {
  margin-top: 36px;
}

/* Benefícios */
.benefits {
  display: grid;
  gap: 14px;
}
.benefit {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.benefit p {
  margin-top: 8px;
  color: var(--text-2);
}
.b-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.b-green {
  background: var(--green-soft);
  color: var(--green);
}
.b-blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.b-whats {
  background: #e6f9ee;
  color: #1aa851;
}
.mid-cta {
  margin-top: 36px;
  text-align: center;
}
.mid-cta p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-3);
}

/* Antes e depois */
.compare {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.compare-arrow {
  justify-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  transform: rotate(90deg);
  box-shadow: var(--shadow-sm);
}
.compare-col {
  padding: 26px 24px;
  border-radius: var(--radius);
}
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.compare-col li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}
.compare-col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.before {
  background: var(--surface);
  border: 1px solid var(--border);
}
.before h3,
.before li {
  color: var(--text-2);
}
.before li::before {
  content: '✕';
  background: var(--danger-soft);
  color: var(--danger);
}
.after {
  background: linear-gradient(160deg, #f1fbf6, var(--green-soft));
  border: 1px solid #bfe8d3;
  box-shadow: var(--shadow-sm);
}
.after h3 {
  color: var(--green);
}
.after li::before {
  content: '✓';
  background: var(--green);
  color: #fff;
}

/* Para quem */
.audience {
  display: grid;
  gap: 12px;
}
.aud {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-left: 5px solid var(--blue);
}
.aud h3 {
  font-size: 17px;
  color: var(--blue-dark);
}
.aud p {
  margin-top: 6px;
  color: var(--text-2);
}

/* Simplicidade */
.simple {
  display: grid;
  gap: 40px;
  align-items: center;
  justify-items: center;
}
.steps {
  list-style: none;
  counter-reset: passo;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: passo;
  position: relative;
  padding: 14px 16px 14px 62px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
}
.steps li strong {
  color: var(--text);
}
.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-vibrant), var(--green));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Confiança */
.trust {
  display: grid;
  gap: 14px;
}
.trust-item {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.trust-item p {
  margin-top: 8px;
  color: var(--text-2);
}
.t-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 12px;
}
.docs-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-weight: 700;
}
.docs-links a {
  color: var(--blue-dark);
}

/* CTA final */
.final {
  padding: 72px 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(37, 99, 235, 0.35), transparent 70%),
    linear-gradient(140deg, var(--green), var(--green-dark));
  color: #fff;
}
.final p {
  margin: 18px auto 28px;
  max-width: 600px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}
.final .final-note {
  margin: 16px auto 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Rodapé */
.footer {
  background: #062e24;
  color: rgba(255, 255, 255, 0.75);
  padding: 32px 0;
  font-size: 14px;
}
.footer-inner {
  display: grid;
  gap: 16px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.footer a {
  color: #fff;
  text-decoration: none;
}

/* Chamada fixa no celular */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.mobile-cta .btn {
  width: 100%;
}

/* Tablet */
@media (min-width: 700px) {
  .benefits,
  .trust,
  .audience {
    grid-template-columns: 1fr 1fr;
  }
  .compare {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .compare-arrow {
    transform: none;
  }
  .cta-row .btn {
    flex: 0 0 auto;
  }
  .phone-hero {
    width: 28%;
  }
}

/* Computador */
@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }
  .mobile-cta {
    display: none;
  }
  .topbar .btn-sm {
    display: inline-flex;
  }
  .brand img {
    width: 120px;
  }
  .hero {
    padding: 64px 0 88px;
  }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }
  .lead,
  .lead-strong {
    font-size: 20px;
  }
  .hero-photo {
    aspect-ratio: 4 / 5;
    margin-right: 60px;
  }
  .hero-photo img {
    object-position: 36% 50%;
  }
  .phone-hero {
    right: -10px;
    bottom: -6px;
    width: 190px;
    max-width: none;
    border-radius: 30px;
    padding: 7px;
  }
  .phone-hero img {
    border-radius: 24px;
  }
  .chip-warn {
    top: auto;
    left: -44px;
    bottom: 84px;
  }
  .chip-danger {
    display: inline-flex;
    top: auto;
    left: -28px;
    bottom: 30px;
  }
  .section {
    padding: 96px 0;
  }
  .pain {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
  }
  .pain-photo img {
    aspect-ratio: 4 / 4.2;
    object-position: 55% 40%;
  }
  .band {
    padding: 88px 0;
  }
  .solution {
    grid-template-columns: 1fr 1fr;
  }
  .benefits,
  .audience {
    grid-template-columns: repeat(3, 1fr);
  }
  .simple {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .trust {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .footer p {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
