/* KMAIL — página inicial (complementa o kmail.css global). */
.site { background: var(--bg); }
/* Só o espaçamento lateral: o vertical fica com cada bloco (não anular padding-block). */
.site .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; }
.site img.logo-light, .site .logo-light { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .site .logo-dark { display: none; } :root:not([data-theme="dark"]) .site .logo-light { display: inline-block; } }
:root[data-theme="light"] .site .logo-dark { display: none; }
:root[data-theme="light"] .site .logo-light { display: inline-block; }

/* Navegação */
.site-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.nav-brand img { height: 30px; display: block; }
.nav-links { display: flex; gap: 1.4rem; margin-left: 1rem; }
.nav-links a { color: var(--text-dim); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
@media (max-width: 1020px) { .nav-links { display: none; } }
@media (max-width: 720px) { .nav-panel { display: none; } .nav-inner { gap: .75rem; } }
@media (max-width: 420px) { .nav-webmail { padding-inline: .9rem; font-size: .85rem; } .nav-brand img { height: 26px; } }

/* Tipografia de seções */
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.site h1, .site h2, .site h3 { font-family: var(--font-display); letter-spacing: -.01em; }
.lead { font-size: 1.1rem; line-height: 1.65; color: var(--text-dim); }

/* Hero */
.hero { position: relative; padding: 4.5rem 0 3.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 620px; background: radial-gradient(closest-side, var(--accent-glow), transparent); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; margin: 1rem 0 1.1rem; }
.hero h1 span { color: var(--accent-light); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--text-dim); font-size: .88rem; }
.hero-checks i { color: var(--success); margin-right: .35rem; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 3rem; } }

/* Janela simulada do webmail */
.hero-visual { position: relative; }
.mock { border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-url { margin-left: .6rem; flex: 1; font-size: .74rem; color: var(--text-dim); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .25rem .7rem; }
.mock-url i { color: var(--success); margin-right: .3rem; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 330px; }
.mock-side { padding: .9rem .6rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: .2rem; font-size: .78rem; }
.mock-compose { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: .45rem .8rem; font-weight: 600; margin-bottom: .5rem; text-align: center; }
.mock-folder { padding: .4rem .6rem; border-radius: 8px; color: var(--text-dim); display: flex; gap: .5rem; align-items: center; }
.mock-folder i { width: 14px; }
.mock-folder b { margin-left: auto; font-size: .7rem; }
.mock-folder.active { background: var(--accent-soft); color: var(--text); }
.mock-list { display: flex; flex-direction: column; }
.mock-mail { display: grid; grid-template-columns: 34px 1fr auto; gap: .65rem; align-items: center; padding: .75rem .9rem; border-bottom: 1px solid var(--border); font-size: .8rem; }
.mock-mail small { display: block; color: var(--text-dim); margin-top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-mail div { min-width: 0; }
.mock-mail time { font-size: .7rem; color: var(--text-faint); }
.mock-mail.unread b::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: .4rem; vertical-align: middle; }
.mock-mail.warn { background: color-mix(in srgb, var(--danger) 8%, transparent); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; background: var(--c); }
.float-card { position: absolute; display: flex; gap: .7rem; align-items: center; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); font-size: .8rem; }
.float-card i { font-size: 1.1rem; color: var(--accent-light); }
.float-card small { display: block; color: var(--text-dim); }
.fc-1 { left: -28px; bottom: -22px; }
.fc-2 { right: -18px; top: -22px; }
.fc-1 i { color: var(--success); }
@media (max-width: 1240px) { .fc-1 { left: 10px; } .fc-2 { right: 10px; } }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .float-card { display: none; } }

/* Faixa de pilares */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); padding-block: 1.75rem; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 1rem; }
.strip-grid div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.strip-grid i { grid-row: span 2; font-size: 1.3rem; color: var(--accent-light); width: 28px; text-align: center; }
.strip-grid b { font-size: .92rem; }
.strip-grid span { font-size: .8rem; color: var(--text-dim); }
@media (max-width: 860px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .strip-grid { grid-template-columns: 1fr; } }

