/* ============================================
   CorretorIA · Landing Page
   Paleta: #0A2540 (navy) · #FFB800 (yellow) · #06A77D (green)
   ============================================ */

:root {
  --navy: #0A2540;
  --navy-dark: #16223A;
  --navy-light: #1d3458;
  --yellow: #FFB800;
  --yellow-dark: #E0A200;
  --green: #06A77D;
  --green-dark: #058764;
  --bg: #F5F7FA;
  --bg-card: #FFFFFF;
  --text: #0A2540;
  --text-mute: #5b6b80;
  --text-light: rgba(255,255,255,0.85);
  --border: #E3E8EF;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(10,37,64,.06);
  --shadow: 0 8px 28px rgba(10,37,64,.10);
  --shadow-lg: 0 20px 50px rgba(10,37,64,.16);

  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ===== TOP BAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,37,64,.96);
  backdrop-filter: blur(8px);
  color: white;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: white;
}
.logo span {
  color: var(--yellow);
  font-weight: 900;
}
.topbar-cta {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}
.topbar-cta:hover { background: #ffc933; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,184,0,.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--yellow);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.kicker.dark { color: var(--navy); }
.kicker.yellow { color: var(--yellow); }

.hero h1 {
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--green);
  color: white;
  padding: 18px 36px;
  border-radius: var(--radius);
  font-size: 17px;
  letter-spacing: .01em;
  box-shadow: 0 6px 20px rgba(6,167,125,.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(6,167,125,.45);
}
.btn-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: .9;
  margin-top: 4px;
}
.btn-hero {
  padding: 22px 40px;
  font-size: 18px;
  margin-bottom: 28px;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.hero-bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-light);
}
.hero-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

