/* ========================================
   FACULDADE QUADRANGULAR - CSS Principal
   Otimizado para Performance (Core Web Vitals)
   ======================================== */

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a3a5c;
  --primary-light: #2c5f8a;
  --primary-dark: #0f2440;
  --accent: #d4a843;
  --accent-light: #e8c36a;
  --accent-dark: #b8912e;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --bg-dark: #edf2f7;
  --success: #38a169;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

/* Header left group: hamburger + logo */
.header-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  line-height: 1.2;
}

.logo-text .logo-word-1 {
  color: var(--primary);
}

.logo-text .logo-word-2 {
  color: var(--accent-dark);
}

/* Desktop nav: inline links */
.nav-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-main > a:not(.nav-cta),
.nav-main > .nav-dropdown > .nav-dropdown-toggle {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.nav-main > a:not(.nav-cta):hover,
.nav-main > a:not(.nav-cta).active,
.nav-main > .nav-dropdown:hover > .nav-dropdown-toggle {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

/* Dropdown container */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 10px rgba(0,0,0,0.06);
  padding: 0.75rem 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
  border: 1px solid var(--border);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.15s;
  white-space: nowrap;
  border-bottom: none !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(26, 58, 92, 0.06);
  color: var(--primary);
}

.nav-dropdown-menu .dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  background: rgba(26, 58, 92, 0.08);
}

.nav-dropdown-menu .dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0.85rem;
}

.nav-main > a.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  border-bottom: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-main > a.nav-cta:hover {
  background: var(--primary-light);
  color: #fff !important;
}

/* Close button — not used (hamburger transforms to X) */
.nav-close {
  display: none;
}

/* Hamburger toggle — hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  transition: background 0.2s;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(15, 36, 64, 0.06);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) { margin-bottom: 4px; }
.menu-toggle span:nth-child(2) { margin-bottom: 4px; width: 16px; }
.menu-toggle span:nth-child(3) { width: 22px; }

/* Header right CTA — hidden on desktop (CTA is inside nav) */
.header-cta {
  display: none;
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.header-cta:hover {
  background: var(--primary-light);
  color: #fff;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M100 0L200 100L100 200L0 100Z'/%3E%3C/svg%3E") repeat;
  background-size: 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,168,67,0.2);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212,168,67,0.3);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Stats bar */
.stats-bar {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-alt);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Course Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.course-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.course-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 1.5rem 2rem;
}

.course-type {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.course-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.course-body {
  padding: 1.5rem 2rem;
}

.course-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.course-body li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}

.course-body li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.course-price {
  font-size: 0.9rem;
  color: var(--text-light);
}

.course-price strong {
  font-size: 1.1rem;
  color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* FAQ */
.faq-section {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-light);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.email-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.email-form input:focus {
  border-color: var(--accent);
}

/* ========================================
   BLOG PREVIEW
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 4rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: inherit;
}

.blog-card-body h3 a:hover {
  color: var(--primary-light);
}

.blog-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.site-footer .logo-icon {
  width: 46px;
  height: 46px;
}
.site-footer .logo-word-1 {
  color: #fff;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

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

.footer-col a:hover {
  color: var(--accent);
}

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

.footer-disclaimer {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-light);
}

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

.breadcrumbs span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* ========================================
   ARTICLE / BLOG POST
   ======================================== */
.article-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 3rem 0;
}

.article-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  max-width: 800px;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.article-content table th,
.article-content table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--primary);
}

.article-content table tr:hover {
  background: var(--bg-alt);
}

.info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.info-box p {
  margin-bottom: 0;
}

/* Affiliate Recommendation Box */
.affiliate-box {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.affiliate-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.affiliate-box-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.affiliate-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  border: 1px solid #fde68a;
  transition: box-shadow var(--transition);
}

.affiliate-item:hover {
  box-shadow: var(--shadow-md);
}

.affiliate-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.affiliate-item-body {
  flex: 1;
  min-width: 0;
}

