/*
Theme Name:   Hello Elementor Child — DANIXXG
Theme URI:    https://danixxg.me
Description:  Tema filho do Hello Elementor com a home do danixxg.me escrita à mão. Direção editorial: serifa de alto contraste, hero em vídeo, galeria assimétrica e conversão para WhatsApp.
Author:       Daniel
Template:     hello-elementor
Version:      2.0.0
Text Domain:  hello-elementor-child
*/

/* ---------------------------------------------------------------
   Fontes — auto-hospedadas, sem requisição a terceiros.
   Subset "latin" (U+0000–00FF) já cobre todos os acentos do português.
   --------------------------------------------------------------- */

@font-face {
    font-family: "Instrument Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}

/* ---------------------------------------------------------------
   Sistema
   --------------------------------------------------------------- */

:root {
    --ink:      #0b0b0c;
    --ink-2:    #141416;
    --bone:     #f4f1ea;
    --bone-dim: #9d9a93;
    --line:     rgba(244, 241, 234, .13);
    --line-2:   rgba(244, 241, 234, .28);
    --wa:       #25d366;

    --serif: "Instrument Serif", "Times New Roman", Times, Georgia, serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --gutter: clamp(20px, 5vw, 64px);
    --maxw:   1440px;
    --gap:    clamp(10px, 1.6vw, 26px);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body.dx {
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.dx img, .dx video { display: block; max-width: 100%; }
/* :where() zera a especificidade destes resets.
   Sem isso, `.dx a` (0,1,1) vence `.dx-btn` (0,1,0) e todo botão herda a cor
   clara — texto osso sobre fundo osso, invisível. Mesmo efeito na barra verde
   do celular, no link de pular conteúdo e nos botões de compartilhar. */
.dx :where(a) { color: inherit; text-decoration: none; }
.dx :where(button) { font: inherit; color: inherit; }

.dx-wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Rótulos em caixa alta espaçada — o vocabulário de metadados do layout */
.dx-label {
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--bone-dim);
}

.dx-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 300;
    background: var(--bone);
    color: var(--ink);
    padding: 14px 22px;
}
.dx-skip:focus { left: 0; }

/* Grão: dá a textura de impresso que separa o editorial do genérico.
   SVG inline em data: URI — nenhuma requisição, alguns bytes. */
.dx-grain {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------
   Navegação — transparente sobre o hero, ganha fundo ao rolar
   --------------------------------------------------------------- */

.dx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
}

.dx-nav.is-stuck {
    background: rgba(11, 11, 12, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}

.dx-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: clamp(64px, 7vw, 84px);
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.dx-logo {
    font-family: var(--serif);
    font-size: clamp(1.28rem, 2.2vw, 1.7rem);
    letter-spacing: .06em;
    line-height: 1;
}

/* ---------------------------------------------------------------
   Botões
   --------------------------------------------------------------- */

.dx-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 15px 26px;
    border: 1px solid var(--bone);
    border-radius: 0;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
    white-space: nowrap;
}
.dx-btn:hover,
.dx-btn:focus-visible { background: transparent; color: var(--bone); }

.dx-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

.dx-btn--ghost {
    background: transparent;
    color: var(--bone);
    border-color: var(--line-2);
}
.dx-btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.dx-btn--sm { padding: 11px 18px; font-size: .68rem; letter-spacing: .14em; }
.dx-btn--lg { padding: 19px 40px; font-size: .84rem; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.dx-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}

.dx-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.dx-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.06) 32%, rgba(11,11,12,.82) 82%, var(--ink) 100%);
}

.dx-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(48px, 9vh, 104px);
}

.dx-hero__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-bottom: clamp(14px, 2vh, 22px);
}
.dx-hero__kicker span { display: inline-flex; align-items: center; gap: 18px; }
.dx-hero__kicker span::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--line-2);
}
.dx-hero__kicker span:last-child::after { display: none; }

