/* Tablets e celulares (ate 768px): a abertura da home empilha e centraliza,
   com o Jotaro menor, pra os cartoes entrarem logo depois dele. */
@media (max-width: 768px) {
    .nav-bar {
        padding: 1rem 0;
    }

    .nav-container {
        width: 100%;
        gap: 0.5rem 1rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        width: 100%;
        padding: 1.5rem 1rem 0;
        gap: 1.5rem;
    }

    .hero__intro {
        margin: 0 auto;
    }

    .hero__jotaro {
        height: 200px;
    }

    .tech-stack__icons {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 1.5rem;
    }

    .tech-stack__icon {
        width: 40px;
        height: 40px;
    }
}

/* Celular (ate 480px) */
@media (max-width: 480px) {
    .nav-marca {
        font-size: 0.72rem;
    }

    .nav-links {
        gap: 0.5rem 1rem;
    }

    .nav-blog-link {
        font-size: 0.68rem;
    }

    .hero__ola {
        font-size: 0.72rem;
        margin-bottom: 1.1rem;
    }

    .hero__nome {
        font-size: 1.45rem;
    }

    .hero__marca {
        font-size: 0.9rem;
        text-shadow: 2px 2px 0 var(--pink);
    }

    .hero__eu {
        font-size: 0.68rem;
    }

    .hero__intro {
        font-size: 0.95rem;
    }

    .main-content {
        width: 100%;
        padding: 1rem;
    }

    .porta {
        padding: 1.25rem;
    }

    .tech-stack__icons {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 1rem;
    }

    .tech-stack__icon {
        width: 32px;
        height: 32px;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .tech-stack__icons {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Print styles */
@media print {
    .nav-bar,
    .hero__jotaro,
    .continua {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
