/**
 * Alt tab Corp - Responsividade
 * Estilos específicos para melhorar a experiência em dispositivos móveis
 */

/* Breakpoints:
 * - xs: 0-575px (telefones em modo retrato)
 * - sm: 576-767px (telefones em modo paisagem)
 * - md: 768-991px (tablets)
 * - lg: 992-1199px (desktops)
 * - xl: 1200px+ (desktops grandes)
 */

/* Ajustes Globais */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    h3 {
        font-size: var(--font-size-xl);
    }
    
    /* Melhorar espaçamento em dispositivos móveis */
    .mb-md-0 {
        margin-bottom: 0 !important;
    }
    
    .mb-md-1 {
        margin-bottom: 0.25rem !important;
    }
    
    .mb-md-2 {
        margin-bottom: 0.5rem !important;
    }
    
    .mb-md-3 {
        margin-bottom: 1rem !important;
    }
    
    .mb-md-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-md-5 {
        margin-bottom: 3rem !important;
    }
    
    /* Esconder elementos em dispositivos móveis */
    .d-md-none {
        display: none !important;
    }
    
    /* Mostrar elementos apenas em dispositivos móveis */
    .d-md-block {
        display: block !important;
    }
    
    /* Ajustar textos em dispositivos móveis */
    .text-md-center {
        text-align: center !important;
    }
    
    .text-md-left {
        text-align: left !important;
    }
    
    .text-md-right {
        text-align: right !important;
    }
}

/* Ajustes para telefones pequenos */
@media (max-width: 575px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: var(--font-size-2xl);
    }
    
    h2 {
        font-size: var(--font-size-xl);
    }
    
    h3 {
        font-size: var(--font-size-lg);
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-sm);
    }
    
    /* Ajustar grids para uma coluna em telefones pequenos */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Melhorias para o Header em dispositivos móveis */
@media (max-width: 767px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .nav-menu {
        padding: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    /* Melhorar dropdown em dispositivos móveis */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.05);
        padding: 0 0 0 1rem;
    }
    
    .dropdown-link {
        padding: 0.5rem 1rem;
    }
    
    /* Ajustar botão de tema em dispositivos móveis */
    .theme-toggle {
        margin-right: 1rem;
    }
}

/* Melhorias para o Hero em dispositivos móveis */
@media (max-width: 767px) {
    .hero {
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-image {
        margin-top: 2rem;
        padding: 0 1rem;
    }
}

/* Melhorias para Cards em dispositivos móveis */
@media (max-width: 767px) {
    .card {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
}

/* Melhorias para o FAQ em dispositivos móveis */
@media (max-width: 767px) {
    .faq-question {
        padding: 1rem;
        font-size: var(--font-size-base);
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Melhorias para o Footer em dispositivos móveis */
@media (max-width: 767px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-section {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 1rem;
    }
}

/* Melhorias para o Banner de Cookies em dispositivos móveis */
@media (max-width: 767px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
        width: auto;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        margin: 0.5rem 0;
        width: 100%;
    }
}

/* Melhorias para Formulários em dispositivos móveis */
@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-col {
        width: 100%;
        padding: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.75rem;
    }
} 

/* Header Responsive */
@media (max-width: 992px) {
    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-item.nav-dropdown {
        position: relative;
    }
    
    .nav-item.nav-dropdown .dropdown-menu {
        background: rgba(255, 255, 255, 0.03);
        border-left: 1px solid var(--accent);
    }
    
    /* Remover bullets de lista no menu mobile */
    .nav-menu,
    .nav-menu ul,
    .dropdown-menu,
    .nav-menu li,
    .dropdown-menu li,
    .nav-item,
    .nav-dropdown {
        list-style: none !important;
        list-style-type: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .dropdown-arrow {
        transition: transform 0.3s;
    }
    
    .nav-link.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-item.nav-dropdown .nav-link.active .dropdown-arrow {
        transform: rotate(-90deg);
    }
} 