:root {
  --green: #087a48;
  --green-dark: #045f37;
  --green-soft: #eaf7f0;
  --yellow: #f6c33f;
  --blue: #19a9d5;
  --ink: #202927;
  --muted: #66716e;
  --line: #dce7e2;
  --white: #ffffff;
  --bg: #f7faf8;
  --shadow: 0 24px 60px rgba(25, 52, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--green-dark); color: white; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,231,226,.9); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand-logo { display: block; width: 128px; height: auto; object-fit: contain; }
.brand-divider { width: 1px; height: 28px; background: var(--line); margin: 0 13px 0 15px; align-self: center; }
.brand-sub { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 2.2px; align-self: center; }
.header-cta { color: var(--green); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.cta-mobile { display: none; }

.hero { position: relative; overflow: hidden; padding: 72px 0 26px; background: radial-gradient(circle at 84% 16%, #e7f8ef 0, #f8fbf9 34%, #fff 68%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; position: relative; z-index: 2; }
.hero-copy { padding: 10px 0 22px; }
.eyebrow, .section-kicker { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.eyebrow span { width: 28px; height: 4px; border-radius: 99px; background: var(--yellow); }
.hero h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.03; letter-spacing: -2.9px; margin: 0; font-weight: 600; }
.hero h1 strong { color: var(--green-dark); font-weight: 800; }
.hero h1 em { color: var(--green); font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; height: 9px; background: var(--yellow); left: 0; right: 0; bottom: 2px; border-radius: 10px; z-index: -1; opacity: .85; }
.hero-lead { max-width: 650px; font-size: 18px; line-height: 1.65; color: var(--muted); margin: 24px 0 26px; }
.hero-highlights { display: grid; gap: 12px; margin: 0 0 28px; }
.highlight { display: flex; align-items: flex-start; gap: 12px; }
.highlight > i { color: var(--green); margin-top: 3px; font-size: 18px; }
.highlight span { display: flex; flex-direction: column; }
.highlight b { font-size: 15px; }
.highlight small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }

.btn { border: 0; border-radius: 12px; min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: white; box-shadow: 0 12px 28px rgba(8,122,72,.2); }
.btn-primary:hover { background: var(--green-dark); }

.form-card { background: white; border: 1px solid rgba(8,122,72,.14); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); opacity: .13; right: -42px; top: -48px; }
.form-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); background: var(--green-soft); border-radius: 99px; padding: 8px 12px; font-size: 11px; font-weight: 800; letter-spacing: .8px; position: relative; }
.form-card h2 { font-size: 28px; line-height: 1.15; letter-spacing: -1px; margin: 15px 0 6px; }
.form-card > p { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.input-group { display: flex; flex-direction: column; gap: 7px; }
.input-group.full { grid-column: 1 / -1; }
.input-group label { font-size: 12px; font-weight: 700; }
.input-group input, .input-group select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfc; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.input-group input:focus, .input-group select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,122,72,.10); background: white; }
.input-group .field-error { color: #c62828; font-size: 11px; margin-top: -2px; }
.input-group input.error, .input-group select.error { border-color: #d93d3d; }

.field-hint { color: var(--muted); font-size: 9px; line-height: 1.45; margin-top: -1px; }
.input-group select.auto-filled { background: var(--green-soft); color: var(--green-dark); font-weight: 700; opacity: 1; cursor: default; }
.selected-course-info {
  margin-top: 4px;
  border: 1px solid rgba(8,122,72,.18);
  background: linear-gradient(135deg, #f5fbf8, #ffffff);
  border-radius: 12px;
  padding: 12px 13px;
}
.selected-course-top { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--green-dark); font-size: 10px; font-weight: 700; }
.selected-course-top span { display: inline-flex; align-items: center; gap: 5px; }
.selected-course-price { margin-top: 9px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.selected-course-price small { color: var(--muted); font-size: 9px; }
.selected-course-price strong { color: var(--green-dark); font-size: 17px; line-height: 1; }
.lgpd { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; color: var(--muted); font-size: 10px; line-height: 1.45; cursor: pointer; }
.lgpd input { margin-top: 2px; accent-color: var(--green); }
.btn-form { width: 100%; background: var(--green); color: white; }
.btn-form:disabled { opacity: .7; cursor: wait; }
.security { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 10px; margin-top: 10px; }
.success-card { display: none; text-align: center; padding: 28px 10px 10px; }
.success-icon { font-size: 50px; color: var(--green); }
.success-card h3 { font-size: 24px; margin: 12px 0 6px; }
.success-card p { color: var(--muted); line-height: 1.6; }

.hero-disclaimer { position: relative; z-index: 2; color: #7a8581; font-size: 10px; line-height: 1.5; margin-top: 42px; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-shape-one { width: 320px; height: 320px; background: rgba(25,169,213,.08); right: -120px; top: 90px; }
.hero-shape-two { width: 210px; height: 210px; background: rgba(246,195,63,.11); left: -100px; bottom: 20px; }

.proof-strip { background: var(--green-dark); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 25px 24px; border-right: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { font-size: 23px; color: var(--yellow); letter-spacing: -.6px; }
.proof-grid span { font-size: 11px; opacity: .82; margin-top: 3px; }

.section { padding: 88px 0; }
.section-soft { background: var(--bg); }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading h2, .institution h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -1.8px; margin: 10px 0 12px; }
.section-heading p, .institution p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: white; min-height: 220px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(25,52,42,.08); border-color: rgba(8,122,72,.3); }
.benefit-card.featured { background: var(--green); color: white; border-color: var(--green); }
.benefit-card.featured p { color: rgba(255,255,255,.82); }
.benefit-card.featured .benefit-icon { background: rgba(255,255,255,.16); color: var(--yellow); }
.benefit-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 20px; }
.benefit-card h3 { font-size: 18px; margin: 19px 0 8px; }
.benefit-card p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; align-items: flex-start; gap: 15px; }
.step > span { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 800; }
.step h3 { font-size: 16px; margin: 1px 0 5px; }
.step p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }
.center-cta { display: flex; justify-content: center; margin-top: 28px; }

