/**
 * CRM Fort — Design System
 * Site institucional e marketing
 * Agência Fort / A CLEBIO COSTA BISPO PUBLICIDADE LTDA
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores principais — alinhadas ao admin */
  --primary: #4a148c;
  --primary-light: #7c43bd;
  --primary-dark: #2d0a52;
  --accent: #00bcd4;
  --accent-light: #4dd0e1;

  /* Neutros */
  --text: #1a1a2e;
  --text-muted: #636e72;
  --text-light: #95a5a6;
  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.12);

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  --gradient-cta: linear-gradient(135deg, #4a148c 0%, #2d0a52 100%);

  /* Espaçamento */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Raios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  /* Transições */
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── HEADER / NAVBAR ── */
.site-header {
  background: var(--gradient-hero);
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: white;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.site-header .logo span {
  color: var(--accent-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.site-nav a:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.site-nav a.active {
  color: white;
  background: rgba(255,255,255,0.15);
}

.site-nav .btn-cta {
  background: var(--accent);
  color: white !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  margin-left: var(--space-sm);
}

.site-nav .btn-cta:hover {
  background: var(--accent-light);
}

/* Mobile menu toggle */
.site-header .menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: var(--space-sm);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) var(--space-xl);
}

.site-footer .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.site-footer .footer-brand h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.site-footer .footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.site-footer .footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.site-footer .footer-col li {
  margin-bottom: var(--space-sm);
}

.site-footer .footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color var(--transition);
}

.site-footer .footer-col a:hover {
  color: white;
}

.site-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.site-footer .footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.site-footer .footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.site-footer .footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.site-footer .footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: 0 4px 16px rgba(74, 20, 140, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 20, 140, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn-accent:hover {
  background: var(--accent-light);
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

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

/* ── SEÇÕES ── */
.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── RESPONSIVO ── */
@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 var(--space-md);
    height: 64px;
  }

  .site-nav {
    display: none;
  }

  .site-header .menu-toggle {
    display: block;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--gradient-hero);
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .hero {
    padding: 60px var(--space-md) 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    order: -1;
  }
}

/* ── HERO (landing) ── */
.hero {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  padding: 100px var(--space-xl) 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.95);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-width: 180px;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

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

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(74, 20, 140, 0.15);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.1), rgba(0, 188, 212, 0.1));
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

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

.faq-item summary {
  padding: var(--space-lg) var(--space-xl);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
}

.faq-item .faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-item .faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

.faq-item .faq-answer a:hover {
  color: var(--primary-dark);
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--gradient-cta);
  color: white;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  opacity: 0.9;
}

.cta-feature .check {
  width: 22px;
  height: 22px;
  background: rgba(76, 175, 80, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── PRICING CARDS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
}

.pricing-card:hover {
  border-color: rgba(74, 20, 140, 0.2);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(74, 20, 140, 0.2);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Mais popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.pricing-card .plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.pricing-card .plan-price {
  margin-bottom: var(--space-xl);
}

.pricing-card .plan-price .amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}

.pricing-card .plan-price .amount small {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card .plan-price .period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card .plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: var(--space-xl);
}

.pricing-card .plan-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card .plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .plan-cta {
  margin-top: auto;
}

.pricing-card .plan-cta .btn {
  width: 100%;
  justify-content: center;
}

.page-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 60px var(--space-xl) 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* ── ABOUT / QUEM SOMOS ── */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: var(--space-2xl) 0 var(--space-md);
}

.about-content h2:first-of-type {
  margin-top: 0;
}

.about-content a {
  color: var(--primary);
}

.about-content a:hover {
  text-decoration: underline;
}

.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-content ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.about-content li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.about-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
  border: 1px solid var(--border);
}

.about-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.about-info-card p,
.about-info-card address {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: normal;
}

.about-info-card a {
  color: var(--primary);
}