.dx-hero h1 {
    margin: 0 0 clamp(24px, 4vh, 40px);
    max-width: 15ch;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.6rem, 8.4vw, 7rem);
    line-height: .95;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.dx-hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(48px, 9vh, 104px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dx-hero__scroll::after {
    content: "";
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, var(--line-2), transparent);
}
@media (max-width: 900px) { .dx-hero__scroll { display: none; } }

/* ---------------------------------------------------------------
   Seções
   --------------------------------------------------------------- */

.dx-sec { padding: clamp(64px, 11vw, 150px) 0; }

.dx-sec__head {
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 3vw, 34px);
    padding-bottom: 22px;
    margin-bottom: clamp(28px, 5vw, 56px);
    border-bottom: 1px solid var(--line);
}

.dx-sec__num {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--bone-dim);
    line-height: 1;
}

.dx-sec__head h2 {
    margin: 0;
    flex: 1;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.9rem, 4.6vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.015em;
}

/* ---------------------------------------------------------------
   Galeria — composição assimétrica em 12 colunas.
   As fotos verticais mantêm a proporção 9:16 (nada de corte novo);
   a variação vem do TAMANHO e do deslocamento vertical.
   --------------------------------------------------------------- */

.dx-gal {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
    align-items: start;
}

.dx-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--ink-2);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9 / 16;
    grid-column: span 4;
}

.dx-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
}
.dx-card:hover img { transform: scale(1.045); }

.dx-card__idx {
    position: absolute;
    left: 14px;
    top: 12px;
    z-index: 2;
    font-family: var(--sans);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--bone);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
    opacity: .82;
}

/* Diagonal descendente: dá ritmo editorial sem recortar nada */
.dx-gal > .dx-card:nth-child(2) { margin-top: 7%; }
.dx-gal > .dx-card:nth-child(3) { margin-top: 14%; }
.dx-gal > .dx-card:nth-child(5) { margin-top: 7%; }
.dx-gal > .dx-card:nth-child(6) { margin-top: 14%; }

/* A horizontal vira respiro de largura cheia. Regra depois das de cima
   para vencer sem !important. */
.dx-gal > .dx-card--wide {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 2;
    margin-top: clamp(12px, 3vw, 40px);
}

@media (max-width: 900px) {
    .dx-card { grid-column: span 6; }
    .dx-gal > .dx-card:nth-child(3) { margin-top: 0; }
    .dx-gal > .dx-card:nth-child(5) { margin-top: 0; }
    .dx-gal > .dx-card:nth-child(2) { margin-top: 10%; }
    .dx-gal > .dx-card:nth-child(4) { margin-top: 10%; }
    .dx-gal > .dx-card:nth-child(6) { margin-top: 10%; }
}

/* ---------------------------------------------------------------
   Vídeos — proporções misturadas, fluxo em colunas
   --------------------------------------------------------------- */

.dx-vids {
    columns: 2;
    column-gap: var(--gap);
}
@media (min-width: 760px)  { .dx-vids { columns: 3; } }
@media (min-width: 1180px) { .dx-vids { columns: 4; } }

/* O card inteiro é o botão: clicar abre o painel de mídia, onde o vídeo
   toca grande e ficam curtidas, compartilhamento e comentários. */
.dx-video {
    position: relative;
    display: block;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 var(--gap);
    padding: 0;
    border: 0;
    overflow: hidden;
    background: var(--ink-2);
    cursor: pointer;
}

.dx-video video,
.dx-video > img {
    width: 100%;
    height: auto;
    background: #000;
    pointer-events: none;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.dx-video:hover video,
.dx-video:hover > img { transform: scale(1.03); }

.dx-video__ui {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 34%, rgba(0,0,0,.62) 100%);
    transition: background .3s ease;
}
.dx-video:hover .dx-video__ui { background: linear-gradient(180deg, rgba(0,0,0,.14) 0%, transparent 40%, rgba(0,0,0,.5) 100%); }

