/* ==========================================================================
   1. VARIÁVEIS (ROOT)
   ========================================================================== */
:root {
  --primary: #8B0000;
  --primary-dark: #600000;
  --secondary: #2C2C2C;
  --accent: #FFC107;
  --accent-hover: #E0A800;
  --emergency: #D32F2F;
  --whatsapp-green: #25D366;
  --success: #2E7D32;
  --text: #333333;
  --text-light: #666666;
  --light-bg: #F8F9FA;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  visibility: visible;
  opacity: 1;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img[loading="lazy"] {
  content-visibility: auto;
}

/* ==========================================================================
   3. UTILITÁRIOS & CLASSES GERAIS
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.max-800 { max-width: 800px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.hidden { display: none !important; }

/* Espaçamentos */
.mb-20, .hero h1 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-50, .section-header { margin-bottom: 50px; }

/* Alinhamento de Texto */
.text-center, .blog-cta-box, .footer-bottom, .stats-grid { text-align: center; }

/* Transformação de Texto */
.blog-date, .btn, .btn-blog-highlight, .btn-download, .card-badge, .footer-col h3, .stat-label, .tag-material {
  text-transform: uppercase;
}

/* Listas */
.about-checklist, .blog-checklist, .check-list, .footer-col ul, .nav-list, .service-list {
  list-style: none;
}

/* Overflow e Interações */
.blog-card, .faq-item, .hero, .map-container { overflow: hidden; }
.logo-item:hover, .map-container:hover iframe { filter: grayscale(0%); }

/* Foco para Acessibilidade */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Links em Geral */
.contact-link, .footer-col a, .link-arrow { text-decoration: none; }
.contact-link:hover, .footer-col a:hover, .footer-col h3, .text-highlight { color: var(--accent); }

/* ==========================================================================
   4. LAYOUT / GRIDS
   ========================================================================== */
.grid-2, .grid-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.blog-grid, .services-grid-bottom, .services-grid-top, .stats-grid, .testimonials-grid {
  display: grid;
  gap: 30px;
}

.services-grid-top { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 30px; }
.services-grid-bottom { grid-template-columns: 1.2fr 1fr; }
.testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1000px; margin: 0 auto; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-wrapper, .form-row { grid-template-columns: 1fr 1fr; }

/* ==========================================================================
   5. COMPONENTES
   ========================================================================== */

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  gap: 10px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary { background: var(--accent); color: var(--primary); }
.btn-emergency { background: var(--emergency); color: var(--white); }

.btn-outline-dark {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border: 4px solid var(--text);
  padding: 10px 25px;
  margin-top: 20px;
  border-radius: 50px;
  transition: var(--transition-normal);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.btn-small {
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  display: inline-block;
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-small:hover { background: var(--primary); color: var(--white); }

.btn-hero-primary {
  background-color: var(--accent);
  color: var(--primary);
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 800;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.btn-hero-primary:hover { background: transparent; color: var(--accent); }

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 18px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  gap: 10px;
}

.btn-hero-secondary:hover { background: var(--emergency); border-color: var(--emergency); }

.btn-download {
  background: #350000;
  color: #fff;
  padding: 18px 35px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: var(--transition-normal);
}

.btn-download:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-full { width: 100%; }

/* --- Cabeçalho e Navegação --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo-link img { max-height: 55px; width: auto; transition: transform 0.3s; }
.logo-link:hover img { transform: scale(1.02); }

.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-list a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color var(--transition-fast); }
.nav-list a:not(.cta-nav):hover { color: var(--primary); }

.cta-nav {
  color: var(--primary) !important;
  font-weight: 800 !important;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}

.cta-nav:hover {
  background-color: var(--accent);
  padding: 5px 10px;
  border-radius: 4px;
  border-bottom-color: transparent;
  margin: -5px -10px;
}

.hamburger { display: none; border: none; background: transparent; cursor: pointer; transition: var(--transition-normal); }
.hamburger .bar { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px auto; transition: var(--transition-normal); }
.hamburger.active .bar:first-child { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--secondary);
  padding-top: 80px;
}

.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 15, 25, 0.9) 0, rgba(139, 0, 0, 0.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; padding-left: 20px; }

.hero .badge {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid var(--accent);
  backdrop-filter: blur(5px);
  margin-bottom: 25px;
  display: inline-flex;
  gap: 8px;
  color: var(--accent);
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; margin-bottom: 40px; opacity: 0.9; max-width: 600px; color: #e2e8f0; }
.cta-group { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* --- Seções & Tipografia de Títulos --- */
.about-content h2, .section-header h2 { font-size: 2.5rem; color: var(--primary); }
.about-content h2 { line-height: 1.1; margin-bottom: 20px; }
.section-header h2 { margin-bottom: 15px; font-weight: 800; }

/* --- Status Bar --- */
.stats-bar { background-color: #500000; color: var(--white); padding: 40px 0; }
.stat-number { display: block; font-size: 3rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.9rem; opacity: 0.9; letter-spacing: 1px; }

/* --- Sobre & Serviços --- */
.about-checklist { margin: 25px 0; }
.about-checklist li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-icon { background: var(--whatsapp-green); width: 20px; height: 20px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.main-img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); object-fit: cover; height: 500px; }

.service-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.service-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--accent); box-shadow: var(--shadow-md); }
.featured-card { border-top: 4px solid var(--primary); }

.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--success);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 15px;
  border-bottom-left-radius: 10px;
}

.icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; background: #fdf2f2; color: var(--primary); }
.card-icon { font-size: 1.5rem; color: var(--emergency); }

.service-list { border-top: 1px solid var(--border); padding-top: 20px; margin-top: auto; }
.service-list li { margin-bottom: 10px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.service-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 10px;
  border: solid var(--emergency);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

/* --- Cards de Modernização / CTA --- */
.modernization-block { background: var(--white); padding: 30px; border-radius: 12px; display: flex; align-items: flex-start; gap: 20px; box-shadow: var(--shadow-sm); }
.mod-icon { background: var(--secondary); color: var(--white); padding: 15px; border-radius: 8px; flex-shrink: 0; }

.cta-block-dark {
  background: var(--secondary);
  color: var(--white);
  padding: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 12px;
  display: flex;
}
.cta-block-dark .btn-primary { width: 100%; }

/* --- Logos / Clientes --- */
.clients-section { background: var(--white); border-bottom: 1px solid var(--border); }
.logos-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; align-items: center; }
.logo-item { filter: grayscale(100%); opacity: 0.7; cursor: pointer; transition: var(--transition-normal); }
.logo-item:hover { opacity: 1; transform: scale(1.05); }
.logo-item img { max-width: 150px; height: auto; object-fit: contain; }

/* --- Avaliações --- */
.review-card { background: var(--white); padding: 40px; position: relative; flex-direction: column; box-shadow: var(--shadow-sm); border-radius: 12px; display: flex; }
.review-card::before { content: '"'; position: absolute; top: 20px; right: 30px; font-size: 6rem; color: rgba(0, 0, 0, 0.03); font-family: serif; line-height: 0; }
.highlight-review { border-bottom: 4px solid var(--accent); }
.stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 20px; }
.review-text { font-size: 1.05rem; font-style: italic; margin-bottom: 30px; flex-grow: 1; }
.reviewer-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.avatar-circle { width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 700; font-size: 1.1rem; }
.avatar-circle.dark { background: var(--secondary); }

/* --- Ebook Banner --- */
.ebook-banner-section { background: linear-gradient(90deg, #500000 0, #1a0000 100%); padding: 60px 0; color: #fff; border-top: 3px solid var(--accent); }
.ebook-content-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.ebook-text { flex: 1; min-width: 300px; }
.ebook-text h2 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 15px; }
.ebook-text p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); }
.ebook-action { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.security-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); display: flex; gap: 5px; }

/* ==========================================================================
   7. NOVIDADES: PORTAL DE CONTEÚDO (BLOG)
   ========================================================================== */

