/* Mobile Styles - Responsividade para todas as páginas */

/* Reset e configurações gerais para mobile */
@media screen and (max-width: 768px) {
    /* Reset global para prevenir overflow horizontal */
    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    /* Root viewport configuration */
    :root {
        --mobile-max-width: 100vw;
    }
    
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        scroll-behavior: smooth;
    }
    
    body {
        font-size: 14px;
        line-height: 1.5;
        overflow-x: hidden !important;
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 100vh !important;
        box-sizing: border-box !important;
        position: relative !important;
        /* Garantir que o footer sempre apareça */
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }
    
    .container {
        padding: 0 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Main content area para mobile */
    main {
        flex: 1 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Garantir que seções não causem overflow */
    section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Header Mobile */
    .header-modern {
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.98) 0%, rgba(59, 130, 246, 0.98) 100%) !important;
        backdrop-filter: blur(10px);
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .navbar .container {
        padding: 0 12px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .nav-brand {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .nav-brand img {
        height: 30px !important;
        margin-right: 6px !important;
    }
    
    .brand-text h1 {
        font-size: 1rem;
        line-height: 1.2;
        margin: 0;
    }
    
    .brand-text span {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    /* Hero Section Mobile */
    .hero-modern {
        min-height: 70vh;
        padding: 100px 0 40px;
        text-align: center;
    }
    
    .hero-content-modern {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-title img {
        height: 32px !important;
        margin-left: 4px !important;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 40px;
        margin: 20px 0;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-card {
        padding: 20px 16px;
        text-align: center;
    }
    
    .hero-card h3 {
        font-size: 1.1rem;
    }
    
    .hero-card p {
        font-size: 0.9rem;
    }
    
    /* Seções gerais Mobile */
    section {
        padding: 40px 0;
        text-align: center;
        width: 100% !important;
        max-width: 100vw !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 30px;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Sobre Mobile */
    .historia-container {
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }
    
    .historia-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
    }
    
    .historia-video {
        order: 1 !important;
        width: 100% !important;
    }
    
    .video-wrapper {
        border-radius: 12px !important;
        margin-bottom: 16px !important;
    }
    
    .sobre-video {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        border-radius: 12px !important;
    }
    
    .video-overlay {
        font-size: 2.5rem !important;
    }
    
    .historia-text {
        text-align: center;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden;
        box-sizing: border-box;
        order: 2 !important;
        padding: 24px !important;
    }
    
    .historia-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
        text-align: center;
    }
    
    /* Instalações Mobile */
    .instalacoes-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 24px;
        justify-items: center;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }
    
    .instalacao-card-modern {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .card-image img {
        max-height: 200px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        object-fit: cover;
    }
    
    .card-content {
        padding: 20px 16px;
        text-align: center;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .card-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .card-features {
        flex-direction: column;
        gap: 8px;
        margin: 12px 0;
        text-align: center;
        align-items: center;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .card-features span {
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Diretoria Mobile */
    .diretoria-grid-modern {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px;
        justify-items: center;
        width: 100%;
    }
    
    .membro-card-modern {
        text-align: center;
    }
    
    .membro-photo img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .membro-info h3 {
        font-size: 1rem;
        margin: 12px 0 4px;
    }
    
    .cargo {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .membro-info p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 10px;
        display: none; /* Ocultar descrição em mobile para economizar espaço */
    }
    
    .social-links {
        justify-content: center;
        gap: 8px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* Contato Mobile */
    .contato-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 30px;
        justify-items: center;
        text-align: center;
        width: 100%;
    }
    
    .contato-info-modern {
        order: 2;
        text-align: center;
        width: 100%;
    }
    
    .contato-form-modern {
        order: 1;
        text-align: center;
        width: 100%;
        max-width: 400px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .info-card {
        padding: 16px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    .info-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    .info-content h4 {
        font-size: 0.95rem !important;
    }
    
    .info-content p {
        font-size: 0.85rem !important;
    }
    
    .map-embed iframe {
        height: 180px !important;
    }
    
    .modern-form {
        padding: 24px 20px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .modern-form h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .modern-form p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 16px;
        text-align: center;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .input-modern {
        font-size: 16px; /* Evita zoom no iOS */
        padding: 14px 16px;
        width: 100%;
        text-align: left;
    }
    
    /* Footer Mobile */
    .footer-modern {
        padding: 32px 0 0 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-shrink: 0 !important; /* Impede que o footer seja comprimido */
        position: relative !important; /* Garante posicionamento correto */
    }

    /* Container interno do footer no mobile, alinhado à esquerda e com padding reduzido */
    .footer-modern .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }
    
    .footer-content-modern {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 24px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .footer-brand {
        text-align: left !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .brand-logo {
        justify-content: flex-start !important;
        margin-bottom: 12px !important;
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
    }
    
    .brand-logo img {
        height: 40px !important;
        margin: 0 8px 0 0 !important;
    }
    
    .brand-text {
            text-align: left !important;
        }
    
    .brand-text h2 {
        font-size: 1.2rem;
        text-align: left !important;
        margin: 0 !important;
    }
    
    .brand-text span {
        font-size: 0.85rem;
        text-align: left !important;
        display: block !important;
    }
    
    .brand-description {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 300px;
        margin: 12px 0 0 0 !important;
        text-align: left !important;
    }
    
    .footer-contact,
    .footer-links {
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .contact-item {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .footer-social {
        justify-content: flex-start !important;
        margin-top: 16px !important;
        display: flex !important;
        align-items: center !important;
    }
    

    .footer-bottom {
        padding: 16px 0 24px !important; /* Aumentar padding bottom */
        margin-top: 24px !important;
        margin-bottom: 20px !important; /* Adicionar margem inferior para espaço */
        text-align: left !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important; /* Impede compressão */
        position: relative !important;
        clear: both !important; /* Garantir que elementos flutuantes não interfiram */
    }
    
    .footer-bottom-content {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: center !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 16px;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .footer-bottom-links a {
        font-size: 0.8rem;
    }

    /* Reforçar alinhamento à direita em elementos internos do footer */
    .footer-links ul {
        align-items: flex-start !important;
    }
    .footer-links a {
        text-align: left !important;
    }
    .footer-bottom p {
        text-align: left !important;
        width: 100% !important;
    }
    
    /* WhatsApp Flutuante Mobile */
    .whatsapp-float {
        right: 16px;
        bottom: 80px; /* Ajustar para não sobrepor o footer */
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .whatsapp-float a {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip em mobile */
    }
    
    /* Back to top Mobile */
    .back-to-top {
        right: 16px;
        bottom: 150px; /* Ajustar para não sobrepor o WhatsApp e dar espaço para o footer */
        position: fixed !important;
        z-index: 999 !important;
    }
    
    .back-to-top a {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* Galeria Mobile (para páginas específicas) */
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
        justify-items: center;
        text-align: center;
    }
    
    .gallery-item {
        text-align: center;
    }
    
    .gallery-item img {
        border-radius: 8px;
    }
    
    /* Bar/Salão/Quadra páginas específicas */
    .page-header {
        padding: 60px 0 40px;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .page-description {
        font-size: 0.95rem;
        max-width: 100%;
        text-align: center;
    }
    
    /* Cards específicos das páginas */
    .feature-card {
        padding: 20px 16px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        text-align: center;
    }
    }
    
    /* Ajustes para imagens */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Especificação para imagens de instalação */
    .instalacao-detalhe-content img {
        max-width: 350px !important;
    }
    
    /* Prevenir overflow horizontal em todos os elementos */
    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    /* Elementos específicos que podem causar overflow */
    .hero-modern,
    .hero-content-modern,
    .hero-visual,
    .hero-text,
    .hero-stats,
    .hero-actions,
    .section-modern,
    .card-modern,
    .instalacoes-grid-modern,
    .diretoria-grid-modern,
    .contato-grid-modern {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Garantir que divs e containers não excedam a tela */
    div {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Prevenir problemas com elementos posicionados */
    .hero-stats,
    .hero-actions,
    .hero-title,
    .hero-description {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Garantir que textos longos não causem overflow */
    h1, h2, h3, h4, h5, h6, p, span, a {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
    }
    
    /* Botões Mobile */
    .btn {
        touch-action: manipulation;
        font-size: 0.9rem;
        padding: 12px 20px;
        text-align: center;
        display: inline-block;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* Melhorar touch targets */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Ocultar elementos desnecessários em mobile */
    .desktop-only {
        display: none !important;
    }


/* Tablet específico */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .diretoria-grid-modern {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .instalacoes-grid-modern {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contato-grid-modern {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}

/* Dispositivos móveis muito pequenos */
@media screen and (max-width: 480px) {
    /* Garantir que o footer apareça em telas muito pequenas */
    .footer-modern {
        margin-top: auto !important;
        padding-bottom: 30px !important;
    }
    
    .footer-bottom {
        padding-bottom: 30px !important;
        margin-bottom: 30px !important;
    }
    
    /* Ajustar botões flutuantes para telas pequenas */
    .whatsapp-float {
        bottom: 100px !important;
    }
    
    .back-to-top {
        bottom: 170px !important;
    }

    /* ===========================
       FOOTER RESPONSIVO MOBILE
       =========================== */
    
    .footer-modern {
        margin-top: 10px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .footer-content {
        padding: 20px 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .footer-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .footer-brand {
        max-width: 100% !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 10px !important;
    }
    
    .footer-logo {
        justify-content: center !important;
        margin-bottom: 10px !important;
        gap: 8px !important;
        align-items: center !important;
    }
    
    .footer-logo-img {
        width: 35px !important;
        height: 35px !important;
        border-radius: 8px !important;
    }
    
    .footer-brand-text h3 {
        font-size: 1.2rem !important;
        margin: 0 !important;
        font-weight: 600 !important;
    }
    
    .footer-brand-text span {
        font-size: 0.7rem !important;
        display: block !important;
        margin-top: 2px !important;
    }
    
    .footer-description {
        font-size: 0.75rem !important;
        margin: 10px 0 !important;
        text-align: center !important;
        line-height: 1.3 !important;
        padding: 0 5px !important;
        color: #a0aec0 !important;
    }
    
    .footer-social {
        justify-content: center !important;
        margin: 12px 0 !important;
        gap: 6px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .social-link {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer-column {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    .footer-column h4 {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .footer-column h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 20px !important;
        height: 1px !important;
    }
    
    .footer-contact {
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .contact-item {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: row !important;
        gap: 5px !important;
        font-size: 0.7rem !important;
        align-items: center !important;
        margin-bottom: 6px !important;
        width: 100% !important;
        max-width: 280px !important;
        word-wrap: break-word !important;
    }
    
    .contact-item i {
        margin-top: 0 !important;
        font-size: 0.8rem !important;
        width: 12px !important;
        color: #4a90e2 !important;
        flex-shrink: 0 !important;
    }
    
    .contact-item span {
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
        padding: 12px 0 16px 0 !important;
        margin-top: 15px !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        width: 100% !important;
    }
    
    .footer-copyright,
    .footer-credits {
        font-size: 0.65rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 5px !important;
        width: 100% !important;
    }
    
    .footer-copyright p,
    .footer-credits p {
        margin: 0 !important;
        padding: 0 !important;
        word-wrap: break-word !important;
    }
    
    /* Remover efeitos hover desnecessários no mobile */
    .footer-column ul li a::before {
        display: none !important;
    }
    
    .social-link:hover {
        transform: none !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    }
    
    /* Otimizações específicas para telas muito pequenas */
    .footer-modern .container {
        padding: 0 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Garantir que não haja overflow */
    .footer-modern *,
    .footer-content *,
    .footer-main *,
    .footer-brand *,
    .footer-column * {
        box-sizing: border-box !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Remover qualquer margin/padding que cause espaços em branco */
    .footer-modern,
    .footer-content,
    .footer-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ===========================
   FOOTER ULTRA COMPACTO - TELAS PEQUENAS
   =========================== */

@media screen and (max-width: 480px) {
    .footer-modern {
        margin-top: 8px !important;
    }
    
    .footer-content {
        padding: 15px 0 0 !important;
    }
    
    .footer-main {
        gap: 15px !important;
        margin-bottom: 12px !important;
    }
    
    .footer-logo {
        margin-bottom: 8px !important;
        gap: 6px !important;
    }
    
    .footer-logo-img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .footer-brand-text h3 {
        font-size: 1rem !important;
    }
    
    .footer-brand-text span {
        font-size: 0.65rem !important;
    }
    
    .footer-description {
        font-size: 0.7rem !important;
        margin: 8px 0 !important;
        padding: 0 3px !important;
    }
    
    .footer-social {
        margin: 10px 0 !important;
        gap: 5px !important;
    }
    
    .social-link {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
        border-radius: 5px !important;
    }
    
    .footer-column h4 {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
    }
    
    .footer-column h4::after {
        width: 15px !important;
    }
    
    .contact-item {
        gap: 4px !important;
        font-size: 0.65rem !important;
        margin-bottom: 5px !important;
        max-width: 250px !important;
    }
    
    .contact-item i {
        font-size: 0.75rem !important;
        width: 10px !important;
    }
    
    .footer-bottom {
        padding: 10px 0 12px 0 !important;
        margin-top: 12px !important;
        gap: 4px !important;
    }
    
    .footer-copyright,
    .footer-credits {
        font-size: 0.6rem !important;
    }
    
    .footer-modern .container {
        padding: 0 4px !important;
    }
}

@media screen and (max-width: 375px) {
    .footer-content {
        padding: 12px 0 0 !important;
    }
    
    .footer-description {
        font-size: 0.65rem !important;
        padding: 0 2px !important;
        margin: 6px 0 !important;
    }
    
    .footer-brand-text h3 {
        font-size: 0.9rem !important;
    }
    
    .footer-brand-text span {
        font-size: 0.6rem !important;
    }
    
    .social-link {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.7rem !important;
    }
    
    .contact-item {
        font-size: 0.6rem !important;
        max-width: 220px !important;
    }
    
    .footer-copyright,
    .footer-credits {
        font-size: 0.55rem !important;
    }
    
    .footer-modern .container {
        padding: 0 2px !important;
    }
}

/* Media query específica para iPhone SE e telas muito pequenas */
@media screen and (max-width: 320px) {
    .footer-logo-img {
        width: 25px !important;
        height: 25px !important;
    }
    
    .footer-brand-text h3 {
        font-size: 0.85rem !important;
    }
    
    .footer-description {
        font-size: 0.6rem !important;
        margin: 5px 0 !important;
    }
    
    .social-link {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.65rem !important;
    }
    
    .contact-item {
        font-size: 0.55rem !important;
        max-width: 200px !important;
    }
    
    .footer-copyright,
    .footer-credits {
        font-size: 0.5rem !important;
    }
    
    /* Modal de Imagens - Mobile Styles */
    .image-modal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.95) !important;
        z-index: 10000 !important;
        overflow: hidden !important;
    }
    
    .modal-content {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        padding: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .modal-image {
        max-width: 95% !important;
        max-height: 80% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    }
    
    .modal-close {
        position: fixed !important;
        top: 15px !important;
        right: 20px !important;
        color: #fff !important;
        font-size: 32px !important;
        font-weight: bold !important;
        cursor: pointer !important;
        z-index: 10001 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .modal-close:hover {
        background: rgba(0, 0, 0, 0.7) !important;
        transform: scale(1.1) !important;
    }
    
    .modal-navigation {
        position: fixed !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
        pointer-events: none !important;
    }
    
    .modal-nav-btn {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        pointer-events: all !important;
        backdrop-filter: blur(10px) !important;
        touch-action: manipulation !important;
    }
    
    .modal-nav-btn:hover,
    .modal-nav-btn:active {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }
    
    .modal-nav-btn:disabled {
        opacity: 0.3 !important;
        cursor: not-allowed !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Touch enhancements para mobile */
    .carousel-image {
        cursor: pointer !important;
        touch-action: manipulation !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Prevenir zoom duplo no toque */
    .instalacao-card-modern .card-image {
        touch-action: manipulation !important;
    }
    
    /* Indicador visual para imagens clicáveis */
    .carousel-image::after {
        content: '🔍' !important;
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        color: white !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        opacity: 0.8 !important;
        pointer-events: none !important;
    }
    
    /* Ajustes para carrossel mobile */
    .card-carousel {
        position: relative !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        touch-action: pan-y !important;
    }
    
    .carousel-controls {
        display: none !important; /* Ocultar controles do carrossel no modal mobile */
    }
    
    .carousel-indicators {
        bottom: 8px !important;
    }
    
    .indicator {
        width: 8px !important;
        height: 8px !important;
        margin: 0 3px !important;
    }
}

/* Breakpoint para telas muito pequenas */
@media screen and (max-width: 480px) {
    .modal-image {
        max-width: 98% !important;
        max-height: 75% !important;
    }
    
    .modal-close {
        top: 10px !important;
        right: 15px !important;
        font-size: 28px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .modal-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .modal-navigation {
        padding: 0 10px !important;
    }
}

