/* ==========================================================================
   📱 MOBILE.CSS - ESTILOS EXCLUSIVOS PARA DISPOSITIVOS MÓVEIS
   Foco: Usabilidade, Toque e Leitura (Mobile First)
   ========================================================================== */

/* --- 1. AJUSTES GLOBAIS (BASE) --- */
@media screen and (max-width: 1024px) {
    /* Ajuste de segurança para telas médias (Tablets/Laptops pequenos) */
    .container {
        padding: 0 20px;
        width: 100%;
    }
}

/* --- 2. LAYOUT TABLETS E CELULARES (max-width: 768px) --- */
@media screen and (max-width: 768px) {

    /* === HEADER (CABEÇALHO) === */
    header {
        padding: 15px 0;
    }

    .header-content {
        flex-direction: column; /* Empilha Logo, Menu e Botão */
        gap: 20px;
    }

    .logo-header {
        height: 55px; /* Reduz levemente a logo */
    }

    /* Menu de Navegação */
    .nav-links {
        display: flex;
        flex-wrap: wrap; /* Permite quebrar linha se não couber */
        justify-content: center;
        gap: 15px;
        background-color: #f9f9f9; /* Fundo sutil para destacar a área de toque */
        padding: 10px 15px;
        border-radius: 30px;
        width: 100%;
    }

    .nav-links a {
        font-size: 14px;
        padding: 5px 10px; /* Aumenta área de clique */
        color: var(--text-main);
    }

    /* Botão CTA (WhatsApp no Topo) */
    .cta-header {
        width: 100%;
        justify-content: center;
        background-color: var(--white);
        border: 2px solid var(--primary-red);
        padding: 12px;
        border-radius: 50px;
    }

    /* === PÁGINA DE CONTATO (ALINHAMENTO ESQUERDA) === */

    /* Quebra o Grid para Coluna Única */
    .grid-2 {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* Caixa de Informações */
    .contact-info {
        text-align: left; /* Garante texto à esquerda */
        padding: 0 5px;
    }

    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        text-align: left;
    }

    .contact-info p {
        margin-bottom: 25px;
        text-align: left;
    }

    /* Itens de Contato (Ícone + Texto) */
    .info-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* MUDANÇA: Alinha tudo à ESQUERDA (antes era center) */
        justify-content: flex-start;
        text-align: left;        /* MUDANÇA: Texto à esquerda */

        background-color: #fafafa;
        padding: 25px 20px;
        border-radius: 15px;
        margin-bottom: 20px;
        border: 1px solid #eee;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    }

    .info-item i {
        margin-left: 0;      /* Garante que encoste na esquerda */
        margin-bottom: 15px;
        font-size: 2rem;
        background-color: #fff;
        width: 60px; height: 60px;
        line-height: 60px;
        text-align: center; /* O ícone dentro da bolinha continua centralizado */
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    /* Títulos dentro dos cards (WhatsApp, Endereço...) */
    .info-item strong {
        display: block;
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    /* Texto/Parágrafo dentro dos cards */
    .info-item p {
        text-align: left;
        width: 100%;
        margin-bottom: 0;
    }

    /* Lista de Horários */
    .info-item ul {
        text-align: left; /* Lista à esquerda */
        padding-left: 0;  /* Remove recuo padrão */
        margin: 0;
        width: 100%;
    }

    /* Ajuste para a seção "Siga-nos" ficar à esquerda */
    .contact-info h3 {
        text-align: left;
    }

    /* Se tiver div flex para os ícones sociais do contato */
    .contact-info > div[style*="display: flex"] {
        justify-content: flex-start !important; /* Força alinhamento à esquerda */
    }


    /* Mapa do Google */
    .map-container iframe {
        min-height: 300px !important;
        height: 300px !important;
        border-radius: 15px;
    }

    /* === FOOTER (RODAPÉ) === */
    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-logo img {
        margin: 0 auto 15px auto;
    }

    /* Container "Invisível" para centralizar o social no Footer */
    .invisible-container {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center;
        margin-top: 20px;
    }

    .footer-social {
        display: flex !important;
        gap: 30px;
        justify-content: center;
        width: auto;
    }

    .footer-social i {
        margin: 0 !important;
        font-size: 2.2rem;
    }

    /* Centraliza os links e infos do rodapé */
    .footer-links ul li,
    .footer-info p {
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .copyright {
        padding-bottom: 100px;
        font-size: 12px;
        line-height: 1.8;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- 3. AJUSTES FINOS PARA CELULARES PEQUENOS (max-width: 480px) --- */
@media screen and (max-width: 480px) {

    .section-title,
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .btn, .btn-link, .nav-links a {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}