/* ============================================================
   CTEC — Design System (site estatico)
   Paleta baseada nas cores oficiais da marca (Elementor kit)
   Azul primario: #01458E | Azul claro: #6EC1E4 | Verde: #61CE70
   ============================================================ */

/* --- Icones Lucide --- */
svg.lucide,
.lucide {
  display: inline-block;
  vertical-align: middle;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  stroke-width: 2.2;
}

/* --- Variaveis CSS --- */
:root {
  /* Marca */
  --brand: #01458E;
  --brand-dark: #012B5C;
  --brand-darker: #011A3A;
  --brand-light: #6EC1E4;
  --brand-lighter: #E8F4FD;
  --accent: #61CE70;
  --accent-hover: #4CB85C;
  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;

  /* Superficies */
  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --bg-dark: #012B5C;
  --bg-card: #FFFFFF;

  /* Texto */
  --text: #374151;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;
  --text-heading: #012B5C;

  /* Bordas e sombras */
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow: 0 4px 24px rgba(1, 69, 142, 0.08);
  --shadow-lg: 0 12px 40px rgba(1, 69, 142, 0.14);
  --shadow-sm: 0 2px 8px rgba(1, 69, 142, 0.06);

  /* Forma */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Tipografia */
  --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Transicao */
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Grids --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(1, 69, 142, 0.08);
  color: var(--brand);
  border: 1px solid rgba(1, 69, 142, 0.15);
}

.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.25);
}

.badge-accent {
  background: rgba(97, 206, 112, 0.12);
  color: #2D7A3A;
  border-color: rgba(97, 206, 112, 0.25);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li > a,
.nav-menu > li > .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.nav-menu > li > a:hover,
.nav-menu > li > .dropdown-toggle:hover {
  background: var(--brand-lighter);
  color: var(--brand);
  text-decoration: none;
}

.nav-menu .btn-download {
  background: var(--brand);
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.nav-menu .btn-download:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle .lucide,
.dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.dropdown.active .dropdown-toggle .lucide,
.dropdown.active .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  list-style: none;
  margin: 0;
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 400;
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--brand-lighter);
  color: var(--brand);
  text-decoration: none;
}

.dropdown-menu li a .lucide {
  width: 18px;
  height: 18px;
  color: var(--brand-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Pattern decorativo no hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(110, 193, 228, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(97, 206, 112, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero .badge {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Botoes --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn .lucide {
  width: 20px;
  height: 20px;
}

/* Primario (azul) */
.btn-primary {
  background: var(--brand);
  color: var(--text-light);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--text-light) !important;
  box-shadow: 0 6px 20px rgba(1, 69, 142, 0.3);
}

/* WhatsApp (verde) */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--text-light);
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  color: var(--text-light) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Outline (branco no hero) */
.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--text-light) !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

/* Outline azul */
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--text-light) !important;
  box-shadow: 0 6px 20px rgba(1, 69, 142, 0.25);
}

/* Claro (para hero dark) */
.btn-light {
  background: var(--bg);
  color: var(--brand);
  border-color: var(--bg);
}

.btn-light:hover {
  background: var(--brand-lighter);
  border-color: var(--brand-lighter);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(1, 69, 142, 0.15);
}

/* --- Module Cards --- */
.module-card {
  text-align: center;
  padding: 32px 24px;
}

.module-card .icon-circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand-lighter);
  margin: 0 auto 18px;
  transition: background var(--transition), transform var(--transition);
}

.module-card:hover .icon-circle {
  background: var(--brand-light);
  transform: scale(1.08);
}

.module-card .icon-circle .lucide {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.module-card:hover .icon-circle .lucide {
  color: var(--text-light);
}

.module-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.module-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* --- Planos Cards --- */
.plan-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-light);
  transition: background var(--transition);
}

.plan-card:hover::before {
  background: var(--brand);
}

.plan-card .plan-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-card .plan-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.plan-card .plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- Por que CTEC (stats) --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

/* --- Depoimentos --- */
.testimonial-card {
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: var(--brand-lighter);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  border-color: rgba(1, 69, 142, 0.2);
}

