/* ===================================================================
   Alcapone · Direto dos Tanques (página viva/) — drop.css (carregado depois do base.css)
   Cerveja viva da fábrica: preto profundo, pouca palavra, muito respiro.
   =================================================================== */

/* ---------- Ajustes da base para esta página: mais respiro, texto mais contido ---------- */
:root {
    --texto:       rgba(255, 255, 255, 0.68);
    --texto-fraco: rgba(255, 255, 255, 0.42);
    --gutter:  clamp(24px, 5vw, 48px);
    --respiro: clamp(120px, 18vw, 240px);
}

:focus-visible { outline-offset: 6px; }

p { max-width: 36ch; }

.titulo { font-size: clamp(2rem, 6vw, 3.5rem); }

.btn {
    display: inline-block;
    min-height: 0;
    padding: 20px 36px;
    font-weight: 500;
}

.js .reveal { transition-duration: 1.2s; }

/* ===================================================================
   1. Topo
   =================================================================== */
/* Camada escura: vinheta + mais peso embaixo, onde fica o texto */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 120% 90% at 50% 40%, rgba(11, 10, 10, 0.2) 0%, rgba(11, 10, 10, 0.7) 100%),
        linear-gradient(to bottom, rgba(11, 10, 10, 0.3) 0%, rgba(11, 10, 10, 0) 30%, rgba(11, 10, 10, 0.35) 55%, rgba(11, 10, 10, 1) 100%);
}

.hero-inner { padding-bottom: clamp(48px, 9vh, 88px); }

.hero-logo { width: clamp(120px, 32vw, 160px); }

.hero-texto .hero-sobre { margin: clamp(24px, 4vh, 36px) auto 0; max-width: none; }

.hero h1 {
    margin-top: clamp(16px, 2.5vh, 24px);
    text-transform: uppercase;
}

.h1-grande {
    display: block;
    font-family: var(--font-titulo);
    font-weight: 400;
    font-size: clamp(2.75rem, min(12vw, 12vh), 7rem);
    line-height: 1;
    letter-spacing: 0.1em;
    margin-right: -0.1em;
}

.h1-linha {
    display: block;
    margin-top: 0.4em;
    font-family: var(--font-titulo);
    font-size: clamp(1.375rem, min(5.4vw, 6.2vh), 3rem);
    line-height: 1.15;
    font-weight: 400;
    /* A Federo só tem um peso: o contorno da mesma cor engrossa o traço de leve */
    -webkit-text-stroke: 0.035em currentColor;
    letter-spacing: 0.2em;
    text-wrap: balance;
    /* compensa o espaçamento do último caractere para centralizar certo */
    margin-right: -0.2em;
}

.h1-linha + .h1-linha { margin-top: 0.15em; }

@media (max-width: 600px) {
    .h1-linha { letter-spacing: 0.1em; margin-right: -0.1em; }
}

/* Quebra de linha só no desktop */
@media (max-width: 899px) {
    .br-desktop { display: none; }
}

.hero-texto p {
    margin: clamp(20px, 3.5vh, 32px) auto clamp(28px, 5vh, 44px);
}

/* Entrada do topo: a única sequência coreografada da página */
.hero-logo      { animation: surgir 1.4s var(--ease) both; }
.hero .fio-vertical { animation: descer 1.2s var(--ease) 0.5s both; transform-origin: top; }
.h1-grande,
.hero-texto .hero-sobre { animation: surgir 1.4s var(--ease) 0.8s both; }
.h1-linha       { animation: surgir 1.4s var(--ease) 1s both; }
.hero-texto p   { animation: surgir 1.4s var(--ease) 1.2s both; }
.hero-texto .btn { animation: surgir 1.4s var(--ease) 1.35s both; }

/* ===================================================================
   4. Como funciona
   =================================================================== */
.passos {
    margin-top: clamp(48px, 7vw, 80px);
    display: grid;
    gap: 0;
}

.passos li {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: baseline;
    padding-block: 28px;
    border-top: 1px solid var(--fio);
}

.passos li:last-child { border-bottom: 1px solid var(--fio); }

.passo-num {
    color: var(--gold);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    font-variant-numeric: tabular-nums;
}

.passos p {
    max-width: 30ch;
    color: var(--branco);
    font-size: 1.125rem;
    line-height: 1.55;
}

@media (min-width: 900px) {
    .passos {
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
    }

    .passos li,
    .passos li:last-child {
        display: block;
        padding: 32px 0 0;
        border-bottom: 0;
    }

    .passo-num {
        display: block;
        margin-bottom: 40px;
        font-family: var(--font-titulo);
        font-size: 3.25rem;
        font-weight: 400;
        letter-spacing: 0.04em;
        line-height: 1;
    }

    /* Colunas estreitas: fonte um pouco menor para os 4 passos ficarem com 2 linhas */
    .passos p { max-width: none; font-size: 1rem; }
}

/* ===================================================================
   6. Cerveja viva
   =================================================================== */
.viva p { margin-top: 28px; }

@media (min-width: 900px) {
    .viva {
        display: grid;
        grid-template-columns: 7fr 5fr;
        gap: 80px;
        align-items: end;
    }

    .viva p { margin-top: 0; }
}

/* ===================================================================
   7. Por que entrar
   =================================================================== */
.porque {
    display: grid;
    gap: 72px;
}

.porque-foto img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    /* Esfuma todas as bordas: a foto "sai" do escuro */
    -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, #000 55%, transparent 100%);
}

.motivos { margin-top: 40px; }

.motivos > div {
    padding-block: 24px;
    border-top: 1px solid var(--fio);
}

.motivos dt {
    font-size: 1.0625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.motivos dd { max-width: 38ch; color: var(--texto); }

@media (min-width: 900px) {
    .porque {
        grid-template-columns: 5fr 6fr;
        align-items: center;
        gap: 120px;
    }
}

/* ===================================================================
   8. Entrega
   =================================================================== */
.entrega {
    padding-bottom: var(--respiro);
    text-align: center;
}

.entrega .fio-curto { margin: 0 auto 32px; }

.entrega p {
    margin: 20px auto 36px;
    max-width: 44ch;
    line-height: 1.7;
}

/* ===================================================================
   9. Chamada final
   =================================================================== */
.final { min-height: 100vh; min-height: 100svh; }

.final .titulo {
    max-width: 16ch;
    margin: 36px auto 48px;
}

.assinatura {
    margin-top: 72px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--texto-fraco);
}

/* ===================================================================
   10. Rodapé
   =================================================================== */
.rodape { border-top: 0; }

.rodape-logo {
    width: 120px;
    margin-bottom: 32px;
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo, .hero .fio-vertical, .h1-grande, .h1-linha,
    .hero-texto p, .hero-texto .btn { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
