:root {
    --fundo: #031225;
    --fundo-2: #061a33;
    --fundo-3: #0b1f3d;
    --card: #0b1d36;
    --card-2: #0e2342;
    --branco: #ffffff;
    --texto: #d7e5ff;
    --texto-suave: #a9bedf;
    --dourado: #efb81f;
    --dourado-claro: #ffe07a;
    --borda: rgba(255, 255, 255, 0.10);
    --sombra: 0 20px 50px rgba(0, 0, 0, 0.28);
    --raio: 28px;
    --container: 1280px;
    --fonte-base: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--fonte-base);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(13, 48, 92, 0.55), transparent 30%),
        radial-gradient(circle at top right, rgba(239, 184, 31, 0.12), transparent 20%),
        linear-gradient(180deg, #031021 0%, #03162d 100%);
    color: var(--texto);
    line-height: 1.6;
}

body.alto-contraste {
    background: #000000;
    color: #ffffff;
}

body.alto-contraste .hero-conteudo,
body.alto-contraste .bloco-escuro,
body.alto-contraste .eixo-card,
body.alto-contraste .palestrante-card,
body.alto-contraste .card-formulario,
body.alto-contraste .card-investimento-claro,
body.alto-contraste .modal-lgpd,
body.alto-contraste .rodape-evento,
body.alto-contraste .local-evento-mapa,
body.alto-contraste .bloco-foto-participante {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

body.alto-contraste .hero-texto,
body.alto-contraste .hero-olho,
body.alto-contraste .bloco-escuro p,
body.alto-contraste .lista-check li,
body.alto-contraste .eixo-card p,
body.alto-contraste .palestrante-info p,
body.alto-contraste .texto-investimento,
body.alto-contraste .texto-bonus,
body.alto-contraste .rodape-evento-conteudo p,
body.alto-contraste .modal-lgpd p,
body.alto-contraste .modal-lgpd li,
body.alto-contraste .local-evento-endereco p,
body.alto-contraste .texto-ajuda-foto,
body.alto-contraste .flash-publico {
    color: #ffffff !important;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.whatsapp-flutuante {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 9998;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.whatsapp-flutuante:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: 0.96;
}

.whatsapp-icone {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icone svg {
    width: 100%;
    height: 100%;
    display: block;
}

.acessibilidade-flutuante {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9998;
}

.botao-acessibilidade {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(8, 25, 49, 0.96);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: 0.2s ease;
}

.botao-acessibilidade:hover {
    transform: translateX(2px);
    border-color: rgba(239, 184, 31, 0.75);
}

.botao-topo {
    position: fixed;
    right: 18px;
    bottom: 98px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4c339, #efb81f);
    color: #101828;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 9998;
    display: none;
}

.botao-topo.visivel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-evento {
    padding: 42px 0 30px;
}

.hero-conteudo,
.bloco-escuro,
.eixo-card,
.palestrante-card,
.card-formulario {
    border: 1px solid var(--borda);
    box-shadow: var(--sombra);
}

.hero-conteudo {
    background: linear-gradient(180deg, rgba(10, 28, 55, 0.96), rgba(4, 18, 39, 0.96));
    border-radius: var(--raio);
    padding: 38px;
    text-align: center;
}

.hero-conteudo-largo {
    width: 100%;
}

.hero-banner {
    position: relative;
    width: 100%;
    margin-bottom: 28px;
    border-radius: 24px;
    overflow: hidden;
    background: #041427;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.selo,
.mini-etiqueta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dourado-claro), var(--dourado));
    color: #0d1730;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-conteudo .selo,
.cabecalho-secao .mini-etiqueta,
.formulario-cabecalho .mini-etiqueta,
.bloco-escuro .mini-etiqueta {
    margin-left: auto;
    margin-right: auto;
}

.hero-olho {
    margin: 18px auto 10px;
    color: var(--texto-suave);
    font-size: 1rem;
    max-width: 900px;
    text-align: center;
}

.hero-conteudo h1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.05;
    color: var(--branco);
    margin: 0 auto 18px;
    max-width: 980px;
    text-align: center;
}

.hero-texto {
    color: var(--texto-suave);
    font-size: 1.12rem;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.lista-resumo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.item-resumo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--borda);
    border-radius: 18px;
    padding: 16px;
    text-align: left;
}

.item-resumo strong {
    display: block;
    color: var(--dourado-claro);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.item-resumo span {
    color: var(--branco);
    font-size: 0.95rem;
}

.hero-acoes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    transition: 0.2s ease;
    text-align: center;
}

