/*
 * responsive.css — Cognivelo
 * Media Queries — Mobile-first: 320px → 768px → 1024px → 1366px+
 */

/* ══════════════════════════════════════════════
   BASE MOBILE (320px — padrão para todos)
══════════════════════════════════════════════ */

/* Header */
.header__toggle {
    display: flex;
}

.nav {
    display: none;
}

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

/* Hero */
.hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-block: var(--space-10) var(--space-12);
    text-align: center;
}

.hero__description {
    max-width: none;
    margin-inline: auto;
}

.hero__actions {
    justify-content: center;
}

.hero__tagline {
    justify-content: center;
}

.hero__visual {
    order: -1;
}

.tech-composition {
    width: 280px;
    height: 280px;
}

.tech-node {
    width: 44px;
    height: 44px;
}

.tech-node svg {
    width: 18px;
    height: 18px;
}

.tech-composition__core {
    width: 72px;
    height: 72px;
}

.tech-composition__core svg {
    width: 28px;
    height: 28px;
}

/* Posicionamento */
.positioning__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

/* Soluções */
.solutions__grid {
    grid-template-columns: 1fr;
}

/* Educação */
.education__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

.edu-visual__body {
    grid-template-columns: 1fr;
}

.edu-visual__sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-1);
}

/* Processo */
.process__timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.process__timeline::before {
    display: none;
}

.process__step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-4);
}

.process__step-number {
    flex-shrink: 0;
}

.process__step-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* Diferencias */
.differentials__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

/* Contato */
.contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

.contact__form {
    padding: var(--space-6);
}

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

/* Rodapé */
.footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.footer__bottom {
    flex-direction: column;
    align-items: flex-start;
}

/* CTA */
.cta__actions {
    flex-direction: column;
    align-items: center;
}

.cta__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

/* ══════════════════════════════════════════════
   TABLETS (≥ 600px)
══════════════════════════════════════════════ */
@media (min-width: 600px) {
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta__actions {
        flex-direction: row;
    }

    .cta__actions .btn {
        width: auto;
    }

    .tech-composition {
        width: 340px;
        height: 340px;
    }
}

/* ══════════════════════════════════════════════
   TABLETS MAIORES / LANDSCAPE (≥ 768px)
══════════════════════════════════════════════ */
@media (min-width: 768px) {
    /* Header */
    .header__toggle {
        display: none;
    }

    .nav {
        display: flex;
    }

    .header__actions .btn--primary {
        display: inline-flex;
    }

    /* Hero */
    .hero__inner {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero__description {
        margin-inline: 0;
    }

    .hero__actions {
        justify-content: flex-start;
    }

    .hero__tagline {
        justify-content: flex-start;
    }

    .hero__visual {
        order: 0;
    }

    .tech-composition {
        width: 330px;
        height: 330px;
    }

    /* Posicionamento */
    .positioning__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }

    /* Educação */
    .education__inner {
        grid-template-columns: 1fr 1fr;
    }

    .edu-visual__body {
        grid-template-columns: 160px 1fr;
    }

    .edu-visual__sidebar {
        border-right: 1px solid var(--color-border);
        border-bottom: none;
        flex-direction: column;
    }

    /* Processo */
    .process__timeline {
        grid-template-columns: repeat(5, 1fr);
    }

    .process__timeline::before {
        display: block;
    }

    .process__step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    /* Contato */
    .contact__inner {
        grid-template-columns: 1fr 1.6fr;
    }

    .contact__form {
        padding: var(--space-10);
    }

    /* Rodapé */
    .footer__top {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: var(--space-12);
    }

    .footer__bottom {
        flex-direction: row;
        align-items: center;
    }
}

/* ══════════════════════════════════════════════
   DESKTOP (≥ 1024px)
══════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .tech-composition {
        width: 360px;
        height: 360px;
    }

    .tech-node {
        width: 54px;
        height: 54px;
    }

    .tech-node svg {
        width: 22px;
        height: 22px;
    }
}

/* ══════════════════════════════════════════════
   DESKTOP GRANDE (≥ 1366px)
══════════════════════════════════════════════ */
@media (min-width: 1366px) {
    :root {
        --section-padding-y: 7rem;
    }
}

/* ══════════════════════════════════════════════
   TELAS MUITO PEQUENAS (< 375px)
══════════════════════════════════════════════ */
@media (max-width: 374px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .tech-composition {
        width: 240px;
        height: 240px;
    }
}

/* ══════════════════════════════════════════════
   IMPRESSÃO
══════════════════════════════════════════════ */
@media print {
    .header,
    .hero__visual,
    .tech-composition,
    .hero__dots,
    .cta,
    .footer__social {
        display: none;
    }

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