/* ===== FOCUSNEWS - CSS PRINCIPAL ===== */
/* Baseado no mauadf com integração das cores do focus */
/* Arquivo bem comentado para fácil manutenção */

/* ===== VARIÁVEIS PARA FÁCIL CUSTOMIZAÇÃO ===== */
:root {
    /* CORES PRINCIPAIS DO MAUADF (VERDES) */
    --cor-verde-principal: #37700e;     /* Verde principal do mauadf ■ */
    --cor-verde-escuro: #2d5a0b;       /* Verde escuro do mauadf ■ */
    --cor-verde-claro: #4a8a11;        /* Verde claro do mauadf ■ */
    
    /* CORES DO FOCUS INTEGRADAS */
    --focus-azul: #093FB4;              /* Azul principal do focus ■ */
    --focus-laranja: #ED3500;           /* Laranja do focus ■ */
    --focus-rosa: #FFD8D8;              /* Rosa do focus ■ */
    --focus-branco: #FFFCFB;            /* Branco do focus ■ */
    
    /* CORES DE TEXTO E FUNDO */
    --cor-texto: #333;                  /* Texto principal ■ */
    --cor-fundo: #ffffff;               /* Fundo principal ■ */
    --cor-fundo-secundaria: #f5f5f5;    /* Fundo secundário ■ */
    --cor-borda: #ddd;                  /* Bordas ■ */
    
    /* TAMANHOS DAS LOGOS - FÁCIL DE ALTERAR */
    --logo-header-altura: 80px;         /* Altura da logo no header */
    --logo-footer-altura: 172px;        /* Altura da logo no footer (reduzida em mais 30% de 246px para 172px) */
    
    /* ALTURA DO HEADER */
    --header-altura: 121px;             /* Altura total do header (aumentada 20px: 101px + 20px = 121px) */
    
    /* CONFIGURAÇÕES DO CARROSSEL */
    --carousel-altura: 370px;           /* Altura do carrossel reduzida 30% (528px * 0.7 = 370px) */
    --carousel-velocidade: 5000ms;      /* Velocidade de transição */
    --slide-image-width: 115px;         /* Largura das imagens (reduzida 40%: 192px * 0.6 = 115px) */
    --slide-image-height: 430px;        /* Altura das imagens (reduzida 40%: 716px * 0.6 = 430px) */
    
    /* SETAS DE NAVEGAÇÃO DO CARROSSEL */
    --seta-tamanho: 40px;               /* Tamanho das setas (reduzido 20%) */
    --seta-cor-fundo: rgba(9, 63, 180, 0.2);  /* Fundo das setas (azul focus) ■ */
    --seta-cor-borda: rgba(9, 63, 180, 0.3);  /* Borda das setas ■ */
    --seta-cor-icone: var(--focus-azul);      /* Cor do ícone ■ */
    --seta-tamanho-icone: 14px;         /* Tamanho do ícone (reduzido 20%) */
    --seta-hover-fundo: rgba(9, 63, 180, 0.4); /* Fundo no hover ■ */
    --seta-hover-borda: rgba(9, 63, 180, 0.5); /* Borda no hover ■ */
    --seta-hover-escala: 1.1;           /* Escala no hover */
    
    /* INDICADORES (PONTOS) DO CARROSSEL */
    --indicador-tamanho: 10px;          /* Tamanho dos pontos (reduzido 20%) */
    --indicador-cor-borda: rgba(9, 63, 180, 0.5); /* Borda dos pontos ■ */
    --indicador-cor-ativo: var(--focus-azul);     /* Cor quando ativo ■ */
    --indicador-hover-escala: 1.2;      /* Escala no hover */
    --indicador-espacamento: 10px;      /* Espaçamento entre pontos (reduzido 20%) */
    
    /* BOTÕES DO CARROSSEL */
    --btn-slide-tamanho: 15px 35px;     /* Padding dos botões */
    --btn-slide-fonte-tamanho: 1.1rem;  /* Tamanho da fonte */
    --btn-slide-cor-fundo: linear-gradient(135deg, var(--focus-azul), var(--focus-laranja)); /* Gradiente focus ■ */
    --btn-slide-cor-texto: white;       /* Cor do texto */
    --btn-slide-borda-raio: 50px;       /* Arredondamento */
    --btn-slide-sombra: 0 8px 20px rgba(9, 63, 180, 0.3); /* Sombra azul ■ */
    --btn-slide-hover-elevacao: -3px;   /* Elevação no hover */
    --btn-slide-hover-sombra: 0 12px 25px rgba(9, 63, 180, 0.4); /* Sombra hover ■ */
}

