/*
Theme Name: Marketeria Theme
Theme URI: https://marketeria.net.br
Description: Tema WordPress personalizado para o funil de vendas da Marketeria com identidade visual completa + Growth Grader (Performance, SEO, Segurança)
Version: 1.2.0
Author: Marketeria
Author URI: https://marketeria.net.br
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marketeria
Tags: marketing, sales-funnel, business, one-page, landing-pages, performance, seo, growth

Tema desenvolvido especificamente para o funil de vendas da Marketeria.
Inclui páginas de captura de leads, chat de qualificação, integração com WhatsApp e Leadster.

NOVO na v1.2.0 - GROWTH GRADER:
🚀 Performance otimizada (lazy loading, WebP, caching)
🔍 SEO avançado (Schema markup, Open Graph, sitemaps)
🔒 Segurança reforçada (headers, CSRF, sanitização)
🎨 Sistema de componentes reutilizáveis
📖 Documentação completa

v1.1.0:
✨ 6 Landing Page Templates profissionais
✨ Funil Gerador Automático de Clientes
✨ Lead Magnet / Opt-in
✨ Application / Diagnostic (3 páginas)
✨ Tripwire + Upsell (3 páginas)
✨ Service Landing Page
✨ Apollo.io Style Signup
✨ Sistema modular de placeholders
✨ CSS otimizado e responsivo
*/

/* ==========================================================================
   CORES DA MARCA MARKETERIA
   ========================================================================== */
