/* Site publico forrmail.com. Fiel a "Forrmail landing minimalista"; os
   estilos inline do template viraram classes para caber na CSP. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #ffffff; color: #1d1c26; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: #5b4bc4; text-decoration: none; }
a:hover { color: #463a9e; }
::selection { background: #e5e1f7; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid #9184d9; outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.page { width: 100%; max-width: 100%; overflow-x: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 104px; padding-bottom: 104px; }
.grow { flex: 1; }

/* Cabecalho */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid #eceaf3; }
.top-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { font-size: 19px; letter-spacing: -0.02em; color: #1d1c26; font-weight: 500; }
.brand:hover { color: #1d1c26; }
.brand img { display: block; height: 30px; width: auto; }
.nav { display: flex; gap: 18px; flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
.nav a { font-size: 14.5px; color: #5f5c6e; }
.nav a:hover { color: #5b4bc4; }
.lang { position: relative; display: flex; align-items: center; }
.lang select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 13px; color: #3f3a5c; background: #f3f1fa; border: 1px solid #e6e2f4; border-radius: 999px; padding: 8px 30px 8px 14px; cursor: pointer; }
.lang select:hover { background: #ece8f8; }
.lang-caret { position: absolute; right: 12px; pointer-events: none; display: flex; }
.top-actions { display: flex; align-items: center; gap: 8px; }

/* Botoes */
.btn-primary { display: inline-block; font-size: 15px; color: #ffffff; background: #5b4bc4; padding: 14px 26px; border-radius: 999px; white-space: nowrap; }
.btn-primary:hover { background: #463a9e; color: #ffffff; }
.btn-sm { font-size: 14.5px; padding: 10px 18px; }
.btn-outline { display: inline-block; font-size: 15px; color: #3f3a5c; border: 1px solid #d5cff0; padding: 14px 26px; border-radius: 999px; white-space: nowrap; }
.btn-outline:hover { background: #f4f2fb; color: #463a9e; }
.btn-ghost { font-size: 14.5px; color: #1d1c26; padding: 9px 14px; border-radius: 8px; }
.btn-ghost:hover { background: #f4f2fb; color: #1d1c26; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Abertura */
.hero { position: relative; background: linear-gradient(180deg, #f7f5fd 0%, #ffffff 78%); }
.hero-grid { padding-top: 96px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; }
.kicker { margin: 0 0 28px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a86a0; }
.kicker-light { margin-bottom: 24px; color: #a99fe0; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 400; max-width: 15ch; text-wrap: balance; }
.lead { margin-top: 32px; font-size: 19px; line-height: 1.6; color: #5f5c6e; max-width: 58ch; text-wrap: pretty; }
.note { margin-top: 20px; font-size: 13.5px; color: #8a86a0; }

.mock { background: #ffffff; border: 1px solid #e6e2f4; border-radius: 18px; box-shadow: 0 18px 50px rgba(45,34,110,0.10); overflow: hidden; min-width: 0; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #f0edf8; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: #9184d9; }
.mock-title { font-size: 13.5px; color: #1d1c26; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #5b4bc4; background: #f1eefc; border-radius: 999px; padding: 5px 10px; }
.mail { display: flex; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #f4f2fa; align-items: flex-start; }
.mail svg { margin-top: 3px; flex: none; }
.mail-body { min-width: 0; flex: 1; }
.mail-line { display: flex; gap: 10px; align-items: baseline; }
.mail-from { font-size: 14px; color: #1d1c26; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-time { font-size: 12px; color: #a19db4; white-space: nowrap; }
.mail-subject { margin-top: 3px; font-size: 13.5px; color: #5f5c6e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-foot { display: flex; align-items: center; gap: 8px; padding: 13px 18px; font-size: 12.5px; color: #7b7790; }

/* Numeros */
.stats-band { background: #ffffff; border-top: 1px solid #eceaf3; }
.stats { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat-value { font-size: 30px; letter-spacing: -0.03em; color: #1d1c26; }
.stat-label { margin-top: 6px; font-size: 14px; color: #7b7790; text-wrap: pretty; }

/* Destinos */
.storage-band { border-top: 1px solid #eceaf3; border-bottom: 1px solid #eceaf3; background: #fbfaff; }
.storage-band .wrap { padding-top: 56px; padding-bottom: 56px; }
.eyebrow { margin-bottom: 32px; font-size: 13px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: #8a86a0; }
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.card { background: #ffffff; border: 1px solid #eae7f5; border-radius: 12px; padding: 26px 24px; }
.card svg { display: block; margin-bottom: 14px; }
.card-name { margin-bottom: 6px; font-size: 16.5px; color: #1d1c26; }
.card-note { font-size: 14px; line-height: 1.5; color: #7b7790; }
.storage-note { margin-top: 24px; font-size: 14.5px; color: #5f5c6e; }

/* Titulos de seccao */
.h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.15; }
.h2-narrow { max-width: 20ch; }
.h2-space { margin-bottom: 48px; }
.sub { margin-top: 16px; font-size: 18px; line-height: 1.6; color: #5f5c6e; max-width: 56ch; text-wrap: pretty; }
.sub-light { color: #c5bfe6; max-width: 60ch; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 56px; margin-top: 64px; }
.step-n { width: 34px; height: 34px; border-radius: 999px; border: 1px solid #d5cff0; color: #5b4bc4; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.step h3 { margin: 22px 0 10px; font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.step p { font-size: 16px; line-height: 1.62; color: #5f5c6e; text-wrap: pretty; }

/* Precos */
.pricing { background: linear-gradient(170deg, #2e2657 0%, #241e46 100%); color: #f1eefb; }
.pricing .h2 { color: #f6f4ff; }
.tabs { display: inline-flex; margin-top: 40px; padding: 4px; background: rgba(255,255,255,0.10); border-radius: 999px; gap: 4px; }
.tabs button { font: inherit; font-size: 14.5px; border: 0; cursor: pointer; padding: 9px 20px; border-radius: 999px; background: transparent; color: #c5bfe6; }
.tabs button[aria-selected="true"] { background: #ffffff; color: #1d1c26; box-shadow: 0 1px 2px rgba(0,0,0,0.20); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; margin-top: 36px; }
.plan { background: #ffffff; border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 6px 24px rgba(10,6,30,0.18); }
.plan.highlight { border-color: #ffffff; box-shadow: 0 10px 40px rgba(10,6,30,0.35); }
.plan h3 { margin-bottom: 18px; font-size: 16px; font-weight: 500; letter-spacing: 0.01em; color: #1d1c26; }
.plan-price { font-size: 38px; letter-spacing: -0.035em; line-height: 1; color: #1d1c26; }
.plan-unit { margin-top: 8px; font-size: 14px; color: #8a86a0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { font-size: 15px; line-height: 1.5; color: #4b4859; padding-left: 18px; position: relative; text-wrap: pretty; }
.plan li::before { content: "·"; position: absolute; left: 0; top: 0; color: #9184d9; }
.plan-cta { display: block; text-align: center; font-size: 14.5px; padding: 12px 18px; border-radius: 999px; color: #3f3a5c; border: 1px solid #d5cff0; }
.plan-cta:hover { background: #f4f2fb; color: #463a9e; }
.plan-cta.primary { color: #ffffff; background: #5b4bc4; border-color: #5b4bc4; }
.plan-cta.primary:hover { background: #463a9e; color: #ffffff; }

/* Seguranca */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 48px; }
.flow-item { display: flex; align-items: stretch; gap: 14px; flex: 1 1 200px; min-width: 0; }
.flow-box { flex: 1; min-width: 0; border: 1px solid #e6e2f4; border-radius: 14px; padding: 22px 20px; background: #ffffff; }
.flow-box svg { display: block; margin-bottom: 12px; }
.flow-title { margin-bottom: 6px; font-size: 15px; color: #1d1c26; }
.flow-note { font-size: 13.5px; line-height: 1.5; color: #7b7790; text-wrap: pretty; }
.flow-arrow { display: flex; align-items: center; }
.security { margin-top: 56px; }
.security .card { border-radius: 16px; padding: 34px 30px; }
.security .card svg { margin-bottom: 16px; }
.security h3 { margin-bottom: 12px; font-size: 19px; font-weight: 400; letter-spacing: -0.02em; }
.security p { font-size: 15.5px; line-height: 1.62; color: #5f5c6e; text-wrap: pretty; }

/* Comparacao */
.compare-band { background: #fbfaff; border-top: 1px solid #eceaf3; }
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 15px; }
.compare th { text-align: left; padding: 14px 16px; font-weight: 400; color: #7b7790; border-bottom: 1px solid #ded9ee; }
.compare th:first-child { padding-left: 0; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a86a0; }
.compare th.col-f { font-weight: 500; color: #463a9e; background: #ffffff; }
.compare td { padding: 18px 16px; color: #7b7790; border-bottom: 1px solid #eae7f5; }
.compare td:first-child { padding-left: 0; color: #5f5c6e; }
.compare td.col-f { color: #1d1c26; background: #ffffff; }

/* Perguntas */
.faq-band { border-top: 1px solid #eceaf3; }
.faq-band .section { padding-top: 96px; padding-bottom: 96px; }
.faqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; }
.faq h3 { margin-bottom: 10px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq p { font-size: 15.5px; line-height: 1.62; color: #5f5c6e; text-wrap: pretty; }

/* Fecho */
.close { border-top: 1px solid #eceaf3; background: linear-gradient(180deg, #ffffff 0%, #f7f5fd 100%); }
.close .wrap { padding-top: 112px; padding-bottom: 112px; }
.h2-close { font-size: clamp(30px, 4.4vw, 48px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; max-width: 18ch; text-wrap: balance; }
.close .cta-row { margin-top: 36px; }

/* Rodape */
.foot { border-top: 1px solid #eceaf3; background: #fbfaff; }
.foot-inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand p { font-size: 14px; color: #8a86a0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { font-size: 14px; color: #5f5c6e; }
.foot-links a:hover { color: #5b4bc4; }

@media (max-width: 720px) {
  .nav { display: none; }
  .top-inner { gap: 12px; }
  .btn-ghost { display: none; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero-grid { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Paginas legais (privacidade.html) */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.legal h1 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.legal h2 { font-size: 19px; font-weight: 500; margin-top: 36px; margin-bottom: 10px; }
.legal p { font-size: 15.5px; line-height: 1.65; color: #3f3a5c; margin-bottom: 12px; }
.legal strong { font-weight: 500; color: #1d1c26; }
.legal-meta { color: #8a86a0 !important; font-size: 14px !important; }
@media (max-width: 640px) { .legal { padding-top: 32px; } .legal h1 { font-size: 26px; } }
