/* ============================================
   csimples — Landing page
   Baseada no redesign de feat/redesign-sistema com adaptacoes
   para integracao com o app (tokens compartilhados via theme.css).
   ============================================ */

:root {
    /* Tokens locais da landing (complementares aos de theme.css) */
    --land-green-strong: #1e6455;
    --land-green-soft: #e8f3ee;
    --land-petrol-deep: #12302c;
    --land-neutral-deep: #efefe7;
    --land-peach-soft: #fbefe6;
    --land-container: 1180px;
    --land-radius: 18px;
    --land-shadow: 0 24px 60px rgba(24, 63, 58, 0.10);
}

body.landing-body {
    display: block;
    min-height: 100vh;
    background: var(--brand-paper);
    color: var(--brand-green-strong);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.landing-body a { color: inherit; }
body.landing-body img,
body.landing-body iframe,
body.landing-body video { display: block; }

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

/* Tipografia */
.landing-body h1,
.landing-body h2,
.landing-body h3 {
    color: var(--brand-green-strong);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
.landing-body h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.landing-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.landing-body h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
.landing-body h1 em,
.landing-body h2 em { color: var(--brand-green); font-style: normal; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--land-green-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand-peach);
}
.lead {
    max-width: 60ch;
    color: var(--text-muted);
    font-size: 1.12rem;
}
.section-head {
    display: grid;
    gap: 16px;
    max-width: 760px;
    margin-bottom: 48px;
}

/* Botoes */
.landing-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.landing-body .btn:hover { transform: translateY(-1px); }
.landing-body .btn:focus-visible {
    outline: 3px solid var(--brand-peach);
    outline-offset: 3px;
}
.landing-body .btn-primary {
    background: var(--brand-green);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(38, 122, 104, 0.22);
}
.landing-body .btn-primary:hover { background: var(--land-green-strong); }
.landing-body .btn-ghost {
    border-color: #cdd2c8;
    background: #ffffff;
    color: var(--brand-green-strong);
}
.landing-body .btn-ghost:hover { border-color: var(--brand-green); }
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* Navegacao */
.nav {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid transparent;
    background: rgba(246, 245, 239, 0.9);
    backdrop-filter: blur(10px);
    transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border-color); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
    color: #2f4a45;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
}
.nav-links a:hover { color: var(--land-green-strong); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }

/* Mockup: video/iframe escalado */
.mock-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--land-radius);
    background: #ecebe3;
    box-shadow: var(--land-shadow);
}
.mock-frame video,
.mock-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    pointer-events: none;
}
.mock-caption {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.92rem;
}
.mock-caption strong { color: var(--brand-green-strong); }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 56px;
}
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; }
.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}
.hero-facts div {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #ffffff;
}
.hero-facts strong { display: block; font-size: 0.95rem; }
.hero-facts span {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.strip {
    border-block: 1px solid var(--border-color);
    background: #ffffff;
}
.strip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 36px;
    padding: 20px 0;
    margin: 0;
    list-style: none;
    color: #2f4a45;
    font-size: 0.95rem;
    font-weight: 700;
}
.strip-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.strip-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-green);
}

.landing-body section { padding: 104px 0; }

/* Para quem */
.audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.audience article {
    padding: 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--land-radius);
    background: #ffffff;
}
.audience article.secondary {
    background: var(--land-green-soft);
    border-color: #cfe5db;
}
.audience .tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--land-neutral-deep);
    color: var(--land-green-strong);
    font-size: 0.8rem;
    font-weight: 800;
}
.audience article.secondary .tag { background: #ffffff; }
.audience p { margin-top: 12px; color: var(--text-muted); }

.checks {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
    padding: 0;
}
.checks li {
    position: relative;
    padding-left: 30px;
    color: #2f4a45;
    font-size: 0.98rem;
}
.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Form empreendedor dentro de audience */
.audience-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.audience-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #2f4a45;
    font-size: 0.86rem;
    font-weight: 700;
}
.audience-form input,
.audience-form textarea {
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.94rem;
}
.audience-form textarea {
    min-height: 80px;
    resize: vertical;
}
.audience-form button { margin-top: 6px; }