/* TEMA ESCURO */
[data-theme="dark"] {
    --cor-texto: #ffffff;               /* Texto claro ■ */
    --cor-fundo: #121212;               /* Fundo escuro ■ */
    --cor-fundo-secundaria: #1e1e1e;    /* Fundo secundário escuro ■ */
    --cor-borda: #444;                  /* Bordas escuras ■ */
    
    /* Cores verdes mais claras para melhor contraste */
    --cor-verde-principal: #4a8a11;     /* Verde mais claro ■ */
    --cor-verde-escuro: #37700e;        /* Verde médio ■ */
    --cor-verde-claro: #5ca014;         /* Verde bem claro ■ */
    
    /* Ajustes para melhor contraste no tema escuro */
    --focus-azul: #4A90E2;              /* Azul mais claro ■ */
    --focus-laranja: #FF6B35;           /* Laranja mais claro ■ */
}

/* TRANSIÇÕES SUAVES PARA MUDANÇA DE TEMA */
body, .container, .main-header, .top-bar, .footer {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* CLASSES PARA CONTROLE DE TAMANHO DE FONTE */
body.font-small {
    font-size: 14px;
}

body.font-normal {
    font-size: 16px;
}

body.font-large {
    font-size: 18px;
}

body.font-extra-large {
    font-size: 20px;
}

/* AJUSTES PROPORCIONAIS PARA TÍTULOS */
body.font-small h1 { font-size: 1.8rem; }
body.font-small h2 { font-size: 1.5rem; }
body.font-small h3 { font-size: 1.3rem; }

body.font-large h1 { font-size: 2.5rem; }
body.font-large h2 { font-size: 2.2rem; }
body.font-large h3 { font-size: 1.9rem; }

body.font-extra-large h1 { font-size: 3rem; }
body.font-extra-large h2 { font-size: 2.7rem; }
body.font-extra-large h3 { font-size: 2.4rem; }

/* ===== RESET E CONFIGURAÇÕES BÁSICAS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', 'Open Sans', Arial, sans-serif; /* Inter do focus + fallbacks */
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    display: flex;
    flex-direction: column;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 0; /* Removido padding para eliminar espaço branco */
}

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

a {
    color: #d8c9bf;
}



/* ===== BARRA SUPERIOR COM CONTATOS E ACESSIBILIDADE ===== */
.top-bar {
    background-color: #0c5ca4; /* Azul escuro única barra */
    color: white;
    padding: 5px 0; /* Reduzido de 8px para 5px (40% de redução) */
    font-size: 14px; /* Reduzido de 16px para 14px */
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1002;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px; /* Reduzido de 25px para 20px */
    justify-content: flex-start; /* Alinha à esquerda */
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px; /* Reduzido de 8px para 6px */
    font-size: 12px; /* Reduzido de 13px para 12px */
}

.contact-info i {
    color: white;
    font-size: 12px;
}

/* BOTÕES DO PORTAL COM CORES DO FOCUS */
.portal-links {
    display: flex;
    gap: 15px;
}

.portal-btn {
    background: #d8c9bf;
    color: #0c5ca4;
    padding: 4px 16px; /* Reduzido de 8px 20px para 4px 16px */
    text-decoration: none;
    border-radius: 50px;
    font-size: 12px; /* Reduzido de 14px para 12px */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(9, 63, 180, 0.15); /* Sombra reduzida */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    height: 24px; /* Altura fixa para não exceder a barra */
}

.portal-btn:hover {
    background: #d8c9bf;
    color: #0c5ca4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(9, 63, 180, 0.2);
}

.portal-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(9, 63, 180, 0.1);
}

/* DROPDOWN DOS BOTÕES DO PORTAL */
.portal-dropdown {
    position: relative;
    display: inline-block;
}

.portal-has-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
}

.portal-has-dropdown i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.portal-dropdown:hover .portal-has-dropdown i {
    transform: rotate(180deg);
}

.portal-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 5px;
}

.portal-dropdown:hover .portal-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portal-dropdown-item {
    display: block;
    padding: 12px 15px;
    color: var(--focus-azul); /* Cor azul do focus */
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.portal-dropdown-item:hover {
    background-color: var(--focus-rosa); /* Rosa do focus */
    padding-left: 20px;
    color: var(--focus-azul);
}

.portal-dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.portal-dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* ===== CABEÇALHO PRINCIPAL ===== */
.main-header {
    background-color: white;
    padding: 10px 0; /* Reduzido de 15px para 10px (33% menor) */
    position: fixed;
    top: 56px; /* Movido 20px para baixo (36px + 20px = 56px) */
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(9, 63, 180, 0.2), 0 0 0 1px rgba(9, 63, 180, 0.1);
    transition: all 0.3s ease;
    height: var(--header-altura); /* Mudado de min-height para height para forçar altura exata */
}

@media (min-width: 769px) {
    .main-header {
        top: 56px; /* Movido 20px para baixo (36px + 20px = 56px) */
    }
    .top-bar {
        top: 0px; /* Topo absoluto - barra única */
    }
}

.main-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px 0 5px;
}

