/* Estilos Responsivos */

/* Tablets e dispositivos menores */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .banner-content h1 {
        font-size: 3rem;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .sobre-content {
        flex-direction: column;
    }
    
    .sobre-text, .sobre-image {
        width: 100%;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
}

/* Dispositivos móveis */
@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    #btn-mobile {
        display: flex;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: 0.5rem;
    }
    
    #hamburger {
        display: block;
        width: 20px;
        border-top: 2px solid;
        color: var(--secondary-color);
    }
    
    #hamburger::after, #hamburger::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: 0.3s;
        position: relative;
    }
    
    #nav.active #hamburger {
        border-top-color: transparent;
    }
    
    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }
    
    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }
    
    #menu {
        display: block;
        position: absolute;
        width: 100%;
        top: 70px;
        right: 0px;
        background: var(--light-color);
        transition: 0.6s;
        z-index: 1000;
        height: 0px;
        visibility: hidden;
        overflow-y: hidden;
    }
    
    #nav.active #menu {
        height: calc(100vh - 70px);
        visibility: visible;
        overflow-y: auto;
    }
    
    #menu a {
        padding: 1rem 0;
        margin: 0 1rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Dispositivos muito pequenos */
@media screen and (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .servicos-grid, .diferenciais-grid, .projetos-slider {
        grid-template-columns: 1fr;
    }
}