:root {
  --marketeria-blue: #023F85;
  --marketeria-green: #62C3A4;
  --marketeria-yellow: #D3A518;
  --marketeria-orange: #A8401D;
  --marketeria-gradient: linear-gradient(135deg, #023F85 0%, #62C3A4 100%);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Responsive base font size */
html {
  font-size: 16px;
}

@media (max-width: 479px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Comfortaa', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Prevent horizontal scroll on mobile */
html {
  overflow-x: hidden;
}

/* Better image rendering */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Better text wrapping and overflow handling */
p, li, td, th, .content-block {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Prevent long URLs from breaking layout */
a {
  word-break: break-word;
}

/* Better table responsiveness */
table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

@media (max-width: 767px) {
  table {
    font-size: 0.875rem;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--marketeria-green);
  outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--marketeria-blue);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-to-main:focus {
  top: 0;
}

/* ==========================================================================
   GRADIENTE DE FUNDO MARKETERIA
   ========================================================================== */
.marketeria-gradient {
  background: linear-gradient(135deg, #023F85 0%, #62C3A4 100%);
  min-height: 100vh;
  background-attachment: fixed;
}

/* Disable fixed background on mobile for better performance */
@media (max-width: 767px) {
  .marketeria-gradient {
    background-attachment: scroll;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 32px;
  width: auto;
  max-width: 100%;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-navigation a {
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-navigation a:hover {
  color: var(--marketeria-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--marketeria-blue);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--marketeria-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 1rem;
  text-align: center;
  color: white;
}

@media (max-width: 767px) {
  .hero-section {
    padding: 3rem 1rem 2.5rem;
  }
}

@media (max-width: 479px) {
  .hero-section {
    padding: 2.5rem 0.75rem 2rem;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title .highlight {
  color: #fbbf24;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile optimizations for cards */
@media (max-width: 767px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.75rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }
}

@media (max-width: 479px) {
  .benefit-card {
    padding: 1.25rem;
  }

  .benefit-title {
    font-size: 1rem;
  }

  .benefit-description {
    font-size: 0.9rem;
  }
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-description {
  opacity: 0.8;
}

/* ==========================================================================
   FORMULÁRIO DE CAPTURA
   ========================================================================== */
.capture-form-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.capture-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.capture-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.capture-card-title {
  font-size: 1.5rem;
  color: var(--marketeria-blue);
  margin-bottom: 0.5rem;
}

.capture-card-description {
  color: #666;
}

.capture-form .form-group {
  margin-bottom: 1rem;
}

.capture-form input[type="text"],
.capture-form input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.capture-form input[type="text"]:focus,
.capture-form input[type="email"]:focus {
  outline: none;
  border-color: var(--marketeria-blue);
}

/* Mobile-friendly form inputs - prevents zoom on iOS */
@media (max-width: 767px) {
  .capture-form input[type="text"],
  .capture-form input[type="email"],
  .chat-input,
  .newsletter-form input[type="email"] {
    font-size: 16px;
  }
}

.capture-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--marketeria-green);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.capture-form button[type="submit"]:hover {
  background: #4fa889;
}

/* ==========================================================================
   URGÊNCIA
   ========================================================================== */
.urgency-banner {
  margin-top: 2rem;
  text-align: center;
  color: #fbbf24;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   PÁGINA DE ENTREGA
   ========================================================================== */
.delivery-page {
  padding: 3rem 1rem;
}

.delivery-confirmation {
  text-align: center;
  margin-bottom: 3rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.content-preview {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   CHAT DE QUALIFICAÇÃO
   ========================================================================== */
.chat-container {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.chat-header {
  background: var(--marketeria-blue);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.chat-messages {
  padding: 1.5rem;
  max-height: 500px;
  overflow-y: auto;
}

/* Mobile Chat Improvements */
@media (max-width: 767px) {
  .chat-container {
    margin: 1rem;
    border-radius: 0.5rem;
  }

  .chat-header {
    padding: 1rem;
    font-size: 1.125rem;
  }

  .chat-messages {
    padding: 1rem;
    max-height: 400px;
  }

  .chat-input-container {
    padding: 0.75rem;
  }

  .chat-button {
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 479px) {
  .chat-container {
    margin: 0.5rem;
  }

  .chat-messages {
    max-height: 350px;
    padding: 0.75rem;
  }
}
  height: 500px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  display: flex;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-bot {
  justify-content: flex-start;
}

.message-user {
  justify-content: flex-end;
}

.message-bubble {
  max-width: 70%;
  padding: 1rem;
  border-radius: 1rem;
}

.message-bot .message-bubble {
  background: #f3f4f6;
  border-bottom-left-radius: 0.25rem;
}

.message-user .message-bubble {
  background: var(--marketeria-blue);
  color: white;
  border-bottom-right-radius: 0.25rem;
}

.chat-input-container {
  padding: 1rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.chat-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.chat-button {
  width: 100%;
  padding: 0.75rem;
  background: var(--marketeria-green);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--marketeria-green);
  color: white;
}

.btn-primary:hover {
  background: #4fa889;
}

.btn-primary:active {
  background: #3d9a7a;
  transform: scale(0.98);
}

.btn-secondary {
  background: var(--marketeria-blue);
  color: white;
}

.btn-secondary:hover {
  background: #012e62;
}

.btn-secondary:active {
  background: #001e43;
  transform: scale(0.98);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.btn-whatsapp:active {
  background: #128c42;
  transform: scale(0.98);
}

/* Mobile button optimizations */
@media (max-width: 767px) {
  .btn {
    min-height: 44px;
    padding: 0.875rem 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  
  .btn:active {
    transform: scale(0.98);
  }
}

/* ==========================================================================
   SEÇÃO INSTITUCIONAL
   ========================================================================== */
.about-section {
  padding: 3rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile content grid */
@media (max-width: 767px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.content-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.8;
}

.footer-content p {
  margin-bottom: 0.75rem;
}

.footer-content a {
  word-break: break-word;
}

@media (max-width: 479px) {
  .site-footer {
    padding: 1.5rem 0.75rem;
  }
  
  .footer-content {
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================================================== */

/* Small Mobile Devices (320px - 479px) */
@media (max-width: 479px) {
  .site-logo img {
    height: 28px;
  }
  
  .site-navigation .site-url {
    display: none;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
}

/* Mobile Devices (480px - 767px) */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .site-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 999;
    gap: 1.5rem;
  }
  
  .site-navigation.active {
    left: 0;
  }
  
  .site-navigation a {
    font-size: 1.125rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .site-navigation .site-url {
    margin-top: auto;
    font-size: 0.875rem;
    color: #999;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .capture-card {
    padding: 1.5rem;
  }
  
  .capture-form input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Improved Touch Targets - Minimum 44x44px for mobile */
@media (max-width: 767px) {
  .btn,
  .site-navigation a,
  .mobile-menu-toggle {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .site-navigation a {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   SPINNER DE CARREGAMENTO
   ========================================================================== */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--marketeria-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

@media (max-width: 479px) {
  .container {
    padding: 0 0.75rem;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

.text-center {
  text-align: center;
}

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* ==========================================================================
   BLOG STYLES - SINGLE POST
   ========================================================================== */
.blog-single {
  padding: 2rem 0;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  padding: 0 1rem;
}

.blog-post-single {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-single .post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.blog-post-single .entry-header {
  margin-bottom: 2rem;
}

.blog-post-single .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.blog-post-single .post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-post-single .post-meta .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.blog-post-single .entry-title {
  font-size: 2.5rem;
  color: var(--marketeria-blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-post-single .entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.blog-post-single .entry-content p {
  margin-bottom: 1.5rem;
}

.blog-post-single .entry-content h2,
.blog-post-single .entry-content h3,
.blog-post-single .entry-content h4 {
  color: var(--marketeria-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-single .entry-content ul,
.blog-post-single .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-single .entry-content li {
  margin-bottom: 0.5rem;
}

.blog-post-single .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.blog-post-single .entry-footer {
  padding-top: 1.5rem;
  border-top: 2px solid #f0f0f0;
  margin-bottom: 2rem;
}

.blog-post-single .post-tags {
  font-size: 0.95rem;
}

.blog-post-single .post-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--marketeria-green);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background 0.3s ease;
}

.blog-post-single .post-tags a:hover {
  background: var(--marketeria-blue);
}

/* Post Navigation */
.post-navigation {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  display: block;
}

.post-navigation a {
  display: block;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-navigation a:hover {
  background: var(--marketeria-green);
  color: white;
  transform: translateY(-2px);
}

.post-navigation .nav-subtitle {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.post-navigation a:hover .nav-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.post-navigation .nav-title {
  display: block;
  font-weight: 600;
  color: var(--marketeria-blue);
}

.post-navigation a:hover .nav-title {
  color: white;
}

/* ==========================================================================
   BLOG SIDEBAR
   ========================================================================== */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
  color: var(--marketeria-blue);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar-widget.cta-widget {
  background: linear-gradient(135deg, var(--marketeria-blue) 0%, var(--marketeria-green) 100%);
  color: white;
  text-align: center;
}

.sidebar-widget.cta-widget h3 {
  color: white;
}

.sidebar-widget.cta-widget p {
  margin-bottom: 1rem;
}

.sidebar-widget .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--marketeria-blue);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.sidebar-widget .cta-button:hover {
  background: var(--marketeria-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.recent-posts-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.recent-posts-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-posts-list a {
  color: var(--marketeria-blue);
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.recent-posts-list a:hover {
  color: var(--marketeria-green);
}

.recent-post-date {
  font-size: 0.85rem;
  color: #666;
}

/* ==========================================================================
   BLOG ARCHIVE / LISTING
   ========================================================================== */
.blog-archive {
  padding: 2rem 0;
}

.blog-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-header {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-header .page-title {
  font-size: 2.5rem;
  color: var(--marketeria-blue);
  margin-bottom: 0.5rem;
}

.page-header .archive-subtitle {
  font-size: 1.1rem;
  color: #666;
}

.page-header .archive-description {
  margin-top: 1rem;
  color: #666;
}

/* Blog Grid Layout */
.blog-archive-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.blog-post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.blog-post-card .post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.blog-post-card .post-content-wrapper {
  padding: 1.5rem;
}

.blog-post-card .post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.blog-post-card .post-category a {
  color: var(--marketeria-green);
  text-decoration: none;
  font-weight: 600;
}

.blog-post-card .entry-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-post-card .entry-title a {
  color: var(--marketeria-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post-card .entry-title a:hover {
  color: var(--marketeria-green);
}

.blog-post-card .entry-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-post-card .read-more {
  display: inline-block;
  color: var(--marketeria-blue);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-post-card .read-more:hover {
  color: var(--marketeria-green);
  transform: translateX(5px);
}

/* Blog Archive Sidebar */
.blog-archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-archive-sidebar .sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.categories-widget ul,
.tags-widget .tag-cloud {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget li {
  margin-bottom: 0.75rem;
}

.categories-widget a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.categories-widget a:hover {
  color: var(--marketeria-blue);
}

.tag-cloud a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  margin: 0.25rem;
  transition: all 0.3s ease;
}

.tag-cloud a:hover {
  background: var(--marketeria-green);
  color: white;
}

/* Pagination */
.pagination-wrapper {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.pagination-wrapper .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
  background: var(--marketeria-blue);
  color: white;
}

.pagination-wrapper .page-numbers.dots {
  background: transparent;
}

/* No Posts Found */
.no-posts-found {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-posts-found h2 {
  color: var(--marketeria-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-posts-found p {
  color: #666;
  margin-bottom: 1.5rem;
}

.back-home-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--marketeria-green);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-home-button:hover {
  background: var(--marketeria-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   BLOG HOME / FEATURED POST
   ========================================================================== */
.blog-home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.featured-post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.featured-post-thumbnail {
  overflow: hidden;
}

.featured-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-post:hover .featured-post-thumbnail img {
  transform: scale(1.1);
}

.featured-post-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--marketeria-yellow);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 1rem;
  width: fit-content;
}

.featured-post-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.featured-post-title a {
  color: var(--marketeria-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-post-title a:hover {
  color: var(--marketeria-green);
}

.featured-post-excerpt {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
}

.read-more-featured {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--marketeria-green);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
}

.read-more-featured:hover {
  background: var(--marketeria-blue);
  transform: translateX(5px);
}

.blog-content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.blog-posts-section {
  min-width: 0;
}

.section-title {
  font-size: 1.75rem;
  color: var(--marketeria-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--marketeria-green);
}

.blog-home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--marketeria-blue) 0%, var(--marketeria-green) 100%);
  color: white;
}

.newsletter-widget h3 {
  color: white;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--marketeria-yellow);
}

.newsletter-submit {
  padding: 0.75rem;
  background: white;
  color: var(--marketeria-blue);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-submit:hover {
  background: var(--marketeria-yellow);
  transform: translateY(-2px);
}

.categories-widget .count {
  color: #999;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN - BLOG
   ========================================================================== */

/* Small Mobile - Blog */
@media (max-width: 479px) {
  .blog-post-single {
    padding: 1.25rem;
  }

  .blog-post-single .entry-title {
    font-size: 1.5rem;
  }

  .blog-post-single .entry-content {
    font-size: 1rem;
  }

  .page-header .page-title {
    font-size: 1.5rem;
  }

  .featured-post-title {
    font-size: 1.25rem;
  }

  .sidebar-widget {
    padding: 1.25rem;
  }
}

/* Mobile & Tablet - Blog */
@media (max-width: 1023px) {
  .blog-container,
  .blog-archive-container,
  .blog-content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .blog-archive-sidebar,
  .blog-home-sidebar {
    order: -1;
    margin-bottom: 2rem;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-thumbnail img {
    height: 250px;
  }
}

/* Tablet Only - Blog */
@media (min-width: 768px) and (max-width: 1023px) {
  .blog-post-single .entry-title {
    font-size: 2rem;
  }

  .page-header .page-title {
    font-size: 2rem;
  }

  .featured-post-title {
    font-size: 1.65rem;
  }

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

/* ==========================================================================
   HOMEPAGE NARRATIVE
   ========================================================================== */

/* Hero Narrative Section */
.hero-narrative {
  padding: 6rem 1rem 4rem;
  text-align: center;
  color: white;
}

/* Add spacing after header for better visibility */
.homepage-narrative {
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 767px) {
  .homepage-narrative {
    padding-top: 0;
  }
}

.hero-narrative-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-narrative-title .highlight {
  color: #fbbf24;
}

.hero-narrative-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Narrative Sections */
.narrative-section {
  padding: 4rem 1rem;
  color: white;
}

.narrative-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fbbf24;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-block {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  line-height: 1.8;
}

.content-block p {
  margin-bottom: 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.lead-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: white;
}

.highlight-block {
  background: rgba(251, 191, 36, 0.15);
  border: 2px solid rgba(251, 191, 36, 0.3);
}

.danger-block {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.success-block {
  background: rgba(98, 195, 164, 0.15);
  border: 2px solid rgba(98, 195, 164, 0.3);
}

.text-warning {
  color: #fbbf24;
  font-weight: 600;
}

.text-emphasis {
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* Challenges Grid */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Disable hover effects on touch devices for better performance */
@media (hover: none) {
  .challenge-card:hover,
  .solution-card:hover,
  .value-card:hover,
  .diferencial-item:hover,
  .benefit-card:hover {
    transform: none;
    box-shadow: none;
  }
}

.challenge-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.challenge-card h3 {
  color: #023F85;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.challenge-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Impact List */
.impact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #333;
}

.impact-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.impact-content h3 {
  color: #023F85;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.impact-content p {
  color: #666;
  margin: 0;
}

/* Solution Section */
.highlight-text {
  color: #fbbf24;
  font-size: 1.5rem;
}

.intro-text {
  font-size: 1.2rem;
}

.solution-intro {
  text-align: center;
  margin: 2rem 0 1.5rem;
}

.solution-intro h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.solution-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #333;
  transition: transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.solution-card:hover {
  transform: translateY(-5px);
}

/* Loading state for buttons */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.6s linear infinite;
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.solution-card h4 {
  color: #023F85;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.solution-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.result-block {
  margin-top: 2rem;
}

.result-text {
  font-size: 1.3rem;
  color: #fbbf24;
}

/* Value Section */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  color: #333;
  position: relative;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-number {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--marketeria-green);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.value-card h4 {
  color: #023F85;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-right: 60px;
}

.value-card p {
  color: #666;
  margin: 0;
}

.platform-name {
  font-size: 1.2rem;
  color: #fbbf24;
  font-weight: 600;
  margin-top: 1rem;
}

/* Diferencial Section */
.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.diferencial-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #333;
  transition: transform 0.3s ease;
}

.diferencial-item:hover {
  transform: translateY(-5px);
}

.diferencial-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.diferencial-item h4 {
  color: #023F85;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.diferencial-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.partner-block {
  background: rgba(98, 195, 164, 0.2);
  border: 2px solid rgba(98, 195, 164, 0.4);
}

.partner-intro {
  font-size: 1.15rem;
}

.partner-statement {
  font-size: 1.25rem;
  color: #fbbf24;
  margin: 1.5rem 0;
}

/* Propósito Section */
.proposito-section {
  padding: 5rem 1rem;
}

.proposito-content {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(251, 191, 36, 0.5);
  border-radius: 1.5rem;
  padding: 4rem 3rem;
  text-align: center;
}

.proposito-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 1.5rem;
}

.proposito-text {
  font-size: 1.35rem;
  line-height: 1.8;
  color: white;
  max-width: 900px;
  margin: 0 auto;
}

/* CTA Final Section */
.cta-final-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, rgba(2, 63, 133, 0.9) 0%, rgba(98, 195, 164, 0.9) 100%);
}

.cta-final-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-final-text {
  font-size: 1.35rem;
  color: white;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.cta-final-subtitle {
  font-size: 1.5rem;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 3rem;
}

.cta-final-buttons {
  margin-bottom: 2rem;
}

.cta-final-promise {
  color: white;
  font-size: 1.1rem;
  margin-top: 1rem;
  opacity: 0.95;
}

.cta-extra-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.link-subtle {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.link-subtle:hover {
  color: #fbbf24;
}

.separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary-large {
  background: var(--marketeria-green);
  color: white;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary-large:hover {
  background: #4fa889;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-cta-large {
  background: #fbbf24;
  color: #023F85;
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.75rem;
}

.btn-cta-large:hover {
  background: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

/* ==========================================================================
   RESPONSIVE - HOMEPAGE NARRATIVE
   ========================================================================== */

/* Small Mobile - Homepage (320px - 479px) */
@media (max-width: 479px) {
  .hero-narrative {
    padding: 3rem 0.75rem 2rem;
  }

  .hero-narrative-title {
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .hero-narrative-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .lead-text {
    font-size: 1.05rem;
  }

  .content-block {
    padding: 1.25rem;
    font-size: 0.95rem;
  }

  .challenge-card,
  .solution-card,
  .value-card,
  .diferencial-item {
    padding: 1.5rem 1rem;
  }

  .challenge-icon,
  .solution-icon,
  .diferencial-icon,
  .impact-icon {
    font-size: 2rem;
  }

  .proposito-content {
    padding: 2rem 1rem;
  }

  .proposito-title {
    font-size: 1.5rem;
  }

  .proposito-text {
    font-size: 0.95rem;
  }

  .cta-final-title {
    font-size: 1.65rem;
  }

  .cta-final-text {
    font-size: 1rem;
  }

  .cta-final-subtitle {
    font-size: 1.1rem;
  }

  .btn-cta-large {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Mobile - Homepage (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-narrative {
    padding: 3.5rem 1rem 2.5rem;
  }

  .hero-narrative-title {
    font-size: 1.85rem;
  }

  .hero-narrative-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .lead-text {
    font-size: 1.1rem;
  }

  .content-block {
    padding: 1.5rem;
  }

  .proposito-content {
    padding: 2.25rem 1.25rem;
  }

  .proposito-title {
    font-size: 1.65rem;
  }

  .proposito-text {
    font-size: 1rem;
  }

  .cta-final-title {
    font-size: 1.85rem;
  }

  .cta-final-text {
    font-size: 1.05rem;
  }

  .cta-final-subtitle {
    font-size: 1.15rem;
  }

  .btn-cta-large {
    padding: 1.15rem 1.75rem;
    font-size: 1rem;
  }
}

/* Tablet - Homepage (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-narrative {
    padding: 4rem 1rem 3rem;
  }

  .hero-narrative-title {
    font-size: 2.5rem;
  }

  .hero-narrative-subtitle {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .lead-text {
    font-size: 1.2rem;
  }

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

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

/* All Mobile & Tablet Devices */
@media (max-width: 1023px) {
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

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

  .impact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .impact-icon {
    margin-bottom: 0;
  }

  .cta-extra-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .separator {
    display: none;
  }

  .btn-primary-large,
  .btn-secondary-outline {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Mobile Only - All Grids Single Column */
@media (max-width: 767px) {
  .challenges-grid,
  .solution-grid,
  .value-grid,
  .diferencial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .impact-list {
    gap: 1rem;
  }

  .section-content {
    gap: 1.5rem;
  }

  .narrative-section {
    padding: 3rem 0.75rem;
  }

  .value-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: -12px;
    right: 15px;
  }

  .value-card h4 {
    padding-right: 50px;
    font-size: 1.1rem;
  }
}
