/* Eclipse SSH — site público (landing e termos). Usa as variáveis de app.css */

body.site { background: var(--ecl-bg); }
.site section { scroll-margin-top: 80px; }
.site-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* Navegação */
.site-nav {
    position: sticky; top: 0; z-index: 1030;
    background: color-mix(in srgb, var(--ecl-bg) 80%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ecl-border);
}
.site-nav .site-container { display: flex; align-items: center; gap: 1rem; height: 70px; }
.site-nav .app-brand { padding: 0; }
.site-links { display: flex; gap: .25rem; margin-left: auto; }
.site-links a {
    color: var(--ecl-muted); text-decoration: none; font-weight: 500;
    padding: .5rem .85rem; border-radius: 10px;
}
.site-links a:hover { color: var(--ecl-text); background: var(--ecl-surface-2); }
.site-acoes { display: flex; align-items: center; gap: .5rem; }
.site-menu-btn { display: none; }

@media (max-width: 991.98px) {
    .site-links {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        flex-direction: column; padding: .75rem 1.25rem 1.25rem;
        background: var(--ecl-surface); border-bottom: 1px solid var(--ecl-border);
    }
    .site-links.aberto { display: flex; }
    .site-links a { padding: .8rem .85rem; }
    .site-menu-btn { display: inline-flex; margin-left: auto; }
    .site-acoes .btn-entrar { display: none; }
}

/* Hero */
.site-hero { position: relative; overflow: hidden; padding: 5rem 0 4rem; }
.site-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(700px circle at 10% 10%, rgba(124, 92, 255, .28), transparent 60%),
        radial-gradient(600px circle at 90% 70%, rgba(34, 211, 238, .18), transparent 60%);
}
.selo {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .9rem; border-radius: 99px; font-size: .82rem; font-weight: 600;
    background: rgba(124, 92, 255, .14); color: #b9a8ff; border: 1px solid rgba(124, 92, 255, .3);
}
[data-bs-theme="light"] .selo { color: #5b3fe0; }
.site-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08;
    letter-spacing: -.02em; margin: 1.1rem 0 1rem;
}
.texto-gradiente { background: var(--ecl-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-hero .lead { color: var(--ecl-muted); font-size: 1.15rem; max-width: 34rem; }
.confianca { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; font-size: .9rem; color: var(--ecl-muted); }
.confianca span { display: inline-flex; align-items: center; gap: .45rem; }
.confianca i { color: #22c55e; font-size: 1.05rem; }
.hero-img { position: relative; text-align: center; }
.hero-img::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: var(--ecl-gradient); filter: blur(80px); opacity: .35; z-index: -1;
}
.hero-img > img { max-width: 100%; max-height: 560px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }

/* Moldura de celular desenhada em CSS (o admin envia só o print da tela) */
.celular {
    position: relative; display: inline-block;
    width: min(290px, 78vw); aspect-ratio: 9 / 19.5;
    padding: 11px; border-radius: 48px;
    background: linear-gradient(145deg, #2b2d38, #0d0e14);
    box-shadow:
        0 0 0 2px #3b3e4d,
        0 0 0 5px #15161d,
        0 40px 80px rgba(0, 0, 0, .55),
        0 0 60px rgba(124, 92, 255, .18);
    transform: rotate(-3deg);
    transition: transform .4s ease;
}
.celular:hover { transform: rotate(0deg) translateY(-4px); }
.celular::before {
    content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; transform: translateX(-50%);
    width: 32%; height: 24px; border-radius: 20px; background: #000;
}
.celular::after {
    content: ""; position: absolute; right: -5px; top: 26%; width: 3px; height: 12%;
    border-radius: 2px; background: #3b3e4d;
}
.celular img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    border-radius: 38px; background: #0b0d14;
}
@media (max-width: 991.98px) { .celular { transform: none; } }

/* Seções */
.site-secao { padding: 5rem 0; }
.site-secao.alt { background: var(--ecl-surface); border-top: 1px solid var(--ecl-border); border-bottom: 1px solid var(--ecl-border); }
.secao-topo { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.secao-topo .rotulo { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ecl-accent); }
.secao-topo h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; margin: .5rem 0 .75rem; }
.secao-topo p { color: var(--ecl-muted); margin: 0; }

.recurso {
    height: 100%; padding: 1.5rem; border-radius: var(--ecl-radius);
    background: var(--ecl-bg); border: 1px solid var(--ecl-border);
    transition: transform .2s, border-color .2s;
}
.site-secao:not(.alt) .recurso { background: var(--ecl-surface); }
.recurso:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .5); }
.recurso .stat-icon { margin-bottom: 1rem; }
.recurso h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.recurso p { color: var(--ecl-muted); font-size: .92rem; margin: 0; }

/* Passos */
.passo { position: relative; text-align: center; padding: 0 .5rem; }
.passo-num {
    width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--ecl-gradient); color: #fff; font-weight: 800; font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(124, 92, 255, .35);
}
.passo h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.passo p { color: var(--ecl-muted); font-size: .9rem; margin: 0; }
@media (min-width: 992px) {
    .passo:not(:last-child)::after {
        content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px);
        border-top: 2px dashed var(--ecl-border);
    }
}

