/* ===== RESPONSIVIDADE PARA DESIGN COMPACTO ===== */

/* Dispositivos Grandes (Desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .destaques-grid,
    .vantagens-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--espacamento-md);
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
}

/* Tablets e Dispositivos Médios */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Navegação para Tablet */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--branco);
        flex-direction: column;
        padding: 70px 25px 25px;
        transition: var(--transicao);
        box-shadow: -3px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        gap: 20px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -5px);
    }
    
    .body.menu-open {
        overflow: hidden;
    }
    
    /* Slideshow Proporcional para Tablet */
    .slideshow-old {
        height: 50vh;
        min-height: 350px;
        max-height: 450px;
    }
    
    .slide-content-old {
        padding-top: 60px;
    }
    
    .slide-content-old h1 {
        font-size: 1.7rem;
    }
    
    .slide-content-old p {
        font-size: 0.95rem;
    }
    
    .slide-nav-old {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slide-nav-old.prev-old {
        left: 10px;
    }
    
    .slide-nav-old.next-old {
        right: 10px;
    }
    
    /* Grids Compactos */
    .destaques-grid,
    .vantagens-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-sm);
    }
    
    .oferta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-md);
    }
    
    .atividades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-sm);
    }
    
    .news-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-md);
    }
    
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-sm);
    }
    
    .numeros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-md);
    }
    
    /* Footer Compacto */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--espacamento-lg);
    }
    
    .footer-col:first-child {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--espacamento-sm);
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
}

/* Dispositivos Pequenos (Tablets Pequenos e Celulares Grandes) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Header Top Compacto */
    .header-top .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
        gap: var(--espacamento-sm);
    }
    
    /* Slideshow mais compacto e proporcional */
    .slideshow-old {
        height: 45vh;
        min-height: 300px;
        max-height: 380px;
    }
    
    .slide-content-old {
        padding-top: 50px;
        text-align: center;
    }
    
    .slide-content-old h1 {
        font-size: 1.5rem;
    }
    
    .slide-content-old p {
        font-size: 0.9rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: var(--espacamento-xs);
    }
    
    .slide-buttons a {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slide-indicators-old {
        bottom: 15px;
    }
    
    /* Seções mais compactas */
    .horarios-section,
    .destaques-section,
    .oferta-section,
    .vantagens-section,
    .latest-news-section,
    .atividades-section,
    .numeros-section,
    .depoimentos-section {
        padding: var(--espacamento-lg) 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    /* Grids em uma coluna */
    .destaques-grid,
    .vantagens-grid,
    .oferta-grid,
    .atividades-grid,
    .news-grid-small,
    .depoimentos-grid,
    .numeros-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .horarios-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .countdown {
        gap: var(--espacamento-xs);
    }
    
    .countdown-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    /* Footer em uma coluna */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--espacamento-lg);
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo-compact {
        justify-content: center;
    }
    
    .social-links-mini {
        justify-content: center;
    }
    
    .contact-info-mini {
        align-items: center;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: var(--espacamento-xs);
        align-items: center;
    }
}

/* Dispositivos Móveis (Celulares) */
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    /* Logo mais compacta */
    .logo img {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text span {
        font-size: 0.7rem;
    }
    
    /* Slideshow muito compacto e proporcional */
    .slideshow-old {
        height: 40vh;
        min-height: 250px;
        max-height: 320px;
    }
    
    .slide-content-old {
        padding-top: 40px;
    }
    
    .slide-content-old h1 {
        font-size: 1.3rem;
    }
    
    .slide-content-old p {
        font-size: 0.85rem;
    }
    
    .slide-nav-old {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .indicator-old {
        width: 7px;
        height: 7px;
    }
    
    /* Cards mais compactos */
    .destaque-card,
    .vantagem-card,
    .atividade-card {
        padding: var(--espacamento-md);
    }
    
    .card-content {
        padding: var(--espacamento-md);
    }
    
    .card-img {
        height: 120px;
        font-size: 2rem;
    }
    
    /* Depoimentos compactos */
    .depoimento-card {
        min-height: 220px;
        padding: var(--espacamento-md);
    }
    
    .depoimento-texto {
        font-size: 0.85rem;
        padding-left: var(--espacamento-sm);
    }
    
    .depoimento-texto::before {
        font-size: 2rem;
        top: -8px;
    }
    
    .autor-foto {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: var(--espacamento-xs);
    }
    
    /* Notícias compactas */
    .news-img-small {
        height: 140px;
    }
    
    .news-content-small h4 {
        font-size: 1rem;
    }
    
    .news-content-small p {
        font-size: 0.8rem;
    }
    
    /* Números compactos */
    .numero-valor {
        font-size: 2rem;
    }
    
    .numero-descricao {
        font-size: 0.85rem;
    }
    
    /* WhatsApp float menor */
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Barra de pesquisa compacta */
    .search-box {
        width: 280px;
        right: -100px;
    }
    
    /* Botões de ação */
    .btn,
    .btn-renovacao,
    .btn-verde {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Dispositivos Muito Pequenos */
@media (max-width: 375px) {
    /* Ajustes finais para telas muito pequenas */
    .destaque-icon,
    .vantagem-icon,
    .atividade-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .numeros-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        width: 260px;
        right: -130px;
    }
    
    .slide-buttons {
        gap: 8px;
    }
    
    .btn,
    .btn-renovacao {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    /* Slideshow ultra compacto */
    .slideshow-old {
        height: 35vh;
        min-height: 220px;
        max-height: 280px;
    }
    
    .slide-content-old h1 {
        font-size: 1.2rem;
    }
    
    .slide-content-old p {
        font-size: 0.8rem;
    }
}