:root{--bg:#0f172a;--card:#ffffff;--text:#111827;--muted:#64748b;--primary:#16a34a;--line:#e5e7eb}.landing-body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:linear-gradient(135deg,#0f172a,#123b2a 65%,#0f172a);color:#fff;min-height:100vh}.landing-nav{display:flex;align-items:center;justify-content:space-between;padding:22px 7vw}.landing-nav b{font-size:24px}.landing-nav span{display:block;color:#bbf7d0;font-size:13px}.landing-nav a{color:#fff;text-decoration:none;margin-left:16px;border:1px solid rgba(255,255,255,.24);padding:10px 14px;border-radius:999px}.landing-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:38px;align-items:center;padding:70px 7vw 50px}.landing-hero h1{font-size:clamp(38px,5vw,72px);line-height:.98;margin:14px 0}.landing-hero p{font-size:19px;line-height:1.7;color:#d1fae5;max-width:760px}.landing-card{background:rgba(255,255,255,.96);color:#111827;border-radius:28px;padding:34px;box-shadow:0 24px 80px rgba(0,0,0,.28)}.landing-card li{margin:14px 0}.landing-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0 7vw 70px}.landing-features article{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:24px}.landing-features b{font-size:20px}.landing-features p{color:#dcfce7;line-height:1.6}.landing-body .btn{display:inline-flex;align-items:center;padding:13px 18px;border-radius:14px;background:#fff;color:#111827;text-decoration:none;margin-right:10px;font-weight:700}.landing-body .btn.primary{background:#22c55e;color:#052e16}.landing-body footer{padding:24px 7vw;color:#bbf7d0}@media(max-width:850px){.landing-hero,.landing-features{grid-template-columns:1fr}.landing-nav{align-items:flex-start;gap:12px}.landing-nav nav{display:flex;gap:8px}.landing-nav a{margin:0}.landing-hero{padding-top:34px}}
/* SaaS venda final */
.landing-plans{padding:32px 6vw 70px}.landing-section-head{text-align:center;max-width:760px;margin:0 auto 22px}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;max-width:1180px;margin:auto}.plan-card{background:#fff;border:1px solid rgba(15,23,42,.09);border-radius:24px;padding:24px;box-shadow:0 20px 50px rgba(15,23,42,.08)}.plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.plan-top strong{font-size:24px;color:#214f17}.plan-top small{font-size:13px;color:#64748b}.plan-card ul{padding-left:18px;color:#475569}.signup-wrap{min-height:100vh;display:grid;place-items:center;padding:34px 16px}.signup-wrap .landing-card{max-width:860px;width:100%}.accept{display:block;margin-top:16px}.bi-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.bi-bars div{border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:18px;background:#f8fafc}.bi-bars b{display:block;color:#64748b}.bi-bars span{display:block;font-size:24px;font-weight:800;margin-top:8px}@media(max-width:720px){.plan-top{display:block}.landing-plans{padding:22px 14px 44px}.signup-wrap{place-items:start}.plans-grid{grid-template-columns:1fr}}

/* Dynamic SaaS public site: logo, favicon/title colors from admin settings */
.landing-body{background:linear-gradient(135deg,var(--landing-bg-1,#0f172a),var(--landing-bg-2,#123b2a) 65%,var(--landing-bg-1,#0f172a));color:var(--landing-text,#fff)}
.landing-nav .landing-brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;min-width:0}
.landing-nav .landing-brand img{width:auto;height:auto;max-width:170px;max-height:58px;object-fit:contain;background:rgba(255,255,255,.92);border-radius:16px;padding:6px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.landing-nav .landing-brand div{min-width:0}.landing-nav .landing-brand b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}.landing-nav span,.landing-hero p,.landing-features p,.landing-body footer{color:var(--landing-muted,#d1fae5)}
.landing-card{background:var(--landing-card,#fff);color:var(--landing-card-text,#111827)}
.landing-card-logo{width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.landing-card-logo img{max-width:min(260px,80%);max-height:120px;width:auto;height:auto;object-fit:contain}.landing-card-sub{color:#64748b;margin-top:-6px}.landing-body .btn.primary{background:var(--landing-primary-2,#22c55e);color:#052e16}.landing-body .eyebrow{color:var(--landing-primary-2,#22c55e)}
.landing-features article{border-color:color-mix(in srgb,var(--landing-primary,#16a34a) 35%,transparent);background:color-mix(in srgb,var(--landing-primary,#16a34a) 16%,transparent)}
.landing-theme-minimalista .landing-nav a,.landing-theme-minimalista .landing-body .btn{border-color:rgba(17,24,39,.18);color:#111827}.landing-theme-minimalista .landing-body .btn{background:#111827;color:#fff}.landing-theme-minimalista .landing-body .btn.primary{background:#111827;color:#fff}.landing-theme-minimalista .landing-features article{background:rgba(255,255,255,.76);color:#111827}.landing-theme-minimalista .landing-features p{color:#475569}
@media(max-width:850px){.landing-nav{display:grid;grid-template-columns:1fr;gap:16px}.landing-nav .landing-brand img{max-width:140px;max-height:48px}.landing-nav .landing-brand b{max-width:70vw}.landing-nav nav{flex-wrap:wrap}.landing-card-logo img{max-height:90px}}

/* Ajuste final de producao: logo proporcional ao header e animacao suave */
.landing-nav{
  min-height:clamp(68px,8vh,92px);
}
.landing-nav .landing-brand img{
  --header-logo-size:clamp(42px,6.2vh,58px);
  max-height:var(--header-logo-size) !important;
  max-width:min(180px,32vw) !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  flex:0 0 auto;
  transform:translateZ(0);
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
  animation:logoSoftIn .42s ease both;
}
.landing-nav .landing-brand:hover img{
  transform:translateY(-1px) scale(1.025);
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.landing-card-logo{
  min-height:clamp(92px,14vh,140px);
}
.landing-card-logo img{
  max-height:clamp(76px,12vh,110px) !important;
  max-width:min(240px,72%) !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  transition:transform .25s ease, filter .25s ease;
  animation:logoSoftIn .5s ease both;
}
.landing-card:hover .landing-card-logo img{
  transform:scale(1.018);
}
@keyframes logoSoftIn{
  from{opacity:0;transform:translateY(4px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:850px){
  .landing-nav{min-height:auto}
  .landing-nav .landing-brand img{
    --header-logo-size:clamp(38px,8vw,48px);
    max-width:min(150px,38vw) !important;
  }
  .landing-card-logo{min-height:92px}
  .landing-card-logo img{max-height:82px !important;max-width:min(200px,70%) !important;}
}
@media(max-width:420px){
  .landing-nav .landing-brand{gap:10px}
  .landing-nav .landing-brand img{max-width:128px !important;max-height:42px !important;padding:4px;border-radius:12px}
  .landing-card-logo img{max-height:72px !important;}
}
@media(prefers-reduced-motion:reduce){
  .landing-nav .landing-brand img,.landing-card-logo img{animation:none;transition:none}
  .landing-nav .landing-brand:hover img,.landing-card:hover .landing-card-logo img{transform:none}
}

/* CORRECAO DEFINITIVA DA LOGO PUBLICA - prioridade maxima */
body.landing-body header.landing-nav a.landing-brand{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  max-width:100% !important;
}
body.landing-body header.landing-nav a.landing-brand > img.site-logo-fixed{
  display:block !important;
  height:54px !important;
  min-height:0 !important;
  max-height:54px !important;
  width:auto !important;
  min-width:0 !important;
  max-width:160px !important;
  object-fit:contain !important;
  aspect-ratio:auto !important;
  flex:0 0 auto !important;
  box-sizing:border-box !important;
  transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease !important;
}
body.landing-body header.landing-nav a.landing-brand:hover > img.site-logo-fixed{
  transform:translateY(-1px) scale(1.025) !important;
}
body.landing-body .landing-card-logo > img.site-logo-card-fixed{
  display:block !important;
  height:auto !important;
  min-height:0 !important;
  max-height:88px !important;
  width:auto !important;
  min-width:0 !important;
  max-width:220px !important;
  object-fit:contain !important;
  aspect-ratio:auto !important;
  box-sizing:border-box !important;
  margin:0 auto !important;
  transition:transform .22s ease, opacity .22s ease !important;
}
body.landing-body .landing-card:hover .landing-card-logo > img.site-logo-card-fixed{
  transform:scale(1.018) !important;
}
@media(max-width:768px){
  body.landing-body header.landing-nav a.landing-brand > img.site-logo-fixed{height:42px !important;max-height:42px !important;max-width:128px !important;}
  body.landing-body .landing-card-logo > img.site-logo-card-fixed{max-height:70px !important;max-width:180px !important;}
}

/* HEADER PREMIUM DEFINITIVO - layout limpo, sem bolha e logo controlada */
body.landing-body .landing-nav-premium{
  width:min(1240px,calc(100% - 48px)) !important;
  margin:24px auto 0 !important;
  padding:14px 18px !important;
  min-height:0 !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:28px !important;
  background:rgba(15,23,42,.42) !important;
  backdrop-filter:blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(130%) !important;
  box-shadow:0 20px 60px rgba(0,0,0,.18) !important;
}
body.landing-body .landing-brand-premium{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-decoration:none !important;
  min-width:0 !important;
  max-width:680px !important;
}
body.landing-body .landing-brand-premium .brand-logo-box{
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  border-radius:16px !important;
  display:grid !important;
  place-items:center !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 24px rgba(0,0,0,.16) !important;
  overflow:hidden !important;
}
body.landing-body .landing-brand-premium img.site-logo-fixed{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:44px !important;
  max-height:44px !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:contain !important;
  aspect-ratio:auto !important;
  transform:none !important;
  animation:premiumLogoIn .38s ease both !important;
  transition:transform .22s ease, filter .22s ease !important;
}
body.landing-body .landing-brand-premium:hover img.site-logo-fixed{
  transform:scale(1.06) !important;
  box-shadow:none !important;
}
body.landing-body .brand-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-width:0 !important;
  line-height:1.14 !important;
}
body.landing-body .brand-copy b{
  color:var(--landing-text,#fff) !important;
  font-size:clamp(18px,1.7vw,24px) !important;
  font-weight:900 !important;
  letter-spacing:-.04em !important;
  max-width:52vw !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  margin:0 !important;
}
body.landing-body .brand-copy small{
  color:var(--landing-muted,#d1fae5) !important;
  font-size:12px !important;
  font-weight:700 !important;
  opacity:.9 !important;
  max-width:52vw !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  margin-top:4px !important;
}
body.landing-body .landing-menu-premium{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}
body.landing-body .landing-menu-premium a{
  margin:0 !important;
  padding:10px 16px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.06) !important;
  color:var(--landing-text,#fff) !important;
  font-size:14px !important;
  font-weight:800 !important;
  text-decoration:none !important;
  transition:transform .2s ease, background .2s ease, border-color .2s ease !important;
}
body.landing-body .landing-menu-premium a:hover{
  transform:translateY(-1px) !important;
  background:rgba(255,255,255,.14) !important;
  border-color:rgba(255,255,255,.32) !important;
}
body.landing-body .landing-menu-premium a:first-child{
  background:linear-gradient(135deg,var(--landing-primary-2,#22c55e),var(--landing-primary,#16a34a)) !important;
  color:#052e16 !important;
  border-color:transparent !important;
  box-shadow:0 14px 32px color-mix(in srgb,var(--landing-primary,#16a34a) 30%,transparent) !important;
}
@keyframes premiumLogoIn{from{opacity:0;transform:translateY(3px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:850px){
  body.landing-body .landing-nav-premium{
    width:calc(100% - 24px) !important;
    margin-top:12px !important;
    padding:12px !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    border-radius:22px !important;
  }
  body.landing-body .landing-brand-premium{max-width:100% !important;gap:12px !important;}
  body.landing-body .landing-brand-premium .brand-logo-box{width:48px !important;height:48px !important;min-width:48px !important;border-radius:14px !important;}
  body.landing-body .landing-brand-premium img.site-logo-fixed{max-width:39px !important;max-height:39px !important;}
  body.landing-body .brand-copy b{max-width:calc(100vw - 112px) !important;font-size:18px !important;}
  body.landing-body .brand-copy small{max-width:calc(100vw - 112px) !important;font-size:11px !important;}
  body.landing-body .landing-menu-premium{justify-content:flex-start !important;gap:8px !important;}
  body.landing-body .landing-menu-premium a{padding:9px 13px !important;font-size:13px !important;}
}
@media(max-width:420px){
  body.landing-body .brand-copy small{display:none !important;}
  body.landing-body .landing-brand-premium .brand-logo-box{width:44px !important;height:44px !important;min-width:44px !important;}
  body.landing-body .landing-brand-premium img.site-logo-fixed{max-width:36px !important;max-height:36px !important;}
}
