/* Reset e Base Styles */

:root {
  /* Color Palette - Fallback (edit these to match your brand) */
  --primary: #4b3929;      /* Marinho escuro - cor principal */
  --accent: #00b7ff;       /* Dourado - destaque */
  --accent-2: #00b7ff;     /* Slate/neutral - secundário */
  --bg: #FAFAFA;           /* Background claro */
  --text: #1F2937;         /* Texto principal */
  --text-light: #6B7280;   /* Texto secundário */
  --white: #FFFFFF;
  --black: #000000;
  
  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Neutral Shades */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Spacing Scale */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */

  /* Espaçamento */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 6rem;     /* 96px */
  
  
  /* Border Radius */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-popover: 500;
  --z-tooltip: 600;
  
  /* Container Max Width */
  --container-max: 1280px;
  --container-padding: var(--space-4);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #4b3929;
    color: white;
}

.btn-primary:hover {
    background-color: #00ff04;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: #00ff04;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;              /* espaço entre bolinha e texto */
  padding: 8px 16px;
  background-color: #4b3929;
  color: #ffffff;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* A bolinha piscante */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4caf50;     /* cor da bolinha — troque se quiser */
  flex: 0 0 10px;
  box-shadow: 0 0 0 rgba(76, 175, 80, 0.6);
  animation: blink 1.2s infinite ease-in-out;
}

/* Animação (piscar/pulsar) */
@keyframes blink {
  0%   { transform: scale(1);   opacity: 1;  box-shadow: 0 0 0 rgba(76,175,80,0.6); }
  50%  { transform: scale(1.25);opacity: 0.35; box-shadow: 0 0 12px rgba(76,175,80,0.35); }
  100% { transform: scale(1);   opacity: 1;  box-shadow: 0 0 0 rgba(76,175,80,0.6); }
}

/* Texto escondido só para leitores de tela */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Respeitar preferência do usuário por animações reduzidas */
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; opacity: 1; transform: none; box-shadow: none; }
}

/* Header */
.site-header {
    position: fixed; /* Removido fixed-top */
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05)
    padding: 1rem 0;
    z-index: 200;
    transition: box-shadow 0.3s ease;
}

/* Container interno com flexbox */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 2 auto;
    padding: 2 auto;
}

/* Logo no canto esquerdo */
.site-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header .logo img {
    display: block;
    max-width: 75px;
    height: auto;
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

/* Navegação Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto; /* Empurra navegação para a direita */
}

.nav-desktop .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-link:focus {
    color: #4b3929;
    outline: 2px solid transparent;
}

.nav-desktop .nav-link.active {
    color: #4b3929;
    font-weight: 600;
}

/* Botão Menu Mobile - oculto por padrão */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    color: #4b3929;
    outline: 2px solid #4b3929;
    border-radius: 4px;
}

/* Menu Mobile - oculto por padrão */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.nav-mobile .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-mobile .nav-link:last-child {
    border-bottom: none;
}

.nav-mobile .nav-link:hover,
.nav-mobile .nav-link:focus {
    background-color: #f9fafb;
    color: #4b3929;
}

.nav-mobile .nav-link.active {
    background-color: #f0f0f0;
    color: #4b3929;
    font-weight: 600;
}

.nav-mobile .btn {
    margin: 0.5rem 1rem 1rem;
    text-align: center;
}

/* Exibir menu mobile quando ativo */
.nav-mobile.active {
    display: flex;
}

/* ===== RESPONSIVE - Mobile First ===== */

/* Tablets e dispositivos menores (max-width: 992px) */
@media (max-width: 992px) {
    .nav-desktop {
        display: none; /* Oculta navegação desktop */
    }
    
    .mobile-menu-btn {
        display: flex; /* Exibe botão mobile */
        align-items: center;
        justify-content: center;
    }
    
    .site-header .logo img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .header-inner {
        padding: 0 1rem;
    }
}

