/* ==================== TELAS MÉDIAS / NOTEBOOKS ==================== */
@media (max-width: 1200px) {
    /* Correção para a "Nossa História" não sumir atrás do header em notebooks */
    .page-hero__content {
        padding-top: 180px;
    }
    
    .hero__content {
        padding-top: 160px;
    }
}

/* ==================== TABLET E TELAS MÉDIAS ==================== */
@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }
    
    .header__hamburger {
        display: block;
    }
    
    /* Ajuste no Hero da Home */
    .hero__content {
        padding: 160px var(--espaco-md) 80px var(--espaco-md);
        text-align: center;
        align-items: center;
    }
    
    .hero__title {
        font-size: 3.5rem;
        text-align: center;
        margin-top: 0;
    }
    
    .hero__subtitle {
        text-align: center;
    }
    
    .hero__actions {
        justify-content: center;
    }

    /* Ajuste no Page Hero (Páginas Internas) */
    .page-hero__content {
        padding: 160px var(--espaco-md) 80px var(--espaco-md);
    }

    .page-hero__title {
        font-size: 3rem;
    }
    
    /* Outras seções */
    .section__title {
        font-size: 3rem;
    }
    
    .introducao__grid {
        grid-template-columns: 1fr;
        gap: var(--espaco-md);
    }
    
    .introducao__content {
        padding-right: 0;
    }
    
    .introducao__image img {
        height: 400px;
    }
    
    .diferenciais__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projetos__grid {
        grid-template-columns: 1fr;
        gap: var(--espaco-lg);
    }
    
    .depoimentos__slider {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--espaco-sm);
    }
    
    .header {
        padding: var(--espaco-sm) 0;
    }
    
    .header__container {
        padding: 0 var(--espaco-sm);
        min-height: 60px;
    }
    
    .header__logo img {
        height: 40px;
    }
    
    /* ==================== HERO (HOME) ==================== */
    .hero {
        min-height: 100vh; 
        height: auto;
    }
    
    .hero__content {
        padding: 120px var(--espaco-sm) 60px var(--espaco-sm);
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .hero__title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: var(--espaco-sm);
        text-align: center;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--espaco-md);
        text-align: center;
        padding: 0 10px;
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: var(--espaco-xs);
        margin-bottom: var(--espaco-md);
    }
    
    .hero__actions .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.8rem;
    }
    
    /* Contador flui abaixo dos botões */
    .hero__counter {
        margin-top: var(--espaco-sm);
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero__counter-current {
        font-size: 1.5rem;
    }

    .hero__counter-project {
        font-size: 0.65rem;
        margin-left: 5px;
    }

    .hero__scroll {
        display: none; /* Esconde o scroll no mobile */
    }
    
    /* ==================== PAGE HERO (PÁGINAS INTERNAS) ==================== */
    .page-hero {
        height: auto;
        min-height: 100vh;
    }
    
    .page-hero__content {
        padding: 120px var(--espaco-sm) 60px var(--espaco-sm); 
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .page-hero__tag {
        align-self: center;
        margin-bottom: var(--espaco-sm);
    }

    .page-hero__title {
        font-size: 2.5rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .page-hero__subtitle {
        font-size: 1rem;
        text-align: center;
        line-height: 1.6;
    }

    .page-hero__scroll {
        display: none;
    }
    
    /* ==================== OUTRAS SEÇÕES ==================== */
    .section__title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .section__text {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    .introducao {
        padding: var(--espaco-lg) 0;
    }
    
    .introducao__image img {
        height: 300px;
    }
    
    .introducao__image-caption {
        left: 10px;
        bottom: -10px;
        padding: 12px 16px;
        font-size: 0.7rem;
    }
    
    .diferenciais__grid {
        grid-template-columns: 1fr;
        gap: var(--espaco-md);
    }
    
    .diferencial__item {
        padding: var(--espaco-sm);
    }
    
    .projetos-destaque {
        padding: var(--espaco-lg) 0;
    }
    
    .projeto-card__image {
        aspect-ratio: 1/1;
    }
    
    .projeto-card__title {
        font-size: 1.5rem;
    }
    
    .depoimentos {
        padding: var(--espaco-lg) 0;
    }
    
    .depoimento {
        padding: var(--espaco-sm);
    }
    
    .cta {
        padding: var(--espaco-lg) 0;
    }
    
    .cta__title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .cta__text {
        font-size: 1rem;
    }
    
    .footer {
        padding: var(--espaco-lg) 0 var(--espaco-sm);
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--espaco-md);
        text-align: center;
    }
    
    .footer__logo {
        margin: 0 auto var(--espaco-sm);
    }
    
    .footer__nav ul {
        align-items: center;
    }
    
    .whatsapp-fixo {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-fixo svg {
        width: 24px;
        height: 24px;
    }
    
    .menu-mobile__nav a {
        font-size: 1.5rem;
    }
}

/* ==================== MOBILE PEQUENO ==================== */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.9rem;
        line-height: 1.35;
    }

    .page-hero__title {
        font-size: 1.9rem;
        line-height: 1.35;
    }
    
    .section__title {
        font-size: 1.9rem;
        line-height: 1.35;
    }
    
    .hero__actions .btn {
        padding: 12px 16px;
        font-size: 0.75rem;
    }
}