/* ===== Horizonte RP: identidade visual (pôster tropical: pôr do sol rosa e roxo,
   coqueiros, pântano verde, neon) ===== */
:root {
    --noite: #12052a;
    --noite-2: #1b0a3a;
    --roxo: #5b1fa8;
    --laranja: #ff8a3d;
    --dourado: #ffd166;
    --rosa: #ff2f92;
    --turquesa: #1fd1c8;
    --verde: #3fbf6f;
    --pantano: #0f3d2e;
    --texto: #fbf2ff;
    --texto-2: #c9b8e0;
    --borda: rgba(255, 255, 255, 0.1);
    --raio: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--noite);
    color: var(--texto);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
}
a { color: var(--dourado); }
code { background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 6px; font-size: 0.95em; }

/* ---------- Topo ---------- */
.topo {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 24px;
    background: rgba(11, 16, 38, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borda);
}
.marca {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px;
    color: var(--texto); text-decoration: none;
}
.marca b { color: var(--laranja); font-weight: normal; }
.sol {
    width: 26px; height: 26px; border-radius: 50%;
    background: radial-gradient(circle at 50% 60%, var(--dourado), var(--laranja) 60%, var(--rosa));
    box-shadow: 0 0 18px rgba(255, 122, 24, 0.6);
}
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--texto-2); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--texto); }

/* ---------- Botões ---------- */
.botao {
    display: inline-block; padding: 14px 26px; border-radius: 999px;
    background: linear-gradient(90deg, var(--laranja), var(--rosa));
    color: #fff; font-weight: 800; text-decoration: none; letter-spacing: 0.3px;
    box-shadow: 0 8px 30px rgba(255, 78, 106, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255, 78, 106, 0.5); }
.botao.pequeno { padding: 8px 16px; font-size: 14px; color: #fff; }
.botao.vazado { background: rgba(11, 16, 38, 0.45); border: 2px solid var(--dourado); color: var(--dourado); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: 88vh; display: flex; align-items: center;
    padding: 80px 24px 120px;
    background: var(--noite);
}
/* fundo: praia ao pôr do sol + escurecido em cima para o texto ler bem */
.ceu {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(18, 5, 42, 0.75) 0%, rgba(18, 5, 42, 0.15) 45%, rgba(18, 5, 42, 0) 70%, var(--noite) 100%),
        url('arte/praia.svg') center bottom / cover no-repeat;
}