/* Smartphones (max-width: 768px) */
@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 0;
    }
    
    .site-header .logo img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .header-inner {
        gap: 1rem;
    }
}

/* Smartphones pequenos (max-width: 480px) */
@media (max-width: 480px) {
    .site-header .logo img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .mobile-menu-btn {
        font-size: 1.25rem;
        padding: 0.25rem;
    }
    
    .nav-mobile .nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}
/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background-image: url('images/estante-livro.jpg'); /* Substitua pelo caminho da sua imagem */
    background-size: cover; /* A imagem cobre toda a área, mantendo proporção */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita repetição da imagem */
    background-color: #eff6ff; /* Cor de fallback caso a imagem não carregue */
    position: relative; /* Para permitir camadas (como overlays) */
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 29, 15, 0.767); /* Overlay escuro com opacidade para contraste */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1,
.hero-text p {
    color: #ffffff; /* Cor clara para contraste com o overlay */
}

.highlight {
    color: #d4c6af;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 250px;
}

.hero-badge i {
    color: #04ff19;
    font-size: 1.25rem;
}

.hero-badge span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: #4b3929;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #fdfeff;
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature i {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-icon.previdenciario {
    background-color: #d4c6af6b;
    color: #4b3929;
}

.service-icon.criminal {
    background-color: #d4c6af6b;
    color: #4b3929;
}

.service-title h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.service-title p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-item i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-item span {
    font-size: 0.875rem;
    color: #374151;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: #4b3929;
    font-size: 1.25rem;
    width: 20px;
    flex-shrink: 0;
}

.contact-title {
    font-weight: 600;
    color: #1f2937;
}

.contact-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

.consultation-info {
    background-color: #4b3929;
    padding: 1.5rem;
    border-radius: 12px;
}

.consultation-info h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.consultation-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.form-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.form-card > p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4b3929;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background-color: #4b3929;
    color: #ffffff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 1px;
}

.footer-section p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.contact-info i {
    margin-right: 8px;
    color: #4b3929;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

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

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #ffd1d1;
}

.app-links, .security {
    margin-top: 15px;
}

.app-links a {
    margin: 0 10px;
}

.app-links img, .security img {
    width: 100px;
    height: auto;
    vertical-align: middle;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #957151;
}

.footer-grid {
  display: grid;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.footer-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}


.panel-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.panel-footer small {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .hardware-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .sensor-readings {
    grid-template-columns: 1fr;
  }
.footer-content {
        flex-direction: column;
        text-align: center;
    }

    .app-links a, .security img {
        margin: 10px 0;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        position: static;
        margin-top: 1rem;
        align-self: center;
    }

    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* WhatsApp Mobile */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}


/* ===== ESTILOS PARA NOVAS PÁGINAS ===== */

/* Active Navigation Link */
.nav-link.active {
    color: #4b3929 !important;
    font-weight: 600;
}

/* Hero Variations */
.hero-previdenciario {
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
}

.hero-criminal {
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
}

.hero-blog {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    text-align: center;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Badge Variations */
.badge-previdenciario {
    background-color: #fedbdb;
    color: #1e40af;
}

.badge-criminal {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Stats Variations */
.stats-previdenciario {
    background-color: #1e40af;
}

.stats-criminal {
    background-color: #dc2626;
}

/* Services Grid Detailed */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-detailed {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.service-icon-large.previdenciario {
    background-color: #dbeafe;
    color: #4b3929;
}

.service-icon-large.criminal {
    background-color: #fee2e2;
    color: #dc2626;
}

.service-card-detailed h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card-detailed p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
}

.service-features i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Process Steps */
.process {
    padding: 5rem 0;
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4b3929;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.step-content p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: #f9fafb;
}

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

/* Card */
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Pergunta (mantém visual) */
.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  user-select: none;
  outline: none;
}

.faq-question:hover,
.faq-question:focus {
  background-color: #f9f9fb;
}

/* Título */
.faq-question h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #1f2937;
}