/* ===== LOGO FOCUS À ESQUERDA ===== */
.focus-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 100px;
    max-width: 120px;
    margin-right: 20px;
}

.focus-logo-img {
    height: 175px;
    width: auto;
    object-fit: contain;
    margin-left: -160px;
}

/* ===== LOGO PRINCIPAL ===== */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex: 1;
    justify-content: center;
}

.logo-img {
    height: var(--logo-header-altura);
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* CLASSES PARA AJUSTAR LOGO */
.logo-pequena .logo-img { height: 60px; }
.logo-media .logo-img { height: 80px; }
.logo-grande .logo-img { height: 100px; }
.logo-extra-grande .logo-img { height: 120px; }

/* ===== MENU PRINCIPAL ===== */
.main-nav {
    position: relative;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 280px;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--focus-azul);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
    padding: 12px 16px;
    transform: translateY(-1px);
}

/* ===== ESTILO PARA ITEM ATIVO DO MENU ===== */
.nav-link.active {
    color: white;
    background-color: var(--focus-azul);
    border-radius: 6px;
    padding: 12px 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(9, 63, 180, 0.3);
}

.nav-link.active:hover {
    color: white;
    background-color: #2563eb;
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* ===== SUBMENUS DROPDOWN ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(9, 63, 180, 0.15); /* Sombra azul focus */
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid #e0e0e0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--focus-azul); /* Azul do focus */
    text-decoration: none;
    border-bottom: 1px solid #e6f0e6;
    transition: all 0.3s ease;
    font-size: 15px;
}

.dropdown-menu a:hover {
    background-color: var(--focus-rosa); /* Rosa do focus */
    color: var(--focus-azul);
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

/* ===== SUBMENUS ANINHADOS (DROPDOWN DENTRO DE DROPDOWN) ===== */
.dropdown-menu .has-dropdown {
    position: relative;
}

.dropdown-menu .has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-menu .has-dropdown > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-menu .has-dropdown:hover > a i {
    transform: rotate(90deg);
}

/* SUBMENU ANINHADO - ESTADO PADRÃO (OCULTO) */
.dropdown-menu .has-dropdown .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 8px;
    min-width: 220px;
    background-color: white;
    box-shadow: 0 8px 25px rgba(9, 63, 180, 0.15);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: all 0.3s ease;
    z-index: 1003;
    pointer-events: none;
}

/* SUBMENU ANINHADO - ESTADO HOVER (VISÍVEL) */
.dropdown-menu .has-dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* ===== BOTÃO MENU MOBILE ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(67, 85, 57, 0.1);
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-content {
    min-height: 60vh;
    margin-top: 0;
    background-image: url('../imagens/background-blur.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    flex: 1 0 auto;
}

/* Overlay para melhorar legibilidade */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

[data-theme="dark"] .main-content::before {
    background-color: rgba(0, 0, 0, 0.85);
}

/* ===== MODO ESCURO COMPLETO - TODOS OS ELEMENTOS ===== */
[data-theme="dark"] {
    /* Fundos principais */
    --cor-fundo-card: #1e1e1e;          /* Fundo para cards */
    --cor-fundo-menu: #2a2a2a;          /* Fundo para menus */
    --cor-fundo-hover: #333333;         /* Fundo para hover */
}

/* ELEMENTOS PRINCIPAIS NO MODO ESCURO */
[data-theme="dark"] .main-content,
[data-theme="dark"] .news-section,
[data-theme="dark"] .carousel-section,
[data-theme="dark"] .slide-content,
[data-theme="dark"] .container {
    background-color: var(--cor-fundo) !important;
    color: var(--cor-texto) !important;
}

/* CARDS E ELEMENTOS COM FUNDO BRANCO */
[data-theme="dark"] .news-card,
[data-theme="dark"] .slide-overlay,
[data-theme="dark"] .portal-dropdown-menu,
[data-theme="dark"] .dropdown-menu {
    background-color: var(--cor-fundo-card) !important;
    color: var(--cor-texto) !important;
    border-color: var(--cor-borda) !important;
}

/* MENUS E NAVEGAÇÃO */
[data-theme="dark"] .main-header,
[data-theme="dark"] .nav-menu,
[data-theme="dark"] .nav-link {
    background-color: var(--cor-fundo-secundaria) !important;
    color: var(--cor-texto) !important;
}

/* BOTÕES E ELEMENTOS INTERATIVOS */
[data-theme="dark"] .portal-dropdown-item {
    background-color: var(--cor-fundo-card) !important;
    color: var(--cor-texto) !important;
}

[data-theme="dark"] .portal-dropdown-item:hover {
    background-color: var(--cor-fundo-hover) !important;
    color: var(--cor-texto) !important;
}

/* TÍTULOS E TEXTOS */
[data-theme="dark"] .slide-title,
[data-theme="dark"] .slide-subtitle,
[data-theme="dark"] .slide-description,
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] h5, 
[data-theme="dark"] h6,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] a {
    color: var(--cor-texto) !important;
}

