/* Formulacao LGPD — Responsivo */

@media (max-width: 960px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 20px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero::after {
        width: 130px;
        height: 130px;
        top: 40px;
        right: 3%;
        opacity: 0.35;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-deep);
        border-bottom: 3px solid var(--seal);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    #main-nav.active {
        max-height: 360px;
        opacity: 1;
        visibility: visible;
    }

    #main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 16px;
    }

    #main-nav a {
        padding: 13px 24px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    #main-nav a:hover {
        border-left-color: var(--seal);
        background: rgba(178, 58, 46, 0.14);
    }

    .hero .container {
        padding-top: 72px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(26px, 7.6vw, 36px);
        padding-left: 16px;
    }

    .hero-subtitle,
    .hero-buttons {
        padding-left: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 58px 0;
    }
}

@media (max-width: 560px) {
    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero::after {
        display: none;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        display: block;
        text-align: center;
        width: 100%;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