/* ===== HERO VISUAL (mockup ebook) ===== */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup {
  position: relative;
  width: 320px;
  height: 440px;
  background: linear-gradient(160deg, #fff 0%, #f0f3f9 100%);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
  padding: 36px 28px;
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.mockup:hover { transform: rotate(-1deg) translateY(-4px); }

.mockup::before {
  content: 'CorretorIA';
  position: absolute;
  top: 26px;
  left: 28px;
  font-weight: 800;
  font-size: 16px;
  color: var(--yellow);
  letter-spacing: -0.02em;
}

.mockup-screen {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-line {
  height: 12px;
  background: linear-gradient(90deg, #d8dee8 0%, #c4cdda 100%);
  border-radius: 4px;
}
.mockup-line.short { width: 60%; }
.mockup-block {
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 8px;
  margin: 8px 0;
}

.mockup-tag {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  transform: rotate(8deg);
  box-shadow: 0 8px 24px rgba(255,184,0,.4);
}

/* ===== PROBLEM SECTION ===== */
.problem {
  padding: 100px 0;
  background: var(--bg);
}
.section-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 50px;
  color: var(--navy);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.problem-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.problem-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--yellow-dark);
  margin-bottom: 12px;
  letter-spacing: .1em;
}
.problem-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.problem-card p {
  color: var(--text-mute);
  line-height: 1.65;
}

.problem-bridge {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}
.problem-bridge strong { color: var(--yellow-dark); }

/* ===== SOLUTION SECTION ===== */
.solution {
  padding: 100px 0;
  background: white;
}
.solution .kicker {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
.solution .section-title {
  margin-bottom: 20px;
}
.lead {
  text-align: center;
  font-size: 19px;
  color: var(--text-mute);
  max-width: 720px;
  margin: 0 auto 60px;
  line-height: 1.6;
}
.lead em { color: var(--green); font-style: normal; font-weight: 700; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-item {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .2s ease;
}
.solution-item:hover {
  background: white;
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.solution-item.highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  border-color: var(--navy);
}
.solution-item.highlight h3,
.solution-item.highlight p {
  color: white;
}
.solution-item.highlight p { opacity: .85; }

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.solution-icon .material-symbols-outlined {
  font-size: 28px;
  color: white;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}
.solution-icon.icon-navy  { background: var(--navy); }
.solution-icon.icon-green { background: var(--green); }
.solution-icon.icon-yellow { background: var(--yellow); }
.solution-icon.icon-yellow .material-symbols-outlined { color: var(--navy); }
.solution-item.highlight .solution-icon { background: rgba(255,255,255,.12); }
.solution-item.highlight .solution-icon.icon-yellow { background: var(--yellow); }
.solution-item h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.solution-item p {
  color: var(--text-mute);
  line-height: 1.6;
  font-size: 15px;
}

/* ===== COMPARISON ===== */
.comparison {
  padding: 100px 0;
  background: var(--bg);
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
.comparison-card {
  padding: 36px;
  border-radius: var(--radius);
  background: white;
  border: 2px solid var(--border);
}
.comparison-card.after {
  border-color: var(--green);
  background: linear-gradient(135deg, white 0%, #e8f9f3 100%);
  box-shadow: 0 12px 32px rgba(6,167,125,.15);
}
.comparison-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.comparison-card.before h3 { color: var(--text-mute); }
.comparison-card.after h3 { color: var(--green-dark); }
.comparison-card ul {
  list-style: none;
}
.comparison-card li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.comparison-card li:last-child { border: none; }
.comparison-card.before li::before {
  content: '✗';
  position: absolute;
  left: 0;
  top: 12px;
  color: #cc3a3a;
  font-weight: 900;
}
.comparison-card.after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--green);
  font-weight: 900;
}

.comparison-result {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 40px;
}
.comparison-result strong {
  color: var(--green-dark);
  font-size: 26px;
  display: block;
  margin-bottom: 4px;
}

/* ===== FOR WHO ===== */
.for-who {
  padding: 100px 0;
  background: white;
}
.for-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 940px;
  margin: 0 auto;
}
.for-card {
  padding: 36px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}
.for-card.yes {
  background: linear-gradient(135deg, #e8f9f3 0%, white 100%);
  border-color: var(--green);
}
.for-card.no {
  background: linear-gradient(135deg, #fdeded 0%, white 100%);
  border-color: #cc3a3a;
}
.for-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  color: white;
}
.for-card.yes .for-icon { background: var(--green); }
.for-card.no .for-icon { background: #cc3a3a; }
.for-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.for-card ul { list-style: none; }
.for-card li {
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.for-card li:last-child { border: none; }

/* ===== BUY ===== */
.buy {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  position: relative;
}
.buy-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  color: var(--text);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--yellow);
}
.buy-card .kicker {
  display: block;
  margin-bottom: 16px;
}
.buy-card h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.buy-list {
  list-style: none;
  margin-bottom: 36px;
  text-align: left;
  background: var(--bg);
  padding: 24px 28px;
  border-radius: var(--radius);
}
.buy-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.buy-list li:last-child { border: none; }
.buy-list .list-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(6,167,125,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--green);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
  user-select: none;
}

.price-box {
  margin: 36px 0;
}
.price-old {
  font-size: 16px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.price-old s { color: #cc3a3a; }
.price-now {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}
.price-label {
  position: absolute;
  top: -8px;
  left: -64px;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
  transform: rotate(-8deg);
}
.price-rs {
  font-size: 24px;
  font-weight: 700;
  margin-top: 14px;
  color: var(--green);
}
.price-value {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
}
.price-cents {
  font-size: 30px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--green);
}
.price-installment {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-mute);
}

.btn-buy {
  padding: 22px 48px;
  font-size: 19px;
  margin: 0 auto;
  display: inline-flex;
  flex-direction: row;
}

.buy-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
.trust-item {
  font-size: 14px;
}
.trust-item strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--navy);
}
.trust-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--green);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
  user-select: none;
}
.trust-item span { color: var(--text-mute); line-height: 1.5; }

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--bg);
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 26px;
  top: 18px;
  font-size: 26px;
  color: var(--yellow-dark);
  font-weight: 800;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 28px 24px;
  color: var(--text-mute);
  line-height: 1.65;
}
.faq-item p strong { color: var(--text); }
.faq-item p em { color: var(--green-dark); font-style: normal; font-weight: 600; }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  text-align: center;
}
.final-cta h2 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.final-cta p {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 36px;
}
.btn-final {
  padding: 24px 56px;
  font-size: 20px;
}
.final-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.footer ul { list-style: none; }
.footer li { padding: 6px 0; }
.footer a { font-size: 14px; opacity: .8; transition: opacity .15s ease; }
.footer a:hover { opacity: 1; color: var(--yellow); }
.footer p { font-size: 14px; line-height: 1.6; }
.footer .logo { display: inline-block; margin-bottom: 12px; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.6;
}
.footer-legal p { margin-bottom: 8px; opacity: .6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-visual { height: 400px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .for-who-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 32px; }
  .final-cta h2 { font-size: 32px; }
}

@media (max-width: 600px) {
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .btn-hero { padding: 18px 28px; font-size: 16px; width: 100%; }
  .problem, .solution, .comparison, .for-who, .buy, .faq, .final-cta { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .solution-grid { grid-template-columns: 1fr; }
  .buy-card { padding: 36px 24px; }
  .buy-card h2 { font-size: 26px; }
  .price-value { font-size: 60px; }
  .price-cents { font-size: 24px; }
  .buy-trust { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 26px; }
  .btn-final { padding: 18px 28px; font-size: 16px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-bullets { flex-direction: column; gap: 10px; }
  .price-label { display: none; }
  .container { padding: 0 20px; }
}