/* Recursos alternados */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 56px;
}
.feature + .feature { margin-top: 96px; }
.feature.is-reversed {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.feature.is-reversed .feature-copy { order: 2; }
.feature-copy h3 {
    margin-top: 14px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.feature-copy > p {
    margin-top: 16px;
    color: var(--text-muted);
}
.step-label {
    color: var(--land-green-strong);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Secao escura */
.dark {
    background: var(--brand-green-strong);
    color: rgba(255, 255, 255, 0.82);
}
.dark h2, .dark h3 { color: #ffffff; }
.dark h2 em { color: var(--brand-green-mint); }
.dark .eyebrow { color: var(--brand-green-mint); }
.dark .lead,
.dark .feature-copy > p {
    color: rgba(255, 255, 255, 0.72);
}
.dark .checks li { color: rgba(255, 255, 255, 0.86); }
.dark .mock-frame { border-color: rgba(255, 255, 255, 0.12); }

/* Controle */
.duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* Passos */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}
.steps li {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--land-radius);
    background: #ffffff;
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--land-green-soft);
    color: var(--land-green-strong);
    font-weight: 800;
}
.steps p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Confianca */
.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.trust article {
    padding: 26px;
    border-top: 3px solid var(--brand-peach);
    border-radius: 0 0 14px 14px;
    background: #ffffff;
}
.trust p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* Sobre a csimples (mantido da versao anterior, adaptado ao novo tema) */
.sobre-grid {
    display: grid;
    gap: 20px;
    margin-top: 32px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.sobre-card {
    padding: 28px;
    border-radius: var(--land-radius);
    background: #ffffff;
    border: 1px solid var(--border-color);
}
.sobre-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-green-strong);
    font-size: 1.05rem;
}
.sobre-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.5;
}
.sobre-card .brand-pair {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-green-mint);
    color: var(--land-green-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* Oferta (sem preco) */
.offer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--land-shadow);
}
.offer > div { padding: 48px; }
.offer-side { background: var(--land-green-soft); }
.offer h2 {
    margin-top: 14px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.offer .lead {
    margin-top: 16px;
    font-size: 1.02rem;
}
.trial {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--land-green-strong);
    font-size: 0.82rem;
    font-weight: 800;
}
.offer-side > strong {
    display: block;
    margin-top: 20px;
    color: var(--brand-green-strong);
    font-size: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-weight: 800;
}
.offer-side p {
    margin-top: 16px;
    color: #2f4a45;
    font-size: 0.98rem;
}
.offer-side .actions { flex-direction: column; }

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
}
.faq details { border-bottom: 1px solid var(--border-color); }
.faq summary {
    position: relative;
    padding: 22px 40px 22px 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 18px;
    color: var(--brand-green);
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible {
    outline: 3px solid var(--brand-peach);
    outline-offset: 4px;
    border-radius: 6px;
}
.faq details p {
    padding-bottom: 22px;
    color: var(--text-muted);
}

.landing-footer {
    padding: 56px 0 32px;
    background: var(--land-petrol-deep);
    color: rgba(255, 255, 255, 0.72);
}
.landing-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.landing-footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}
.landing-footer-brand p {
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.55;
}
.landing-footer h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.landing-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.landing-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.landing-footer a:hover { color: #ffffff; }
.landing-footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Flash */
.landing-flash {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 100;
    max-width: 380px;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: var(--land-shadow);
    font-weight: 600;
}
.landing-flash.success {
    background: var(--brand-green-mint);
    color: var(--land-green-strong);
    border: 1px solid var(--brand-green);
}
.landing-flash.danger {
    background: #fff1f2;
    color: #991b1b;
    border: 1px solid #fecdd3;
}

/* Aparicao suave */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1020px) {
    .hero-grid,
    .feature,
    .feature.is-reversed,
    .duo,
    .faq,
    .offer { grid-template-columns: 1fr; }
    .feature.is-reversed .feature-copy { order: 0; }
    .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-links { display: none; }
}
@media (max-width: 920px) {
    .landing-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    body.landing-body { font-size: 16px; }
    .landing-body section { padding: 72px 0; }
    .hero { padding: 40px 0 64px; }
    .hero-facts,
    .audience,
    .steps,
    .trust { grid-template-columns: 1fr; }
    .audience article,
    .offer > div { padding: 28px 22px; }
    .feature + .feature { margin-top: 72px; }
    .nav .btn { display: none; }
    .actions .btn { width: 100%; }
    .landing-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .landing-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