/* Ícone */
.faq-question i {
  color: #6b7280;
  transition: transform 0.28s ease;
  display: inline-block;
}

/* Rotação quando aberto */
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Resposta: controlada pelo JS (height) */
.faq-answer {
  height: 0;
  padding: 0 1.5rem;
  overflow: hidden;
  transition: height 300ms ease, padding-bottom 300ms ease;
}

/* Quando ativo, padding-bottom é controlado pela classe */
.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* Estilo do parágrafo */
.faq-answer p {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Focus visual para acessibilidade */
.faq-question:focus {
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
  border-radius: 8px;
}


/* Emergency Section */
.emergency {
    padding: 4rem 0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.emergency-icon {
    font-size: 4rem;
    color: #fef2f2;
}

.emergency-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.emergency-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #fecaca;
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Variations */
.cta-previdenciario {
    background: linear-gradient(135deg, #1e40af 0%, #4b3929 100%);
}

.cta-criminal {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
}

.cta {
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== BLOG STYLES ===== */

/* Featured Post */
.featured-post {
    padding: 3rem 0;
    background-color: white;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f59e0b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-category {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.post-category.previdenciario {
    background-color: #dbeafe;
    color: #1e40af;
}

.post-category.criminal {
    background-color: #fee2e2;
    color: #dc2626;
}

.post-date {
    color: #6b7280;
}

.featured-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.featured-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.post-author {
    margin-bottom: 2rem;
}

.author-info strong {
    display: block;
    color: #1f2937;
}

.author-info span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Blog Categories */
.blog-categories {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.categories-header {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover,
.category-card.active {
    border-color: #4b3929;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 2rem;
    color: #4b3929;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.post-count {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Blog Posts */
.blog-posts {
    padding: 3rem 0;
    background-color: white;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.post-category-badge.previdenciario {
    background-color: #dbeafe;
    color: #000000;
}

.post-category-badge.criminal {
    background-color: #fee2e2;
    color: #ff0000;
}

.post-content {
    padding: 1.5rem;
}

.post-content .post-meta {
    margin-bottom: 1rem;
}

.read-time {
    color: #6b7280;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.4;
}

.post-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-mini strong {
    color: #1f2937;
    font-size: 0.875rem;
}

.read-more {
    color: #4b3929;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-text p {
    color: #d1d5db;
    font-size: 1.125rem;
}

.newsletter-form {
    max-width: 400px;
}

.form-group-inline {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.form-group-inline input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #4b5563;
    border-radius: 8px;
    background-color: #374151;
    color: white;
    font-size: 1rem;
}

.form-group-inline input::placeholder {
    color: #9ca3af;
}

.form-group-inline input:focus {
    outline: none;
    border-color: #4b3929;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-disclaimer {
    color: #9ca3af;
    font-size: 0.75rem;
    margin: 0;
}

/* Footer Links */
.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #957151;
}




/* Responsive Design for New Pages */
@media (max-width: 768px) {
    /* Featured Post Mobile */
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Categories Mobile */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Posts Mobile */
    .posts-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter Mobile */
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .form-group-inline {
        flex-direction: column;
    }

    /* Emergency Mobile */
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

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

    /* Services Detailed Mobile */
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }

    /* Process Mobile */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* CTA Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content-center h1 {
        font-size: 2rem;
    }

    .featured-text h2 {
        font-size: 1.5rem;
    }

    .service-card-detailed {
        padding: 1.5rem;
    }

    .emergency-icon {
        font-size: 3rem;
    }

    .emergency-text h2 {
        font-size: 1.5rem;
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

.contact-item a,
.contact-item span {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.contact-item a:hover {
  color: rgba(107, 53, 17, 0.668);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: white;
  transition: all 250ms ease-in-out;
}

.social-links a:hover {
  background-color: rgba(107, 53, 17, 0.668);
  transform: translateY(-4px);
  text-decoration: none;
}