/* MailOS — site institucional
   Paleta: navy #0B1F3A · azul #2563EB · slate #64748B · teal #0D9488 · verde #16A34A
*/

:root {
  --navy: #0b1f3a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --slate: #64748b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --border: #e2e8f0;
  --teal: #0d9488;
  --teal-bg: #ccfbf1;
  --green: #16a34a;
  --radius-sm: 8px;
  --radius: 11px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --max-width: 1136px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon svg { width: 18px; height: 18px; }

.brand .os { color: var(--blue); }

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  background: var(--slate-100);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.main-nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); }

.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Sections / generic ---------- */

section { padding: 88px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
section.tight { padding: 56px 0; }
.section-alt { background: var(--slate-50); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1, h2, h3 { font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -0.02em; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 38px; line-height: 1.2; }
.section-head p { font-size: 18px; color: var(--slate); margin-top: 16px; line-height: 1.7; }

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--navy);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316A34A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5,8.5 6.5,11.5 12.5,4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Hero ---------- */

.hero { padding-top: 72px; padding-bottom: 88px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.hero h1 { font-size: 52px; line-height: 1.1; margin-bottom: 22px; }

.hero .lead { font-size: 18px; line-height: 1.7; color: var(--slate); max-width: 560px; }
.hero .lead b { color: var(--navy); font-weight: 700; }

.hero-actions { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }

.trust-list { display: flex; flex-direction: column; gap: 8px; }
.trust-list .check-list { gap: 8px; }
.trust-list li { font-size: 14.5px; color: var(--slate); }

/* Inbox mockup */
.mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--slate-50);
}
.mockup-bar .dot-group { display: flex; gap: 6px; }
.mockup-bar .dot-group span { width: 9px; height: 9px; border-radius: 50%; background: #d8dee7; }
.mockup-bar .url { font-size: 12.5px; color: var(--slate); margin-left: 4px; }
.mockup-body { display: flex; min-height: 260px; }
.mockup-folders {
  width: 150px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  font-size: 13.5px;
  color: var(--slate);
}
.mockup-folders .folder {
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}
.mockup-folders .folder.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.mockup-messages { flex: 1; }
.mockup-messages .msg {
  padding: 13px 18px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mockup-messages .msg .from { font-size: 13.5px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.mockup-messages .msg .from .unread-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.mockup-messages .msg .subject { font-size: 13px; color: var(--slate); margin-top: 3px; }
.mockup-messages .msg .time { font-size: 12px; color: #94a3b8; white-space: nowrap; }

/* ---------- Problem / flow ---------- */

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 48px 0 40px;
}
.flow-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 26px;
  min-width: 210px;
  text-align: center;
}
.flow-card.active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.flow-card strong { display: block; font-size: 16px; margin-bottom: 4px; }
.flow-card span { font-size: 13.5px; color: var(--slate); }
.flow-arrow { color: #94a3b8; font-size: 20px; }

.problem-note { text-align: center; color: var(--slate); font-size: 16px; max-width: 680px; margin: 0 auto; }

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; padding-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-text h3 { font-size: 27px; margin-bottom: 14px; line-height: 1.25; }
.feature-text p { font-size: 16px; color: var(--slate); line-height: 1.7; margin: 0; }

.card-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}

.form-mockup .field { margin-bottom: 14px; }
.form-mockup label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--slate); margin-bottom: 6px; }
.form-mockup .value { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14.5px; color: var(--navy); background: var(--slate-50); }
.schedule-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue-light);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 6px;
}
.schedule-banner strong { display: block; font-size: 14.5px; }
.schedule-banner span { font-size: 13px; color: var(--slate); }
.status-chip { background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }

.sig-toggle { display: flex; gap: 8px; margin-bottom: 16px; }
.sig-toggle button {
  border: 1px solid var(--border);
  background: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
}
.sig-toggle button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sig-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: flex; gap: 14px; align-items: center; }
.sig-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.sig-card .name { font-weight: 700; font-size: 15px; }
.sig-card .role { font-size: 13.5px; color: var(--slate); margin: 2px 0; }
.sig-card .contact { font-size: 13px; color: var(--slate); }

.personal-mockup .top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--slate); margin-bottom: 12px; }
.recipient-row { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid var(--slate-100); font-size: 14px; }
.recipient-row:last-child { border-bottom: none; }
.recipient-row .name-badge { color: var(--blue); font-weight: 700; }
.recipient-row .meta { color: var(--slate); font-size: 13px; }

.groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.group-tile { border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.group-tile .src { font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.04em; }
.group-tile .label { font-size: 13.5px; color: var(--slate); margin: 6px 0 10px; }
.group-tile .num { font-size: 26px; font-weight: 800; color: var(--navy); }

/* ---------- Mid CTA banner ---------- */

.cta-banner {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { font-size: 19px; margin-bottom: 4px; }
.cta-banner p { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- Pricing ---------- */

.billing-toggle {
  display: inline-flex;
  background: var(--navy);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 48px;
  gap: 4px;
}
.billing-toggle button {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.billing-toggle button.active { background: #fff; color: var(--navy); }
.save-badge { background: rgba(255,255,255,0.15); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.billing-toggle button.active .save-badge { background: var(--teal-bg); color: var(--teal); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-card .badge-top {
  position: absolute;
  top: -13px;
  left: 22px;
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h4 { font-size: 18px; margin: 6px 0 10px; font-weight: 800; }
.price-card .specs { font-size: 13.5px; color: var(--slate); line-height: 1.6; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.price-card .price { font-size: 30px; font-weight: 800; margin-bottom: 2px; }
.price-card .price span { font-size: 14px; font-weight: 500; color: var(--slate); }
.price-card .price-detail { font-size: 12.5px; color: var(--slate); margin-bottom: 4px; }
.price-card .save { font-size: 12.5px; color: var(--teal); font-weight: 600; margin-bottom: 16px; }
.price-card .desc { font-size: 13.5px; color: var(--slate); line-height: 1.6; flex: 1; margin-bottom: 18px; }

.price-custom {
  margin-top: 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--slate-50);
}
.price-custom h4 { font-size: 17px; margin-bottom: 4px; }
.price-custom p { margin: 0; color: var(--slate); font-size: 14px; }

.mailbox-explainer {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.explainer-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.explainer-card .tag { font-size: 11.5px; font-weight: 700; color: var(--teal); letter-spacing: 0.05em; margin-bottom: 8px; display: block; }
.explainer-card p { font-size: 14.5px; color: var(--slate); line-height: 1.6; margin: 0; }

.fine-print { list-style: none; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.fine-print li { font-size: 13px; color: #94a3b8; padding-left: 14px; position: relative; }
.fine-print li::before { content: "—"; position: absolute; left: 0; }

/* ---------- Roadmap ---------- */

.roadmap-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.roadmap-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
}

/* ---------- Security ---------- */

.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.security-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.security-card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.security-card .icon svg { width: 20px; height: 20px; }
.security-card strong { display: block; font-size: 15.5px; margin-bottom: 6px; }
.security-card span { font-size: 14px; color: var(--slate); line-height: 1.6; }

.security-note {
  margin-top: 24px;
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.security-note strong { display: block; font-size: 15px; margin-bottom: 4px; }
.security-note p { margin: 0; font-size: 14px; color: var(--slate); max-width: 560px; }
.security-note a { color: var(--blue); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------- Ecosystem ---------- */

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.eco-card { border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--border); }
.eco-card.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.eco-card .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }
.eco-card h4 { font-size: 20px; margin-bottom: 10px; font-weight: 800; }
.eco-card.current h4 { color: #fff; }
.eco-card p { font-size: 14px; line-height: 1.6; color: var(--slate); margin: 0; }
.eco-card.current p { color: #cbd5e1; }

.audience-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.audience-tags span { background: var(--slate-100); border-radius: 999px; padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--navy); }

/* ---------- Testimonials ---------- */

.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial-card p { font-size: 15px; line-height: 1.7; color: var(--navy); margin: 0 0 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 14.5px; }
.testimonial-author span { font-size: 13px; color: var(--slate); }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }
.final-cta h2 { font-size: 30px; margin-bottom: 8px; }
.final-cta p { font-size: 17px; color: var(--slate); margin-bottom: 30px; }
.final-cta .hero-actions { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */

.site-footer { padding: 40px 0; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer small { color: #94a3b8; font-size: 13.5px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13.5px; color: var(--slate); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-text,
  .feature-row.reverse .feature-visual { order: initial; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .security-grid, .ecosystem-grid, .testimonial-grid, .mailbox-explainer { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .site-header .container { height: 68px; padding: 0 16px; gap: 10px; }
  .brand-tag { display: none; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-icon { width: 30px; height: 30px; }
  .nav-toggle { display: block; flex-shrink: 0; padding: 4px; }
  .site-header .btn-sm { padding: 9px 14px; font-size: 13.5px; flex-shrink: 0; }
}