/* --- Barra de Pesquisa --- */
.blog-search-form {
  display: flex;
  gap: 15px;
  max-width: 700px;
  margin: 40px auto 0;
}

.blog-search-form .search-input {
  flex-grow: 1;
  margin-bottom: 0;
  padding: 16px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.blog-search-form .search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
}

.blog-search-form .search-btn {
  border-radius: 50px;
  padding: 16px 35px;
  white-space: nowrap;
}

/* --- Filtros de Categoria --- */
.pb-40 { padding-bottom: 40px; }

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.blog-filters .btn-small {
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 50px;
  border-width: 2px;
  margin-top: 0;
}

.blog-filters .btn-small.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- Post em Destaque (Hero Post) --- */
.featured-post {
  display: flex;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.featured-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.featured-img-wrapper {
  flex: 1.2;
  min-width: 45%;
}

.featured-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.post-meta-small {
  margin-bottom: 15px;
}

.featured-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.2;
}

.featured-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.featured-content .btn {
  align-self: flex-start;
}

/* --- Card de CTA (Dentro do Grid) --- */
.blog-cta-card {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--accent);
}

.cta-card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.blog-cta-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--white);
}

.blog-cta-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
}

/* Utilitário para empurrar o "Ler Mais" pro fundo do card */
.mt-auto { margin-top: auto; }

/* --- Paginação Estilizada --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-number, .page-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  min-width: 45px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  background: var(--white);
}

.page-number:hover, .page-link:hover:not(.disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: #fdf2f2;
}

.page-number.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--light-bg);
}

.page-dots {
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0 5px;
}

/* --- Estilo Melhorado para o Link "Ler artigo" --- */
.read-more { 
  display: inline-block;
  color: var(--primary); 
  font-weight: 800; 
  font-size: 0.95rem; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none; 
  align-self: flex-start; 
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

/* Animação de movimento e cor ao passar o rato */
.read-more:hover { 
  color: #500000; /* Um vermelho ainda mais escuro */
  transform: translateX(5px); /* Move o link 5px para a direita */
}

/* Criação da linha sublinhada animada (amarela) */
.read-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent); /* Cor amarela do seu tema */
  transition: width 0.3s ease;
}

/* A linha expande-se ao passar o rato */
.read-more:hover::after {
  width: 100%;
}

/* --- Responsividade Específica do Blog --- */
@media (max-width: 900px) {
  .featured-post {
    flex-direction: column;
  }
  .featured-img-wrapper {
    height: 300px;
  }
  .featured-content {
    padding: 30px 25px;
  }
  .blog-search-form {
    flex-direction: column;
  }
  .blog-search-form .search-btn {
    width: 100%;
  }
}

/* --- Estilos do Post Individual (Single Post) --- */

/* Container Principal do Post */
.single-post-container {
  max-width: 800px; /* Largura ideal para leitura */
  margin: 120px auto 60px; /* Margem superior para afastar do menu fixo (header) */
  padding: 0 20px;
}

/* Cabeçalho do Post (Metadados e Título) */
.single-post-header {
  margin-bottom: 40px;
  text-align: left;
}

.single-post-meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-post-meta span {
    color: var(--primary);
}

.single-post-title {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--secondary); /* Ou var(--primary) se preferir vermelho */
  font-weight: 800;
  margin-bottom: 20px;
}

/* Imagem de Destaque do Post */
.single-post-featured-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
}

/* Conteúdo do Texto (Artigo em si) */
.single-post-content {
  font-size: 1.15rem; /* Texto levemente maior para facilitar leitura */
  color: #444; /* Um cinza um pouco mais escuro que o normal para contraste */
  line-height: 1.8;
}

.single-post-content p {
  margin-bottom: 25px;
}

.single-post-content h2,
.single-post-content h3 {
  color: var(--primary);
  font-weight: 800;
  margin-top: 50px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.single-post-content h2 {
  font-size: 2rem;
}

.single-post-content h3 {
  font-size: 1.5rem;
}

.single-post-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style-type: disc;
}

.single-post-content li {
    margin-bottom: 10px;
}