.about-info-card a:hover {
  text-decoration: underline;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.contact-info p,
.contact-info address {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-style: normal;
}

.contact-info a {
  color: var(--primary);
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
}

.contact-form .form-group {
  margin-bottom: var(--space-lg);
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: var(--space-md);
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .form-error {
  font-size: 13px;
  color: #c62828;
  margin-top: var(--space-xs);
}

.contact-form .form-error.form-alert {
  padding: var(--space-md);
  background: rgba(198, 40, 40, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.contact-form .form-success {
  font-size: 14px;
  color: #2e7d32;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: rgba(46, 125, 50, 0.1);
  border-radius: var(--radius-sm);
}

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

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

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

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(74, 20, 140, 0.15);
}

.blog-card-image,
img.blog-card-image {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--text);
  transition: color var(--transition);
}

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

.blog-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-card .read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-card .read-more:hover {
  color: var(--primary-dark);
}

/* ── HERO EXTENDED ── */
.hero-extended {
  padding: 100px var(--space-xl) 80px;
}

.hero-extended .hero-subtitle {
  max-width: 720px;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 17px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero-stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-light);
}

.hero-stat span {
  font-size: 13px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-placeholder,
.image-placeholder {
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.hero-image-placeholder {
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  min-height: 300px;
}

.hero-image {
  display: block;
  margin: var(--space-2xl) auto 0;
  max-width: min(1100px, 100%);
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.image-placeholder {
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.06), rgba(0, 188, 212, 0.06));
  border-color: var(--border-strong);
  min-height: 280px;
  width: 100%;
}

.placeholder-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  opacity: 0.8;
  text-align: center;
}

.hero-image-placeholder .placeholder-label {
  color: rgba(255,255,255,0.5);
}

/* ── TRUST BAR ── */
.trust-bar {
  padding: var(--space-xl) 0;
  text-align: center;
}

.trust-text {
  font-size: 15px;
  color: var(--text-muted);
}

.trust-text strong {
  color: var(--text);
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-title .section-label {
  display: block;
}

/* ── SECTION ALT ── */
.section-alt {
  background: var(--bg-card);
}

/* ── CONTENT BLOCK (text + visual side by side) ── */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.content-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-lg);
  line-height: 1.25;
}

.content-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.content-text p strong {
  color: var(--text);
}

.content-visual img,
.feature-detail-visual img {
  margin-left: auto;
  margin-right: auto;
}

/* ── PROBLEMS GRID ── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.problem-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
}

.problem-bad {
  border-left: 4px solid #e53935;
}

.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(229, 57, 53, 0.1);
  color: #e53935;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.problem-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.solution-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.divider-arrow {
  font-size: 24px;
  color: var(--primary);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.divider-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

/* ── FEATURE DETAIL (alternating layout) ── */
.feature-detail {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--border);
}

.feature-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.feature-detail-reverse .feature-detail-content {
  direction: rtl;
}

.feature-detail-reverse .feature-detail-content > * {
  direction: ltr;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.feature-detail-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.feature-detail-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.feature-detail-text p strong {
  color: var(--text);
}

.feature-list {
  list-style: none;
  margin: var(--space-lg) 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list li strong {
  color: var(--text);
}

.feature-code-hint {
  font-size: 13px !important;
  background: rgba(74, 20, 140, 0.04);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: var(--space-md);
}

.feature-code-hint code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: 14px;
}

/* ── FEATURE GRID 4 COLUMNS ── */
.feature-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ── STEPS GRID ── */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  transition: all var(--transition-slow);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-cta);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border-strong);
  margin-top: 48px;
  flex-shrink: 0;
}

/* ── AUDIENCE GRID ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.audience-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.audience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(74, 20, 140, 0.15);
}

.audience-icon {
  font-size: 36px;
  margin-bottom: var(--space-md);
}

.audience-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.audience-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── COMPARISON TABLE ── */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg);
  padding: var(--space-lg);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.comparison-table .highlight-col {
  background: rgba(74, 20, 140, 0.04);
}

.comparison-table th.highlight-col {
  background: var(--primary);
  color: white;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(74, 20, 140, 0.02);
}