.faq-item.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--brand);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.faq-question .faq-icon .lucide {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CTA Final --- */
.cta-final {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* --- Footer --- */
.footer {
  background: var(--brand-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: block;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.footer-brand .cnpj {
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer h4 {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-light);
  text-decoration: none;
}

.footer-contato-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contato-item .lucide {
  width: 18px;
  height: 18px;
  color: var(--brand-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contato-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contato-item a:hover {
  color: var(--text-light);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--brand);
  color: var(--text-light);
  text-decoration: none;
}

.footer-social a .lucide {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--text-light);
  text-decoration: none;
}

/* --- WhatsApp Flutuante --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  color: var(--text-light) !important;
}

.whatsapp-float .lucide {
  width: 28px;
  height: 28px;
}

/* Animacao de pulso sutil */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: whatsappPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* --- Icon Circle (utilitario) --- */
.icon-circle {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

.icon-circle .lucide {
  width: 1.5rem;
  height: 1.5rem;
}

/* --- Utilitarios --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }

/* --- Responsivo: Tablet --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Responsivo: Mobile --- */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu > li > a,
  .nav-menu > li > .dropdown-toggle {
    padding: 12px 0;
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu .btn-download {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
    background: transparent;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 0;
    color: var(--text-muted);
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 130px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .section-title { font-size: 1.65rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 36px; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .stat-number { font-size: 2rem; }
  .cta-final h2 { font-size: 1.65rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.7rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-float .lucide { width: 24px; height: 24px; }
}

/* ============================================================
   Componentes de pagina
   ============================================================ */

/* --- Page Header (paginas internas) --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-top: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.page-header .badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.25);
}

/* --- Plan Features (listas de planos) --- */
.plan-features {
  text-align: left;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.plan-features li {
  padding: 5px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li.plan-feature-included {
  color: var(--text);
}

.plan-features li.plan-feature-included > span:first-child {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-features li.plan-feature-excluded {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-features li.plan-feature-excluded > span:first-child {
  color: #ccc;
  flex-shrink: 0;
}

/* --- Price Card (certificado digital) --- */
.price-card {
  text-align: center;
  padding: 28px 20px;
}

.price-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.price-card .price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--brand);
  margin: 12px 0 4px;
  line-height: 1;
}

.price-card .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card .price-from {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.price-card .btn {
  margin-top: 12px;
  width: 100%;
}

/* --- Group Title (certificado digital) --- */
.group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 40px 0 20px;
  text-align: center;
}

.group-title:first-child {
  margin-top: 0;
}

/* --- Diff List (certificado digital) --- */
.diff-list {
  max-width: 760px;
  margin: 0 auto;
}

.diff-list .card {
  margin-bottom: 16px;
}

.diff-list h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.diff-list ul {
  padding-left: 20px;
  list-style: disc;
  color: var(--text);
}

.diff-list ul li {
  margin-bottom: 6px;
}

/* --- Partner Logo --- */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.partner-logo img {
  max-height: 80px;
  width: auto;
}

/* ============================================================
   Blog e Base de Conhecimento
   ============================================================ */

/* --- Blog Card --- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(1, 69, 142, 0.15);
  text-decoration: none;
}

.blog-card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand);
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --- Post Meta --- */
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-meta-item .lucide {
  width: 16px;
  height: 16px;
}

.post-meta-category {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.post-meta-category:hover {
  text-decoration: underline;
}

/* --- Category Chip --- */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.category-chip:hover {
  background: var(--brand-lighter);
  color: var(--brand);
  border-color: var(--brand-light);
  text-decoration: none;
}

.category-chip.active {
  background: var(--brand);
  color: var(--text-light);
  border-color: var(--brand);
}

/* --- Search Box --- */
.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
}

.search-box-input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(1, 69, 142, 0.1);
}

.search-box-input::placeholder {
  color: var(--text-muted);
}

.search-box-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-box-icon .lucide {
  width: 20px;
  height: 20px;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.pagination-btn:hover:not(.active):not(:disabled) {
  background: var(--brand-lighter);
  color: var(--brand);
  border-color: var(--brand-light);
  text-decoration: none;
}

.pagination-btn.active {
  background: var(--brand);
  color: var(--text-light);
  border-color: var(--brand);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-btn .lucide {
  width: 16px;
  height: 16px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* --- Article Body (tipografia do conteúdo renderizado) --- */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.75rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-heading);
}

.article-body h3 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.article-body h4 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 20px;
  padding-left: 28px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body a {
  color: var(--brand);
  text-decoration: underline;
  transition: color var(--transition);
}

.article-body a:hover {
  color: var(--brand-dark);
}

.article-body strong {
  font-weight: 700;
  color: var(--text-heading);
}

.article-body em {
  font-style: italic;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--brand-light);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text);
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article-body table th,
.article-body table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.article-body table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text-heading);
}

.article-body table tr:nth-child(even) {
  background: var(--bg-alt);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
}

.article-body pre {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
}

.article-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* --- KB Category Card --- */
.kb-category-card {
  display: block;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition-slow);
  text-decoration: none;
  color: inherit;
}

.kb-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-light);
  text-decoration: none;
}

.kb-category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand-lighter);
  margin: 0 auto 16px;
  transition: background var(--transition), transform var(--transition);
}

.kb-category-card:hover .kb-category-icon {
  background: var(--brand-light);
  transform: scale(1.08);
}

.kb-category-icon .lucide {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.kb-category-card:hover .kb-category-icon .lucide {
  color: var(--text-light);
}

.kb-category-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.kb-category-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- KB Article List --- */
.kb-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kb-article-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.kb-article-item:last-child {
  border-bottom: none;
}

.kb-article-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}

.kb-article-link:hover {
  background: var(--bg-alt);
  color: var(--brand);
  text-decoration: none;
}

.kb-article-link .lucide {
  width: 20px;
  height: 20px;
  color: var(--brand-light);
  flex-shrink: 0;
}

.kb-article-title {
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Article Navigation (prev/next) --- */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  max-width: 45%;
}

.article-nav-link:hover {
  border-color: var(--brand-light);
  background: var(--bg-alt);
  text-decoration: none;
}

.article-nav-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
}

.article-nav-next {
  margin-left: auto;
  text-align: right;
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--border);
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Video Wrapper (responsivo 16:9) --- */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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