.single-post-content li strong {
    color: var(--secondary);
}

/* Estilo para links dentro do texto */
.single-post-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(139, 0, 0, 0.3); /* Sublinhado sutil */
  transition: var(--transition-fast);
}

.single-post-content a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* Botão de CTA dentro do Post */
.single-post-content .cta-button-post {
    display: block; /* Ou flex se quiser centralizar texto/ícone */
    width: 100%;
    text-align: center;
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    margin: 40px 0;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.single-post-content .cta-button-post:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5);
    color: var(--primary-dark);
}

/* Seção Artigos Recentes (Final do Post) */
.related-posts-widget {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-bg);
}

.related-posts-widget h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-posts-widget ul {
    list-style: none;
    padding: 0;
}

.related-posts-widget li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.related-posts-widget li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.related-posts-widget a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.related-posts-widget a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsividade específica para o Post */
@media (max-width: 768px) {
    .single-post-title {
        font-size: 2.2rem;
    }
    .single-post-content {
        font-size: 1.05rem;
    }
    .single-post-content h2 {
        font-size: 1.7rem;
    }
}

/* --- FAQ --- */
.faq-wrapper { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white); border-radius: 8px; border: 1px solid var(--border); transition: var(--transition-normal); }
.faq-item:hover { border-color: rgba(139, 0, 0, 0.3); }
.faq-item summary { padding: 20px; cursor: pointer; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; list-style: none; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform var(--transition-normal); }
.faq-item[open] summary::after { content: '-'; color: var(--primary); transform: rotate(180deg); }
.faq-content { padding: 10px 20px 20px; color: #555; border-top: 1px solid #f0f0f0; margin-top: 10px; }

/* --- Contato & Formulário --- */
.contact-section { background: var(--secondary); color: var(--white); padding-top: 80px; padding-bottom: 10px; content-visibility: auto; contain-intrinsic-size: 800px; }
.contact-wrapper { display: grid; gap: 60px; margin-bottom: 60px; align-items: center; }
.contact-info h2 { font-size: 2.8rem; color: var(--white); margin: 20px 0; line-height: 1.1; }
.contact-info p { font-size: 1.2rem; margin-bottom: 30px; color: #e2e8f0; }
.contact-lead { font-size: 1.2rem; }
.info-items { margin-top: 30px; }
.info-box { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }

.contact-link { color: var(--white); font-weight: 700; font-size: 1.2rem; transition: var(--transition-normal); }
.contact-form-card { background: var(--white); color: var(--text); padding: 40px; border-radius: 12px; box-shadow: var(--shadow-lg); }

input, select, textarea {
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 1rem;
  transition: var(--transition-normal);
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); background: #fff; outline: 0; }

.map-container { position: relative; border-radius: 20px 20px 0 0; height: 350px; margin-top: 40px; }
.map-container iframe { transition: filter 0.3s; filter: grayscale(100%); }

/* --- Rodapé --- */
.main-footer { background: var(--primary); color: #fff; padding: 60px 0 20px; font-size: 0.95rem; content-visibility: auto; contain-intrinsic-size: 800px; }
.footer-col h3 { margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #e2e8f0; transition: var(--transition-fast); }
.footer-col address { font-style: normal; }
.footer-col address a { color: #fff !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); }
.footer-col address a:hover { color: var(--accent) !important; text-decoration-color: var(--accent); }

.footer-social { margin-top: 20px; display: flex; gap: 15px; }
.footer-social a { color: #fff; font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.3); padding: 5px 10px; border-radius: 4px; transition: var(--transition-fast); }
.footer-social a:hover { background: rgba(255, 255, 255, 0.1); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 20px; font-size: 0.85rem; color: #fff; }

/* --- Badges e Elementos UI Menores --- */
.badge, .check-list li::before { background: var(--accent); color: var(--primary); }
.badge { padding: 5px 12px; border-radius: 4px; font-weight: 700; font-size: 0.85rem; display: inline-block; text-transform: uppercase; margin-bottom: 15px; }
.badge-outline { display: block; margin-bottom: 10px; color: #c62828; font-weight: 700; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.tag-alert { display: inline-block; background-color: rgba(183, 28, 28, 0.1); border: 1px solid rgba(211, 47, 47, 0.15); padding: 8px 15px; border-radius: 4px; color: #c62828; font-weight: 700; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }

.check-list li, .tag-pill { color: var(--text); font-weight: 600; }
.tag-pill { background: #f0f0f0; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; }
.tag-pill-yellow { background: rgba(255, 193, 7, 0.15); color: var(--accent); border: 1px solid var(--accent); padding: 8px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; display: inline-block; margin-bottom: 15px; }

.check-list { margin: 30px 0; }
.check-list li { margin-bottom: 15px; padding-left: 35px; position: relative; font-size: 1.05rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 900; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }

/* --- Card Highlight --- */
.card-highlight { background: var(--white); padding: 40px 35px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); border-left: 6px solid var(--accent); max-width: 400px; width: 100%; position: relative; z-index: 1; transition: var(--transition-normal); }
.card-highlight:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); }
.card-highlight .btn-small { display: block; width: 100%; text-align: center; background: var(--secondary); color: #fff; padding: 12px; margin-top: 20px; border-radius: 8px; font-weight: 600; transition: var(--transition-normal); }
.card-highlight .btn-small:hover { background: var(--primary); }

/* --- Utilitários Extras --- */
.g-recaptcha { margin-bottom: 15px; }
.link-arrow { font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 5px; color: var(--primary); transition: var(--transition-normal); }
.link-arrow:hover { text-decoration: underline; color: var(--accent-hover); }

/* --- Float Action (WhatsApp) --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: var(--whatsapp-green);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  animation: 2s infinite pulse-green;
  will-change: transform, box-shadow;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); transform: scale(1); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  width: 90%;
  background: var(--secondary);
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  border-left: 5px solid var(--accent);
  transform: translateY(150%);
  opacity: 0;
  transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-content p { font-size: 0.9rem; margin-bottom: 20px; line-height: 1.5; color: #e2e8f0; }
.cookie-content a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 15px; justify-content: flex-end; }

.btn-cookie-primary, .btn-cookie-outline { padding: 10px 20px; transition: var(--transition-fast); cursor: pointer; }
.btn-cookie-primary { background: var(--accent); color: var(--primary); border: none; border-radius: 6px; font-weight: 700; }
.btn-cookie-primary:hover { transform: scale(1.05); }
.btn-cookie-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 6px; font-weight: 600; }
.btn-cookie-outline:hover { background: rgba(255, 255, 255, 0.1); color: var(--primary); }

/* ==========================================================================
   6. MEDIA QUERIES (Responsividade)
   ========================================================================== */

@media (max-width: 900px) {
  .header { height: 70px; }
  .logo-link img { max-height: 40px; }
  .nav-list { gap: 15px; }
  .contact-wrapper, .footer-grid, .form-row, .grid-2, .grid-about, .services-grid-bottom { grid-template-columns: 1fr; }
  .ebook-content-wrapper, .modernization-block { flex-direction: column; text-align: center; align-items: center; }
  .contact-info h2, .ebook-text h2, .hero h1 { font-size: 2rem; }
  .ebook-text p { margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-list { display: none; }
  #nav-menu.menu-open, .hamburger { display: block; }
  .hamburger { z-index: 1001; }
  .hero { height: auto; padding: 120px 0 80px; text-align: left; }
  .logos-grid { gap: 20px; }
  .logo-item img { max-width: 120px; }
  .review-card { padding: 30px; }

  #nav-menu.menu-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 30px 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
    z-index: 999;
    animation: 0.3s forwards slideDown;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 600px) {
  .cookie-banner { left: 5%; bottom: 20px; width: 90%; max-width: none; }
  .hero h1 { font-size: 1.75rem; }
  .section-header h2 { font-size: 2rem; }
  .cta-group { flex-direction: column; width: 100%; }
  .cta-group .btn { width: 100%; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-number { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::after, ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
}