/* Galeria */
.galeria { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 1.25rem 1.5rem; }
.galeria img {
    height: 460px; width: auto; flex-shrink: 0; scroll-snap-align: center;
    border-radius: 22px; border: 1px solid var(--ecl-border); box-shadow: var(--ecl-shadow);
}
@media (min-width: 1200px) { .galeria { justify-content: center; } }
@media (max-width: 575.98px) { .galeria img { height: 380px; } }

/* Preços */
.preco {
    position: relative; height: 100%; display: flex; flex-direction: column;
    padding: 1.75rem 1.5rem; border-radius: 20px;
    background: var(--ecl-surface); border: 1px solid var(--ecl-border); box-shadow: var(--ecl-shadow);
}
.preco.destaque { border: 2px solid var(--ecl-accent); box-shadow: 0 20px 45px rgba(124, 92, 255, .25); }
.preco .plano-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); margin: 0; padding: .3rem .8rem; white-space: nowrap; }
.preco h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.preco .dias { color: var(--ecl-muted); font-size: .85rem; }
.preco .valor { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; margin: 1rem 0 0; line-height: 1; }
.preco .valor small { font-size: 1rem; font-weight: 600; color: var(--ecl-muted); }
.preco .por-mes { color: var(--ecl-muted); font-size: .85rem; margin: .4rem 0 1.25rem; }
.preco ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; font-size: .9rem; }
.preco li { display: flex; gap: .55rem; }
.preco li i { color: #22c55e; }
.preco .btn { margin-top: auto; }

/* Parceiros */
.parceiro { text-align: center; }
.parceiro img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 20px; border: 1px solid var(--ecl-border); margin-bottom: .85rem;
}
.parceiro h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.parceiro span { font-size: .85rem; color: var(--ecl-accent); }

/* FAQ */
.faq .accordion-item {
    background: var(--ecl-surface); border: 1px solid var(--ecl-border) !important;
    border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden;
}
.faq .accordion-button {
    background: transparent; color: var(--ecl-text); font-weight: 600; padding: 1.1rem 1.25rem; box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--ecl-text); }
.faq .accordion-button::after { filter: invert(.6); }
.faq .accordion-body { color: var(--ecl-muted); padding: 0 1.25rem 1.25rem; }

/* Chamada final */
.cta-final {
    border-radius: 28px; padding: 3.5rem 2rem; text-align: center; color: #fff;
    background: var(--ecl-gradient); position: relative; overflow: hidden;
    box-shadow: 0 25px 50px rgba(124, 92, 255, .3);
}
.cta-final h2 { font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.cta-final p { opacity: .9; max-width: 32rem; margin: .5rem auto 1.75rem; }
.cta-final .btn-light { color: #3b2a9e; font-weight: 700; }

/* Rodapé */
.site-rodape { border-top: 1px solid var(--ecl-border); padding: 3rem 0 1.5rem; margin-top: 5rem; }
.site-rodape p, .site-rodape a { color: var(--ecl-muted); font-size: .9rem; }
.site-rodape a { text-decoration: none; }
.site-rodape a:hover { color: var(--ecl-text); }
.site-rodape h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1rem; }
.site-rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-rodape .copy { border-top: 1px solid var(--ecl-border); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .82rem; }

.whats-flutuante {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25d366; color: #fff; font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s;
}
.whats-flutuante:hover { color: #fff; transform: scale(1.08); }

/* Termos de uso */
.termos { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem 0; }
.termos-topo { margin-bottom: 2rem; }
.termos-topo h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; margin: .5rem 0; }
.termos-topo p { color: var(--ecl-muted); }
.termos-indice {
    padding: 1.25rem 1.5rem; border-radius: var(--ecl-radius);
    background: var(--ecl-surface); border: 1px solid var(--ecl-border); margin-bottom: 2rem;
}
.termos-indice ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; font-size: .92rem; }
.termos-indice li { margin-bottom: .3rem; break-inside: avoid; }
.termos-indice a { color: var(--ecl-muted); text-decoration: none; }
.termos-indice a:hover { color: var(--ecl-accent); }
@media (max-width: 575.98px) { .termos-indice ol { columns: 1; } }
.termos article { scroll-margin-top: 90px; padding: 1.5rem 0; border-bottom: 1px solid var(--ecl-border); }
.termos article:last-of-type { border-bottom: 0; }
.termos h2 { font-size: 1.2rem; font-weight: 700; display: flex; gap: .75rem; align-items: baseline; }
.termos h2 span { color: var(--ecl-accent); font-weight: 800; }
.termos article p, .termos article li { color: var(--ecl-muted); line-height: 1.7; }
.termos article strong { color: var(--ecl-text); }
.termos .destaque-box {
    padding: 1rem 1.25rem; border-radius: 14px; margin: 1rem 0;
    background: rgba(124, 92, 255, .1); border: 1px solid rgba(124, 92, 255, .3); color: var(--ecl-text);
}
.horarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0; }
.horarios div { padding: 1rem; border-radius: 14px; background: var(--ecl-surface); border: 1px solid var(--ecl-border); text-align: center; }
.horarios strong { display: block; font-size: .85rem; color: var(--ecl-text); }
.horarios span { font-size: .9rem; color: var(--ecl-muted); }
@media (max-width: 575.98px) { .horarios { grid-template-columns: 1fr; } }