.botao:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.botao-primario {
    background: linear-gradient(90deg, #f1c232, #efb81f);
    color: #101828;
}

.botao-secundario {
    background: rgba(255, 255, 255, 0.08);
    color: var(--branco);
    border: 1px solid var(--borda);
}

.secao-escura,
.secao-clara,
.secao-palestrantes,
.secao-investimento,
.secao-formulario {
    padding: 34px 0;
}

.grade-beneficios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.bloco-escuro {
    background: linear-gradient(180deg, rgba(9, 28, 55, 0.98), rgba(4, 18, 38, 0.98));
    border-radius: var(--raio);
    padding: 28px;
    text-align: center;
}

.bloco-escuro h2,
.bloco-escuro h3,
.cabecalho-secao h2,
.formulario-cabecalho h2,
.card-investimento-claro h2,
.card-investimento-claro h3 {
    color: var(--branco);
}

.bloco-escuro h2,
.bloco-escuro h3 {
    margin-top: 14px;
}

.bloco-escuro p,
.lista-check li {
    color: var(--texto-suave);
}

.lista-check {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 10px;
    text-align: left;
}

.lista-check li::before {
    content: "•";
    color: var(--dourado);
    font-weight: 900;
    margin-right: 8px;
}

.cabecalho-secao {
    margin-bottom: 24px;
    text-align: center;
}

.cabecalho-secao h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: 12px;
}

.grid-eixos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.eixo-card {
    background: linear-gradient(180deg, rgba(10, 28, 55, 0.96), rgba(4, 18, 39, 0.96));
    border-radius: 24px;
    padding: 24px;
}

.eixo-numero {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--dourado-claro), var(--dourado));
    color: #0f1830;
    font-weight: 900;
    margin-bottom: 14px;
}

