@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #1a1f2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== VARIABLES ========== */
:root {
  --navy: #0d1520;
  --navy-light: #151f30;
  --navy-mid: #1c2a40;
  --primary: #0078e6;
  --accent: #22c55e;
  --gradient: linear-gradient(135deg, #22c55e, #3b9cff);
  --gradient-hover: linear-gradient(135deg, #1fb854, #2d8ae6);
  --white: #ffffff;
  --white-05: rgba(255,255,255,0.05);
  --white-08: rgba(255,255,255,0.08);
  --white-10: rgba(255,255,255,0.1);
  --white-15: rgba(255,255,255,0.15);
  --white-30: rgba(255,255,255,0.3);
  --white-40: rgba(255,255,255,0.4);
  --white-50: rgba(255,255,255,0.5);
  --white-60: rgba(255,255,255,0.6);
  --white-70: rgba(255,255,255,0.7);
  --white-80: rgba(255,255,255,0.8);
  --text-muted: #64748b;
  --bg-light: #f4f6f9;
  --border-light: #e2e8f0;
  --radius: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.1);
  --header-height: 72px;
  /* Logo ocupa quase toda a altura útil do header, alinhado ao menu */
  --header-logo-height: min(3.5rem, calc(var(--header-height) - 14px));
  --hero-dot-size: 0.25rem;
  /* Texto marca quando não há imagem: proporcional à altura do logo */
  --brand-wordmark-size: clamp(1.2rem, calc(var(--header-logo-height) * 0.45), 1.65rem);
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 100px 20px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white-80);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--white-15);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--white-30); color: var(--white); }
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { background: var(--bg-light); }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
.section-title.white { color: var(--white); }
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 600px;
}
.section-desc.white { color: var(--white-50); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.icon-box {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}
.icon-box-light {
  width: 44px; height: 44px;
  background: rgba(0,120,230,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.icon-box-glass {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,21,32,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-05);
  height: var(--header-height);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo {
  display: flex;
  align-items: center;
  align-self: stretch;
  line-height: 0;
}
.header-logo img {
  height: var(--header-logo-height);
  width: auto;
  max-height: calc(var(--header-height) - 14px);
  object-fit: contain;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 0.875rem;
  color: var(--white-70);
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--white); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions .link-specialist {
  font-size: 0.875rem;
  color: var(--white-80);
  font-weight: 500;
  transition: color 0.2s;
}
.header-actions .link-specialist:hover { color: var(--white); }
.header-actions .btn-primary { padding: 10px 20px; font-size: 0.85rem; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid var(--white-05);
  padding: 20px;
  z-index: 99;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--white-70);
  font-size: 0.9rem;
  font-weight: 500;
}
.mobile-menu .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* ========== HERO ========== */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}
.hero .hero-sub {
  margin-top: 24px;
  color: var(--white-60);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
}
.hero .hero-micro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--white-40);
  font-weight: 500;
}
.hero .hero-micro .dot {
  width: var(--hero-dot-size);
  height: var(--hero-dot-size);
  border-radius: 50%;
  background: var(--white-30);
  flex-shrink: 0;
}
.hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Dashboard Mockup */
.dashboard-mock {
  background: rgba(28,42,64,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 420px;
  margin-left: auto;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.dash-label { font-size: 0.7rem; color: var(--white-50); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.dash-balance { font-size: 1.6rem; font-weight: 700; color: var(--white); margin-top: 4px; }
.dash-icon-circle {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.dash-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.dash-action {
  background: var(--white-05);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  transition: background 0.2s;
  cursor: pointer;
}
.dash-action:hover { background: var(--white-10); }
.dash-action-icon { font-size: 1.2rem; margin-bottom: 4px; color: var(--accent); }
.dash-action-label { font-size: 0.7rem; color: var(--white-70); font-weight: 500; }
.dash-transactions-title { font-size: 0.7rem; color: var(--white-50); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; margin-bottom: 12px; }
.dash-tx {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--white-05);
  font-size: 0.85rem;
}
.dash-tx-name { color: var(--white-80); }
.dash-tx-value { font-weight: 600; }
.dash-tx-value.positive { color: var(--accent); }
.dash-tx-value.negative { color: var(--white-70); }

/* ========== GRID LAYOUTS ========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ========== CARDS ========== */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 16px 0 8px; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.card-benefit {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color 0.3s;
}
.card-benefit:hover { border-color: rgba(0,120,230,0.3); }
.card-benefit h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 14px 0 8px; }
.card-benefit p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.card-glass {
  background: rgba(28,42,64,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: background 0.2s;
}
.card-glass:hover { background: rgba(255,255,255,0.06); }
.card-glass h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin: 16px 0 8px; }
.card-glass p { font-size: 0.9rem; color: var(--white-50); line-height: 1.6; }

.card-persona {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.card-persona:hover { box-shadow: var(--shadow-card-hover); }
.card-persona .icon-box { width: 56px; height: 56px; border-radius: var(--radius-xl); margin: 0 auto 16px; font-size: 1.5rem; }
.card-persona h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-persona p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ========== SECTIONS BACKGROUNDS ========== */
.bg-white { background: var(--white); }
.bg-light { background: var(--bg-light); }
.bg-navy-section { background: var(--navy); }
.bg-navy-light-section { background: var(--navy-light); }

/* ========== SOLUTIONS ========== */
.solutions-grid { margin-top: 48px; }

/* ========== BENEFITS ========== */
.benefits-grid { margin-top: 48px; }

/* ========== BUSINESS ========== */
.business-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.business-feature {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}
.business-feature .icon-box { margin: 0 auto 12px; }
.business-feature span { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* ========== HOW IT WORKS ========== */
.steps-grid { margin-top: 48px; }
.step { text-align: center; position: relative; }
.step-num { font-size: 3rem; font-weight: 800; opacity: 0.3; }
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 8px 0; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ========== DIGITAL EXPERIENCE ========== */
.exp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.exp-feature { display: flex; gap: 12px; }
.exp-feature-icon {
  width: 40px; height: 40px;
  background: var(--white-05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}
.exp-feature h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.exp-feature p { font-size: 0.78rem; color: var(--white-40); line-height: 1.5; margin-top: 2px; }

.exp-card {
  background: rgba(28,42,64,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 380px;
  margin: 0 auto;
}
.exp-card-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
.exp-card-label { font-size: 0.7rem; color: var(--white-50); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.exp-card-month { font-size: 0.78rem; color: var(--accent); font-weight: 600; }
.exp-card-row {
  background: var(--white-05);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
}
.exp-card-row.gradient { background: var(--gradient); }
.exp-card-row small { font-size: 0.75rem; color: var(--white-40); }
.exp-card-row.gradient small { color: var(--white-70); }
.exp-card-row .value { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-top: 2px; }
.exp-card-row .value.green { color: var(--accent); }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px;
}
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ========== FINAL CTA ========== */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.final-cta .sub { color: var(--white-50); font-size: 1.05rem; margin-bottom: 32px; }
.final-cta .buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final-cta .micro { color: var(--white-30); font-size: 0.78rem; margin-top: 24px; }

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-light);
  border-top: 1px solid var(--white-05);
  padding: 64px 20px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo img {
  height: var(--header-logo-height);
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-desc { color: var(--white-40); font-size: 0.875rem; line-height: 1.7; max-width: 360px; }
.footer h4 { color: var(--white); font-size: 0.875rem; font-weight: 600; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--white-40); font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--white-70); }
.footer-address { color: var(--white-40); font-size: 0.875rem; line-height: 1.7; }
.footer-contact { color: var(--white-40); font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid var(--white-05);
  margin-top: 48px;
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.2); font-size: 0.75rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .header-nav, .header-actions .link-specialist { display: none; }
  .mobile-toggle { display: block; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero .hero-sub { max-width: 100%; }
  .hero .hero-micro { justify-content: center; }
  .hero .hero-buttons { justify-content: center; }
  .dashboard-mock { margin: 0 auto; max-width: 380px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .business-features { grid-template-columns: repeat(3, 1fr); }
  .exp-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-padding { padding: 60px 16px; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero .hero-sub { font-size: 0.95rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .business-features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 1.6rem; }
  .hero .hero-buttons { flex-direction: column; }
  .final-cta .buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}