/* Seções */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .6rem 0 .7rem; line-height: 1.15; }
.section-head p { color: var(--text-dim); line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature > i { font-size: 1.25rem; color: var(--accent-light); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); }
.feature h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.feature p { color: var(--text-dim); font-size: .9rem; line-height: 1.6; }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Marca própria */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .6rem 0 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .8rem; }
.ticks i { color: var(--accent-light); width: 22px; }
.brand-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bd-card { border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); padding: 1rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: 0 20px 50px -30px rgba(0,0,0,.6); }
.bd-card:nth-child(2) { transform: translateY(2rem); }
.bd-top { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .3rem; }
.bd-logo { font-family: var(--font-display); font-weight: 700; color: var(--b); }
.bd-pill { font-size: .68rem; color: var(--text-dim); border: 1px solid var(--border); border-radius: 999px; padding: .15rem .55rem; align-self: flex-start; }
.bd-btn { background: var(--b); color: #fff; border-radius: 999px; padding: .4rem; text-align: center; font-size: .78rem; font-weight: 600; }
.bd-row { height: 26px; border-radius: 8px; background: var(--surface-2); }
.bd-row.active { background: color-mix(in srgb, var(--b) 18%, transparent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Segurança */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.sec-item { display: flex; gap: 1rem; }
.sec-item > i { font-size: 1.2rem; color: var(--accent-light); margin-top: .2rem; width: 24px; text-align: center; }
.sec-item h3 { font-size: 1rem; margin-bottom: .35rem; }
.sec-item p { color: var(--text-dim); font-size: .9rem; line-height: 1.6; }
@media (max-width: 940px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } }

/* Planos */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.price.featured { border-color: var(--accent); box-shadow: 0 24px 60px -30px var(--accent-glow); }
.price-tag { position: absolute; top: -11px; left: 1.3rem; font-size: .7rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.price-tag.alt { background: var(--surface-2); color: var(--accent-light); border: 1px solid var(--accent); }
.price h3 { font-size: 1.15rem; }
.price-value { display: flex; align-items: baseline; gap: .25rem; min-height: 2.6rem; }
.price-value strong { font-family: var(--font-display); font-size: 2rem; }
.price-value small { color: var(--text-dim); }
.price ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .86rem; flex: 1; color: var(--text-dim); }
.price li { display: flex; gap: .5rem; }
.price li i { color: var(--success); margin-top: .2rem; font-size: .8rem; }
.price li:first-child { color: var(--text); font-weight: 600; }
.price li:first-child i { display: none; }
.price-note { text-align: center; color: var(--text-faint); font-size: .82rem; margin-top: 1.5rem; }

/* Migração */
.mig-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.mig-steps li { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.mig-steps span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-family: var(--font-display); }
.mig-steps h3 { margin: 1rem 0 .4rem; font-size: 1.05rem; }
.mig-steps p { color: var(--text-dim); font-size: .9rem; line-height: 1.6; }
@media (max-width: 760px) { .mig-steps { grid-template-columns: 1fr; } }

/* Dúvidas */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq { display: flex; flex-direction: column; gap: .6rem; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 0 1.1rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-light); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-dim); line-height: 1.65; padding-bottom: 1.1rem; font-size: .92rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 1.5rem; } }

/* CTA final */
.cta { padding: 4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.5rem; border-radius: 20px; border: 1px solid var(--accent); background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface); }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.cta p { color: var(--text-dim); }
.cta .hero-ctas { margin-top: 0; }
@media (max-width: 600px) { .cta-inner { padding: 1.75rem 1.5rem; } }

/* Rodapé */
.site-foot { border-top: 1px solid var(--border); padding-top: 3rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.foot-brand img { height: 28px; }
.foot-brand p { color: var(--text-dim); font-size: .88rem; margin-top: .8rem; max-width: 280px; }
.foot-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: .8rem; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.foot-grid a { color: var(--text-dim); }
.foot-grid a:hover { color: var(--text); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Página de status */
.status-page { min-height: calc(100vh - 68px - 60px); }
.status-wrap { max-width: 760px; }
.status-head { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); margin-bottom: 1rem; }
.status-head > i { font-size: 2rem; }
.status-head.ok { border-color: color-mix(in srgb, var(--success) 45%, var(--border)); }
.status-head.ok > i { color: var(--success); }
.status-head.down { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); }
.status-head.down > i { color: var(--danger); }
.status-head h1 { font-size: 1.3rem; }
.status-head p { color: var(--text-dim); font-size: .88rem; margin-top: .25rem; }
.status-list { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.status-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.status-item:last-child { border-bottom: 0; }
.status-note { color: var(--text-dim); font-size: .86rem; line-height: 1.6; margin-top: 1.25rem; }
.site-foot .site-footer { padding-bottom: 1.25rem; }

/* Faixa de conformidade (seção Segurança) */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; padding: 1.4rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.trust div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.trust i { grid-row: span 2; font-size: 1.25rem; color: var(--accent-light); width: 26px; text-align: center; }
.trust b { font-size: .92rem; }
.trust span { font-size: .8rem; color: var(--text-dim); }
@media (max-width: 940px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