.eixo-card h3 {
    color: var(--branco);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.eixo-card p {
    color: var(--texto-suave);
    font-size: 0.96rem;
}

.grade-palestrantes {
    display: grid;
    gap: 18px;
}

.grade-palestrantes-topo {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 18px;
}

.grade-palestrantes-base {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin: 0 auto;
}

.palestrante-card {
    background: linear-gradient(180deg, rgba(10, 28, 55, 0.98), rgba(4, 18, 39, 0.98));
    border-radius: 28px;
    overflow: hidden;
}

.palestrante-foto {
    background: #07192f;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
}

.palestrante-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.palestrante-info {
    padding: 18px 18px 22px;
    text-align: left;
}

.palestrante-info h3 {
    color: var(--branco);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.palestrante-info p {
    color: var(--texto-suave);
    font-size: 0.97rem;
}

.secao-investimento .container {
    display: flex;
    justify-content: center;
}

.card-investimento-claro {
    width: min(820px, 100%);
    background: #efefef;
    color: #111827;
    border-radius: 38px;
    padding: 46px 34px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.card-investimento-claro h2 {
    color: #111827;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.14;
    font-weight: 500;
    margin-bottom: 18px;
}

.texto-investimento,
.texto-bonus {
    color: #4b5563;
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.valor-investimento {
    font-size: clamp(3rem, 7vw, 4.4rem);
    font-weight: 900;
    color: #000000;
    line-height: 1;
    margin: 34px 0 28px;
    text-align: center;
}

.botao-investimento {
    background: linear-gradient(180deg, #f4c339, #efb81f);
    color: #ffffff;
    min-width: 380px;
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.06);
    margin: 0 auto 34px;
}

.card-investimento-claro h3 {
    color: #111827;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 14px;
}

.texto-bonus strong {
    color: #e0a400;
}

.formulario-centralizado {
    display: flex;
    justify-content: center;
}

.card-formulario {
    width: min(760px, 100%);
    background: linear-gradient(180deg, rgba(9, 28, 55, 0.98), rgba(4, 18, 38, 0.98));
    border-radius: 30px;
    padding: 32px;
}

.formulario-cabecalho {
    margin-bottom: 20px;
    text-align: center;
}

.formulario-cabecalho h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
    margin-top: 12px;
}

.flash-wrap-publico {
    margin-bottom: 18px;
}

.flash-publico {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
}

.flash-publico.sucesso {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.30);
}

.flash-publico.erro {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.30);
}

form {
    display: grid;
    gap: 16px;
}

.campo label {
    display: block;
    margin-bottom: 8px;
    color: var(--dourado-claro);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: left;
}

.campo input,
.campo select {
    width: 100%;
    min-height: 62px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
    color: var(--branco);
    padding: 0 18px;
    font-size: 1rem;
    outline: none;
}

.campo input::placeholder {
    color: rgba(255, 255, 255, 0.60);
}

.campo select option {
    color: #111827;
}

.linha-dupla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bloco-foto-participante {
    margin-top: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.label-foto {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dourado-claro);
    text-align: left;
}

.texto-ajuda-foto {
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.camera-area {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.camera-video,
.camera-canvas {
    display: block;
    width: 100%;
    min-height: 260px;
    max-height: 420px;
    object-fit: cover;
    background: #000;
}

.acoes-camera {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.preview-foto-wrap {
    margin-top: 16px;
}

.preview-foto-participante {
    display: none;
    width: 220px;
    max-width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

.caixa-consentimento {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--borda);
    border-radius: 24px;
    padding: 18px;
}

.check-linha {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.check-linha + .check-linha {
    margin-top: 14px;
}

.check-linha input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    flex-shrink: 0;
}

.check-linha label {
    color: var(--branco);
    font-size: 0.98rem;
    line-height: 1.7;
}

.check-linha-foto {
    margin-top: 16px;
}

.botao-bloco {
    width: 100%;
    margin-top: 18px;
}

.acoes-formulario {
    display: flex;
    justify-content: center;
}

.modal-fundo {
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 22, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

.modal-fundo.ativo {
    display: flex;
}

.modal-lgpd {
    width: min(760px, 100%);
    background: #ffffff;
    color: #111827;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.modal-lgpd h3 {
    font-size: 2rem;
    margin: 14px 0;
    color: #111827;
    text-align: center;
}

.modal-lgpd p,
.modal-lgpd li {
    color: #374151;
}

.modal-lgpd ul {
    margin: 16px 0 16px 20px;
}

.modal-lgpd a {
    color: #0f4ca0;
    text-decoration: none;
}

.acoes-modal {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.secao-local-evento {
    padding: 70px 0 0;
}

.local-evento-grade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.local-evento-info {
    color: var(--branco);
}

.local-evento-info h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.local-evento-info h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 26px;
    line-height: 1.3;
}

.local-evento-endereco {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 720px;
}

.icone-local {
    color: var(--dourado);
    font-size: 2rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.local-evento-endereco p {
    color: var(--branco);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
}

.local-evento-mapa {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--sombra);
    border: 1px solid var(--borda);
    min-height: 370px;
    background: #d9d9d9;
}

.local-evento-mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 370px;
    border: 0;
    display: block;
}

.rodape-evento {
    margin-top: 60px;
    padding: 34px 0;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid var(--borda);
}

.rodape-evento-conteudo {
    text-align: center;
}

.rodape-evento-conteudo p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .grade-beneficios,
    .grid-eixos,
    .grade-palestrantes-topo,
    .grade-palestrantes-base,
    .linha-dupla,
    .lista-resumo,
    .local-evento-grade {
        grid-template-columns: 1fr;
    }

    .botao-investimento {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-conteudo,
    .bloco-escuro,
    .card-formulario,
    .card-investimento-claro {
        padding: 24px;
    }

    .hero-acoes,
    .acoes-formulario,
    .acoes-modal,
    .acoes-camera {
        flex-direction: column;
    }

    .botao {
        width: 100%;
    }

    .acoes-camera .botao {
        width: 100%;
    }

    .palestrante-foto {
        aspect-ratio: 4 / 4.4;
    }

    .hero-conteudo h1 {
        font-size: 2.6rem;
    }

    .hero-texto,
    .hero-olho {
        font-size: 1rem;
    }

    .acessibilidade-flutuante {
        left: 10px;
        top: auto;
        bottom: 110px;
        transform: none;
    }

    .botao-acessibilidade {
        width: 46px;
        height: 46px;
        font-size: 0.9rem;
    }

    .whatsapp-flutuante {
        width: 58px;
        height: 58px;
        right: 12px;
        bottom: 16px;
    }

    .botao-topo {
        width: 52px;
        height: 52px;
        right: 12px;
        bottom: 84px;
    }

    .local-evento-info {
        text-align: center;
    }

    .local-evento-endereco {
        justify-content: center;
        margin: 0 auto;
        text-align: left;
    }

    .preview-foto-participante {
        width: 100%;
        max-width: 280px;
    }
}