/* ---------- Mosaico de painéis ilustrados ---------- */
.mosaico {
    display: grid; gap: 10px; padding: 10px; max-width: 1280px; margin: -60px auto 0; position: relative;
    grid-template-columns: repeat(4, 1fr); grid-auto-rows: 400px;
}
.painel { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: var(--noite-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.painel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.painel { cursor: pointer; outline: none; }
.painel:hover img, .painel:focus img, .painel.aberto img { transform: scale(1.05); }
/* legenda: só o título; ao passar o mouse / tocar, sobe a descrição */
.painel figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
    background: linear-gradient(180deg, rgba(18, 5, 42, 0) 0%, rgba(18, 5, 42, 0.92) 45%);
    border-left: 4px solid var(--rosa);
}
.painel figcaption strong {
    display: block; font-family: 'Bebas Neue', sans-serif; font-weight: normal; font-size: 28px; letter-spacing: 1px; line-height: 1; color: #fff;
}
.painel figcaption span {
    display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--texto); font-size: 14.5px; line-height: 1.45;
    transition: max-height 0.35s, opacity 0.35s, margin 0.35s;
}
.painel:hover figcaption span, .painel:focus figcaption span, .painel.aberto figcaption span { max-height: 200px; opacity: 1; margin-top: 8px; }
.painel:nth-child(2) figcaption { border-left-color: var(--turquesa); }
.painel:nth-child(3) figcaption { border-left-color: var(--laranja); }
.painel:nth-child(4) figcaption { border-left-color: var(--verde); }
.hero-conteudo {
    position: relative; max-width: 760px; margin: 0 auto; text-align: center;
    padding: 28px 30px; border-radius: 24px;
    background: radial-gradient(ellipse at center, rgba(18, 5, 42, 0.62) 0%, rgba(18, 5, 42, 0.35) 60%, rgba(18, 5, 42, 0) 100%);
}
.hero h1 {
    font-family: 'Bebas Neue', sans-serif; font-weight: normal;
    font-size: clamp(48px, 9vw, 96px); line-height: 0.95; margin: 12px 0 18px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.destaque {
    color: var(--laranja);
    text-shadow: 0 0 18px rgba(255, 138, 61, 0.55), 0 4px 18px rgba(18, 5, 42, 0.85);
}
.subtitulo { font-size: 18px; color: #fff; margin: 0 auto 28px; max-width: 640px; text-shadow: 0 2px 10px rgba(18, 5, 42, 0.9); }
.acoes { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.endereco { margin-top: 22px; color: #e9e4ff; }
.copiar {
    margin-left: 6px; border: 1px solid var(--borda); background: rgba(0, 0, 0, 0.25); color: var(--texto);
    padding: 4px 10px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13px;
}
.status {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--borda);
    font-weight: 600; font-size: 14px;
}
.ponto { width: 10px; height: 10px; border-radius: 50%; background: #888; }
.status.online .ponto { background: #39d98a; box-shadow: 0 0 10px #39d98a; }
.status.offline .ponto { background: var(--rosa); }

/* ---------- Seções ---------- */
.secao { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.secao.escura { max-width: none; background: linear-gradient(180deg, var(--noite-2) 0%, #0e2b26 100%); }   /* roxo descendo para o verde do pântano */
.card { transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--turquesa); transform: translateY(-3px); }
.secao h2 { background: linear-gradient(90deg, var(--dourado), var(--rosa)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.passos h3 { color: var(--verde); }
.secao.escura > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.secao h2 { font-family: 'Bebas Neue', sans-serif; font-weight: normal; font-size: 48px; margin: 0 0 32px; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--borda); border-radius: var(--raio); padding: 22px;
}
.card h3 { margin: 8px 0 6px; }
.card p { margin: 0; color: var(--texto-2); }
.emoji { font-size: 30px; }

.colunas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.passos { background: rgba(0, 0, 0, 0.2); border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; }
.passos h3 { margin-top: 0; }
.passos li { margin-bottom: 10px; }
.nota { color: var(--texto-2); font-size: 15px; }
.aviso {
    margin-top: 28px; padding: 16px 20px; border-radius: 12px;
    background: rgba(255, 78, 106, 0.12); border: 1px solid rgba(255, 78, 106, 0.4);
}

.regras { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
details { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--borda); border-radius: 12px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 10px 0 0; color: var(--texto-2); }

.noticias { display: grid; gap: 16px; max-width: 760px; }
.noticia { background: rgba(0, 0, 0, 0.25); border-left: 4px solid var(--laranja); border-radius: 10px; padding: 18px 20px; }
.noticia time { color: var(--dourado); font-size: 14px; font-weight: 600; }
.noticia h3 { margin: 4px 0 6px; }
.noticia p { margin: 0; color: var(--texto-2); }

.rodape { padding: 36px 24px; text-align: center; color: var(--texto-2); border-top: 1px solid var(--borda); font-size: 14px; }
.rodape .marca { font-size: 24px; justify-content: center; }

/* ---------- Celular ---------- */
@media (max-width: 720px) {
    .topo { padding: 12px 16px; }
    nav a:not(.botao) { display: none; }
    .hero { padding: 56px 16px 120px; min-height: 80vh; }
    .mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; margin-top: -40px; }
    .secao { padding: 56px 16px; }
    .secao h2 { font-size: 38px; }
}
