/* =========================================================
   UniDoctum — Landing Page Pós EaD
   Cor primária da marca: #0F62AC
   ========================================================= */

:root {
  --azul: #0F62AC;
  --azul-escuro: #0A4A82;
  --azul-claro: #E8F1FA;
  --accent: #F59E0B;        /* laranja CTA — alto contraste */
  --accent-escuro: #D97706;
  --wpp: #25D366;
  --wpp-escuro: #1EBE57;
  --texto: #1B2A3A;
  --texto-suave: #51637A;
  --branco: #FFFFFF;
  --cinza-bg: #F5F8FB;
  --borda: #E2E8F0;
  --sombra: 0 10px 30px rgba(15, 98, 172, .12);
  --sombra-card: 0 6px 20px rgba(27, 42, 58, .07);
  --radius: 16px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--texto);
  line-height: 1.6;
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

.hl { color: var(--accent); }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245,158,11,.35); }
.btn--accent:hover { background: var(--accent-escuro); }
.btn--whatsapp { background: var(--wpp); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn--whatsapp:hover { background: var(--wpp-escuro); }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--azul-claro); color: var(--azul);
  font-weight: 600; font-size: .9rem; padding: 7px 16px; border-radius: 50px;
}
.badge--light { background: rgba(255,255,255,.18); color: #fff; }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--azul);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.header__logo img { height: 30px; width: auto; }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a { color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 500; }
.header__nav a:hover { color: #fff; }
.header__cta { padding: 10px 22px; font-size: .95rem; }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: #fff; padding: 64px 0 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; position: relative; z-index: 1; }
.hero__title { font-size: 2.7rem; font-weight: 800; margin: 18px 0; }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 540px; }
.hero__bullets { list-style: none; margin: 24px 0; display: grid; gap: 10px; }
.hero__bullets li { font-size: 1.02rem; font-weight: 500; }
.hero__offer {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 16px 20px; border-radius: var(--radius); margin-top: 8px;
}
.hero__offer-tag {
  background: var(--accent); color: #fff; font-weight: 700; font-size: .75rem;
  padding: 6px 12px; border-radius: 8px; letter-spacing: .5px;
}
.hero__offer-text strong { font-size: 1.3rem; font-family: 'Poppins', sans-serif; display: block; }
.hero__offer-text span { font-size: .95rem; color: rgba(255,255,255,.85); }

/* ===================== FORMULÁRIO ===================== */
.hero__form-wrap { position: sticky; top: 90px; }
.lead-form {
  background: #fff; color: var(--texto);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--sombra);
}
.lead-form__title { font-size: 1.4rem; color: var(--azul); }
.lead-form__subtitle { font-size: .95rem; color: var(--texto-suave); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--texto); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--borda); border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--texto); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(15,98,172,.12);
}
.field input.invalid, .field select.invalid { border-color: #E11D48; }
.lead-form__submit { width: 100%; margin-top: 6px; }
.lead-form__legal { font-size: .75rem; color: var(--texto-suave); text-align: center; margin-top: 12px; }

/* Honeypot anti-spam — invisível p/ humanos, fora da tela */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ===================== BARRA DE PROVA ===================== */
.proof-bar { background: #fff; border-bottom: 1px solid var(--borda); }
.proof-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; }
.proof-bar__item { text-align: center; }
.proof-bar__item strong { display: block; font-family: 'Poppins', sans-serif; font-size: 2rem; color: var(--azul); font-weight: 800; }
.proof-bar__item span { font-size: .9rem; color: var(--texto-suave); }

/* ===================== SEÇÕES ===================== */
.section { padding: 80px 0; }
.section--alt { background: var(--cinza-bg); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__eyebrow { color: var(--accent); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.section__title { font-size: 2.1rem; margin: 12px 0 14px; color: var(--texto); }
.section__lead { font-size: 1.1rem; color: var(--texto-suave); }
.section__cta { text-align: center; margin-top: 44px; }

/* ===== Cards áreas ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-area {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .15s ease, box-shadow .15s ease;
}
.card-area:hover { transform: translateY(-4px); box-shadow: var(--sombra-card); border-color: transparent; }
.card-area__icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.card-area h3 { font-size: 1.2rem; color: var(--azul); margin-bottom: 6px; }
.card-area p { font-size: .95rem; color: var(--texto-suave); }

/* ===== Oferta destaque ===== */
.offer { background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); color: #fff; padding: 72px 0; }
.offer__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.offer h2 { font-size: 2.3rem; margin: 16px 0 10px; }
.offer p { font-size: 1.1rem; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.offer__price {
  display: inline-flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: 24px 36px; border-radius: var(--radius); margin-bottom: 30px;
}
.offer__price-from { display: block; font-size: .95rem; color: rgba(255,255,255,.8); }
.offer__price-main strong { font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; }
.offer__price-cond { display: block; font-size: .9rem; color: rgba(255,255,255,.8); }
.offer__price-or { font-size: 1rem; opacity: .8; }
.offer__price-alt strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.6rem; }
.offer__price-alt span { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ===== Benefícios ===== */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--sombra-card); }
.benefit__ico { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.benefit h3 { font-size: 1.15rem; color: var(--azul); margin-bottom: 8px; }
.benefit p { font-size: .95rem; color: var(--texto-suave); }

/* ===== Objeções ===== */
.objections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.objection { background: var(--azul-claro); border-radius: var(--radius); padding: 26px 24px; border-left: 4px solid var(--azul); }
.objection h3 { font-size: 1.15rem; color: var(--azul-escuro); margin-bottom: 8px; }
.objection p { font-size: .98rem; color: var(--texto); }

/* ===== Depoimentos ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--sombra-card); }
.testi__stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi blockquote { font-size: 1rem; font-style: italic; color: var(--texto); margin-bottom: 16px; }
.testi figcaption { font-size: .9rem; color: var(--texto-suave); }
.testi__note { text-align: center; font-size: .8rem; color: var(--texto-suave); margin-top: 24px; }

/* ===== Passos ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 20px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--azul); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--texto); }
.step p { font-size: .95rem; color: var(--texto-suave); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--borda); border-radius: 12px; padding: 4px 20px; }
.faq__item summary {
  cursor: pointer; font-weight: 600; font-family: 'Poppins', sans-serif;
  padding: 16px 0; list-style: none; position: relative; color: var(--texto);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; color: var(--azul); font-size: 1.4rem; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 0 18px; color: var(--texto-suave); }

/* ===== CTA final ===== */
.final-cta { background: var(--accent); color: #fff; padding: 72px 0; text-align: center; }
.final-cta__inner { max-width: 720px; margin: 0 auto; }
.final-cta h2 { font-size: 2.3rem; margin-bottom: 12px; }
.final-cta .hl { color: var(--azul-escuro); }
.final-cta p { font-size: 1.15rem; margin-bottom: 28px; opacity: .95; }
.final-cta .btn--accent { background: var(--azul); box-shadow: 0 8px 20px rgba(10,74,130,.3); }
.final-cta .btn--accent:hover { background: var(--azul-escuro); }

/* ===== Rodapé ===== */
.footer { background: var(--texto); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand img { height: 28px; margin-bottom: 16px; }
.footer__brand p { font-size: .95rem; max-width: 360px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; font-size: .92rem; margin-bottom: 8px; color: rgba(255,255,255,.75); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ===== Botão flutuante WhatsApp ===== */
.wpp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wpp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.5);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__form-wrap { position: static; }
  .hero__title { font-size: 2.2rem; }
  .header__nav { display: none; }
  .cards, .benefits, .testimonials, .steps { grid-template-columns: repeat(2, 1fr); }
  .objections { grid-template-columns: 1fr; }
  .proof-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 56px; }
  .hero__title { font-size: 1.85rem; }
  .section { padding: 56px 0; }
  .section__title { font-size: 1.7rem; }
  .cards, .benefits, .testimonials, .steps { grid-template-columns: 1fr; }
  .offer__price { flex-direction: column; gap: 12px; padding: 22px; }
  .offer h2, .final-cta h2 { font-size: 1.8rem; }
  .header__cta { display: none; }
  .header__inner { justify-content: space-between; }
}