.comparison-table tr:hover td.highlight-col {
  background: rgba(74, 20, 140, 0.08);
}

.check-yes {
  color: #2e7d32;
  font-weight: 700;
  font-size: 18px;
}

.check-no {
  color: #c62828;
  font-weight: 700;
  font-size: 18px;
}

.check-partial {
  color: #f57c00;
  font-weight: 600;
  font-size: 13px;
}

.table-category {
  text-align: left !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(74, 20, 140, 0.06) !important;
  padding: var(--space-md) var(--space-lg) !important;
  border-bottom: 2px solid rgba(74, 20, 140, 0.12) !important;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--primary);
  text-decoration: underline;
}

.pricing-note a:hover {
  color: var(--primary-dark);
}

/* ── TECH GRID ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-md);
  background: rgba(74, 20, 140, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.tech-item strong {
  font-size: 14px;
  color: var(--text);
}

.tech-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── SECURITY GRID ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.security-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.security-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.security-icon {
  font-size: 32px;
  margin-bottom: var(--space-md);
}

.security-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.security-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.security-card p strong {
  color: var(--text);
}

/* ── CTA BUTTONS ── */
.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 1024px) {
  .content-block,
  .feature-detail-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-detail-reverse .feature-detail-content {
    direction: ltr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat strong {
    font-size: 24px;
  }

  .step-connector {
    display: none;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .step-card {
    max-width: 100%;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table-wrapper {
    margin: 0 calc(-1 * var(--space-xl));
    border-radius: 0;
  }

  .btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 15px;
    width: 100%;
    max-width: 320px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ── MISSÃO VISÃO VALORES GRID ── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.mvv-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.mvv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mvv-icon {
  font-size: 36px;
  margin-bottom: var(--space-md);
}

.mvv-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.mvv-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  padding: var(--space-sm) 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  border-bottom: 1px solid var(--border);
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list li strong {
  color: var(--text);
}

/* ── REASONS GRID ── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.reason-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.reason-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.reason-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.reason-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.reason-card p strong {
  color: var(--text);
}

/* ── STATS GRID ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition-slow);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.stat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TECH STACK BAR ── */
.tech-stack-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.tech-tag {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: rgba(74, 20, 140, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

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

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-value {
    font-size: 32px;
  }
}

/* Blog post (artigo individual) */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: var(--space-2xl);
}

.blog-post-meta {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.blog-post h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.blog-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.blog-post-content p {
  margin-bottom: var(--space-lg);
}

.blog-post-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--text);
}

.blog-post-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: var(--space-xl) 0 var(--space-sm);
  color: var(--text);
}

.blog-post-content ul,
.blog-post-content ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.blog-post-content li {
  margin-bottom: var(--space-sm);
}

.blog-post-content a {
  color: var(--primary);
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: var(--primary-dark);
}

.blog-post-back {
  margin-bottom: var(--space-xl);
}

.blog-post-back a {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-post-back a:hover {
  color: var(--primary);
}

/* ── BLOG PAGINATION ── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.pagination-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination-next,
.pagination-prev {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.pagination-next:hover,
.pagination-prev:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination-info {
  font-size: 13px;
  color: var(--text-light);
  margin-left: var(--space-md);
}

.blog-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card h2 a {
  color: var(--text);
  transition: color var(--transition);
}

.blog-card h2 a:hover {
  color: var(--primary);
}

/* ── BLOG POST CTA BOX ── */
.blog-cta-box {
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.06), rgba(0, 188, 212, 0.06));
  border: 1px solid rgba(74, 20, 140, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
  text-align: center;
}

.blog-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.blog-cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: var(--space-md) !important;
}

.blog-cta-box .btn {
  margin: 0 var(--space-xs);
}

.blog-related {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.blog-related h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.blog-related-list {
  list-style: none;
  padding: 0;
}

.blog-related-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.blog-related-list li:last-child {
  border-bottom: none;
}

.blog-related-list a {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

.blog-related-list a:hover {
  text-decoration: underline;
}
