:root {
  --primary: #0d2f5f;
  --primary-2: #153f7b;
  --primary-3: #0a2347;
  --soft: #eef4ff;
  --soft-2: #f7faff;
  --text: #112033;
  --muted: #64748b;
  --line: #d9e3f1;
  --white: #ffffff;
  --success: #25d366;
  --shadow: 0 16px 40px rgba(13, 47, 95, 0.08);
  --shadow-soft: 0 8px 24px rgba(13, 47, 95, 0.05);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

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

/* NAV CONTAINER */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* BRAND (LOGO + TEXTO) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* LOGO WRAPPER */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO */
.brand-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* TEXTO */
.brand-text strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.brand-text small {
  font-size: 12px;
  color: #666;
}

/* MENU */
.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  text-decoration: none;
  color: #0b1f3a;
  font-weight: 500;
}

/* AÇÕES */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BOTÃO WHATSAPP */
.nav-whatsapp {
  padding: 8px 16px;
  border: 1px solid #0b1f3a;
  border-radius: 8px;
  font-size: 14px;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #0b1f3a;
  display: block;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  .menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    font-size: 11px;
  }
}

.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.92);
  font-size: .87rem;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217,227,241,.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small { color: var(--muted); }

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.menu {
  display: flex;
  gap: 22px;
  align-items: center;
}

.menu a {
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 42px;
  height: 42px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
  transition: .25s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn-full { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-outline {
  border-color: var(--line);
  color: var(--primary);
  background: var(--white);
}
.btn-soft {
  background: var(--soft);
  color: var(--primary);
}
.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-ghost-light {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
  background: transparent;
}

.hero {
  padding: 72px 0 44px;
  background:
    radial-gradient(circle at top right, rgba(21,63,123,.08), transparent 28%),
    radial-gradient(circle at 0% 0%, rgba(13,47,95,.05), transparent 30%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 34px;
  align-items: center;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
}

.section-kicker.light {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}

.hero-copy h1,
.section h2,
.cta-band h2 {
  margin: 18px 0 14px;
  line-height: 1.08;
}

.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 12ch; }
.section h2, .cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }

.hero-copy p,
.section-head p,
.section p,
.footer p,
.quote-card p,
.post-card p,
.course-card p,
.feature-card p,
.cta-band p,
.hero-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tags span,
.region-boxes span,
.post-meta span,
.course-top span {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--primary);
  font-size: .92rem;
  font-weight: 600;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f5f9ff, #ebf2ff);
  box-shadow: var(--shadow-soft);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame.is-empty {
  display: grid;
  place-items: center;
  padding: 24px;
  min-height: 220px;
}

.image-frame.is-empty::before {
  content: attr(data-placeholder);
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  max-width: 280px;
}

.hero-image { min-height: 420px; }
.wide-image { min-height: 340px; }
.course-image { min-height: 220px; margin-bottom: 20px; }
.gallery-main { min-height: 460px; }
.gallery-small { min-height: 220px; }

.hero-card,
.floating-panel,
.feature-card,
.course-card,
.post-card,
.quote-card,
.form-card,
.info-stack div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.floating-panel,
.feature-card,
.course-card,
.post-card,
.quote-card,
.form-card { padding: 28px; }

.compact-card { padding: 24px 24px 22px; }

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(37, 211, 102, .14);
}

.hero-card h3,
.floating-panel h3,
.feature-card h3,
.course-card h3,
.post-card h3,
.form-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  line-height: 1.3;
}

.mini-form,
#mainLeadForm {
  display: grid;
  gap: 14px;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: .95rem;
}

input, select, textarea {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
  min-height: 140px;
  padding: 16px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(21, 63, 123, .10);
}

.form-note,
.form-disclaimer {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.metrics {
  padding: 0 0 24px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metrics-grid article {
  padding: 22px;
  border-radius: 22px;
  background: var(--soft-2);
  border: 1px solid var(--line);
}

.metrics-grid strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.metrics-grid span { color: var(--muted); line-height: 1.55; }

.section { padding: 86px 0; }
.section.alt { background: var(--soft-2); }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.narrow { max-width: 760px; }

.split-section {
  display: grid;
  gap: 34px;
  align-items: center;
}

.split-balanced { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
.content-column,
.visual-column { display: grid; gap: 20px; }
.checklist-card { margin-top: 0; }

.floating-panel ul,
.course-card ul,
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floating-panel li,
.course-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.floating-panel li::before,
.course-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }

.equal-cards > * {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.equal-cards .btn,
.equal-cards .schedule-box { margin-top: auto; }
.equal-cards .schedule-box + .btn { margin-top: 20px; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 800;
}

.course-card.highlight {
  border-color: rgba(21,63,123,.24);
  transform: translateY(-4px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
}

.course-top,
.post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.schedule-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--primary);
  line-height: 1.7;
  margin: 18px 0 0;
}

.refined-gallery {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 18px;
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-side {
  display: grid;
  gap: 18px;
}

.audience-wrap { text-align: center; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-item {
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.region-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, .96fr);
  gap: 32px;
  align-items: center;
}

.region-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.region-boxes span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  font-size: 1rem;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.quote-card {
  text-align: left;
  gap: 18px;
}

.quote-profile {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.avatar-frame img,
.avatar-frame.is-empty::before {
  border-radius: 22px;
}

.visual-quote {
  justify-content: center;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
}

.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band p { color: rgba(255,255,255,.8); }

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.info-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.info-stack div { padding: 18px 20px; }

.info-stack strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

.info-stack span { color: var(--muted); line-height: 1.6; }
.form-row { display: grid; gap: 14px; }
.form-row.two-col { grid-template-columns: repeat(2, 1fr); }

.footer {
  background: var(--primary-3);
  color: rgba(255,255,255,.92);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap: 24px;
  padding-bottom: 30px;
}

.footer-brand small,
.footer p,
.footer li,
.footer a,
.footer-bottom { color: rgba(255,255,255,.72); }

.footer h4 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer li { margin-bottom: 10px; }

.footer-bottom {
  min-height: 68px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .28);
  z-index: 25;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-balanced,
  .region-grid,
  .form-grid,
  .cta-band-inner,
  .footer-grid,
  .refined-gallery {
    grid-template-columns: 1fr;
  }

  .cards-grid.four,
  .cards-grid.three,
  .cards-grid.two,
  .audience-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: flex-start;
    gap: 8px 16px;
    font-size: .8rem;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu.is-open { display: flex; }
  .menu-toggle { display: inline-block; }
  .nav-whatsapp { display: none; }

  .hero {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .section { padding: 72px 0; }

  .hero-image,
  .wide-image,
  .course-image,
  .gallery-main,
  .gallery-small,
  .image-frame.is-empty {
    min-height: 220px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
    max-width: none;
  }

  .section h2,
  .cta-band h2 { font-size: 1.8rem; }

  .hero-card,
  .floating-panel,
  .feature-card,
  .course-card,
  .post-card,
  .quote-card,
  .form-card { padding: 22px; }

  .cards-grid.four,
  .cards-grid.three,
  .cards-grid.two,
  .audience-grid,
  .metrics-grid,
  .region-boxes,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .hero-cta,
  .cta-band-actions {
    flex-direction: column;
  }

  .btn { width: 100%; }
  .course-card.highlight { transform: none; }
  .footer-bottom { padding: 18px 0; }
}
