/* ==========================================================================
   ORZA ESTUDOS E SERVIÇOS EMPRESARIAIS - FOLHA DE ESTILOS (CSS PURO)
   Curso: Orçamento Público na Prática: Do PPA ao Pagamento
   Fidelidade visual estrita ao folder PDF oficial
   ========================================================================== */

:root {
  --navy-950: #071026;
  --navy-900: #0B1B3D;
  --navy-850: #0F234D;
  --navy-800: #132959;
  --navy-700: #1E3A8A;
  --crimson: #C5221F;
  --crimson-hover: #D92926;
  --teal-accent: #00A8C6;
  --teal-dark: #0088A3;
  --teal-light: #E0F7FA;
  --teal-50: #F0FDFA;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --white: #FFFFFF;

  --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
}

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

button, input, select, textarea {
  font: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER / NAVBAR IDÊNTICA AO ORZA.COM.BR
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--crimson);
}

.nav-link.active-course {
  color: var(--crimson);
  font-weight: 700;
}

.nav-link.active-course::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--crimson);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-crimson {
  background-color: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
  box-shadow: var(--shadow-sm);
}

.btn-crimson:hover {
  background-color: var(--crimson-hover);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-primary {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn-primary:hover {
  background-color: var(--navy-800);
  color: var(--white);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-drawer {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mobile-menu-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-nav-link:hover, .mobile-nav-link.active-course {
  color: var(--crimson);
  font-weight: 700;
}

/* ==========================================================================
   HERO / TOPO DO CURSO (IDÊNTICO AO DESIGN DO PDF)
   ========================================================================== */
.pdf-hero {
  background-color: #0B1B3D;
  color: var(--white);
  padding: 3.5rem 0 4rem;
  position: relative;
}

.pdf-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.pdf-hero-tag {
  color: #2CD6EC;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.25rem;
  display: block;
}

.pdf-hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.pdf-hero-title .teal-text {
  color: #2CD6EC;
}

.pdf-hero-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}

.pdf-hero-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 540px;
}

.pdf-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pdf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}

/* Foto do Professor Cesar Lima com badge */
.pdf-photo-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pdf-photo-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.pdf-photo-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: var(--crimson);
  color: var(--white);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pdf-photo-badge-label {
  font-size: 0.6875rem;
  opacity: 0.9;
  display: block;
  line-height: 1.2;
}

.pdf-photo-badge-name {
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

/* ==========================================================================
   SEÇÃO DO MEIO DO PDF: 2 COLUNAS
   Esquerda: DIFERENCIAIS + PARA QUEM É
   Direita: PROGRAMA (8 módulos de 3 horas)
   ========================================================================== */
.pdf-middle-section {
  padding: 4.5rem 0;
  background-color: var(--white);
}

.pdf-middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.pdf-section-tag {
  color: #00A8C6;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
  display: block;
}

.pdf-section-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

/* Lista de Diferenciais com bullet teal */
.pdf-differentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 3.5rem;
}

.pdf-differential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.975rem;
  color: var(--slate-800);
  line-height: 1.5;
  font-weight: 500;
}

.pdf-teal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #00A8C6;
  flex-shrink: 0;
  margin-top: 7px;
}

/* Para Quem É (Pills em grade de 2 colunas como no PDF) */
.pdf-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.pdf-audience-pill {
  background-color: #EBF3F8;
  color: var(--navy-900);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Programa - 8 módulos com círculos numerados */
.pdf-program-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.pdf-program-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.pdf-num-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #00A8C6;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   SEÇÃO INFERIOR DO PDF: 3 COLUNAS
   TURMAS | HORÁRIO | INVESTIMENTO
   ========================================================================== */
.pdf-lower-section {
  padding: 3.5rem 0 4rem;
  background-color: #F8FAFC;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.pdf-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 2.5rem;
}

.pdf-lower-col {
  display: flex;
  flex-direction: column;
}

.pdf-cohort-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 0.5rem;
}

.pdf-cohort-dates {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.pdf-schedule-bold {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 0.5rem;
}

.pdf-schedule-sub {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

/* Investimento */
.pdf-price-cash {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--crimson);
  font-family: var(--font-display);
  line-height: 1.1;
  margin-top: 0.5rem;
}

.pdf-price-sub {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 0.75rem;
}

.pdf-price-installment {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.pdf-price-installment-sub {
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* ==========================================================================
   BANNER DE CTA: GARANTA SUA VAGA (IDÊNTICO AO PDF)
   ========================================================================== */
.pdf-cta-container {
  padding: 3rem 0;
}

.pdf-cta-box {
  background-color: #0B1B3D;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
}

.pdf-cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.pdf-cta-desc {
  font-size: 1rem;
  color: #CBD5E1;
}

.pdf-cta-email-badge {
  background-color: var(--white);
  color: var(--navy-900);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.pdf-cta-email-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pdf-red-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--crimson);
  flex-shrink: 0;
}

/* ==========================================================================
   FORMULÁRIO E GATEWAY (SOLICITADOS PELO USUÁRIO)
   ========================================================================== */
.form-section-wrapper {
  padding: 3.5rem 0 4.5rem;
  background-color: #F8FAFC;
}

.form-simple-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--slate-900);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(11, 27, 61, 0.1);
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

.gateway-placeholder-box {
  background: #FFFBEB;
  border: 1.5px dashed #F59E0B;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL PADRONIZADO (IDÊNTICO AO ORZA.COM.BR)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-300);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo-wrapper {
  background: #FFFFFF;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links li a {
  font-size: 0.875rem;
  color: var(--slate-300);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--slate-400);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .pdf-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pdf-middle-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pdf-lower-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pdf-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions .btn-crimson {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .pdf-hero-title {
    font-size: 2.25rem;
  }
  .pdf-hero-subtitle {
    font-size: 1.35rem;
  }
  .pdf-audience-grid {
    grid-template-columns: 1fr;
  }
}
