/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Fundo da tela do computador (cinza claro para destacar a caixa do site) */
body {
  background-color: #e9ecef;
  display: flex;
  justify-content: center;
}

/* A caixa central do site que trava em 850px no PC */
.site-wrapper {
  width: 100%;
  max-width: 850px;
  background-color: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08); /* Sombra suave nas laterais */
}

/* Espaçamento interno padrão */
.container {
  padding: 0 30px;
}

/* Header */
.cabecalho {
  padding: 25px 0;
}

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

.logo {
  font-size: 3.2rem;
  font-weight: 900;
  font-style: sans-serif;
  letter-spacing: -1px;
}

.logo .air { color: #0b22a1; }
.logo .mail { color: #e13a28; }

.citacao {
  max-width: 280px;
  font-size: 0.85rem;
  color: #e13a28;
  font-style: italic;
  text-align: right;
  line-height: 1.3;
}

/* Banner */
.banner-container {
  background-color: #0b22a1;
  padding: 25px 20px;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Captura */
/* Centralização e container da seção */
.newsletter-hero {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Título */
.newsletter-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 20px;
}

/* Subtítulo */
.subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 24px;
}

/* Formulário e layout vertical dos inputs */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

/* Input com ícone de envelope alinhado */
.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.mail-icon {
  position: absolute;
  left: 14px;
  color: #888;
  pointer-events: none;
}

.input-container input {
  width: 100%;
  padding: 14px 14px 14px 44px; /* Espaço para o ícone na esquerda */
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-container input:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* Botão Azul Vibrante */
.btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0066ff; /* Azul da imagem */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background-color: #0052cc;
}

.btn-primary:active {
  transform: scale(0.99);
}

/* Rodapé */
.rodape {
  background-color: #0b22a1;
  color: white;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.rodape-grid {
  display: flex;
  gap: 40px;
}

.coluna-menu { flex: 1; }
.coluna-sobre { flex: 2; }

.rodape h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.coluna-menu ul { list-style: none; }
.coluna-menu li { margin-bottom: 8px; }

.coluna-menu a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
}

.coluna-sobre p {
  line-height: 1.5;
  font-size: 0.95rem;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* ==========================================
   ESTILOS EXATOS DO SITE PRINCIPAL (WRAPPER)
   ========================================== */

/* Fundo cinza externo de fundo */
body.bg-gray {
  background-color: #e2e8f0;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  justify-content: center;
}

/* O cartão de folha branca central que envelopa tudo */
.site-wrapper {
  width: 100%;
  max-width: 900px;
  background-color: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* Cabeçalho */
.main-header {
  width: 100%;
}

.header-content {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: -1px;
}

.logo-link {
  text-decoration: none;
}

.brand-logo .blue { color: #0d28a6; }
.brand-logo .red { color: #e63920; }

.header-quote {
  font-style: italic;
  color: #e63920;
  max-width: 360px;
  text-align: right;
  font-size: 0.88rem;
  line-height: 1.35;
}

.header-blue-bar {
  width: 100%;
  height: 32px;
  background-color: #0d28a6;
}

/* Corpo da Página de Arquivo */
.archive-body {
  padding: 40px;
  flex: 1;
}

.archive-header-title {
  margin-bottom: 32px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
}

.archive-header-title h2 {
  font-size: 1.8rem;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.archive-header-title p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

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

.archive-item {
  margin-bottom: 22px;
}

.archive-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.4;
}

.archive-title:hover {
  color: #0d28a6;
}

.archive-meta {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Rodapé Azul */
.main-footer {
  background-color: #0d28a6;
  color: #ffffff;
  margin-top: auto;
}

.footer-content {
  padding: 40px;
  display: flex;
  gap: 50px;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  color: #e2e8f0;
}

.footer-copyright {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ==========================================
   ISOLAMENTO E CENTRALIZAÇÃO FORÇADA (RESEND)
   ========================================== */

.edition-content-wrapper {
  width: 100%;
  padding: 30px 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  
  /* Força a centralização de qualquer elemento vindo do Resend */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Centraliza todas as tabelas e divs filhas */
.edition-content-wrapper > * {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Evita estouro de largura */
.edition-content-wrapper table, 
.edition-content-wrapper div {
  max-width: 100% !important;
}

.edition-content-wrapper img {
  max-width: 100% !important;
  height: auto !important;
}

/* ==========================================
   PÁGINA DE ERRO 404
   ========================================== */

.error-container {
  padding: 80px 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-badge {
  font-size: 5rem;
  font-weight: 900;
  color: #e63920;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.error-title {
  font-size: 1.8rem;
  color: #0f172a;
  margin: 0 0 12px 0;
  font-weight: 800;
}

.error-description {
  font-size: 1rem;
  color: #64748b;
  max-width: 480px;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.error-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background-color: #0d28a6;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #0a1f82;
}

.btn-secondary-link {
  color: #0d28a6;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 16px;
}

.btn-secondary-link:hover {
  text-decoration: underline;
}

/* ==========================================
   ESTILOS PARA PÁGINAS INSTITUCIONAIS / LEGAIS
   ========================================== */

.page-content {
  padding: 40px 50px;
  flex: 1;
}

.legal-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 28px;
}

.legal-header h2 {
  font-size: 1.8rem;
  color: #0f172a;
  margin: 0 0 6px 0;
  font-weight: 800;
}

.last-updated {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.legal-body {
  color: #334155;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body h3 {
  font-size: 1.15rem;
  color: #0d28a6;
  margin: 28px 0 10px 0;
  font-weight: 700;
}

.legal-body ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 6px;
}

/* Ajuste de responsividade para telas pequenas */
@media (max-width: 600px) {
  .page-content {
    padding: 24px;
  }
}
/* ==========================================
   SEÇÃO POR QUE ASSINAR (3 COLUNAS)
   ========================================== */

.features-section {
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  margin: 20px 0 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.features-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0d28a6;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: #f8fafc;
  padding: 24px 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(13, 40, 166, 0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Responsivo para Celulares */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .features-section {
    padding: 30px 15px;
  }
}