/* ══════════════════════════════════════════════════════════════
   BZPMail — materio-shell.css (implementação original local)
   Shell inspirado no padrão "vertical-menu-template" do Materio:
   layout-wrapper + menu lateral + navbar superior + content-wrapper
   + footer, com paleta, sombras, animações e responsivo próprios.
   Nenhum código foi copiado do template; tudo é autoral.
   Carregado DEPOIS de site.css/materio-theme.css para unificar
   e corrigir conflitos de exibição.
   ══════════════════════════════════════════════════════════════ */

/* ── Font + base ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --shell-menu-width: 260px;
  --shell-menu-collapsed: 68px;
  --shell-navbar-height: 62px;
  --shell-radius: 10px;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body.materio-shell {
  font-family: var(--materio-font);
  background: var(--materio-bg);
  color: var(--materio-text);
  margin: 0;
}

/* Evita FOUC: esconde até tema aplicado */
body.materio-shell.pre-init { visibility: hidden; }

/* ══ Layout wrapper (vertical menu) ══ */
.layout-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}
.layout-wrapper.landing-mode { display: block; }

/* ── Menu lateral global ── */
.layout-menu {
  width: var(--shell-menu-width);
  flex-shrink: 0;
  background: var(--materio-card);
  border-right: 1px solid var(--materio-card-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1040;
  transition: width .22s var(--ease-out), transform .25s var(--ease-out);
}
.menu-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  text-decoration: none; color: var(--materio-text);
  font-weight: 800; font-size: 1.05rem; letter-spacing: .2px;
  border-bottom: 1px solid var(--materio-divider);
}
.menu-brand .brand-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--materio-primary), var(--materio-primary-dark));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(145,85,253,.4);
}
.menu-section {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--materio-muted); padding: 18px 20px 6px;
}
.menu-inner { flex: 1; overflow-y: auto; padding: 4px 10px 12px; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--materio-text-secondary); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  transition: background .13s, color .13s, transform .1s;
  position: relative; overflow: hidden;
  margin-bottom: 2px;
}
.menu-item i { width: 20px; text-align: center; font-size: .88rem; flex-shrink: 0; }
.menu-item:hover { background: var(--materio-hover); color: var(--materio-text); text-decoration: none; }
.menu-item.active {
  background: var(--materio-primary-light);
  color: var(--materio-primary);
  font-weight: 600;
}
.menu-item.active::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 3px; background: var(--materio-primary);
}
.menu-item .menu-badge {
  margin-left: auto; font-size: .7rem; font-weight: 700;
  background: var(--materio-primary); color: #fff;
  border-radius: 20px; padding: 1px 8px; min-width: 22px; text-align: center;
}
.menu-footer {
  border-top: 1px solid var(--materio-divider);
  padding: 12px;
  display: flex; align-items: center; gap: 10px;
}
.menu-user { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; color: inherit; }
.menu-user .u-info { min-width: 0; }
.menu-user .u-name { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-user .u-mail { font-size: .75rem; color: var(--materio-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Página + navbar ── */
.layout-page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.layout-navbar {
  height: var(--shell-navbar-height);
  display: flex; align-items: center; gap: 10px;
  background: color-mix(in srgb, var(--materio-card) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--materio-card-border);
  padding: 0 20px;
  position: sticky; top: 0; z-index: 1030;
}
.layout-navbar .nav-title { font-weight: 700; font-size: .95rem; }
.layout-navbar .spacer { flex: 1; }
.navbar-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--materio-bg); border: 1px solid transparent;
  border-radius: 8px; padding: 0 12px; min-width: 220px; max-width: 420px; flex: 1;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.navbar-search:focus-within {
  background: var(--materio-card);
  border-color: var(--materio-primary);
  box-shadow: 0 0 0 3px var(--materio-primary-light);
}
.navbar-search i { color: var(--materio-muted); font-size: .82rem; }
.navbar-search input { flex: 1; background: none; border: none; outline: none; color: var(--materio-text); padding: 9px 0; font-size: .87rem; font-family: inherit; }
.content-wrapper { flex: 1; min-width: 0; }
.content-wrapper .content { padding: 20px; max-width: 1720px; margin: 0 auto; animation: pageIn .25s ease-out; }
.layout-footer {
  padding: 14px 20px; color: var(--materio-muted); font-size: .78rem;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--materio-divider);
  background: var(--materio-card);
}
.layout-footer a { color: var(--materio-primary); text-decoration: none; }

/* ── Animações padrão Materio ── */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.anim-fade-up { animation: fadeUp .5s var(--ease-out) both; }
.anim-pop { animation: popIn .28s var(--ease-out) both; }
.stagger > * { opacity: 0; animation: fadeUp .5s var(--ease-out) forwards; }
.stagger > *:nth-child(1) { animation-delay: .02s; }
.stagger > *:nth-child(2) { animation-delay: .08s; }
.stagger > *:nth-child(3) { animation-delay: .14s; }
.stagger > *:nth-child(4) { animation-delay: .2s; }
.stagger > *:nth-child(5) { animation-delay: .26s; }
.stagger > *:nth-child(6) { animation-delay: .32s; }
.stagger > *:nth-child(7) { animation-delay: .38s; }
.stagger > *:nth-child(8) { animation-delay: .44s; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* Skeleton loading */
.skel {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--materio-hover) 25%, var(--materio-divider) 50%, var(--materio-hover) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.2s linear infinite;
  min-height: 14px;
}

/* ── Toast Materio ── */
#toast-container { position: fixed; bottom: 22px; right: 22px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
#toast-container .toast {
  background: var(--materio-card); color: var(--materio-text);
  border: 1px solid var(--materio-card-border); border-left: 3px solid var(--materio-primary);
  border-radius: 10px; box-shadow: var(--materio-shadow);
  font-size: .85rem; animation: popIn .22s var(--ease-out);
  overflow: hidden;
}
#toast-container .toast.toast-error { border-left-color: var(--materio-danger); }
#toast-container .toast.toast-success { border-left-color: var(--materio-success); }
#toast-container .toast .toast-body { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }

/* ── SweetAlert2 no tema ── */
.bzp-swal { border-radius: 14px !important; font-family: var(--materio-font) !important; }
body.dark-mode .bzp-swal { background: var(--materio-card) !important; color: var(--materio-text) !important; }

/* ══ LANDING (paleta Materio unificada — fundo sempre escuro p/ contraste) ══ */
.landing-bg { position: fixed; inset: 0; z-index: -1; background: #1a1830; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: blobFloat 22s ease-in-out infinite alternate; will-change: transform; }
.blob-1 { width: 520px; height: 520px; background: linear-gradient(135deg, #9155fd, #7e41f5); top: -10%; left: -5%; }
.blob-2 { width: 420px; height: 420px; background: linear-gradient(135deg, #16b1ff, #9155fd); top: 45%; right: -8%; animation-delay: -6s; }
.blob-3 { width: 360px; height: 360px; background: linear-gradient(135deg, #56ca00, #16b1ff); bottom: -8%; left: 32%; animation-delay: -12s; }
.blob-4 { width: 280px; height: 280px; background: linear-gradient(135deg, #ffb400, #ff4c51); top: 18%; left: 52%; opacity: .28; }
.blob-5 { width: 240px; height: 240px; background: linear-gradient(135deg, #ff4c51, #9155fd); top: 68%; left: 8%; opacity: .3; }
@keyframes blobFloat { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,50px) scale(1.06); } 100% { transform: translate(40px,-30px) scale(.96); } }

.navbar-landing { padding: 14px 0; transition: all .3s; background: transparent; }
.navbar-landing .navbar-toggler { border: 1px solid rgba(145,85,253,.45); border-radius: 9px; padding: 6px 10px; }
.navbar-landing .navbar-toggler:focus { box-shadow: 0 0 0 3px var(--materio-primary-light); }
.navbar-landing .navbar-toggler-icon { filter: invert(1); }
.navbar-landing.scrolled { background: color-mix(in srgb, #1a1830 85%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(145,85,253,.18); padding: 8px 0; }
.navbar-landing .nav-link { color: rgba(255,255,255,.72) !important; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.navbar-landing .nav-link:hover { color: #fff !important; background: rgba(145,85,253,.15); }

/* Botões landing no padrão Materio */
.btn-materio { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-materio:active { transform: translateY(1px); }
.btn-materio-solid { background: var(--materio-primary); color: #fff !important; box-shadow: 0 4px 18px rgba(145,85,253,.45); }
.btn-materio-solid:hover { background: var(--materio-primary-dark); box-shadow: 0 8px 28px rgba(145,85,253,.55); color: #fff; }
.btn-materio-ghost { background: rgba(145,85,253,.1); color: #fff; border-color: rgba(145,85,253,.35); backdrop-filter: blur(10px); }
.btn-materio-ghost:hover { background: rgba(145,85,253,.2); color: #fff; }
.btn-materio-lg { padding: 15px 34px; font-size: 1.02rem; }

/* Hero / seções landing */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 70px; color: #fff; }
.hero-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px; background: var(--materio-primary-light); border: 1px solid var(--materio-primary-border); color: var(--materio-primary); font-size: .83rem; font-weight: 600; margin-bottom: 22px; }
body.dark-mode .hero-badge, .landing-bg ~ * .hero-badge { color: #c4a8ff; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.08; margin-bottom: 20px; letter-spacing: -.02em; }
.gradient-text { background: linear-gradient(135deg, #9155fd, #16b1ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.12rem; line-height: 1.7; margin-bottom: 32px; max-width: 520px; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 20px; align-items: center; padding: 18px 24px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(145,85,253,.2); backdrop-filter: blur(12px); flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #9155fd, #7e41f5); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .6; display: block; }
.stat-value { font-size: .85rem; font-weight: 700; display: block; }
.stat-divider { width: 1px; align-self: stretch; background: rgba(145,85,253,.25); }
.hero-visual { display: flex; justify-content: center; }
.phone-mockup { width: min(430px, 100%); overflow: hidden; animation: floatY 6s ease-in-out infinite; border-radius: 18px !important; }

/* ══ AUTH (padrão Materio) ══ */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 18px; position: relative; z-index: 1; }
.auth-card {
  width: 100%; max-width: 430px; padding: 38px 34px;
  background: var(--materio-card); border: 1px solid var(--materio-card-border);
  border-radius: 16px; box-shadow: var(--materio-shadow);
  animation: fadeUp .45s var(--ease-out);
}
body.dark-mode .auth-card { background: rgba(47,51,73,.92); backdrop-filter: blur(20px); }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; margin-bottom: 24px; font-weight: 800; font-size: 1.25rem; color: var(--materio-text); }
.auth-logo .brand-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--materio-primary), var(--materio-primary-dark)); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.auth-card h2 { font-size: 1.45rem; font-weight: 700; text-align: center; margin: 0 0 6px; color: var(--materio-text); }
.auth-subtitle { text-align: center; font-size: .88rem; color: var(--materio-text-secondary); margin-bottom: 24px; }
.auth-error { background: rgba(255,76,81,.1); border: 1px solid rgba(255,76,81,.3); color: var(--materio-danger); padding: 10px 14px; border-radius: 9px; font-size: .84rem; margin-bottom: 14px; animation: popIn .2s var(--ease-out); }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: .78rem; font-weight: 500; color: var(--materio-text-secondary); margin-bottom: 6px; }
.auth-input-wrap { display: flex; align-items: center; gap: 10px; background: var(--materio-bg); border: 1px solid var(--materio-card-border); border-radius: 9px; padding: 0 13px; transition: border-color .15s, box-shadow .15s; }
.auth-input-wrap:focus-within { border-color: var(--materio-primary); box-shadow: 0 0 0 3px var(--materio-primary-light); background: var(--materio-card); }
.auth-input-wrap > i { color: var(--materio-muted); font-size: .88rem; }
.auth-input-wrap input, .auth-input-wrap select { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--materio-text); padding: 12px 0; font-size: .93rem; font-family: inherit; }
.auth-input-wrap select option { background: var(--materio-card); color: var(--materio-text); }
.auth-toggle-pass { background: none; border: none; color: var(--materio-muted); cursor: pointer; padding: 6px; border-radius: 6px; }
.auth-toggle-pass:hover { color: var(--materio-primary); }
.auth-check { display: flex; align-items: center; gap: 9px; margin: 6px 0 18px; font-size: .84rem; color: var(--materio-text-secondary); }
.auth-check input { width: 16px; height: 16px; accent-color: var(--materio-primary); }
.auth-submit { width: 100%; justify-content: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--materio-muted); font-size: .78rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--materio-divider); }
.auth-footer { text-align: center; margin-top: 18px; font-size: .85rem; color: var(--materio-text-secondary); }
.auth-footer a { color: var(--materio-primary); font-weight: 600; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

/* ══ FIXES: conflitos legados site.css × materio ══ */

/* O shell app usa .content (padding do Materio), não o .content vazio legado */
.layout-page .content-wrapper .content { min-height: 60vh; }

/* email-app dentro do shell: sem min-height 100vh, usa altura do content */
.layout-page .email-app { min-height: auto; padding: 0; max-width: none; margin: 0; }
.layout-page .email-topbar { margin: 0 0 14px; }
.layout-page .email-sidebar { top: calc(var(--shell-navbar-height) + 12px); max-height: calc(100vh - var(--shell-navbar-height) - 120px); }
.layout-page .email-list-card, .layout-page .email-view-card { max-height: calc(100vh - var(--shell-navbar-height) - 170px); min-height: 480px; }

/* /Mail em altura total: os 3 painéis preenchem a viewport */
.layout-page .email-app.email-full-height {
  height: calc(100vh - var(--shell-navbar-height) - 40px);
  min-height: 480px;
  align-items: stretch;
}
.layout-page .email-app.email-full-height .email-sidebar,
.layout-page .email-app.email-full-height .email-list-card,
.layout-page .email-app.email-full-height .email-view-card {
  max-height: none;
  height: 100%;
  min-height: 0;
}

/* Toolbar do painel de leitura sempre visível ao rolar o e-mail */
#email-view-body .preview-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--materio-card);
  margin: 0 0 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--materio-divider);
  border-radius: var(--materio-radius-lg) var(--materio-radius-lg) 0 0;
}

/* Admin: força padrão Materio (sobrescreve o tema escuro fixo legado do site.css) */
.layout-page .admin-page { background: transparent; min-height: auto; color: var(--materio-text); padding: 0; max-width: none; margin: 0; }
.layout-page .admin-navbar { position: static; background: var(--materio-card); border: 1px solid var(--materio-card-border); border-radius: var(--materio-radius-lg); box-shadow: var(--materio-shadow-sm); padding: 8px 12px; margin-bottom: 16px; }
.layout-page .admin-nav a { color: var(--materio-text-secondary); }
.layout-page .admin-nav a:hover { background: var(--materio-hover); color: var(--materio-text); }
.layout-page .admin-nav a.active { background: var(--materio-primary-light); color: var(--materio-primary); }
.layout-page .admin-page .stat-card,
.layout-page .admin-page .admin-panel,
.layout-page .admin-page .admin-plan-card,
.layout-page .admin-page .admin-table-wrap { background: var(--materio-card); border: 1px solid var(--materio-card-border); }
.layout-page .admin-header h1 { color: var(--materio-text); }
.layout-page .admin-header p { color: var(--materio-text-secondary); }
.layout-page .admin-table th { color: var(--materio-text-secondary); border-bottom-color: var(--materio-divider); }
.layout-page .admin-table td { color: var(--materio-text); border-bottom-color: var(--materio-divider); }

/* Settings: converte visual legado glass → materio quando dentro do shell */
.layout-page .glass-card { background: var(--materio-card); border: 1px solid var(--materio-card-border); border-radius: var(--materio-radius-lg); box-shadow: var(--materio-shadow-sm); backdrop-filter: none; }
.layout-page .glass-card:hover { box-shadow: var(--materio-shadow-sm); }
.layout-page .glass-input, .layout-page .glass-select { background: var(--materio-bg); border: 1px solid var(--materio-card-border); color: var(--materio-text); }
.layout-page .glass-input:focus, .layout-page .glass-select:focus { border-color: var(--materio-primary); box-shadow: 0 0 0 3px var(--materio-primary-light); }
.layout-page .settings-page { padding: 0; max-width: none; }

/* Contatos dentro do shell */
.layout-page .contacts-container { padding: 0; max-width: none; margin: 0; }

/* ══ Landing page fixes (override site.css dark-theme remnants) ══ */
.footer { position: static !important; width: auto !important; }
.landing-bg ~ * .feature-card,
.landing-bg ~ * .step-card,
.landing-bg ~ * .pricing-card,
.landing-bg ~ * .testimonial-card,
.landing-bg ~ * .faq-card,
.landing-bg ~ * .cta-card { opacity: 0; transform: translateY(30px); transition: all .6s var(--ease-out); }
.landing-bg ~ * .feature-card.visible,
.landing-bg ~ * .step-card.visible,
.landing-bg ~ * .pricing-card.visible,
.landing-bg ~ * .testimonial-card.visible,
.landing-bg ~ * .faq-card.visible,
.landing-bg ~ * .cta-card.visible { opacity: 1; transform: none; }
.hero-badge { background: rgba(145,85,253,.18); border-color: rgba(145,85,253,.35); color: #c9b8ff; }
.hero-subtitle { color: rgba(255,255,255,.85); }
.hero-stats { background: rgba(255,255,255,.08); border-color: rgba(145,85,253,.25); }
.stat-label { color: rgba(255,255,255,.55); }
.stat-value { color: rgba(255,255,255,.92); }
.feature-card h3, .step-card h3, .pricing-card h3, .cta-card h2 { color: #fff !important; }
.feature-card p, .step-card p, .pricing-desc { color: rgba(255,255,255,.6); }
.pricing-features li { color: rgba(255,255,255,.75); }
.pricing-features li i { color: #43e97b; }
.pricing-features li.disabled { color: rgba(255,255,255,.35); }
.pricing-features li.disabled i { color: rgba(255,255,255,.25); }
.pricing-badge { background: linear-gradient(135deg, #9155fd, #7e41f5); color: #fff; text-align: center; padding: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.testimonial-text { color: rgba(255,255,255,.75); }
.testimonial-name { color: #fff; }
.testimonial-role { color: rgba(255,255,255,.45); }
.faq-question span { color: #fff; }
.faq-question i { color: rgba(255,255,255,.4); }
.faq-answer p { color: rgba(255,255,255,.6); }
.cta-card h2 { color: #fff !important; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-card p { color: rgba(255,255,255,.55); margin-bottom: 28px; font-size: 1.05rem; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo .brand-text { font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { color: rgba(255,255,255,.4); font-size: 1.1rem; transition: color .2s; }
.footer-social a:hover { color: #fff; }
.footer-links h6 { color: rgba(255,255,255,.8); font-weight: 700; font-size: .85rem; text-transform: uppercase; margin-bottom: 14px; }
.footer-links a { display: block; color: rgba(255,255,255,.45); text-decoration: none; padding: 4px 0; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8rem; }
/* Buttons: prevent overflow */
.btn-materio { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.btn-materio-lg { padding: 14px 30px; font-size: 1rem; }
/* Navbar: ensure visibility on landing */
.navbar-landing .nav-link { color: rgba(255,255,255,.75) !important; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.navbar-landing .nav-link:hover { color: #fff !important; background: rgba(145,85,253,.15); }
/* Responsive landing */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-materio { width: 100%; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 100%; height: 1px; }
  .features-grid { grid-template-columns: 1fr !important; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
  .faq-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .cta-card { padding: 40px 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .hero-section { padding: 100px 0 40px; }
  .features-section, .how-section, .pricing-section, .testimonials-section, .faq-section { padding: 60px 0; }
}

/* ══ Responsivo do shell ══ */
.menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1035; animation: pageIn .2s; }
@media (max-width: 1200px) {
  .hero-section .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: min(560px, 100%); }
}
@media (max-width: 992px) {
  .layout-menu { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-105%); box-shadow: var(--materio-shadow); }
  .layout-menu .menu-toggle-mobile { display: inline-flex; }
  #btn-menu-toggle { display: inline-flex; }
  /* /Mail no mobile: altura automática (lista com rolagem própria) */
  .layout-page .email-app.email-full-height { height: auto; display: block; }
  .layout-page .email-app.email-full-height .email-list-card { height: auto; max-height: calc(100vh - 160px); min-height: 300px; }
  .navbar-search { display: none; }
  .content-wrapper .content { padding: 14px 12px; }
  .layout-page .email-list-card, .layout-page .email-view-card { max-height: calc(100vh - 150px); }
}
@media (min-width: 993px) {
  .layout-menu .menu-toggle-mobile, #menu-backdrop, .menu-backdrop { display: none !important; }
  #btn-menu-toggle { display: inline-flex; }
}
@media (max-width: 576px) {
  .layout-navbar { padding: 0 12px; }
  .auth-card { padding: 28px 22px; }
  .hero-section { padding: 110px 0 50px; }
}
