/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset global para prevenir overflow */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    --dourado: #D9A441;
    --coral: #E28B6D;
    --slate: #2F4F4F;
    --verde-salvia: #A7B99E;
    --creme: #F5E9DA;
    --branco: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--slate);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 79, 79, 0.8), rgba(47, 79, 79, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--branco);
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--dourado), var(--coral));
    color: var(--branco);
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 2px solid var(--dourado);
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.hero-location {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dourado);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dourado);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dourado), var(--coral));
    color: var(--branco);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 164, 65, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--branco);
    border: 2px solid var(--dourado);
}

.btn-secondary:hover {
    background: var(--dourado);
    transform: translateY(-2px);
}

/* Programação Section */
.agenda {
    padding: 100px 0;
    background: var(--branco);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--slate);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Novo Design da Programação */
.agenda-grid-novo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.agenda-destaque-novo {
    /* Removendo grid-column: 1 / -1 para não ocupar linha inteira */
}

.agenda-card-novo {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.agenda-card-novo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.agenda-icon-novo {
    width: 60px;
    height: 60px;
    background: #D9A441;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.agenda-icon-novo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(217, 164, 65, 0.4);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(217, 164, 65, 0);
    }
}

.agenda-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.agenda-icon-novo:hover .agenda-icon-img {
    transform: rotate(5deg) scale(1.1);
}

.agenda-icon-img-destaque {
    filter: brightness(0) invert(1);
}

.agenda-titulo-novo {
    font-size: 1.1rem;
    color: #2F4F4F;
    margin-bottom: 8px;
    line-height: 1.3;
}

.agenda-subtitulo-novo {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.agenda-data-novo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D9A441;
    margin-bottom: 8px;
}

