/* ============================================================
   darlanmoutinho.com.br — porta de entrada (online × presencial)
   Identidade: Portal de Aula (manual v1.1 jul/2026)
   ============================================================ */

:root {
    --black: #0B0B12;
    --white: #F2F3F7;
    --blue: #4D7CFF;
    --violet: #9B5CFF;
    --orange: #FF8A3D;
    --lime: #B6FF3D;
    --mint: #6FE6C0;
    --grad: linear-gradient(120deg, #4D7CFF, #9B5CFF);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    background: var(--black);
    color: var(--white);
    font-family: "DM Sans", system-ui, sans-serif;
    min-height: 100dvh;
    /* grid pontilhado da marca */
    background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
    background-size: 36px 36px;
}

/* máscara radial do grid: some nas bordas */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 90% 70% at 50% 30%, transparent 0%, var(--black) 85%);
    pointer-events: none;
    z-index: 0;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    background: url("images/noise.png");
    opacity: 0.05;
    pointer-events: none;
    z-index: 3;
}

/* ---------- fundo: glows + plus ---------- */
.page-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.glow-blue   { width: 460px; height: 460px; background: var(--blue);   opacity: 0.28; top: -160px; left: -120px; }
.glow-violet { width: 400px; height: 400px; background: var(--violet); opacity: 0.26; top: 30%; left: 12%; }
.glow-orange { width: 420px; height: 420px; background: var(--orange); opacity: 0.22; bottom: -140px; right: -100px; }

.plus {
    position: absolute;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    line-height: 1;
}

.p1 { color: var(--lime);   font-size: 36px; top: 14%;  left: 7%;  opacity: 0.9; }
.p2 { color: var(--blue);   font-size: 26px; top: 22%;  right: 8%; opacity: 0.8; }
.p3 { color: var(--orange); font-size: 44px; bottom: 20%; left: 4%; opacity: 0.7; }
.p4 { color: var(--violet); font-size: 30px; bottom: 10%; right: 9%; opacity: 0.8; }

/* ---------- layout ---------- */
.wrap {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    min-height: 100dvh;
    padding: 52px 20px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ---------- cabeçalho ---------- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    height: 56px;
    width: auto;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    border: 1.5px solid var(--lime);
    background: rgba(182,255,61,0.10);
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 20px;
}

.badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6.5vw, 3.4rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
    max-width: 15ch;
}

.title .grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    margin-top: 16px;
    font-size: clamp(0.95rem, 2.4vw, 1.1rem);
    color: rgba(242,243,247,0.75);
    max-width: 42ch;
}

/* ---------- as duas portas ---------- */
.choices {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.choice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 30px 28px 26px;
    border-radius: 22px;
    border: 1.5px solid rgba(242,243,247,0.22);
    background: rgba(242,243,247,0.04);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.choice:hover,
.choice:focus-visible {
    transform: translateY(-4px);
}

.choice:active { transform: scale(0.985); }

.choice-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    background: rgba(242,243,247,0.07);
}

.choice-icon svg { width: 30px; height: 30px; }

.choice-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    letter-spacing: -0.02em;
}

.choice-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(242,243,247,0.75);
}

.choice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 2px 0 6px;
}

.choice-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: rgba(242,243,247,0.68);
}

.choice-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: -1px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.choice-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    border-radius: 999px;
    padding: 12px 22px;
    transition: transform 0.15s ease;
}

.choice-cta .arrow { transition: transform 0.15s ease; }
.choice:hover .choice-cta .arrow { transform: translateX(4px); }

/* --- Online: gradiente azul→violeta (voz do Portal) --- */
.choice-online { border-color: rgba(77,124,255,0.55); }

.choice-online .choice-icon {
    color: var(--blue);
    background: rgba(77,124,255,0.12);
}

.choice-online .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.choice-online .choice-list li::before { color: var(--blue); }

.choice-online .choice-cta {
    background: var(--grad);
    color: var(--white);
}

.choice-online:hover,
.choice-online:focus-visible {
    box-shadow: 0 14px 44px rgba(77,124,255,0.28);
    background: rgba(77,124,255,0.07);
    border-color: rgba(77,124,255,0.8);
}

/* --- Presencial: laranja (voz comercial) --- */
.choice-presencial { border-color: rgba(255,138,61,0.55); }

.choice-presencial .choice-icon {
    color: var(--orange);
    background: rgba(255,138,61,0.12);
}

.choice-presencial .accent { color: var(--orange); }

.choice-presencial .choice-list li::before { color: var(--orange); }

.choice-presencial .choice-cta {
    background: var(--orange);
    color: var(--black);
}

.choice-presencial:hover,
.choice-presencial:focus-visible {
    box-shadow: 0 14px 44px rgba(255,138,61,0.26);
    background: rgba(255,138,61,0.07);
    border-color: rgba(255,138,61,0.85);
}

/* ---------- apoio ---------- */
.hint {
    margin-top: 26px;
    font-size: 0.85rem;
    text-align: center;
    color: rgba(242,243,247,0.55);
}

/* ---------- rodapé ---------- */
.footer {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.rainbow-bar {
    display: block;
    width: 100%;
    max-width: 240px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--orange), var(--lime));
}

/* ---------- responsivo ---------- */
@media (max-width: 720px) {
    .wrap { padding: 40px 18px 30px; justify-content: flex-start; }
    .hero { margin-bottom: 30px; }
    .choices { grid-template-columns: 1fr; gap: 16px; }
    .choice { padding: 24px 22px 22px; }
    .choice-cta { align-self: stretch; justify-content: center; margin-top: 4px; }
}

/* ---------- acessibilidade / motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .choice, .choice-cta, .choice-cta .arrow { transition: none; }
}
