 /* ===== RESPONSIVIDADE ===== */

      /* Dispositivos muito pequenos (celulares, 600px para baixo) */
      @media only screen and (max-width: 600px) {
        .header {
            padding: 0.5rem 1rem;
            flex-direction: column;
            text-align: center;
        }
        
        .logo-img {
            height: 50px;
            margin-bottom: 0.5rem;
        }
        
        .nav-list {
            flex-direction: column;
            gap: 0.5rem;
            display: none; /* Será mostrado via JavaScript quando clicar no menu */
        }
        
        .nav-list.active {
            display: flex;
        }
        
        .mobile-menu {
            display: block;
            position: absolute;
            top: 1rem;
            right: 1rem;
        }
        
        .hero-section {
            padding: 2rem 1rem;
            min-height: auto;
        }
        
        .hero-content {
            flex-direction: column;
        }
        
        .hero-title {
            font-size: 2rem;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
        }
        
        .hero-image {
            margin-top: 2rem;
        }
        
        .menu-items {
            grid-template-columns: 1fr;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
        
        .carousel-inner {
            height: 250px;
        }
        
        .contact-content {
            flex-direction: column;
        }
        
        .footer-content {
            flex-direction: column;
            gap: 1.5rem;
        }
    }

    /* Dispositivos pequenos (celulares maiores, 600px para cima) */
    @media only screen and (min-width: 600px) {
        .menu-items {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Dispositivos médios (tablets, 768px para cima) */
    @media only screen and (min-width: 768px) {
        .menu-items {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .hero-title {
            font-size: 2.5rem;
        }
    }

    /* Dispositivos grandes (laptops/desktops, 992px para cima) */
    @media only screen and (min-width: 992px) {
        .menu-items {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .nav-list {
            display: flex !important; /* Sobrescreve qualquer display none */
        }
        
        .mobile-menu {
            display: none;
        }
    }

    /* Dispositivos extra grandes (telas grandes, 1200px para cima) */
    @media only screen and (min-width: 1200px) {
        .hero-title {
            font-size: 3.5rem;
        }
    }

    /* ===== AJUSTES ESPECÍFICOS PARA ORIENTAÇÃO ===== */

    /* Modo paisagem em celulares */
    @media only screen and (max-width: 926px) and (orientation: landscape) {
        .hero-section {
            min-height: 100vh;
        }
        
        .hero-content {
            flex-direction: row;
        }
        
        .hero-text {
            flex: 1;
        }
        
        .hero-image {
            flex: 1;
            margin-top: 0;
        }
        
        .menu-items {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* ===== AJUSTES PARA TELAS MUITO GRANDES ===== */
    @media only screen and (min-width: 1600px) {
        
        .menu-items {
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
        }
    }

    /* ===== MELHORIAS PARA O MENU MOBILE ===== */
    .nav-list {
        transition: all 0.3s ease;
    }

    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 0.5rem 1rem;
        display: block;
    }

    /* ===== MELHORIAS PARA O CARROSSEL EM MOBILE ===== */
    @media (max-width: 768px) {
        .carousel-caption h5 {
            font-size: 1rem;
        }
        
        .carousel-indicators {
            bottom: 10px;
        }
    }

    /* ===== MELHORIAS PARA FORMULÁRIOS EM MOBILE ===== */
    input, textarea, select {
        font-size: 16px !important; /* Evita zoom em iOS */
    }

    /* ===== AJUSTES PARA O FOOTER ===== */
    @media (max-width: 768px) {
        .footer-content {
            text-align: center;
        }
        
        .footer-links ul {
            align-items: center;
        }
    }