.institution-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 74px; }
.institution-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.institution-tags span { border: 1px solid var(--line); border-radius: 99px; padding: 9px 13px; font-size: 12px; font-weight: 700; }
.institution-tags i { color: var(--green); margin-right: 5px; }
.discount-panel { min-height: 330px; border-radius: 28px; background: linear-gradient(145deg, var(--green-dark), var(--green)); color: white; padding: 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.discount-panel::before { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; background: var(--yellow); right: -78px; top: -70px; opacity: .95; }
.discount-panel::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: var(--blue); right: -40px; bottom: -55px; opacity: .85; }
.discount-caption, .discount-bottom, .discount-panel strong, .discount-panel a { position: relative; z-index: 2; }
.discount-caption { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; opacity: .9; }
.discount-panel strong { font-size: 38px; line-height: .95; margin-top: 11px; }
.discount-panel strong b { display: block; font-size: 100px; letter-spacing: -7px; color: var(--yellow); }
.discount-bottom { font-size: 18px; font-weight: 800; }
.discount-panel a { margin-top: 24px; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

.final-cta { background: var(--green); color: white; padding: 54px 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-cta span { color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.final-cta h2 { font-size: 38px; margin: 7px 0 5px; letter-spacing: -1.5px; }
.final-cta p { margin: 0; opacity: .85; font-size: 14px; }
.btn-light { background: white; color: var(--green-dark); white-space: nowrap; }

footer { background: #17211f; color: white; padding: 34px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-logo { width: 104px; filter: brightness(0) invert(1); opacity: .92; }
footer p { margin: 0; font-size: 12px; color: rgba(255,255,255,.75); }
.footer-small { text-align: right; font-size: 10px; }

@media (max-width: 980px) {
  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 760px; }
  .form-card { max-width: 720px; width: 100%; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .institution-grid { grid-template-columns: 1fr; gap: 36px; }
  .discount-panel { max-width: 650px; width: 100%; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner { justify-content: center; min-height: 28px; text-align: center; }
  .topbar a { display: none; }
  .topbar span { font-size: 9px; line-height: 1.2; }
  .header-inner { min-height: 56px; }
  .brand-logo { width: 96px; }
  .brand-divider, .brand-sub { display: none; }
  .header-cta { font-size: 10px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; white-space: nowrap; }
  .cta-desktop { display: none; }
  .cta-mobile { display: inline; }
  .hero { padding: 30px 0 20px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: 38px; letter-spacing: -2px; }
  .hero-lead { font-size: 15px; margin: 16px 0 19px; }
  .hero-actions .btn { width: 100%; }
  .hero-note { width: 100%; justify-content: center; }
  .form-card { padding: 21px 18px; border-radius: 18px; }
  .form-card h2 { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .input-group.full { grid-column: auto; }
  .hero-disclaimer { margin-top: 22px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { padding: 18px 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .proof-grid > div:first-child { padding-left: 12px; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(3), .proof-grid > div:nth-child(4) { border-bottom: 0; }
  .proof-grid strong { font-size: 20px; }
  .section { padding: 56px 0; }
  .section-heading h2, .institution h2 { font-size: 33px; letter-spacing: -1.3px; }
  .benefits-grid, .steps-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; padding: 22px; }
  .benefit-card h3 { margin-top: 15px; }
  .center-cta .btn { width: 100%; }
  .discount-panel { min-height: 270px; padding: 26px; }
  .discount-panel strong b { font-size: 82px; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
  .final-cta h2 { font-size: 31px; }
  .btn-light { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-logo { width: 96px; }
  .footer-small { text-align: center; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 35px; }
  .header-cta { max-width: none; text-align: center; }
}

/* =========================================================
   V3 — Catálogo de cursos + redução de CTAs repetitivos
   ========================================================= */
.btn-outline {
  appearance: none;
  border: 1.5px solid var(--green);
  background: rgba(255,255,255,.72);
  color: var(--green-dark);
  cursor: pointer;
}
.btn-outline:hover { background: white; transform: translateY(-1px); }
.course-search-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 7px 0 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
}
.course-search-link i { margin-right: 5px; }
.course-search-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.course-explorer {
  min-height: 330px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff 0%, #f1faf5 100%);
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course-explorer::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -110px;
  top: -100px;
  background: rgba(247,195,49,.22);
}
.course-explorer::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -45px;
  bottom: -48px;
  background: rgba(30,167,196,.16);
}
.course-explorer > * { position: relative; z-index: 2; }
.course-explorer-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green);
  color: white;
  font-size: 21px;
  margin-bottom: 18px;
}
.course-explorer-kicker { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--green); }
.course-explorer h3 { margin: 8px 0 10px; font-size: 30px; line-height: 1.08; letter-spacing: -1px; max-width: 420px; }
.course-explorer p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 460px; }
.btn-course { margin-top: 22px; background: var(--green); color: white; border: 0; cursor: pointer; }
.course-explorer small { color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 14px; }
.course-explorer small i { color: var(--green); margin-right: 4px; }

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.course-modal.is-open { display: flex; }
.course-modal-backdrop { position: absolute; inset: 0; background: rgba(12,27,22,.66); backdrop-filter: blur(4px); }
.course-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(12,27,22,.28);
}
.course-modal-head { padding: 26px 28px 18px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.course-modal-head h2 { margin: 4px 0 4px; font-size: 31px; line-height: 1.05; letter-spacing: -1.2px; }
.course-modal-head p { margin: 0; color: var(--muted); font-size: 13px; }
.course-modal-close { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line); background: white; border-radius: 12px; color: var(--text); cursor: pointer; font-size: 17px; }
.course-modal-close:hover { background: var(--soft); }
.course-search-box { margin: 20px 28px 12px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfc; }
.course-search-box i { color: var(--green); }
.course-search-box input { width: 100%; height: 50px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--text); }
.course-filters { padding: 0 28px 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.course-filter { border: 1px solid var(--line); background: white; color: var(--text); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.course-filter.is-active { background: var(--green); color: white; border-color: var(--green); }
.course-results-meta { padding: 0 28px 10px; color: var(--muted); font-size: 11px; font-weight: 600; }
.course-results { padding: 0 28px 24px; overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overscroll-behavior: contain; }
.course-item { width: 100%; min-width: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 14px 15px; cursor: pointer; font-family: inherit; color: var(--ink); }
.course-item:hover { border-color: rgba(8,122,72,.45); background: #f7fcf9; }
.course-item-main { min-width: 0; flex: 1 1 auto; }
.course-item-main > strong { display: block; font-size: 13px; line-height: 1.3; }
.course-item-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 7px; }
.course-item-meta small { color: var(--muted); font-size: 9px; display: inline-flex; align-items: center; gap: 4px; line-height: 1.3; }
.course-item-meta i { color: var(--green); }
.course-item-price { flex: 0 0 auto; min-width: 96px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.course-item-price small { color: var(--muted); font-size: 8px; line-height: 1.1; }
.course-item-price strong { color: var(--green-dark); font-size: 15px; margin-top: 3px; line-height: 1.1; }
.course-item-price em { color: var(--muted); font-size: 8px; font-style: normal; margin-top: 2px; }
.course-empty { grid-column: 1 / -1; padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.course-modal-foot { padding: 13px 28px; border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 10px; text-align: center; }
body.modal-open { overflow: hidden; }
#curso.course-selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,122,72,.10); }

@media (max-width: 760px) {
  .hero-actions { align-items: stretch; }
  .hero-actions .btn-outline { width: 100%; }
  .course-explorer { min-height: 0; padding: 26px; }
  .course-explorer h3 { font-size: 27px; }
  .course-modal { padding: 10px; align-items: flex-end; }
  .course-modal-panel { width: 100%; max-height: calc(100vh - 20px); border-radius: 20px 20px 12px 12px; }
  .course-modal-head { padding: 20px 18px 14px; }
  .course-modal-head h2 { font-size: 26px; }
  .course-search-box { margin: 15px 18px 10px; }
  .course-filters { padding: 0 18px 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .course-filters::-webkit-scrollbar { display: none; }
  .course-filter { flex: 0 0 auto; }
  .course-results-meta { padding: 0 18px 8px; }
  .course-results { padding: 0 18px 18px; grid-template-columns: 1fr; }
  .course-item { align-items: flex-start; padding: 13px; }
  .course-item-price { min-width: 82px; }
  .course-item-price strong { font-size: 14px; }
  .course-item-meta { gap: 4px 8px; }
  .selected-course-info { padding: 11px 12px; }
  .course-modal-foot { padding: 11px 18px; }
}