.dx-video__idx {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .2em;
    opacity: .85;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

.dx-video__time {
    font-size: .68rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .06em;
    padding: 3px 9px;
    border: 1px solid rgba(244, 241, 234, .34);
    background: rgba(11, 11, 12, .4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dx-video__mark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border: 1px solid rgba(244, 241, 234, .55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .28s ease, border-color .28s ease, transform .28s ease;
}
.dx-video:hover .dx-video__mark {
    background: var(--bone);
    border-color: var(--bone);
    transform: translate(-50%, -50%) scale(1.06);
}
.dx-video__mark svg { width: 15px; height: 15px; margin-left: 3px; fill: var(--bone); transition: fill .28s ease; }
.dx-video:hover .dx-video__mark svg { fill: var(--ink); }

/* O resumo de interação do vídeo fica acima da barra inferior do card */
.dx-video .dx-stat { bottom: 40px; }

/* ---------------------------------------------------------------
   Chamada final
   --------------------------------------------------------------- */

.dx-cta { text-align: center; padding: clamp(72px, 13vw, 170px) 0; border-top: 1px solid var(--line); }

.dx-cta h2 {
    margin: 0 auto clamp(28px, 4vw, 44px);
    max-width: 16ch;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 6.4vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.02em;
}

.dx-cta .dx-label { display: block; margin-bottom: clamp(18px, 3vw, 30px); }

/* ---------------------------------------------------------------
   Rodapé
   --------------------------------------------------------------- */

.dx-footer {
    padding: clamp(34px, 5vw, 56px) 0 clamp(96px, 8vw, 60px);
    border-top: 1px solid var(--line);
}

.dx-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dx-footer .dx-logo { font-size: 1.24rem; }

.dx-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }

.dx-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 3px 9px;
    border: 1px solid var(--line-2);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
}

/* ---------------------------------------------------------------
   Barra fixa de conversão no celular.
   Aqui o verde do WhatsApp fica: é o ponto de conversão, e a
   maior parte do tráfego é mobile.
   --------------------------------------------------------------- */

.dx-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--wa);
    color: #06130b;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 0;
    width: 100%;
}
.dx-bar svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
    .dx-bar { display: flex; }
    .dx-nav .dx-btn { display: none; }
}

/* ---------------------------------------------------------------
   Resumo de interação sobre os cards.
   Preenchido por JS via dx/v1 — a página é cacheada, número vindo
   do HTML chegaria velho.
   --------------------------------------------------------------- */

.dx-stat {
    position: absolute;
    right: 12px;
    bottom: 11px;
    z-index: 2;
    display: flex;
    gap: 12px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--bone);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    white-space: pre;
}

/* ---------------------------------------------------------------
   Painel de mídia — foto ou vídeo + curtidas, share e comentários
   --------------------------------------------------------------- */

.dx-ov {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    background: rgba(6, 6, 7, .975);
    padding: clamp(12px, 3vw, 40px);
}
.dx-ov.is-open { display: block; }

.dx-ov__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(16px, 3vw, 40px);
    height: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.dx-ov__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
}

.dx-ov__stage img,
.dx-ov__stage video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #000;
}

.dx-ov__side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 2vw, 30px);
}

.dx-ov__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.dx-acts { display: flex; gap: 10px; }

.dx-act {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--line-2);
    color: var(--bone);
    padding: 9px 15px;
    font-size: .78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.dx-act:hover { border-color: var(--bone); }
.dx-act svg { width: 15px; height: 15px; fill: currentColor; }
.dx-act.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); cursor: default; }

.dx-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 0;
}
.dx-share a,
.dx-share button {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--bone-dim);
    padding: 7px 13px;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}
.dx-share a:hover,
.dx-share button:hover { color: var(--bone); border-color: var(--line-2); }

/* Comentários */

.dx-cmts {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    min-height: 0;
}

.dx-cmts__empty { margin: 0; color: var(--bone-dim); font-size: .86rem; }

