/* ============================================================
   landing.css — estilos dos BLOCOS da plataforma.
   Usado na página pública E no canvas do builder (WYSIWYG).
   Prefixo .lp- para não conflitar com o resto do site.
   ============================================================ */

.lp-page {
    --lp-cor: #6C5CE7;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #2d3436;
    line-height: 1.6;
}
.lp-page * { box-sizing: border-box; }

.lp-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.lp-container.lp-full { max-width: 100%; }

.lp-align-left   { text-align: left; }
.lp-align-center { text-align: center; }
.lp-align-right  { text-align: right; }

.lp-secao { padding: 72px 0; }

.lp-secao-cabecalho { max-width: 720px; margin: 0 auto 48px; }
.lp-secao-cabecalho h2 { font-size: 2rem; font-weight: 800; margin: 0 0 12px; }
.lp-secao-cabecalho p  { font-size: 1.05rem; color: #636e72; margin: 0; }

/* Botão */
.lp-btn {
    display: inline-block;
    background: var(--lp-cor);
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-claro { background: #fff; color: #2d3436; }

/* HERO */
.lp-hero {
    display: flex;
    align-items: center;
    padding: 40px 0;
}
.lp-hero.lp-align-center .lp-container { margin-left: auto; margin-right: auto; }
.lp-hero-titulo { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 16px; line-height: 1.1; }
.lp-hero-sub    { font-size: clamp(1rem, 2.2vw, 1.3rem); opacity: .95; margin: 0 0 28px; max-width: 640px; }
.lp-hero.lp-align-center .lp-hero-sub { margin-left: auto; margin-right: auto; }

/* GRID de recursos */
.lp-grid { display: grid; gap: 28px; }
.lp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-cols-4 { grid-template-columns: repeat(4, 1fr); }

.lp-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.lp-card-icone {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--lp-cor) 14%, #fff);
    color: var(--lp-cor);
    font-size: 1.6rem;
}
.lp-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.lp-card p  { color: #636e72; margin: 0; font-size: .96rem; }

/* PREÇOS */
.lp-planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: stretch; }
.lp-plano {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    display: flex; flex-direction: column;
}
.lp-plano-destaque {
    border: 2px solid var(--lp-cor);
    box-shadow: 0 16px 40px rgba(108,92,231,.18);
    transform: translateY(-6px);
}
.lp-plano h3 { font-size: 1.3rem; margin: 0 0 10px; }
.lp-plano-preco { margin: 0 0 20px; }
.lp-plano-preco span { font-size: 2.4rem; font-weight: 800; color: var(--lp-cor); }
.lp-plano-preco small { display: block; color: #636e72; }
.lp-plano-recursos { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; flex: 1; }
.lp-plano-recursos li { padding: 8px 0; border-bottom: 1px solid #f3f4f7; color: #555; }
.lp-plano-recursos i { color: #00b894; margin-right: 8px; }

/* CTA */
.lp-cta h2 { font-size: 2.2rem; font-weight: 800; margin: 0 0 12px; }
.lp-cta p  { font-size: 1.1rem; opacity: .9; margin: 0 0 28px; }

/* TEXTO */
.lp-prosa { font-size: 1.05rem; }
.lp-prosa h2 { font-size: 1.8rem; margin: 0 0 14px; }
.lp-prosa p  { margin: 0 0 14px; }

/* IMAGEM */
.lp-imagem img { border-radius: 14px; display: inline-block; }

/* DEPOIMENTOS */
.lp-deps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.lp-dep { background: #fff; border: 1px solid #eef0f4; border-radius: 16px; padding: 28px; }
.lp-dep-texto { font-style: italic; color: #444; margin: 0 0 20px; }
.lp-dep-autor { display: flex; align-items: center; gap: 14px; }
.lp-dep-foto { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.lp-dep-foto-vazia { background: var(--lp-cor); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; text-transform: uppercase; }
.lp-dep-autor strong { display: block; }
.lp-dep-autor small  { color: #636e72; }

/* RODAPÉ */
.lp-rodape { padding: 48px 0; text-align: center; }
.lp-rodape-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.lp-rodape-links a { color: inherit; text-decoration: none; opacity: .85; }
.lp-rodape-links a:hover { opacity: 1; }
.lp-rodape-texto { margin: 0; opacity: .6; font-size: .9rem; }

/* BOTÃO isolado */
.lp-botao-wrap { padding: 8px 0; }

/* VÍDEO (16:9 responsivo) */
.lp-video .lp-video-frame { position: relative; width: 100%; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 34px rgba(0,0,0,.16); background: #000; }
.lp-video .lp-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-video-vazio { max-width: 900px; margin: 0 auto; aspect-ratio: 16/9; border: 2px dashed #dfe3ea; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #b2bec3; }

/* GALERIA */
.lp-galeria { display: grid; gap: 14px; }
.lp-galeria.lp-gcols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-galeria.lp-gcols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-galeria.lp-gcols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-galeria img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; display: block; }

/* FAQ (acordeão) */
.lp-faq { max-width: 820px; margin: 0 auto; }
.lp-faq details { border: 1px solid #e8eaf0; border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.lp-faq summary { padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '\002B'; color: var(--lp-cor); font-size: 1.4rem; line-height: 1; }
.lp-faq details[open] summary::after { content: '\2212'; }
.lp-faq .lp-faq-resp { padding: 0 20px 18px; color: #636e72; }

/* DIVISOR / ESPAÇADOR */
.lp-divisor { display: block; }
.lp-divisor hr { border: 0; border-top: 1px solid #e2e5ea; margin: 0 auto; max-width: 1140px; }

/* HTML bruto */
.lp-html-bruto { width: 100%; }

/* Responsivo */
@media (max-width: 880px) {
    .lp-galeria.lp-gcols-3, .lp-galeria.lp-gcols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
    .lp-cols-3, .lp-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .lp-secao { padding: 48px 0; }
    .lp-cols-2, .lp-cols-3, .lp-cols-4 { grid-template-columns: 1fr; }
    .lp-plano-destaque { transform: none; }
}
