/* Responsive Design */

/* Mobile First Approach */

/* Tablets */
@media (max-width: 768px) {
    .top-nav {
        padding: 1rem;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-placeholder {
        display: none !important;
    }

    /* Esconder elementos decorativos na versão mobile */
    .detective-elements,
    .detective-elements > div,
    .hero-placeholder .magnifying-glass,
    .hero-placeholder .documents,
    .hero-placeholder .camera,
    .hero-placeholder .map,
    .hero-placeholder .glove,
    .hero-placeholder .particles {
        display: none !important;
    }

    /* Esconder também os pseudo-elementos do placeholder */
    .hero-placeholder::before,
    .hero-placeholder::after {
        display: none !important;
    }

    .seo-content, .google-maps {
        padding: 2rem 1rem;
    }

    .seo-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float a {
        padding: 0.8rem 1.2rem;
        font-size: 1.35rem;
    }

    .sitemap h1 {
        font-size: 2rem;
    }

    .sitemap-section ul {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.35rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .seo-content h2 {
        font-size: 1.8rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .top-nav {
        padding: 0.8rem 1rem;
    }

    .whatsapp-float a span {
        display: inline;
        color: white;
        font-weight: bold;
        font-size: 0.8rem;
    }

    .whatsapp-float a {
        padding: 0.8rem 1.2rem;
        border-radius: 25px;
        width: auto;
        height: auto;
        min-width: 120px;
        justify-content: center;
        white-space: nowrap;
    }

    .sitemap {
        padding: 5rem 1rem 2rem;
    }

    .sitemap-section {
        margin-bottom: 2rem;
    }

    .sitemap-section h2 {
        font-size: 1.5rem;
    }
}

/* Small screens */
@media (max-width: 320px) {
    .hero {
        padding: 3.5rem 0.5rem 2rem;
    }

    .seo-content, .google-maps {
        padding: 1.5rem 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .hero {
        padding: 6rem 2rem;
    }

    .seo-content, .google-maps {
        padding: 6rem 2rem;
    }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-placeholder {
        margin-left: 1rem;
    }
}