/* LINKS COM CORES ESPECÍFICAS */
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .portal-dropdown-item:hover {
    color: var(--focus-azul) !important;
}

/* BORDAS E SOMBRAS NO MODO ESCURO */
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .portal-dropdown-menu,
[data-theme="dark"] .news-card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--cor-borda) !important;
}

/* FOOTER NO MODO ESCURO */
[data-theme="dark"] .footer {
    background-color: var(--cor-fundo-secundaria) !important;
    color: var(--cor-texto) !important;
    border-top: 1px solid var(--cor-borda) !important;
}

/* SEÇÃO DO MAPA NO MODO ESCURO */
[data-theme="dark"] .map-section {
    background-color: var(--cor-fundo-secundaria) !important;
    border-top: 1px solid var(--cor-borda) !important;
}

/* SISTEMA DE BUSCA NO MODO ESCURO */
[data-theme="dark"] .search-container,
[data-theme="dark"] .search-box,
[data-theme="dark"] .search-input {
    background-color: var(--cor-fundo-card) !important;
    color: var(--cor-texto) !important;
    border-color: var(--cor-borda) !important;
}

[data-theme="dark"] .search-input::placeholder {
    color: #999 !important;
}

[data-theme="dark"] .search-icon {
    color: var(--cor-texto) !important;
}

[data-theme="dark"] .search-results {
    background-color: var(--cor-fundo-card) !important;
    border-color: var(--cor-borda) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .search-result-item {
    background-color: var(--cor-fundo-card) !important;
    color: var(--cor-texto) !important;
    border-bottom-color: var(--cor-borda) !important;
}

[data-theme="dark"] .search-result-item:hover,
[data-theme="dark"] .search-result-item.focused {
    background-color: var(--cor-fundo-hover) !important;
    color: var(--cor-texto) !important;
}

[data-theme="dark"] .search-result-title {
    color: var(--cor-texto) !important;
}

[data-theme="dark"] .search-result-content {
    color: #ccc !important;
}

[data-theme="dark"] .search-result-category {
    color: var(--focus-azul) !important;
}

[data-theme="dark"] .search-no-results {
    color: #ccc !important;
}

/* ELEMENTOS ADICIONAIS NO MODO ESCURO */
[data-theme="dark"] .focus-logo,
[data-theme="dark"] .accessibility-controls,
[data-theme="dark"] .mobile-menu-toggle {
    background-color: transparent !important;
    color: var(--cor-texto) !important;
}

/* BOTÕES E CONTROLES NO MODO ESCURO */
[data-theme="dark"] button,
[data-theme="dark"] .btn {
    background-color: var(--cor-fundo-card) !important;
    color: var(--cor-texto) !important;
    border-color: var(--cor-borda) !important;
}

[data-theme="dark"] button:hover,
[data-theme="dark"] .btn:hover {
    background-color: var(--cor-fundo-hover) !important;
    color: var(--cor-texto) !important;
}

/* ===== SEÇÃO DO CARROSSEL ===== */
/* CARROSSEL SIMPLES E LEVE */
.carousel-section {
    position: relative;
    height: var(--carousel-altura);
    overflow: hidden;
    background: #f8f9fa;
    border: none;
    border-radius: 0;
    margin: 0;
    max-width: none;
    width: 100%;
    z-index: 1;
}

/* CONTAINER DO CARROSSEL */
.carousel-container {
    position: relative;
    height: 100%;
    z-index: 2;
}

/* WRAPPER DOS SLIDES */
.carousel-wrapper {
    position: relative;
    height: 100%;
    overflow: visible;
    width: 100%;
}

/* SLIDES INDIVIDUAIS */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(-50%) translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 10px;
    z-index: 3;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(-50%) translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-50%) translateX(-100%);
}

