/* 
  Landing Page - Curso Intensivo Planejado – Prefeituras do Brasil
  Cores: azul, branco, cinza e detalhe laranja.
*/

:root {
  --blue-900: #082a4a;
  --blue-800: #0b3d68;
  --blue-600: #1167a8;
  --blue-100: #eaf5ff;
  --gray-900: #1d2939;
  --gray-700: #475467;
  --gray-200: #e4e7ec;
  --gray-100: #f5f7fa;
  --white: #ffffff;
  --orange: #f59e0b;
  --shadow: 0 20px 60px rgba(8, 42, 74, 0.15);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.topbar {
  background: var(--blue-900);
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-link {
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(245,158,11,0.16), transparent 26%),
    linear-gradient(135deg, var(--blue-900), var(--blue-800) 56%, #0e5f9d);
  color: var(--white);
  padding: 70px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.headline {
  font-size: 21px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.92);
}

.subtext {
  color: rgba(255,255,255,0.85);
  margin-top: 18px;
  font-size: 17px;
}

.promise-box {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 5px solid var(--orange);
  padding: 18px;
  border-radius: 18px;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.btn-primary {
  background: var(--orange);
  color: #1b1608;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-large {
  width: 100%;
  max-width: 440px;
  font-size: 18px;
}

.video-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-card p {
  margin-top: 12px;
  color: rgba(255,255,255,0.82);
  text-align: center;
}

.section {
  padding: 76px 0;
}

.pain {
  background: var(--gray-100);
}

.pain p,
.authority p,
.section-title p {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 14px;
}

.section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
}

.card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-800);
  font-weight: 900;
  margin-bottom: 18px;
}

.card p {
  color: var(--gray-700);
}

.authority {
  background: var(--blue-100);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.quote {
  background: var(--blue-900);
  color: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote p {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
}

.benefit-list li {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.benefit-list li::before {
  content: "✓";
  color: var(--blue-600);
  margin-right: 8px;
  font-weight: 900;
}

.pricing {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
}

.price-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  padding: 38px;
  border-radius: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.old {
  color: var(--gray-700);
  text-decoration: line-through;
  font-size: 20px;
}

.new {
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  color: var(--blue-900);
  margin: 8px 0;
}

.installments {
  font-size: 24px;
  color: var(--blue-600);
  font-weight: 800;
}

.pix,
.guarantee,
.limited {
  color: var(--gray-700);
  margin-top: 12px;
}

.guarantee {
  font-weight: 800;
}

.price-card .btn {
  margin-top: 24px;
}

.whatsapp-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-600);
  font-weight: 800;
}

.faq {
  background: var(--gray-100);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 20px;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue-900);
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--gray-700);
}

.faq-item.active .faq-answer {
  display: block;
}

.final-cta {
  background: var(--blue-900);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.final-cta p {
  color: rgba(255,255,255,0.86);
  font-size: 19px;
  margin-bottom: 24px;
}

.footer {
  padding: 24px 0;
  background: #051b30;
  color: rgba(255,255,255,0.74);
  text-align: center;
  font-size: 14px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: #22c55e;
  color: white;
  font-weight: 900;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
}

@media (max-width: 900px) {
  .hero-grid,
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 60px;
  }
}

@media (max-width: 560px) {
  .topbar-content {
    flex-direction: column;
  }

  .hero-actions .btn,
  .btn-large {
    width: 100%;
  }

  .promise-box {
    font-size: 19px;
  }

  .section {
    padding: 54px 0;
  }

  .price-card {
    padding: 26px 20px;
  }

  .new {
    font-size: 46px;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}
