/* #region direção da abertura e das capturas */
:root {
    --curva-movimento: cubic-bezier(.2, .72, .24, 1);
    --tempo-resposta: 160ms;
    --tempo-corte: 520ms;
}

.abertura {
    --fundo-animado-base: #111a27;
    background: linear-gradient(152deg, #172332 0%, var(--fundo-animado-base) 46%, #101722 100%);
}

.abertura > .limite { position: relative; }

.abertura-camada {
    position: absolute;
    inset: -12% -8%;
    z-index: -1;
    pointer-events: none;
}

.abertura-grade {
    background-image: linear-gradient(rgb(157 183 212 / 11%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(157 183 212 / 11%) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(115deg, transparent 25%, #000 78%, #000);
}

.abertura-luz {
    background: radial-gradient(ellipse at 70% 40%, rgb(97 137 181 / 23%), transparent 57%);
}

.abertura h1 { line-height: 1.04; letter-spacing: -.049em; }
.abertura-chamada { line-height: 1.2; letter-spacing: -.026em; }
.cena-moldura { border-color: rgb(159 189 223 / 33%); }
.cena-faixa { background: #162131; }

@media (min-width: 1100px) {
    .abertura { padding-block: clamp(56px, 5.5vw, 104px); text-align: left; }
    .abertura > .limite {
        width: min(100% - 96px, 1440px);
        display: grid;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        align-items: center;
        gap: clamp(38px, 5.5vw, 90px);
    }
    .abertura h1 { font-size: clamp(42px, 4.1vw, 68px); }
    .abertura :is(h1, p) { margin-inline: 0; }
    .abertura-cta { justify-content: flex-start; }
    .abertura .download-recomendado { justify-content: flex-start; }
    .abertura .cena { width: 100%; margin: 0; }
}
/* #endregion */

/* #region cortes e resposta dos controles */
@media (prefers-reduced-motion: no-preference) {
    .botao .icone { transition: translate var(--tempo-resposta) var(--curva-movimento); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .botao:hover .icone, .botao:focus-visible .icone { translate: 2px 0; }
    .plano-cartao:hover, .download-plataforma:hover { border-color: rgb(159 189 223 / 52%); }
    .plano-destaque:hover { border-color: var(--coral); }
}

@media (prefers-reduced-motion: reduce) {
    .etapas li::after { animation: none; transform: none; }
}

@media print {
    :is(.abertura, .secao) [style] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .abertura-camada, .progresso { display: none; }
}
/* #endregion */
