/* ========================================
   DecorCuiaba - CSS Responsivo
   ======================================== */

/* === TABLETS E DISPOSITIVOS MÉDIOS === */
@media screen and (max-width: 992px) {

    /* Header */
    .header-content {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background-color: var(--cor-branco);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.aberto {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
    }

    .nav-menu .btn-orcamento-nav {
        display: inline-block;
        margin: 1rem auto;
    }
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header .btn-primary {
        display: none;
    }

    /* Hero */
    .hero {
        margin-top: 70px;
        min-height: 500px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Seções */
    section {
        padding: var(--espacamento-md) 0;
    }

    /* Produtos */
    .produtos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    /* Projetos */
    .projetos-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* === SMARTPHONES E DISPOSITIVOS PEQUENOS === */
@media screen and (max-width: 768px) {

    html {
        font-size: 15px;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .logo h1 {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .nav-menu {
        width: 80%;
    }

    /* Hero */
    .hero {
        background-attachment: scroll;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Seções */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Produtos */
    .produtos-grid {
        grid-template-columns: 1fr;
    }

    .produto-image {
        height: 250px;
    }

    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .diferencial-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    /* Projetos */
    .projetos-gallery {
        grid-template-columns: 1fr;
    }

    .projeto-item {
        height: 250px;
    }

    /* Depoimentos */
    .depoimento-item {
        padding: 1.5rem;
    }

    .depoimento-texto {
        font-size: 1rem;
    }

    /* CTA */
    .cta-final {
        background-attachment: scroll;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* WhatsApp */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    /* Botões */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
    }
}

/* === DISPOSITIVOS MUITO PEQUENOS === */
@media screen and (max-width: 480px) {

    html {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Produtos */
    .produto-image {
        height: 200px;
    }

    /* Projetos */
    .projeto-item {
        height: 200px;
    }

    /* Depoimentos */
    .depoimento-item {
        padding: 1.25rem;
    }

    /* Formulários */
    .form-control {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* === LANDSCAPE MÓVEL === */
@media screen and (max-height: 500px) and (orientation: landscape) {

    .hero {
        min-height: 100vh;
    }

    .hero-scroll {
        display: none;
    }
}
