/* -------------------- Responsividade Aprimorada -------------------- */
@media (max-width: 900px) {
    body {
        padding-top: 70px;
        /* Ajusta padding para header fixo em telas menores */
    }

    .header {
        padding: 0.8rem 0;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 100%;
        /* Abaixo do cabeçalho */
        left: 0;
        box-shadow: var(--shadow-md);
        padding-bottom: 1.5rem;
        border-top: 1px solid #eee;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
    }

    .nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-list li {
        margin: 0.8rem 0;
    }

    .nav-list .nav-link {
        font-size: 1.1rem;
    }

    .nav-list .contact-link .nav-link {
        width: fit-content;
        margin: 1rem auto 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        min-width: unset;
        width: 100%;
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .highlight-section {
        height: auto;
        /* Altura automática para mobile */
        padding: 3rem 1rem;
    }

    .highlight-title {
        font-size: 2.2rem;
    }

    .highlight-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 60px;
    }

    .container {
        padding: 0 1rem;
    }

    .logo a {
        font-size: 2rem;
    }

    .hero-section {
        padding: 4rem 0 6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .solution-card {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-card .quote {
        font-size: 38px;
        width: 400px;
    }

    .testimonial-card::before {
        font-size: 6rem;
        top: 0.5rem;
        left: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul {
        padding-left: 0;
    }

    .footer-col p {
        padding: 0 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    #backToTopBtn {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}