.affiliate-item-body strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.affiliate-item-body span {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

.affiliate-item-link {
  flex-shrink: 0;
  align-self: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
}

.affiliate-item-link:hover {
  background: var(--accent-dark);
  color: #fff;
}

.affiliate-box-footer {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: var(--text-light);
  opacity: 0.8;
}

@media (max-width: 480px) {
  .affiliate-item {
    flex-wrap: wrap;
  }
  .affiliate-item-link {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-bar {
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
}

/* ========================================
   MOBILE ≤ 768px — reescrito do zero
   Cada propriedade desktop é explicitamente
   anulada para evitar vazamento.
   ======================================== */
@media (max-width: 768px) {

  /* ─── HAMBURGER ─── */
  .menu-toggle {
    display: flex;          /* desktop: none */
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ─── LOGO ─── */
  .logo {
    gap: 0.5rem;
  }
  .logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .logo-text {
    flex-direction: column;   /* desktop: row */
    gap: 0;                   /* desktop: 0.3rem */
    line-height: 1.05;        /* desktop: 1.2 */
  }
  .logo-text .logo-word-1 {
    font-size: 1.3rem;
    font-weight: 800;
  }
  .logo-text .logo-word-2 {
    font-size: 1.05rem;
    font-weight: 700;
  }
  /* Footer logo 10% maior no mobile */
  .site-footer .logo-icon {
    width: 50px;
    height: 50px;
  }

  /* ─── HEADER CTA (pill dourado ao lado da logo) ─── */
  .header-cta {
    display: inline-flex;      /* desktop: none */
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(212,168,67,0.3);
    transition: all 0.2s;
  }
  .header-cta:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
  }

  /* ─── NAV CLOSE (não usado) ─── */
  .nav-close { display: none !important; }

  /* ─── PAINEL DO MENU ───
     Reseta TODAS as props do desktop:
     display, align-items, gap, position, etc. */
  .nav-main {
    /* esconde por padrão */
    display: none !important;
    /* posicionamento */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* visual */
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    /* layout (anula desktop flex row + gap) */
    flex-direction: column;
    align-items: stretch;
    gap: 0;                   /* desktop: 1.75rem — O BUG */
    /* espaçamento */
    padding: 0.5rem 0;
    /* scroll */
    max-height: 75vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }
  .nav-main.open {
    display: flex !important;
  }

  /* ─── LINKS PRINCIPAIS ───
     Reseta desktop: padding 0.5rem 0, border-bottom 2px,
     background: none, font-size 0.95rem */
  .nav-main > a:not(.nav-cta) {
    display: block;
    padding: 0.75rem 1.25rem;       /* generoso mas não enorme */
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;                    /* anula border-bottom desktop */
    border-bottom: none !important;
    background: none;
    transition: background 0.15s, color 0.15s;
  }
  .nav-main > a:not(.nav-cta):hover,
  .nav-main > a:not(.nav-cta).active {
    background: var(--bg-alt);
    color: var(--primary);
    border-bottom: none !important;
  }

  /* ─── DROPDOWNS (Ferramentas, Blog) ─── */
  .nav-dropdown {
    position: static;              /* desktop: relative */
    border-top: 1px solid var(--border);
  }

  /* Toggle label — precisa especificidade alta para vencer
     o desktop .nav-main > .nav-dropdown > .nav-dropdown-toggle */
  .nav-main > .nav-dropdown > .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: none !important;
  }
  .nav-main > .nav-dropdown > .nav-dropdown-toggle::after {
    margin-left: auto;
    margin-top: 0;
    transition: transform 0.2s;
  }

  /* ─── SUBMENU (escondido por padrão) ───
     Reseta TODAS as props do desktop dropdown-menu:
     position absolute, opacity 0, visibility hidden,
     transform translateX(-50%), min-width 220px, etc. */
  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: var(--bg-alt);
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.25rem 0;
    min-width: 0;               /* desktop: 220px */
    display: none;               /* escondido até .open */
    flex-direction: column;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
  }
  .nav-dropdown.open > .nav-dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }

  /* Desativa hover do desktop que abre dropdown */
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none;
  }
  .nav-dropdown.open:hover .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex;
  }

  /* Sub-itens */
  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem 0.6rem 2.5rem;  /* recuo subitens: mais à direita */
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0;              /* desktop: 0.5rem */
    white-space: normal;            /* desktop: nowrap */
    transition: background 0.15s, color 0.15s;
  }
  .nav-dropdown-menu a:hover {
    background: rgba(26,58,92,0.06);
    color: var(--primary);
  }

  /* Ícones dos subitens */
  .nav-dropdown-menu .dropdown-icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    font-size: 0.75rem;
    background: #fff;
    flex-shrink: 0;
  }

  /* Separador escondido no mobile */
  .nav-dropdown-menu .dropdown-sep {
    display: none;
  }

  /* ─── CTA DEVOCIONAL DIÁRIO (dentro do menu) ───
     Reseta desktop: background primary, padding 0.6rem 1.25rem,
     border-radius var(--radius), font-size 0.9rem */
  .nav-main > a.nav-cta {
    display: block !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    margin: 0.5rem 1rem;
    padding: 0.75rem 1.25rem;
    border: none !important;
    border-bottom: none !important;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(212,168,67,0.3);
    letter-spacing: 0.01em;
    transition: all 0.2s;
  }
  .nav-main > a.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent)) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(212,168,67,0.4);
  }

  /* ─── LAYOUT GERAL ─── */
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
  .stats-bar { flex-direction: column; gap: 1.25rem; }
  .features-grid,
  .courses-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .email-form { flex-direction: column; }
  section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.6rem; }
}

/* ========================================
   MOBILE PEQUENO ≤ 480px
   ======================================== */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .container { padding: 0 1rem; }
  .header-inner { height: 60px; }

  .logo { gap: 0.35rem; }
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  .logo-text .logo-word-1 { font-size: 1.1rem; }
  .logo-text .logo-word-2 { font-size: 0.9rem; }
  /* Footer logo 10% maior no mobile pequeno */
  .site-footer .logo-icon {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 0.35rem;
  }
  .menu-toggle span { width: 18px; }
  .menu-toggle span:nth-child(2) { width: 14px; }
}

/* ========================================
   PRINT
   ======================================== */
@media print {
  .site-header,
  .site-footer,
  .cta-section,
  .menu-toggle {
    display: none;
  }
  
  .hero {
    background: #fff;
    color: #000;
    padding: 1rem 0;
  }
  
  .hero h1 {
    color: #000;
  }
}