.dx-cmt { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.dx-cmt:last-child { border-bottom: 0; margin-bottom: 0; }

.dx-cmt header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: .74rem;
}
.dx-cmt header b { font-weight: 600; }
.dx-cmt header span { color: var(--bone-dim); flex: 1; }

.dx-cmt__flag {
    background: none;
    border: 0;
    color: var(--bone-dim);
    cursor: pointer;
    padding: 2px 4px;
    font-size: .8rem;
    opacity: .5;
    transition: opacity .2s ease;
}
.dx-cmt__flag:hover { opacity: 1; }

.dx-cmt p { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }

/* Formulário */

.dx-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.dx-form input,
.dx-form textarea {
    width: 100%;
    background: var(--ink-2);
    border: 1px solid var(--line);
    color: var(--bone);
    font-family: var(--sans);
    font-size: .88rem;
    padding: 11px 13px;
    resize: vertical;
}
.dx-form input::placeholder,
.dx-form textarea::placeholder { color: var(--bone-dim); }
.dx-form input:focus,
.dx-form textarea:focus { outline: none; border-color: var(--line-2); }

/* Campo-armadilha: fora da tela e fora do fluxo de foco.
   Nenhum humano preenche; bot que varre campos por nome, sim. */
.dx-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}

.dx-form__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dx-form__msg { font-size: .76rem; color: var(--bone-dim); flex: 1; }

.dx-ov__close,
.dx-ov__nav {
    position: absolute;
    z-index: 3;
    background: rgba(11, 11, 12, .6);
    border: 1px solid var(--line-2);
    color: var(--bone);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: background .22s ease, color .22s ease;
}
.dx-ov__close:hover,
.dx-ov__nav:hover { background: var(--bone); color: var(--ink); }

.dx-ov__close { top: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); }
.dx-ov__prev  { left: clamp(8px, 1.4vw, 20px);  top: 50%; transform: translateY(-50%); }
.dx-ov__next  { right: calc(clamp(320px, 26vw, 380px) + clamp(16px, 3vw, 40px)); top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
    .dx-ov { padding: 0; overflow-y: auto; }
    .dx-ov__inner {
        grid-template-columns: 1fr;
        height: auto;
        gap: 0;
    }
    .dx-ov__stage {
        height: 58vh;
        padding: 52px 12px 12px;
        position: sticky;
        top: 0;
        background: rgba(6, 6, 7, .975);
        z-index: 2;
    }
    .dx-ov__side {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 20px 16px 40px;
    }
    .dx-cmts { overflow: visible; }
    .dx-ov__next { right: clamp(8px, 1.4vw, 20px); top: 29vh; }
    .dx-ov__prev { top: 29vh; }
    .dx-ov__close, .dx-ov__nav { width: 38px; height: 38px; }
}

/* ---------------------------------------------------------------
   Portal de idade
   --------------------------------------------------------------- */

.dx-gate {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    background: var(--ink);
}

/* classe aplicada no <html> antes da pintura, evita piscada de conteúdo */
html.dx-needs-gate .dx-gate { display: flex; }
html.dx-needs-gate body { overflow: hidden; }

.dx-gate__box { max-width: 520px; width: 100%; text-align: center; }

.dx-gate__box .dx-18 { margin-bottom: clamp(20px, 4vw, 30px); }

.dx-gate__box h2 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 2.9rem);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.dx-gate__box p { margin: 0 auto 34px; max-width: 38ch; color: var(--bone-dim); font-size: .93rem; }

.dx-gate__rule { width: 100%; height: 1px; background: var(--line); margin: 0 0 clamp(24px, 4vw, 34px); }

.dx-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------------------------------------------------------------
   Revelação no scroll
   --------------------------------------------------------------- */

.dx-rise {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1);
}
.dx-rise.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   Acessibilidade
   --------------------------------------------------------------- */

.dx :focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
    .dx-rise { opacity: 1; transform: none; }
    .dx-card:hover img,
    .dx-video:not(.is-playing):hover video { transform: none; }
}