/* IMAGEM DO SLIDE - 60% da largura */
.slide-image {
    flex: 0 0 60%;
    height: var(--slide-image-height);
    border-radius: 8px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* CONTEÚDO DO SLIDE - 40% da largura */
.slide-content {
    flex: 0 0 40%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #093FB4;
    line-height: 1.3;
}

.slide-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    margin-right: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* SETAS DE NAVEGAÇÃO */
.carousel-arrow {
    position: static;
    bottom: auto;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #093FB4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-arrow-prev {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
}

.carousel-arrow-next {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.carousel-arrow:hover svg {
    transform: scale(1.2);
}

/* CONTROLES DE NAVEGAÇÃO ENTRE IMAGEM E TEXTO */
.carousel-controls {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    z-index: 10;
}

/* INDICADORES */
.carousel-indicators {
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: #093FB4;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(9, 63, 180, 0.5);
}

/* OVERLAY COM TEXTO E BOTÕES */
.slide-overlay {
    color: var(--focus-azul); /* Texto azul focus */
    max-width: 500px;
    text-align: left;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: var(--focus-azul);
}

.slide-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--focus-laranja); /* Laranja do focus */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    margin-right: 30px;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--cor-texto);
}

/* BOTÕES DO SLIDE */
.slide-btn {
    background: var(--btn-slide-cor-fundo);
    color: var(--btn-slide-cor-texto);
    border: none;
    padding: var(--btn-slide-tamanho);
    font-size: var(--btn-slide-fonte-tamanho);
    font-weight: 600;
    border-radius: var(--btn-slide-borda-raio);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--btn-slide-sombra);
    margin-right: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    display: inline-block;
}

.slide-btn:hover {
    transform: translateY(var(--btn-slide-hover-elevacao));
    box-shadow: var(--btn-slide-hover-sombra);
    background: linear-gradient(135deg, var(--focus-laranja), var(--focus-azul));
}

/* CONTROLES DO CARROSSEL */
.carousel-controls {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    z-index: 10;
}

/* SETAS DE NAVEGAÇÃO - REMOVIDAS */

/* INDICADORES DO CARROSSEL - REMOVIDOS */
}

/* ===== SEÇÃO DE NOTÍCIAS ===== */
.news-section {
    padding: 80px 0;
    background-color: var(--focus-branco); /* Fundo branco do focus */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--focus-azul); /* Azul do focus */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* CARDS DE NOTÍCIAS */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(9, 63, 180, 0.1); /* Sombra azul focus */
    transition: all 0.3s ease;
    border: 1px solid rgba(9, 63, 180, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(9, 63, 180, 0.15);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
}

.news-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--focus-azul);
    line-height: 1.3;
}

.news-card-excerpt {
    color: var(--cor-texto);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.news-card-date {
    color: var(--focus-laranja); /* Laranja do focus */
    font-weight: 500;
}

.news-card-category {
    background: var(--focus-rosa); /* Rosa do focus */
    color: var(--focus-azul);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== RODAPÉ ===== */
.main-footer {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    z-index: 100;
}

/* SEÇÃO SUPERIOR DO RODAPÉ */
.footer-top {
    background-color: #0c5ca4; /* Azul escuro igual ao header */
    padding: 1px 0; /* Reduzido em mais 30% de 1.4px para 1px */
    color: white;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px; /* Reduzido em mais 30% de 8.4px para 6px */
    flex-wrap: wrap;
}

/* LOGO DO RODAPÉ */
.footer-logo {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-logo-img {
    height: var(--logo-footer-altura);
    width: auto;
    filter: brightness(1.1);
    transition: height 0.3s ease;
    float: right;
    margin-left: -90px;
}

/* LINKS INSTITUCIONAIS */
.footer-links {
    flex: 1;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5px; /* Reduzido em mais 30% de 3.5px para 2.5px */
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--focus-azul); /* Azul do focus */
    text-decoration: underline;
}

.separator {
    color: #666;
    font-size: 14px;
    margin: 0 5px;
}

/* REDES SOCIAIS */
.footer-social {
    flex-shrink: 0;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* Reduzido em mais 30% de 2.8px para 2px */
}

.social-text {
    font-size: 12px;
    color: #ccc;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 5px; /* Reduzido em mais 30% de 7px para 5px */
}

.social-link {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
}

.social-link:hover {
    background-color: var(--focus-azul); /* Azul do focus */
    transform: scale(1.1);
}

/* BARRA DE COPYRIGHT */
.footer-bottom {
    background-color: white; /* Fundo branco */
    border-top: 2px solid #093fb4; /* Contorno azul igual ao header */
    padding: 14px 0; /* Reduzido em 30% de 20px para 14px */
    color: #093fb4; /* Cor azul solicitada */
    font-weight: bold; /* Negrito */
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px; /* Reduzido em 30% de 20px para 14px */
    color: #093fb4; /* Cor azul solicitada */
    font-weight: bold; /* Negrito */
}

/* Garantir que todos os elementos filhos tenham negrito e cor azul */
.footer-bottom * {
    color: #093fb4 !important;
    font-weight: bold !important;
}

.copyright {
    font-size: 14px;
    margin: 0;
}

.footer-info {
    display: flex;
    gap: 14px; /* Reduzido em 30% de 20px para 14px */
    font-size: 13px;
}

.footer-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-info i {
    color: var(--focus-azul); /* Ícones azuis do focus */
}

/* ===== BOTÃO MENU HAMBÚRGUER ===== */
.mobile-menu-btn {
    display: none; /* Escondido por padrão no desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(9, 63, 180, 0.1); /* Fundo azul claro no hover */
}

/* Linhas do hambúrguer */
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--focus-azul);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animação do hambúrguer quando ativo */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0; /* Linha do meio desaparece */
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 10000;
}

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

