/* ==========================================================================
   GrowTalks — landing page interativa
   Paleta extraída da identidade visual do material original (PPT)
   ========================================================================== */

:root {
  --blue-700: #0A47C2;
  --blue-600: #2563EB;
  --blue-500: #0166FD;
  --blue-400: #4F8CFF;
  --navy-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-100: #F1F5F9;
  --green-500: #0FA968;
  --green-100: #DCFCE9;
  --orange-500: #F37122;
  --amber-400: #FBAD39;
  --white: #FFFFFF;
  --bg: #F8FAFC;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);

  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: #EEF3FF;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--navy-900);
}

.section-subtitle {
  font-size: 17px;
  color: var(--slate-500);
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head {
  text-align: center;
  margin: 0 auto;
}
.section-head .section-subtitle { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 169, 104, 0.28);
}
.btn-primary:hover { background: #0c9159; box-shadow: 0 10px 24px rgba(15, 169, 104, 0.35); }

.btn-secondary {
  background: var(--white);
  color: var(--blue-600);
  border: 1.5px solid var(--slate-300);
}
.btn-secondary:hover { border-color: var(--blue-600); background: #F5F8FF; }

.btn-block { width: 100%; }

.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--slate-100);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-900);
}
.brand-logo { height: 36px; width: auto; display: block; }

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  border-right: 1px solid var(--slate-100);
}
.header-trust {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-badge { height: 24px; width: auto; display: block; }

@media (max-width: 900px) {
  .brand-group { gap: 0; padding-right: 0; border-right: none; }
  .header-trust { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
}
.nav-links a:hover { color: var(--blue-600); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy-900);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--slate-100);
  color: var(--navy-900);
}
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 96px;
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(15, 169, 104, 0.08), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-100);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--navy-900);
}
.hero h1 span {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
}
.hero-stat span {
  font-size: 13px;
  color: var(--slate-500);
}

/* Abstract product mockup (no real customer data) */
.hero-visual { position: relative; }

.mock-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--slate-100);
  border-bottom: 1px solid #E7ECF3;
}
.mock-titlebar span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300);
}
.mock-body { display: grid; grid-template-columns: 34% 66%; min-height: 320px; }
.mock-sidebar { background: #FBFCFE; border-right: 1px solid #EEF1F6; padding: 14px 10px; }
.mock-chat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 10px; margin-bottom: 6px;
}
.mock-chat-item.active { background: #EEF3FF; }
.mock-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.mock-line { height: 8px; border-radius: 4px; background: #E3E8F0; }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; margin-top: 6px; }

.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mock-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  color: var(--slate-700);
  background: var(--slate-100);
}
.mock-bubble.me {
  align-self: flex-end;
  background: var(--blue-600);
  color: white;
}
.mock-bubble .mock-line { background: rgba(100,116,139,0.35); }
.mock-bubble.me .mock-line { background: rgba(255,255,255,0.45); }

.mock-body.is-screenshot { display: block; padding: 0; }
.mock-body.is-screenshot img { width: 100%; display: block; }

.mock-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--slate-100);
}
.mock-badge-float.one { top: -18px; right: -10px; transform: rotate(-3deg); }
.mock-badge-float.two { bottom: -20px; left: -18px; transform: rotate(2deg); }
.mock-badge-float .badge-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.mock-badge-float.one .badge-icon { background: var(--green-500); }
.mock-badge-float.two .badge-icon { background: var(--orange-500); }
.mock-badge-float small { display: block; color: var(--slate-500); font-weight: 500; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto 16px; }
  .hero { padding-top: 140px; }
}

@media (max-width: 460px) {
  .mock-badge-float.two { display: none; }
  .mock-badge-float.one { top: -14px; right: -6px; padding: 10px 12px; }
}

/* ---------- Screens showcase (telas do sistema) ---------- */
.screens { padding: 96px 0 100px; background: var(--white); }

.screens-shell {
  background: var(--bg);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.screens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.screens-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--white);
  color: var(--slate-500);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.screens-tab .icon { color: var(--slate-500); transition: color 0.15s ease; }
