@media screen and (min-width: 431px) and (max-width: 1366px) and (orientation: portrait) {
    
    /* Cabeçalho */
    header{
        background-color: var(--primary-color);
        padding: 0.8vh;
        z-index: 99999999;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 1.8rem; /* Tamanho ajustado para melhor usabilidade */
        height: 1.8rem;
        cursor: pointer;
        color: var(--primary-color); /* Combina com o tema */
        margin-left: 1vw;
        z-index: 1000; /* Garante que o botão fique acima do menu */
    }
    
    
    .nav-links {
        display: flex; 
        flex-direction: column;
        align-items: left;
        background-color: #f9f9f9;
        position: fixed;
        top: 2.7rem;
        left: 0;
        width: 40%;
        height: auto;
        padding: 1rem 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        z-index: 999;
        transform: translateX(-100%); 
        transition: transform 0.3s ease; 
    }
    
    .nav-links.show {
        transform: translateX(0); 
    }

    .nav-links li {
        list-style: none; 
        margin: 0.5rem 0; 
        padding: 0.5rem; 
        border-bottom: 1px solid #f0f0f0; 
        transition: background-color 0.3s ease, transform 0.2s ease; 
    }
    
    .nav-links li:hover {
        background-color: var(--primary-color); 
        transform: scale(1.05); 
        border-radius: 5px; 
    }
    
    .nav-links a {
        color: var(--primary-color); 
        font-size: 1.1rem; 
        font-weight: 600; 
        text-decoration: none; 
        transition: color 0.3s ease; 
    }
    
    .nav-links a:hover {
        color: #ffffff; 
    }

    .whatsapp-float {
        display: flex; 
    }
    
    /* Hero */
    .hero {
        flex-direction: column;
        padding: 1rem;
        height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-image img {
        width: 70%;
        height: auto;
    }

    .logo-container {
        display: none;
    }

    .wpp-icon{
        display: none;
    }

    .hero{
        height: 100vh;
        background: linear-gradient(152deg, #f9f9f9 50%, var(--primary-color) 50%);
    }
    .hero-content{
        margin-top: 10vh;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .btn {
        margin-left: 0px;
        font-size: 1.2rem;
        padding: 0.7rem 1rem;
    }

    .carousel{
        width: 80%;
    }

    .carousel-image {
        width: 100%;
        height: 35vh;
    }

    /*Sobre*/
    .about-us{
        height: auto;
        padding: 5rem 0rem 2rem ;
    }

    .about-container {
        flex-direction: column; 
        gap: 4rem;
        width: 100%; 
        padding: 0 1rem; 
    }
    
    .about-carousel {
        margin: 0 auto;
        width: 80%; 
    }
    
    .about-carousel-image {
        width: 100%; 
        height: 28vh; 
    }
    
    .about-content {
        text-align: center; 
    }
    
    .about-content h2 {
        font-size: 2rem; 
    }
    
    .about-content h2::after {
        content: '';
        width: 60px;
        height: 4px;
        background-color: var(--primary-color);
        position: auto;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content p {
        font-size: 1.2rem; 
    }
    
    .btn-about {
        font-size: 1.5rem;
        padding: 0.6rem 1.3rem; 
    }
    
    .about-carousel-control {
        width: 30px; 
        height: 30px;
        font-size: 1.5rem;
    }

    /*Estatisticas*/
    .stats {
        gap: 2rem;
        align-items: center;
        flex-direction: row;
        padding-left: 2rem;
    }

    .stat {
        width: calc(25% - 2rem);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        min-width: 30%;
        transition: transform 0.3s ease;
        box-sizing: border-box;
        height: 15vh;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 1.2rem;
    }

    /* Valores */ 
    .values{
        padding-left: 0;
        padding-right: 0;
    }
    .carousel-valores-container{
        width: 100%;
    }

    .value-cards {
        display: none;
    }
    
    .carousel-valores-container {
        display: flex;
        column-gap: 10px; 
        flex-direction: column;
        align-items: center; 
        position: relative;
        width: 100%;
        margin-top: 2rem;
    }
    
    .carousel-valores-wrapper {
        overflow: hidden;
        width: 100%;
    }
    
    .carousel-valores {
        width: 100%;
    }
    
    .carousel-valores-group {
        display: none; 
    }
    
    .carousel-valores-card {
        background: #fff;
        color: #555;
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        box-sizing: border-box;
    }

    .card {
        position: relative;
        margin: 0 auto 30px;    
        height: 20vh;
        width: 30vh;
    }

    .carousel-valores-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: var(--primary-color);
        color: #fff;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        border-radius: 50%;
        z-index: 10;
        font-weight: bolder;
        font-size: 2vh;
    }
    
    .carousel-valores-btn.left-btn {
        left: 40px;
    }
    
    .carousel-valores-btn.right-btn {
        right: 40px;
    }

    .value-up{
        margin-bottom: 1px;
    }

    /*Serviços*/
    .servicos-desktop{
        display: none;
    }

    .servicos-mobile{
        margin-top: 20px;
        display: block;
        text-align: justify;
    }

    .services-content {
        display: block;
        text-align: center;
    }

    .services-text {
        text-align: center;
        margin-bottom: 2rem;
    }

    .services-image img {
        max-width: 100%;
    }

    /*Contato*/
    .contact{
        height: auto;
    }
    .contact-content {
        flex-direction: column; 
        align-items: center; 
        gap: 2rem;
    }

    .contact-info ul li {
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center; 
        gap: 1rem;
    }

    .social-icon img {
        width: 1rem; 
        height: 1rem;
    }

    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #333;
    }

    .contact-info p {
        font-size: 1.2rem;
        color: #555;
        margin-bottom: 1.5rem;
    }

    .contact-info ul {
        list-style: none;
        padding: 0;
    }

    .contact-info li {
        font-size: 1.2rem;
        color: #555;
        margin-bottom: 0.75rem;
    }

    .contact-info strong {
        color: var(--primary-color);
    }

    .contact-form{
        display: none;
    }

    .strong-mobile{
        display: block;
        margin-bottom: 2px;
    }

}
  