/* ===== RESPONSIVIDADE COMPLETA PARA DISPOSITIVOS MÓVEIS ===== */

/* ===== CELULARES PEQUENOS (320px - 480px) - Celulares Antigos ===== */
@media (max-width: 480px) {
    /* AJUSTES GERAIS PARA CELULARES PEQUENOS */
    body {
        font-size: 14px; /* Fonte menor para telas pequenas */
        padding-top: calc(50px + 120px); /* Ajuste para header menor */
    }
    
    .container {
        padding: 0 15px; /* Padding menor nas laterais */
    }
    
    /* TOP BAR RESPONSIVA */
    .top-bar {
        padding: 3px 0; /* Padding ainda menor */
        font-size: 12px; /* Fonte menor */
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* HEADER PRINCIPAL RESPONSIVO */
    .main-header {
        min-height: 140px; /* Aumentado 20px (120px + 20px = 140px) */
        padding: 10px 0;
        top: 47px; /* Movido 20px para baixo (27px + 20px = 47px) */
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        padding: 0 10px 0 5px;
    }
    
    /* LOGOS RESPONSIVAS */
    .focus-logo-img {
        height: 71px;
        margin-left: -130px;
    }
    
    .logo-img {
        height: 50px; /* Logo principal menor */
        max-width: 200px;
    }
    
    /* NAVEGAÇÃO MOBILE */
    .main-nav {
        width: 100%;
        order: 3; /* Coloca navegação por último */
    }
    
    .nav-menu {
        display: none; /* Esconde menu por padrão */
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
        padding: 20px;
        gap: 15px;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex; /* Mostra menu quando ativo */
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 16px; /* Fonte maior para facilitar toque */
        padding: 15px 20px; /* Área de toque maior */
        border-radius: 6px;
        width: 100%;
        justify-content: center;
    }
    
    /* BOTÃO MENU HAMBÚRGUER */
    .mobile-menu-btn {
        display: flex; /* Mostra botão hambúrguer */
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        background-color: var(--focus-azul); /* Cor azul do focus */
    }
    
    /* DROPDOWN MENUS MOBILE */
    .dropdown-menu {
        position: static; /* Remove posicionamento absoluto */
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--focus-rosa); /* Fundo rosa claro */
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Escondido por padrão */
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block; /* Mostra quando ativo */
    }
    
    .dropdown-menu a {
        padding: 12px 15px;
        font-size: 14px;
        border-bottom: 1px solid rgba(9, 63, 180, 0.1);
    }
    
    /* SUBMENUS ANINHADOS MOBILE */
    .dropdown-menu .has-dropdown .submenu {
        position: static;
        margin-left: 0;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-left: 3px solid var(--focus-azul);
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }
    
    .dropdown-menu .has-dropdown.active .submenu {
        display: block;
    }
    
    /* CARROSSEL RESPONSIVO */
    .carousel-section {
        height: 336px; /* Altura reduzida 40% (560px * 0.6 = 336px) */
        margin-top: 174px; /* Espaçamento para header mobile (54px top-bar + 120px main-header) */
    }
    
    /* Ajustes para slides em mobile */
    .carousel-slide {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        width: 100%;
        left: 50%;
        transform: translateX(-50%) translateX(100%);
    }
    
    .carousel-slide.active {
        transform: translateX(-50%) translateX(0);
    }
    
    .carousel-slide.prev {
        transform: translateX(-50%) translateX(-100%);
    }
    
    /* Controles entre imagem e texto para mobile */
    .carousel-controls {
        margin: 10px 0;
        gap: 15px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    
    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .slide-image {
        flex: 0 0 auto;
        width: 100%;
        height: 216px;
        margin-bottom: 10px;
    }
    
    .slide-content {
        flex: 1;
        padding-left: 0;
        text-align: center;
        align-items: center;
        gap: 12px;
        padding: 16px 12px;
        box-sizing: border-box;
    }
    
    .slide-title {
        font-size: 1.8rem; /* Título menor */
        line-height: 1.2;
    }
    
    .slide-subtitle {
        font-size: 1.2rem; /* Subtítulo menor */
    }
    
    .slide-description {
        font-size: 0.9rem; /* Descrição menor */
        line-height: 1.4;
        margin-bottom: 20px;
        margin-right: 30px;
    }
    
    .slide-btn {
        padding: 12px 20px; /* Botões menores */
        font-size: 12px;
        margin: 5px;
        width: auto;
        min-width: 120px;
    }
    
    /* CARROSSEL MOBILE */
    .carousel-section {
        height: 336px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .carousel-slide {
        padding: 10px 15px;
        gap: 10px;
        width: 100%;
        left: 50%;
        transform: translateX(-50%) translateX(100%);
    }
    
    .carousel-slide.active {
        transform: translateX(-50%) translateX(0);
    }
    
    .carousel-slide.prev {
        transform: translateX(-50%) translateX(-100%);
    }
    
    /* Controles entre imagem e texto para telas muito pequenas */
    .carousel-controls {
        margin: 8px 0;
        gap: 10px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
    
    .carousel-arrow svg {
        width: 14px;
        height: 14px;
    }
    
    .slide-image {
        width: 100px;
        height: 101px;
    }
    
    .slide-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .slide-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        margin-right: 30px;
    }
    
    /* Setas de navegação e indicadores removidos */
    
    /* SEÇÃO DE NOTÍCIAS MOBILE */
    .news-section {
        padding: 40px 0; /* Padding menor */
    }
    
    .section-title {
        font-size: 1.8rem; /* Título menor */
        margin-bottom: 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr; /* Uma coluna */
        gap: 20px;
    }
    
    /* FOOTER MOBILE */
    .footer {
        padding: 14px 0; /* Padding menor - reduzido em 30% de 20px para 14px */
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 7px; /* Reduzido em mais 30% de 9.8px para 7px */
    }
    
    .footer-logo {
        order: 2; /* Logo por último */
    }
    
    .footer-logo-img {
        height: 73px; /* Logo menor no footer (reduzida em mais 30% de 105px para 73px) */
        margin: 0 auto;
        margin-left: -45px; /* Reduzido pela metade no mobile para evitar quebra de layout */
    }
    
    .footer-links {
        order: 1; /* Links primeiro */
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 4px; /* Reduzido em mais 30% de 5.6px para 4px */
    }
    
    .footer-link {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .footer-social {
        order: 3; /* Redes sociais por último */
    }
    
    .social-links {
        gap: 7px; /* Reduzido em mais 30% de 10.5px para 7px */
    }
    
    .social-link {
        width: 35px; /* Ícones menores */
        height: 35px;
        font-size: 16px;
    }
    
    /* FOOTER BOTTOM MOBILE */
    .footer-bottom {
        padding: 10px 0; /* Reduzido em 30% de 15px para 10px */
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 7px; /* Reduzido em 30% de 10px para 7px */
        text-align: center;
    }
    
    .copyright {
        font-size: 12px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 6px; /* Reduzido em 30% de 8px para 6px */
        font-size: 11px;
    }
    
    /* BOTÃO WHATSAPP MOBILE */
    .whatsapp-btn {
        width: 50px; /* Botão menor */
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    /* MAPA RESPONSIVO PARA CELULARES PEQUENOS */
    .map-container iframe {
        height: 180px; /* Altura menor */
    }
}

/* ===== CELULARES MÉDIOS (481px - 768px) - Celulares Modernos ===== */
@media (min-width: 481px) and (max-width: 768px) {
    /* AJUSTES PARA CELULARES MODERNOS */
    body {
        font-size: 15px;
        padding-top: calc(40px + 130px);
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* TOP BAR */
    .top-bar {
        padding: 4px 0;
        font-size: 13px;
    }
    
    /* HEADER */
    .main-header {
        min-height: 150px; /* Aumentado 20px (130px + 20px = 150px) */
        padding: 12px 0;
        top: 50px; /* Movido 20px para baixo (30px + 20px = 50px) */
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        padding: 0 10px 0 5px;
    }
    
    /* LOGOS */
    .focus-logo-img {
        height: 83px;
        margin-left: -135px;
    }
    
    .logo-img {
        height: 60px;
        max-width: 250px;
    }
    
    /* NAVEGAÇÃO */
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 25px;
        gap: 18px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 16px 25px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* CARROSSEL */
    .carousel-section {
        height: 384px; /* Altura reduzida 40% (640px * 0.6 = 384px) */
        margin-top: 170px; /* Espaçamento para header celulares médios (40px top-bar + 130px main-header) */
    }
    
    /* Ajustes para imagens do carrossel em celulares médios */
    :root {
        --slide-image-width: 86px; /* Largura reduzida 40% (144px * 0.6 = 86px) */
        --slide-image-height: 323px; /* Altura reduzida 40% (538px * 0.6 = 323px) */
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-subtitle {
        font-size: 1.4rem;
    }
    
    .slide-description {
        font-size: 1rem;
        margin-right: 30px;
    }
    
    /* CONTROLES - Setas removidas */
    
    /* NOTÍCIAS */
    .news-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* FOOTER */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 9px; /* Reduzido em mais 30% de 12.6px para 9px */
    }
    
    .footer-logo-img {
        height: 88px; /* Reduzida em mais 30% de 126px para 88px */
        margin-left: -60px; /* Ajuste intermediário para tablet */
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 3.5px; /* Reduzido em mais 30% de 4.9px para 3.5px */
    }
    
    /* MAPA */
    .map-container iframe {
        height: 200px;
    }
}

/* ===== TABLETS (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* AJUSTES PARA TABLETS */
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    /* HEADER TABLET */
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* NAVEGAÇÃO TABLET */
    .nav-menu {
        display: flex;
        flex-direction: row;
        gap: 25px;
    }
    
    .mobile-menu-btn {
        display: none; /* Esconde hambúrguer em tablets */
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    /* CARROSSEL TABLET */
    .carousel-section {
        height: 461px; /* Altura reduzida 40% (768px * 0.6 = 461px) */
        margin-top: 180px; /* Espaçamento para header tablets (36px top-bar + 144px main-header) */
    }
    
    /* Ajustes para imagens do carrossel em tablets */
    :root {
        --slide-image-width: 101px; /* Largura reduzida 40% (168px * 0.6 = 101px) */
        --slide-image-height: 377px; /* Altura reduzida 40% (628px * 0.6 = 377px) */
    }
    
    .slide-content {
        flex-direction: row;
        text-align: left;
        align-items: center; /* Alinhamento consistente em tablet */
        gap: 32px; /* Reduzido 20% (40px → 32px) */
        box-sizing: border-box; /* Garantir cálculo consistente */
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.8rem;
    }
    
    /* NOTÍCIAS TABLET */
    .news-grid {
        grid-template-columns: repeat(2, 1fr); /* Duas colunas */
        gap: 30px;
    }
    
    /* FOOTER TABLET */
    .footer-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px; /* Reduzido em mais 30% de 7px para 5px */
    }
    
    /* MAPA TABLET */
    .map-container iframe {
        height: 250px;
    }
}

/* ===== DESKTOP (1025px+) ===== */
@media (min-width: 1025px) {
    /* AJUSTES PARA DESKTOP */
    .mobile-menu-btn {
        display: none; /* Sempre escondido no desktop */
    }
    
    .nav-menu {
        display: flex; /* Sempre visível no desktop */
        flex-direction: row;
    }
    
    /* CARROSSEL DESKTOP */
    .carousel-section {
        height: var(--carousel-altura); /* Altura padrão */
        margin-top: 180px; /* Espaçamento para header desktop (36px top-bar + 144px main-header) */
    }
    
    /* NOTÍCIAS DESKTOP */
    .news-grid {
        grid-template-columns: repeat(3, 1fr); /* Três colunas */
    }
    
    /* MAPA DESKTOP */
    .map-container iframe {
        height: 300px;
    }
}

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

/* ===== CLASSES DE CORES DO FOCUS ===== */
.focus-azul { color: var(--focus-azul) !important; }
.focus-laranja { color: var(--focus-laranja) !important; }
.focus-rosa { background-color: var(--focus-rosa) !important; }
.focus-branco { background-color: var(--focus-branco) !important; }

.bg-focus-azul { background-color: var(--focus-azul) !important; }
.bg-focus-laranja { background-color: var(--focus-laranja) !important; }
.bg-focus-rosa { background-color: var(--focus-rosa) !important; }
.bg-focus-branco { background-color: var(--focus-branco) !important; }

/* ===== SEÇÃO DO MAPA ===== */
.map-section {
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.map-container iframe {
    width: 100%;
    height: 200px;
    display: block;
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* RESPONSIVIDADE PARA O MAPA */
@media (max-width: 768px) {
    .map-container iframe {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 120px;
    }
}



/* FIM DO CSS PRINCIPAL DO FOCUSNEWS */