.screens-tab:hover { color: var(--blue-600); }
.screens-tab.is-active {
  color: var(--blue-600);
  border-color: var(--blue-600);
  background: #EEF3FF;
}
.screens-tab.is-active .icon { color: var(--blue-600); }

.screens-frame {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
  overflow: hidden;
}
.screens-images {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.3;
  background: var(--slate-100);
}
.screens-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.screens-img.is-active { opacity: 1; pointer-events: auto; }

.screens-caption {
  padding: 18px 22px 4px;
  font-size: 14.5px;
  color: var(--slate-500);
}
.screens-caption strong { color: var(--navy-900); }

@media (max-width: 640px) {
  .screens-images { aspect-ratio: 4 / 3.3; }
  .screens-tab span.label-full { display: none; }
}

/* ---------- Channels strip ---------- */
.channels {
  padding: 56px 0;
  background: var(--navy-900);
}
.channels-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.channels-head h2 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin: 0;
}
.channels-head p {
  color: #94A3B8;
  font-size: 14px;
  margin: 0;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
}
.channel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.15s ease;
}
.channel-item:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.channel-item .icon-wrap {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: white;
}
.channel-item span {
  font-size: 11.5px;
  font-weight: 600;
  color: #CBD5E1;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 980px) {
  .channels-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 560px) {
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Features ---------- */
.features { padding: 100px 0; background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--white);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin-bottom: 18px;
  font-size: 22px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.feature-card p {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--slate-100);
}
.testimonials-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.testimonials-stars {
  display: flex;
  gap: 4px;
  color: var(--amber-400);
  font-size: 22px;
  margin-bottom: 16px;
}
.testimonials-panel h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--navy-900);
}
.testimonials-panel p {
  color: var(--slate-500);
  font-size: 15px;
  margin: 0;
  max-width: 480px;
}
@media (max-width: 760px) {
  .testimonials-panel { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .testimonials-stars { justify-content: center; }
  .testimonials-panel p { margin-left: auto; margin-right: auto; }
}

/* ---------- Final CTA ---------- */
.cta-final {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-final .container { position: relative; }
.cta-final h2 {
  color: white;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.cta-final p {
  color: #DCE6FF;
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #CBD5E1;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img {
  height: 62px;
  width: auto;
  display: block;
  background: white;
  padding: 8px 12px;
  border-radius: 8px;
}
.footer-brand .brand { color: white; margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: #94A3B8;
  max-width: 300px;
  margin: 0 0 20px;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #CBD5E1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-pill .icon { color: var(--green-500); }
.badge-pill-img {
  padding: 5px 10px;
  background: white;
  border-color: transparent;
}
.badge-pill-img img { height: 16px; width: auto; display: block; }

.badge-pill-gold {
  color: #4A2E00;
  background: linear-gradient(135deg, #F7D774, #D4A017);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(212, 160, 23, 0.35);
}
.badge-pill-gold .icon { color: #4A2E00; }

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a, .footer-col span {
  font-size: 14.5px;
  color: #94A3B8;
}
.footer-col a:hover { color: white; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact .icon { margin-top: 3px; color: var(--blue-400); flex-shrink: 0; }

.footer-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}
.footer-map iframe { width: 100%; height: 160px; border: 0; display: block; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover { background: var(--blue-600); transform: translateY(-2px); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748B;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 24px rgba(15, 169, 104, 0.4);
  font-size: 26px;
  animation: pulse-wa 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { background: #0c9159; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 24px rgba(15, 169, 104, 0.4); }
  50% { box-shadow: 0 10px 24px rgba(15, 169, 104, 0.4), 0 0 0 10px rgba(15, 169, 104, 0.12); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-group .reveal:nth-child(1) { transition-delay: 0.02s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.26s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.32s; }
.reveal-group .reveal:nth-child(7) { transition-delay: 0.38s; }
.reveal-group .reveal:nth-child(8) { transition-delay: 0.44s; }