.agenda-horario-novo {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.agenda-guest-novo {
    font-size: 0.9rem;
    color: #2F4F4F;
    margin-bottom: 10px;
}

.agenda-local-novo {
    background: #A7B99E;
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 10px;
}

/* Card de Destaque (26/10) - Corrigido */
.agenda-destaque-novo {
    background: linear-gradient(135deg, #D9A441 0%, #E28B6D 100%);
    color: white;
}

.agenda-icon-destaque {
    background: rgba(255,255,255,0.2);
}

.agenda-titulo-destaque,
.agenda-data-destaque,
.agenda-horario-destaque,
.agenda-guest-destaque {
    color: white;
}

.agenda-local-destaque {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .agenda-grid-novo {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .agenda-card-novo {
        padding: 20px;
    }
    
    .agenda-titulo-novo {
        font-size: 1rem;
    }
}

/* Calendário Section */
.calendario {
    padding: 100px 0;
    background: var(--slate);
    color: var(--branco);
}

.calendario .section-title,
.calendario .section-subtitle {
    color: var(--branco);
}

.calendario-aviso {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.calendario-aviso i {
    margin-right: 8px;
    color: var(--dourado);
}

.calendario-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendario-header {
    text-align: center;
    margin-bottom: 30px;
}

.calendario-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dourado);
}

/* Lista mobile oculta por padrão */
.calendario-mobile-list {
    display: none;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.dia-semana {
    text-align: center;
    font-weight: 600;
    padding: 10px;
    color: var(--dourado);
    font-size: 0.9rem;
}

.dia {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
}

.dia .numero {
    font-weight: 500;
    margin-bottom: 5px;
}

.dia.evento {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    position: relative;
}

.dia.evento:hover {
    transform: scale(1.05);
    border-color: var(--dourado);
}

.evento-tag {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    color: var(--branco);
    text-align: center;
    line-height: 1;
    min-width: 60px;
}

.evento-tag.evento-palestra { background: #ff6b6b; }
.evento-tag.evento-acao { background: #4ecdc4; }
.evento-tag.evento-aulao { background: #feca57; }
.evento-tag.evento-corrida { background: #45b7d1; }
.evento-tag.evento-inauguracao { background: #96ceb4; }

.calendario-legenda {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.legenda-cor {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legenda-cor.evento-palestra { background: #ff6b6b; }
.legenda-cor.evento-acao { background: #4ecdc4; }
.legenda-cor.evento-aulao { background: #feca57; }
.legenda-cor.evento-corrida { background: #45b7d1; }
.legenda-cor.evento-inauguracao { background: #96ceb4; }

/* Popup Ações Sociais */
.popup-acao-social {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    background: linear-gradient(135deg, var(--slate), #3a5f5f);
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: popupSlideIn 0.3s ease;
    border: 3px solid var(--dourado);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@keyframes popupSlideIn {
    from { transform: translateY(-50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.popup-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dourado);
    transition: all 0.3s ease;
    font-weight: bold;
}

.popup-close:hover {
    color: var(--coral);
    transform: scale(1.1);
}

.popup-content h4 {
    color: var(--dourado);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
}

.stands-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stand-item {
    background: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 500;
    border-left: 4px solid var(--dourado);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.stand-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Contato Section */
.contato {
    padding: 100px 0;
    background: var(--branco);
}

.contato-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--creme);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contato-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dourado), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--branco);
}

.contato-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--slate);
}

.contato-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

/* Logo Secretaria do Idoso */
.secretaria-logo {
    text-align: center;
    margin-top: 40px;
}

.secretaria-logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.secretaria-logo-img:hover {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--branco);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--slate);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .agenda-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .calendario-grid {
        gap: 5px;
    }
    
    .dia {
        min-height: 50px;
    }
    
    .evento-tag {
        font-size: 0.5rem;
        padding: 1px 4px;
        min-width: 50px;
    }
    
    .calendario-legenda {
        font-size: 0.8rem;
    }
    
    .popup-content {
        margin: 20% auto;
        padding: 20px;
    }
    
    .stand-item {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .calendario-wrapper {
        padding: 20px;
    }
    
    .calendario-legenda {
        gap: 8px;
    }
    
    .legenda-item {
        font-size: 0.8rem;
    }
    
    .popup-content {
        margin: 30% auto;
        width: 95%;
    }
}

/* Notebook específico (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        height: 90vh;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 35px;
    }
    
    .hero-stats {
        gap: 50px;
        margin-bottom: 35px;
        padding: 25px;
    }
    
    .agenda-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}


/* Footer */
.footer {
    background: var(--slate);
    color: var(--branco);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.footer-logo-white {
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dourado);
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--dourado);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--branco);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--dourado);
}

.footer-column li:not(:has(a)) {
    color: var(--branco);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-credits {
    color: var(--dourado);
    font-weight: 500;
}

/* Responsividade Completa */

/* Tablets e dispositivos médios */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 20px;
    }
    
    .logo-img {
        max-width: 350px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .agenda-grid-novo {
        gap: 25px;
    }
    
    .agenda-item-novo {
        padding: 25px;
    }
    
    .footer-content {
        gap: 50px;
    }
}

/* Smartphones e dispositivos pequenos */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 16px;
        margin-bottom: 20px;
    }
    
    .logo-img {
        max-width: 280px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Seções */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    /* Grid de agenda */
    .agenda-grid-novo {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .agenda-item-novo {
        padding: 20px;
    }
    
    .agenda-icon-novo {
        width: 50px;
        height: 50px;
    }
    
    .agenda-icon-img {
        width: 24px;
        height: 24px;
    }
    
    .agenda-title-novo {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .agenda-subtitulo-novo {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .agenda-date-novo {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .agenda-time-novo,
    .agenda-guest-novo {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .agenda-location-novo {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    /* CALENDÁRIO MOBILE - SOLUÇÃO CORRETA */
    
    /* Apenas em mobile, ocultar grid e mostrar lista */
    @media (max-width: 768px) {
        /* Forçar overflow hidden em mobile */
        #calendario,
        .calendario-section {
            overflow: hidden !important;
            max-width: 100vw !important;
            width: 100% !important;
        }
        
        .calendario-wrapper {
            overflow: hidden !important;
            max-width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        /* Ocultar grid apenas em mobile */
        .calendario-grid {
            display: none !important;
            visibility: hidden !important;
        }
        
        .calendario-legenda {
            display: none !important;
            visibility: hidden !important;
        }
        
        /* Mostrar lista apenas em mobile */
        .calendario-mobile-list {
            display: block !important;
            visibility: visible !important;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }
    }
    
    /* Desktop - manter lista oculta */
    .calendario-mobile-list {
        display: none;
        visibility: hidden;
    }
    
    .calendario-mobile-item {
        display: flex;
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 15px;
        background: rgba(255,255,255,0.05);
        border-radius: 10px;
        border-left: 4px solid var(--dourado);
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }
    
    .calendario-mobile-item:last-child {
        margin-bottom: 0;
    }
    
    .calendario-mobile-date {
        font-size: 1.1rem;
        font-weight: bold;
        color: var(--dourado);
        min-width: 50px;
        max-width: 50px;
        margin-right: 15px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .calendario-mobile-event {
        flex: 1;
        color: white;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: calc(100% - 65px);
        overflow: hidden;
    }
    
    .calendario-mobile-event strong {
        display: block;
        margin-bottom: 8px;
        color: var(--dourado);
        font-size: 0.9rem;
    }
    
    /* Contato */
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .contact-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .contact-info {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-logo-img {
        max-width: 150px;
    }
    
    .footer-column h4 {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .footer-column a,
    .footer-column li:not(:has(a)) {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Dispositivos muito pequenos */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        max-width: 240px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .agenda-item-novo {
        padding: 15px;
    }
    
    .agenda-title-novo {
        font-size: 1rem;
    }
    
    .agenda-date-novo {
        font-size: 1.2rem;
    }
    
    /* Calendário ainda mais compacto */
    .calendario-mobile-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .calendario-mobile-date {
        font-size: 1rem;
        min-width: 45px;
        margin-right: 12px;
    }
    
    .calendario-mobile-event {
        font-size: 0.8rem;
    }
    
    .calendario-mobile-event strong {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .footer-logo-img {
        max-width: 120px;
    }
    
    /* Logo Secretaria mobile */
    .secretaria-logo-img {
        max-width: 250px;
    }
}

/* Landscape em dispositivos móveis */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-stats {
        flex-direction: row;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn {
        width: auto;
        flex: 1;
    }
}

