:root {
  --navy: #08111f;
  --navy-soft: #111d30;
  --yellow: #ffc400;
  --yellow-dark: #e6a900;
  --white: #ffffff;
  --surface: #f4f7fb;
  --text: #111827;
  --text-soft: #5d6879;
  --border: #dce3ed;
  --radius-lg: 28px;
  --radius-md: 18px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--text);
  overflow-x: hidden;
}

.public-site { min-height: 100vh; }

.public-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.public-nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-brand img {
  display: block;
  width: 180px;
  height: auto;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255,255,255,.74);
  font-size: .87rem;
  font-weight: 700;
}

.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: #fff; }

.nav-login {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 144px 0 88px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 35%, rgba(255,196,0,.18), transparent 23%),
    linear-gradient(125deg, #07101d 0%, #0b1728 55%, #111d30 100%);
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 27px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 4.85vw, 4.55rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 span { color: var(--yellow); }

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.69);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #111827; }
.button-primary:hover { background: #ffd02e; }
.button-ghost { border: 1px solid rgba(255,255,255,.26); color: #fff; }
.button-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }

.hero-visual { position: relative; min-height: 465px; }

.dashboard-mockup {
  position: absolute;
  inset: 36px 0 28px 24px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 25px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 42px 90px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.mock-window { height: 100%; overflow: hidden; border-radius: 15px; background: #f8fafc; color: #172033; }
.mock-top { height: 58px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid #e8edf4; }
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: #ccd4df; }
.mock-brand { width: 74px; height: 8px; margin-left: 9px; border-radius: 8px; background: #142033; }
.mock-body { display: grid; grid-template-columns: 78px 1fr; height: calc(100% - 58px); }
.mock-side { padding: 25px 17px; background: #101b2c; }
.mock-side span { display: block; width: 43px; height: 7px; margin-bottom: 18px; border-radius: 5px; background: rgba(255,255,255,.14); }
.mock-side span:first-child { background: var(--yellow); }
.mock-content { padding: 24px; }
.mock-title { width: 46%; height: 12px; margin-bottom: 25px; border-radius: 8px; background: #182337; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.mock-stat { height: 78px; padding: 15px; border: 1px solid #e3e8f0; border-radius: 11px; background: #fff; }
.mock-stat::before { content: ''; display: block; width: 54%; height: 7px; margin-bottom: 14px; border-radius: 6px; background: #dae1ea; }
.mock-stat::after { content: ''; display: block; width: 34%; height: 14px; border-radius: 6px; background: #172033; }
.mock-chart { position: relative; height: 142px; margin-top: 15px; overflow: hidden; border: 1px solid #e3e8f0; border-radius: 11px; background: #fff; }
.mock-chart::before { content: ''; position: absolute; inset: 26px 20px 23px; background: linear-gradient(135deg, transparent 0 23%, #ffc400 24% 26%, transparent 27% 45%, #ffc400 46% 48%, transparent 49% 66%, #ffc400 67% 69%, transparent 70%); }
.mock-chart::after { content: ''; position: absolute; inset: auto 20px 21px; height: 1px; background: #e6ebf2; box-shadow: 0 -30px #e6ebf2, 0 -60px #e6ebf2, 0 -90px #e6ebf2; }

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 15px;
  background: rgba(13,25,42,.88);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(15px);
  font-size: .76rem;
  font-weight: 700;
}
.floating-card strong { display: block; margin-bottom: 2px; color: #fff; font-size: .92rem; }
.floating-card span { color: rgba(255,255,255,.55); }
.floating-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: var(--yellow); color: #111827; }
.floating-one { top: 3px; right: -12px; }
.floating-two { bottom: 0; left: -12px; }

.trust-strip { position: relative; z-index: 3; margin-top: -34px; }
.trust-inner { display: grid; grid-template-columns: 1.15fr repeat(3,1fr); min-height: 116px; border-radius: 20px; background: #fff; box-shadow: 0 18px 55px rgba(14,27,47,.12); overflow: hidden; }
.trust-title, .trust-item { padding: 25px 29px; display: flex; flex-direction: column; justify-content: center; }
.trust-title { background: var(--yellow); color: #111827; font-size: 1.05rem; font-weight: 800; line-height: 1.4; }
.trust-item { border-right: 1px solid #e7ebf1; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { margin-bottom: 5px; font-size: .92rem; }
.trust-item span { color: var(--text-soft); font-size: .78rem; line-height: 1.5; }

.marketing-section { padding: 110px 0; }
.section-heading { max-width: 680px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 17px; color: #a77b00; }
.section-heading h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.section-heading p { color: var(--text-soft); line-height: 1.7; }

.solutions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.solution-card { min-height: 235px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.solution-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(16,28,48,.09); }
.solution-number { margin-bottom: 23px; color: #a77b00; font-size: .73rem; font-weight: 800; letter-spacing: .12em; }
.solution-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 12px; background: #fff7d6; color: #705300; }
.solution-card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.solution-card p { color: var(--text-soft); font-size: .89rem; line-height: 1.65; }

.difference { background: var(--navy); color: #fff; }
.difference-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,8vw,120px); align-items: center; }
.difference .section-heading { margin: 0; }
.difference .section-heading p { color: rgba(255,255,255,.61); }
.difference-list { display: grid; gap: 13px; }
.difference-item { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); }
.difference-check { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #111827; font-weight: 900; }
.difference-item h3 { margin-bottom: 5px; font-size: 1rem; }
.difference-item p { color: rgba(255,255,255,.56); font-size: .84rem; line-height: 1.55; }

.access-section { padding: 104px 0; background: #fff; }
.access-grid { display: grid; grid-template-columns: 1fr 430px; gap: clamp(48px,8vw,110px); align-items: center; }
.access-copy h2 { max-width: 650px; margin-bottom: 20px; font-size: clamp(2rem,4vw,3.35rem); line-height: 1.06; letter-spacing: -.04em; }
.access-copy > p { max-width: 600px; color: var(--text-soft); line-height: 1.7; }
.access-points { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 27px; color: #374151; font-size: .85rem; font-weight: 700; }
.access-points span::before { content: '✓'; margin-right: 8px; color: #b38400; font-weight: 900; }

.login-card {
  width: 100%;
  padding: 34px !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  background: #f8fafc !important;
  box-shadow: 0 24px 65px rgba(17,28,47,.11) !important;
  text-align: left !important;
  align-items: stretch !important;
}
.login-card img {
  display: block;
  width: 124px !important;
  height: auto !important;
  margin: 0 0 27px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  mix-blend-mode: multiply;
}
.login-card h3 { margin-bottom: 9px; font-size: 1.3rem; }
.login-card p { margin-bottom: 23px !important; font-size: .86rem !important; }
.login-card .g_id_signin { justify-content: flex-start; }
.secure-label { display: flex; align-items: center; gap: 7px; margin-top: 18px; color: #7b8493; font-size: .72rem; font-weight: 700; }

.contact-cta {
  padding: 0 0 72px;
  background: #fff;
}
.contact-cta-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  overflow: hidden;
  padding: clamp(45px, 6vw, 74px);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255,196,0,.08), transparent 38%),
    linear-gradient(135deg, #07101d 0%, #0d1b2e 68%, #13243a 100%);
  box-shadow: 0 30px 80px -38px rgba(8,17,31,.72);
}
.contact-cta-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}
.contact-cta-glow {
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -110px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255,196,0,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255,196,0,.035), 0 0 0 108px rgba(255,196,0,.025);
}
.contact-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-cta-kicker > span { width: 28px; height: 2px; background: currentColor; }
.contact-cta-copy h2 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.contact-cta-copy h2 em { color: var(--yellow); font-style: normal; }
.contact-cta-copy p { max-width: 625px; color: rgba(255,255,255,.65); font-size: .96rem; line-height: 1.72; }
.contact-cta-actions { display: grid; gap: 12px; }
.contact-button {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) 20px;
  align-items: center;
  gap: 14px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.contact-button:hover { transform: translateX(5px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.11); }
.contact-button-whatsapp:hover { border-color: rgba(37,211,102,.48); box-shadow: 0 14px 32px -22px rgba(37,211,102,.8); }
.contact-button-instagram:hover { border-color: rgba(255,196,0,.48); box-shadow: 0 14px 32px -22px rgba(255,196,0,.8); }
.contact-button-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; }
.contact-button-whatsapp .contact-button-icon { background: #25d366; }
.contact-button-instagram .contact-button-icon { background: linear-gradient(135deg, #6b43d6, #d72f7b 58%, #f2a33a); }
.contact-button small, .contact-button strong { display: block; }
.contact-button small { margin-bottom: 3px; color: rgba(255,255,255,.53); font-size: .68rem; font-weight: 600; }
.contact-button strong { font-size: .94rem; }
.contact-button-arrow { color: var(--yellow); transition: transform .22s ease; }
.contact-button:hover .contact-button-arrow { transform: translateX(3px); }

.public-footer { padding: 34px 0; border-top: 0; background: #050b14; color: rgba(255,255,255,.5); }
.public-footer .footer-brand { color: #fff; }
.public-footer .footer-brand a { color: var(--yellow); }
.public-footer .footer-inner { flex-wrap: wrap; }
.public-footer .footer-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.public-footer .footer-copy { color: rgba(255,255,255,.5); }
.public-footer .footer-contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.public-footer .footer-contact-link { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.72); font-weight: 700; font-size: .86rem; transition: color .2s ease; }
.public-footer .footer-contact-link svg { color: var(--yellow); flex-shrink: 0; }
.public-footer .footer-contact-link:hover { color: #fff; }

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(8,17,31,.5), 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px -10px rgba(8,17,31,.55), 0 6px 20px rgba(37,211,102,.5); }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}
.whatsapp-float .whatsapp-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 13px;
  border-radius: 10px;
  background: #0b1220;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 26px -10px rgba(8,17,31,.5);
  transition: opacity .2s ease, transform .2s ease;
}
.whatsapp-float:hover .whatsapp-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 600px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-float .whatsapp-tip { display: none; }
}

#dashboardSection { background: var(--surface); }
#dashboardSection .container { width: min(1520px, calc(100% - 56px)); }
#dashboardSection .site-header {
  background: rgba(8, 17, 31, .95);
  border-bottom-color: rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
#dashboardSection .brand img { width: 174px; height: auto; max-width: none; }
#dashboardSection .user-profile { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.08); box-shadow: none; }
#dashboardSection .user-name { color: #fff; }
#dashboardSection .user-email { color: rgba(255,255,255,.58); }
#dashboardSection .user-avatar { border-color: rgba(255,255,255,.2); }
#dashboardSection .logout-btn { border-color: rgba(255,255,255,.2); background: transparent; color: #fff; }
#dashboardSection .logout-btn:hover { border-color: var(--yellow); background: rgba(255,196,0,.08); color: var(--yellow); }
.hub-tabs { display:flex; gap:8px; margin-bottom:24px; padding:5px; width:max-content; border:1px solid var(--border); border-radius:14px; background:#fff; }
.hub-tab { padding:10px 16px; border:0; border-radius:10px; background:transparent; color:var(--text-soft); font-weight:800; cursor:pointer; }
.hub-tab.is-active { background:var(--navy); color:#fff; }
.company-label,.admin-kicker { display:block; margin-bottom:7px; color:#9a7200; font-size:.68rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.logo-placeholder { width:56px; height:56px; display:grid; place-items:center; border-radius:15px; background:var(--navy); color:var(--yellow); font-weight:800; }
.client-company { grid-column:1/-1; margin-bottom:18px; padding:22px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:0 18px 48px -42px rgba(15,23,42,.55); }
.company-heading { display:grid; grid-template-columns:52px 1fr auto; align-items:center; gap:14px; margin-bottom:18px; }.company-heading span { color:#9a7200; font-size:.65rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }.company-heading h2 { margin:2px 0 4px; font-size:1.25rem; }.company-heading p { color:var(--text-soft); font-size:.8rem; }.company-heading em { padding:7px 10px; border-radius:99px; background:#fff7d6; color:#765a00; font-size:.72rem; font-style:normal; font-weight:800; }
.company-monogram { width:52px; height:52px; display:grid; place-items:center; border-radius:14px; background:var(--navy); color:var(--yellow); font-weight:800; }.company-systems { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.company-systems .system-card { min-width:0; }
.admin-heading { display:flex; justify-content:space-between; gap:30px; align-items:flex-end; margin-bottom:25px; padding:28px; border-radius:20px; background:var(--navy); color:#fff; }
.admin-heading h2 { margin-bottom:7px; font-size:clamp(1.6rem,3vw,2.4rem); }.admin-heading p { color:rgba(255,255,255,.6); }
.admin-stats { display:flex; gap:10px; }.admin-stats span { min-width:92px; padding:12px; border:1px solid rgba(255,255,255,.12); border-radius:12px; color:rgba(255,255,255,.65); font-size:.72rem; }.admin-stats strong { display:block; color:var(--yellow); font-size:1.25rem; }
.admin-layout { display:grid; grid-template-columns:230px 1fr; gap:18px; }.admin-menu,.admin-content { padding:14px; border:1px solid var(--border); border-radius:18px; background:#fff; }.admin-menu { height:max-content; display:grid; gap:6px; }
.admin-menu-button { padding:13px 14px; border:0; border-radius:10px; background:transparent; text-align:left; color:var(--text-soft); font-weight:800; cursor:pointer; }.admin-menu-button.is-active { background:#fff7d6; color:#705300; }
.admin-content { padding:24px; }.panel-title { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }.panel-title h3 { font-size:1.3rem; }.panel-title p { margin-top:4px; color:var(--text-soft); font-size:.84rem; }
.primary-btn,.secondary-btn { min-height:42px; padding:0 16px; border-radius:10px; font-weight:800; cursor:pointer; }.primary-btn { border:0; background:var(--yellow); color:#111827; }.secondary-btn { border:1px solid var(--border); background:#fff; color:var(--text); }
.danger-btn { min-height:42px; padding:0 16px; border:1px solid #e3a7ad; border-radius:10px; background:#fff5f5; color:#a51d2d; font:inherit; font-weight:800; cursor:pointer; }.danger-btn:hover { border-color:#c92e40; background:#fee8ea; }.danger-btn:disabled { opacity:.6; cursor:wait; }.form-action-spacer { flex:1; }.confirm-overlay { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:20px; background:rgba(5,16,31,.55); backdrop-filter:blur(3px); }.confirm-card { width:min(430px,100%); padding:26px; border:1px solid #e5eaf0; border-radius:18px; background:#fff; box-shadow:0 24px 70px rgba(5,16,31,.25); text-align:center; }.confirm-alert { width:44px; height:44px; display:grid; place-items:center; margin:0 auto 14px; border-radius:50%; background:#fff0f1; color:#b42334; font-size:1.35rem; font-weight:900; }.confirm-card h3 { font-size:1.25rem; }.confirm-card p { margin:9px 0 22px; color:var(--text-soft); line-height:1.55; }.confirm-card p strong { color:var(--text); }.confirm-card>div { display:flex; justify-content:center; gap:9px; }
.management-list { display:grid; gap:8px; }.management-row { width:100%; display:grid; grid-template-columns:46px 1fr auto; align-items:center; gap:13px; padding:12px; border:1px solid #e7ebf1; border-radius:12px; background:#fff; text-align:left; cursor:pointer; }.management-row:hover { border-color:#d0ad34; }.management-row span:nth-child(2) { min-width:0; }.management-row strong,.management-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.management-row small { margin-top:4px; color:var(--text-soft); }.management-row em { padding:5px 8px; border-radius:99px; background:#edf8ef; color:#24723a; font-size:.7rem; font-style:normal; font-weight:800; }
.row-avatar,.row-logo { width:44px; height:44px; display:grid; place-items:center; overflow:hidden; border-radius:11px; color:#526072; font-weight:800; }.row-avatar { background:#eef2f6; }.row-logo { background:transparent; border-radius:0; overflow:visible; }.row-logo img { width:42px; max-width:100%; max-height:38px; object-fit:contain; background:transparent; }
.form-drawer { margin-top:20px; padding:22px; border:1px solid #e0c35d; border-radius:15px; background:#fffcf2; }.form-drawer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }.form-drawer-head button { border:0; background:transparent; font-size:1.7rem; cursor:pointer; }.form-drawer form { display:grid; gap:14px; }.form-field span { display:block; margin-bottom:6px; font-size:.78rem; font-weight:800; }.form-field input,.form-field textarea,.form-field select { width:100%; padding:11px 12px; border:1px solid #ccd5e1; border-radius:9px; background:#fff; }.form-field textarea { min-height:76px; resize:vertical; }.field-help { display:block; margin-top:6px; color:var(--text-soft); font-size:.72rem; }.check-field,.permission-check { display:flex; align-items:center; gap:8px; font-size:.84rem; font-weight:700; }.check-row { display:flex; gap:25px; }.form-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; margin-top:5px; }
.permission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.permission-grid fieldset { padding:12px; border:1px solid var(--border); border-radius:10px; }.permission-grid legend { padding:0 5px; font-size:.77rem; font-weight:800; }.permission-check { margin:8px 0; }.admin-message { display:none; margin-bottom:15px; padding:12px 15px; border-radius:10px; font-weight:700; }.admin-message.is-success,.admin-message.is-error { display:block; }.admin-message.is-success { background:#dcfce7;color:#166534; }.admin-message.is-error { background:#fee2e2;color:#991b1b; }
.permission-check span strong,.permission-check span small { display:block; }.permission-check span small { margin-top:2px; color:var(--text-soft); font-size:.68rem; }.permission-select-all { display:flex; gap:7px; margin:5px 0 10px; padding-bottom:8px; border-bottom:1px solid var(--border); color:#8a6500; font-size:.72rem; font-weight:800; }
@media(max-width:1100px){.company-systems{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.admin-heading{align-items:flex-start;flex-direction:column}.admin-stats{width:100%;overflow:auto}.admin-layout{grid-template-columns:1fr}.admin-menu{display:flex;overflow:auto}.admin-menu-button{white-space:nowrap}.permission-grid{grid-template-columns:1fr}.management-row{grid-template-columns:42px minmax(0,1fr)}.management-row em{display:none}}
@media(max-width:650px){.client-company{padding:15px}.company-heading{grid-template-columns:46px 1fr}.company-heading em{display:none}.company-monogram{width:46px;height:46px}.company-systems{grid-template-columns:1fr}}

/* Portal de configurações */
.portal-authenticated { display:block; min-height:100vh; background:#f7f9fc; }
.portal-authenticated #dashboardSection > .site-header,.portal-authenticated > .public-footer,.portal-authenticated > .whatsapp-float { display:none !important; }
.portal-authenticated #dashboardSection .hub-section { min-height:100vh; padding:0; background:#f7f9fc; }
.portal-authenticated #dashboardSection .hub-section > .container { width:100%; max-width:none; margin:0; }
.portal-authenticated .admin-portal { min-height:100vh; border:0; border-radius:0; box-shadow:none; }
.owner-config { display:none !important; }
.portal-owner .owner-config { display:block !important; }
.admin-view { animation:portal-in .28s ease; }
.admin-portal { display:grid; grid-template-columns:270px minmax(0,1fr); min-height:720px; overflow:hidden; border:1px solid #dbe3ee; border-radius:24px; background:#f7f9fc; box-shadow:0 28px 80px -55px rgba(8,17,31,.5); }
.admin-sidebar { display:flex; flex-direction:column; padding:22px 16px; background:linear-gradient(180deg,#0a1423 0%,#101d30 100%); color:#fff; }
.admin-sidebar-brand { display:flex; flex-direction:column; align-items:flex-start; gap:7px; padding:2px 8px 20px; border-bottom:1px solid rgba(255,255,255,.09); }.admin-sidebar-brand img { display:block; width:148px; max-width:100%; height:auto; object-fit:contain; }.admin-sidebar-brand small { display:block; color:rgba(255,255,255,.48); font-size:.65rem; letter-spacing:.02em; }
.admin-owner-card { margin:18px 2px 16px; padding:15px; border:1px solid rgba(255,196,0,.18); border-radius:14px; background:rgba(255,196,0,.07); }.admin-owner-card span,.admin-owner-card strong,.admin-owner-card small { display:block; }.admin-owner-card span { margin-bottom:6px; color:var(--yellow); font-size:.61rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.admin-owner-card strong { font-size:.84rem; }.admin-owner-card small { margin-top:5px; color:rgba(255,255,255,.49); font-size:.67rem; line-height:1.5; }
.admin-sidebar .admin-menu { display:block; height:auto; padding:0; border:0; border-radius:0; background:transparent; }.admin-menu-label { display:block; padding:13px 12px 7px; color:rgba(255,255,255,.3); font-size:.58rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.admin-sidebar .admin-menu-button { width:100%; display:grid; grid-template-columns:32px 1fr; align-items:center; gap:10px; margin:2px 0; padding:10px; border-radius:11px; color:rgba(255,255,255,.7); }.admin-sidebar .admin-menu-button:hover { background:rgba(255,255,255,.05); color:#fff; }.admin-sidebar .admin-menu-button.is-active { background:var(--yellow); color:#111827; box-shadow:0 10px 25px -18px rgba(255,196,0,.9); }.admin-menu-button > span:nth-child(2),.admin-menu-button strong,.admin-menu-button small { display:block; }.admin-menu-button > span:nth-child(2) { font-size:.78rem; }.admin-menu-button small { margin-top:2px; opacity:.62; font-size:.61rem; font-weight:600; }.menu-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.08); font-size:1rem; }.admin-menu-button.is-active .menu-icon { background:rgba(17,24,39,.1); }
.admin-sidebar-help { margin-top:auto; padding:14px; border-radius:13px; background:rgba(255,255,255,.055); }.admin-sidebar-help strong { color:var(--yellow); font-size:.74rem; }.admin-sidebar-help p { margin-top:5px; color:rgba(255,255,255,.43); font-size:.65rem; line-height:1.55; }
.sidebar-session { margin-top:12px; padding-top:14px; border-top:1px solid rgba(255,255,255,.09); }.sidebar-user { display:grid; grid-template-columns:36px minmax(0,1fr); align-items:center; gap:9px; }.sidebar-user img { width:36px; height:36px; border:1px solid rgba(255,255,255,.14); border-radius:50%; object-fit:cover; }.sidebar-user strong,.sidebar-user small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.sidebar-user strong { color:#fff; font-size:.7rem; }.sidebar-user small { margin-top:3px; color:rgba(255,255,255,.42); font-size:.56rem; }.sidebar-session > button { width:100%; min-height:34px; margin-top:10px; border:1px solid rgba(255,255,255,.11); border-radius:9px; background:rgba(255,255,255,.04); color:rgba(255,255,255,.68); font-size:.65rem; font-weight:800; cursor:pointer; }.sidebar-session > button:hover { border-color:rgba(255,196,0,.45); color:var(--yellow); }
.admin-workspace { min-width:0; padding:30px; }.admin-workspace .admin-heading { align-items:center; margin:0 0 22px; padding:0; border-radius:0; background:transparent; color:var(--text); }.admin-workspace .admin-heading h2 { margin:3px 0 6px; font-size:clamp(1.7rem,3vw,2.35rem); letter-spacing:-.04em; }.admin-workspace .admin-heading p { color:var(--text-soft); font-size:.84rem; }.admin-preview-btn { min-height:40px; padding:0 15px; border:1px solid #d7dfeb; border-radius:10px; background:#fff; color:#445064; font-size:.73rem; font-weight:800; cursor:pointer; }.admin-preview-btn:hover { border-color:#9ba9bc; }
.admin-workspace .admin-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:20px; }.admin-workspace .admin-stats .stat-card { position:relative; min-width:0; min-height:112px; display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; gap:15px; padding:20px; overflow:hidden; border:1px solid #dfe6ef; border-radius:17px; background:#fff; box-shadow:0 12px 30px -28px rgba(15,23,42,.55); }.admin-workspace .admin-stats .stat-card::after { content:''; position:absolute; right:-30px; bottom:-42px; width:100px; height:100px; border-radius:50%; background:#edf3ff; opacity:.55; }.admin-workspace .admin-stats .stat-systems::after { background:#fff2bd; }.admin-workspace .admin-stats .stat-users::after { background:#dff5e7; }.admin-workspace .admin-stats .stat-icon { width:52px; height:52px; display:grid; place-items:center; padding:0; border:0; border-radius:14px; background:#edf3ff; color:#315e9f; }.admin-workspace .admin-stats .stat-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }.admin-workspace .admin-stats .stat-systems .stat-icon { background:#fff4c9; color:#896500; }.admin-workspace .admin-stats .stat-users .stat-icon { background:#e4f6ea; color:#267649; }.admin-workspace .admin-stats .stat-content { min-width:0; position:relative; z-index:1; }.admin-workspace .admin-stats .stat-content small,.admin-workspace .admin-stats .stat-content strong,.admin-workspace .admin-stats .stat-content em { display:block; }.admin-workspace .admin-stats .stat-content small { color:#667287; font-size:.7rem; font-weight:800; }.admin-workspace .admin-stats .stat-content strong { margin:3px 0 1px; color:#111827; font-size:1.8rem; font-weight:800; line-height:1; letter-spacing:-.05em; }.admin-workspace .admin-stats .stat-content em { overflow:hidden; color:#99a3b2; font-size:.61rem; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }.admin-workspace .admin-stats .stat-status { position:absolute; z-index:2; top:13px; right:13px; min-width:0; padding:4px 7px; border:0; border-radius:99px; background:#eef4ff; color:#42689d; font-size:.55rem; font-weight:800; }.admin-workspace .admin-stats .stat-systems .stat-status { background:#fff4c9; color:#846200; }.admin-workspace .admin-stats .stat-users .stat-status { background:#e4f6ea; color:#267649; }
.admin-workspace .admin-content { padding:0; border:0; border-radius:0; background:transparent; }.welcome-panel { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-bottom:18px; padding:24px 26px; overflow:hidden; border-radius:18px; background:radial-gradient(circle at 90% 10%,rgba(255,196,0,.18),transparent 27%),linear-gradient(125deg,#0a1423,#15243a); color:#fff; }.welcome-panel h3 { max-width:540px; margin-bottom:7px; font-size:1.32rem; }.welcome-panel p { max-width:580px; color:rgba(255,255,255,.54); font-size:.76rem; line-height:1.6; }.welcome-flow { flex:0 0 auto; display:flex; align-items:center; gap:8px; }.welcome-flow span { min-width:75px; padding:10px; border:1px solid rgba(255,255,255,.1); border-radius:11px; color:rgba(255,255,255,.62); font-size:.62rem; text-align:center; }.welcome-flow b { width:22px; height:22px; display:grid; place-items:center; margin:0 auto 5px; border-radius:50%; background:var(--yellow); color:#111827; }.welcome-flow i { color:rgba(255,255,255,.28); font-style:normal; }
.overview-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(270px,.55fr); gap:16px; }.overview-section,.quick-settings { padding:21px; border:1px solid #e0e6ef; border-radius:17px; background:#fff; }.section-title { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:16px; }.section-title h3 { font-size:.98rem; }.section-title p { margin-top:3px; color:var(--text-soft); font-size:.68rem; }.section-title > button { border:0; background:transparent; color:#8a6500; font-size:.68rem; font-weight:800; cursor:pointer; }
.company-overview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.company-overview-card { min-width:0; display:grid; grid-template-columns:40px 1fr auto; align-items:center; gap:10px; padding:11px; border:1px solid #e9edf3; border-radius:12px; background:#fbfcfe; text-align:left; cursor:pointer; }.company-overview-card:hover { border-color:#e0bd42; background:#fffdf6; }.company-overview-logo { width:40px; height:40px; display:grid; place-items:center; border-radius:10px; background:#101c2d; color:var(--yellow); font-size:.7rem; font-weight:800; }.company-overview-info { min-width:0; }.company-overview-info strong,.company-overview-info small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.company-overview-info strong { font-size:.76rem; }.company-overview-info small { margin-top:3px; color:#8994a5; font-size:.61rem; }.status-dot { color:#8792a2; font-size:.58rem; font-style:normal; font-weight:800; }.status-dot::before { content:''; display:inline-block; width:6px; height:6px; margin-right:4px; border-radius:50%; background:#a8b1be; }.status-dot.is-active { color:#29804b; }.status-dot.is-active::before { background:#31a55e; }
.quick-settings > button { width:100%; display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:10px; margin-bottom:8px; padding:10px; border:1px solid #e9edf3; border-radius:11px; background:#fff; text-align:left; cursor:pointer; }.quick-settings > button:hover { border-color:#d6b33b; }.quick-settings > button > span { width:38px; height:38px; display:grid; place-items:center; border-radius:9px; background:#fff6d7; color:#7a5a00; font-size:1rem; }.quick-settings > button strong,.quick-settings > button small { display:block; }.quick-settings > button strong { font-size:.72rem; }.quick-settings > button small { margin-top:3px; color:#929cab; font-size:.6rem; }.quick-settings > button i { color:#a4adba; font-size:1.1rem; font-style:normal; }.security-note { display:grid; grid-template-columns:28px 1fr; gap:9px; margin-top:14px; padding:12px; border-radius:11px; background:#edf9f1; }.security-note > span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#d3f1dd; color:#257345; font-weight:900; }.security-note strong,.security-note small { display:block; }.security-note strong { color:#256b40; font-size:.67rem; }.security-note small { margin-top:3px; color:#5f8b70; font-size:.59rem; line-height:1.4; }
.client-welcome > button { flex:0 0 auto; min-height:44px; padding:0 17px; border:0; border-radius:10px; background:var(--yellow); color:#111827; font-size:.72rem; font-weight:800; cursor:pointer; }.client-overview { padding:21px; border:1px solid #e0e6ef; border-radius:17px; background:#fff; }.client-company-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.client-company-summary button { min-width:0; display:grid; grid-template-columns:43px 1fr auto; align-items:center; gap:11px; padding:12px; border:1px solid #e5eaf1; border-radius:12px; background:#fbfcfe; text-align:left; cursor:pointer; }.client-company-summary button:hover { border-color:#d7b238; background:#fffdf6; }.client-company-summary button > span { width:43px; height:43px; display:grid; place-items:center; border-radius:11px; background:#101c2d; color:var(--yellow); font-size:.7rem; font-weight:800; }.client-company-summary strong,.client-company-summary small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.client-company-summary strong { font-size:.78rem; }.client-company-summary small { margin-top:3px; color:var(--text-soft); font-size:.63rem; }.client-company-summary i { color:#9ba5b4; font-size:1.2rem; font-style:normal; }.portal-search { margin-bottom:16px; }
.admin-workspace .admin-panel > .panel-title { padding:21px; border:1px solid #e0e6ef; border-radius:16px 16px 0 0; background:#fff; margin:0; }.admin-workspace .management-list { padding:0 14px 14px; border:1px solid #e0e6ef; border-top:0; border-radius:0 0 16px 16px; background:#fff; }.admin-workspace .management-row { border-width:1px 0 0; border-radius:0; padding:14px 8px; }.admin-workspace .management-row:hover { background:#fffdf6; }
.management-item .management-row { grid-template-columns:46px minmax(0,1fr) auto 24px; }.management-item.is-expanded { margin:0 -14px; padding:0 14px 14px; background:#fffdf5; border-top:1px solid #e6bd32; border-bottom:1px solid #f1dfa0; }.management-item.is-expanded .management-row { border-top:0; background:#fffdf5; }.row-chevron { color:#909bab; font-size:1rem; font-style:normal; transition:transform .2s ease; }.management-item.is-expanded .row-chevron { transform:rotate(180deg); color:#8a6500; }.inline-company-form .form-drawer { margin:0 0 4px; border-color:#ead37e; box-shadow:0 16px 35px -30px rgba(15,23,42,.5); }#companyFormNew:not(:empty) { padding:0 14px 14px; border-right:1px solid #e0e6ef; border-left:1px solid #e0e6ef; background:#fff; }#companyFormNew .form-drawer { margin:0; }
.company-access-block { display:grid; grid-template-columns:1fr auto; gap:9px; margin-top:3px; padding:14px; border:1px solid #e5d38d; border-radius:11px; background:#fffdf6; }.company-access-block > div strong,.company-access-block > div small { display:block; }.company-access-block > div strong { font-size:.78rem; }.company-access-block > div small { margin-top:3px; color:var(--text-soft); font-size:.65rem; }.company-access-block > button { padding:7px 10px; border:0; border-radius:8px; background:#101c2d; color:#fff; font-size:.65rem; font-weight:800; cursor:pointer; }.company-access-block > span { grid-column:1/-1; display:flex; justify-content:space-between; padding:8px 10px; border-radius:8px; background:#fff; font-size:.68rem; }.company-access-block > span small { color:var(--text-soft); }.company-access-block > em { grid-column:1/-1; color:var(--text-soft); font-size:.68rem; font-style:normal; }
@keyframes portal-in { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
@media(max-width:1050px){.admin-portal{grid-template-columns:220px minmax(0,1fr)}.admin-workspace{padding:22px}.overview-grid{grid-template-columns:1fr}.welcome-flow{display:none}.company-overview-grid{grid-template-columns:1fr}}
@media(max-width:760px){.admin-portal{display:block;border-radius:0}.admin-sidebar{padding:10px 14px}.admin-sidebar-brand,.admin-owner-card,.admin-sidebar-help,.admin-menu-label,.admin-menu-button small{display:none}.admin-sidebar .admin-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:5px}.admin-sidebar .admin-menu-button{display:flex;justify-content:center;margin:0;padding:8px}.admin-sidebar .admin-menu-button > span:nth-child(2){font-size:.65rem}.menu-icon{display:none}.sidebar-session{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding-top:9px}.sidebar-user{min-width:0;flex:1}.sidebar-session>button{width:auto;margin:0;padding:0 13px}.admin-workspace{padding:16px}.admin-workspace .admin-heading{align-items:flex-start}.admin-preview-btn{display:none}.admin-workspace .admin-stats{grid-template-columns:1fr}.welcome-panel{padding:20px;align-items:flex-start;flex-direction:column}.company-overview-grid,.client-company-summary{grid-template-columns:1fr}.admin-workspace .admin-content{padding:0}.panel-title{align-items:flex-start;flex-direction:column}.panel-title .primary-btn{width:100%}.management-item .management-row{grid-template-columns:42px minmax(0,1fr) 20px}.management-item .management-row em{display:none}}

/* Navegação e gestão simplificadas */
.admin-owner-card,.admin-sidebar-help,.admin-workspace .admin-stats { display:none !important; }
.admin-sidebar .admin-menu { margin-top:24px; }.admin-sidebar .admin-menu-button { display:block; grid-template-columns:none; padding:12px 14px; font-size:.78rem; }.admin-sidebar .admin-menu-button > span { font-size:.78rem; }.admin-sidebar .admin-menu-button.is-active { box-shadow:none; }.client-feature-menu { margin-top:18px; padding-top:14px; border-top:1px solid rgba(255,255,255,.09); }.feature-menu-label { display:block; padding:0 14px 8px; color:rgba(255,255,255,.35); font-size:.59rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.admin-workspace { padding-top:34px; }.admin-workspace .admin-heading { margin-bottom:24px; }.admin-workspace .admin-heading h2 { font-size:1.8rem; }.all-portals-grid { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.portal-filter { min-width:190px; height:54px; padding:0 42px 0 16px; border:1px solid #c8d3e2; border-radius:12px; appearance:none; -webkit-appearance:none; background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-size:16px; color:#334155; font-weight:700; line-height:1; cursor:pointer; }.subsection-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; padding:20px; border:1px solid #e0e6ef; border-radius:16px 16px 0 0; background:#fff; }.subsection-title h3 { font-size:1rem; }.subsection-title p { margin-top:4px; color:var(--text-soft); font-size:.7rem; }.feature-management-list { border-top:0 !important; }.simple-row { grid-template-columns:minmax(0,1fr) auto 24px !important; }.list-empty { padding:20px; color:var(--text-soft); font-size:.75rem; text-align:center; }
.inline-system-form .form-drawer,.inline-user-form .form-drawer,.inline-feature-form .form-drawer { margin:0 0 4px; border-color:#d9e0e9; box-shadow:none; }#systemFormNew:not(:empty),#userFormNew:not(:empty),#featureFormNew:not(:empty){padding:0 14px 14px;border-right:1px solid #e0e6ef;border-left:1px solid #e0e6ef;background:#fff}.feature-link-fields { display:grid; gap:10px; }.feature-link-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }.feature-link-heading strong { font-size:.75rem; }.feature-link-list { display:grid; gap:8px; }.feature-link-row { display:grid; grid-template-columns:1fr 1.4fr 40px; gap:8px; align-items:center; }.feature-link-fields input { width:100%; padding:10px; border:1px solid #ccd5e1; border-radius:8px; }.add-link-btn,.remove-link-btn { border:1px solid #ccd5e1; border-radius:8px; background:#fff; color:#0b192d; font:inherit; font-weight:700; cursor:pointer; }.add-link-btn { padding:8px 12px; }.add-link-btn:hover { border-color:#e1ad00; background:#fff9e8; }.remove-link-btn { height:40px; font-size:21px; color:#8c2632; }.remove-link-btn:hover { border-color:#e1a5ad; background:#fff3f4; }.feature-links { max-width:760px; display:grid; gap:10px; }.feature-company { color:#8a6500; font-size:.68rem; font-weight:800; text-transform:uppercase; }.feature-links a { display:flex; align-items:center; justify-content:space-between; padding:17px; border:1px solid #e0e6ef; border-radius:12px; background:#fff; }.feature-links a:hover { border-color:#d7b238; }.feature-links strong,.feature-links small { display:block; }.feature-links small { margin-top:4px; color:var(--text-soft); font-size:.65rem; }
@media(max-width:1050px){.all-portals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.admin-sidebar .admin-menu{margin-top:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.client-feature-menu{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:5px;padding-top:5px}.feature-menu-label{grid-column:1/-1}.all-portals-grid{grid-template-columns:1fr}.portal-search{align-items:stretch}.portal-filter{width:100%}.feature-link-fields>div{grid-template-columns:1fr}}

@media(max-width:760px){.feature-link-heading{display:flex;align-items:stretch;flex-direction:column}.add-link-btn{width:100%}.feature-link-row{grid-template-columns:minmax(0,1fr) 40px}.feature-link-row .feature-link-url{grid-column:1/2}.feature-link-row .remove-link-btn{grid-column:2;grid-row:1/3;height:100%}}

/* Tipografia legível do portal */
.portal-authenticated .admin-portal { font-size:16px; }
.portal-authenticated .admin-sidebar-brand small { font-size:12px; line-height:1.4; }
.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button > span { font-size:14px; line-height:1.35; }
.portal-authenticated .admin-sidebar .admin-menu-button { min-height:46px; padding:13px 15px; }
.portal-authenticated .feature-menu-label { font-size:11px; }
.portal-authenticated .sidebar-user strong { font-size:13px; line-height:1.3; }
.portal-authenticated .sidebar-user small { margin-top:3px; font-size:11px; line-height:1.3; }
.portal-authenticated .sidebar-session > button { min-height:40px; font-size:13px; }
.portal-authenticated .admin-workspace .admin-heading h2 { font-size:32px; line-height:1.15; }
.portal-authenticated .admin-workspace .admin-heading p { margin-top:7px; font-size:15px; line-height:1.5; }
.portal-authenticated .search-input,.portal-authenticated .portal-filter { font-size:14px; }
.portal-authenticated .company-label { font-size:11px; line-height:1.4; }
.portal-authenticated .card-body h2 { font-size:18px; line-height:1.35; }
.portal-authenticated .card-body p { font-size:14px; line-height:1.6; }
.portal-authenticated .card-action { font-size:14px; }
.portal-authenticated .panel-title h3,.portal-authenticated .subsection-title h3 { font-size:20px; line-height:1.3; }
.portal-authenticated .panel-title p,.portal-authenticated .subsection-title p { margin-top:5px; font-size:14px; line-height:1.5; }
.portal-authenticated .primary-btn,.portal-authenticated .secondary-btn { font-size:14px; }
.portal-authenticated .management-row strong { font-size:15px; line-height:1.35; }
.portal-authenticated .management-row small { margin-top:5px; font-size:13px; line-height:1.4; }
.portal-authenticated .management-row em { font-size:12px; }
.portal-authenticated .form-field span,.portal-authenticated .check-field,.portal-authenticated .permission-check { font-size:14px; }
.portal-authenticated .form-field input,.portal-authenticated .form-field textarea,.portal-authenticated .form-field select,.portal-authenticated .feature-link-fields input { font-size:14px; }
.portal-authenticated .field-help,.portal-authenticated .permission-check span small { font-size:12px; }
.portal-authenticated .feature-links strong { font-size:16px; }.portal-authenticated .feature-links small { font-size:13px; }
@media(max-width:760px){.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button>span{font-size:13px}.portal-authenticated .admin-workspace .admin-heading h2{font-size:27px}.portal-authenticated .card-body h2{font-size:17px}}

/* Escala confortável para leitura */
.portal-authenticated .admin-portal { grid-template-columns:300px minmax(0,1fr); font-size:18px; }
.portal-authenticated .admin-sidebar { padding-right:20px; padding-left:20px; }
.portal-authenticated .admin-sidebar-brand img { width:175px; }
.portal-authenticated .admin-sidebar-brand small { font-size:14px; }
.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button > span { font-size:17px; font-weight:700; }
.portal-authenticated .admin-sidebar .admin-menu-button { min-height:54px; padding:15px 17px; }
.portal-authenticated .feature-menu-label { font-size:13px; }
.portal-authenticated .sidebar-user { grid-template-columns:44px minmax(0,1fr); gap:12px; }
.portal-authenticated .sidebar-user img { width:44px; height:44px; }
.portal-authenticated .sidebar-user strong { font-size:16px; }
.portal-authenticated .sidebar-user small { font-size:13px; }
.portal-authenticated .sidebar-session > button { min-height:46px; font-size:15px; }
.portal-authenticated .admin-workspace { padding:38px; }
.portal-authenticated .admin-workspace .admin-heading h2 { font-size:38px; }
.portal-authenticated .admin-workspace .admin-heading p { font-size:18px; }
.portal-authenticated .search-input,.portal-authenticated .portal-filter { font-size:17px; }
.portal-authenticated .company-label { font-size:14px; }
.portal-authenticated .card-body h2 { font-size:22px; }
.portal-authenticated .card-body p { font-size:17px; }
.portal-authenticated .card-action { font-size:17px; }
.portal-authenticated .panel-title h3,.portal-authenticated .subsection-title h3 { font-size:25px; }
.portal-authenticated .panel-title p,.portal-authenticated .subsection-title p { font-size:17px; }
.portal-authenticated .primary-btn,.portal-authenticated .secondary-btn { min-height:48px; font-size:17px; }
.portal-authenticated .management-row { min-height:76px; }
.portal-authenticated .management-row strong { font-size:18px; }
.portal-authenticated .management-row small { font-size:16px; }
.portal-authenticated .management-row em { font-size:14px; }
.portal-authenticated .form-drawer-head h3 { font-size:24px; }
.portal-authenticated .form-field span,.portal-authenticated .check-field,.portal-authenticated .permission-check { font-size:17px; }
.portal-authenticated .form-field input,.portal-authenticated .form-field textarea,.portal-authenticated .form-field select,.portal-authenticated .feature-link-fields input { min-height:50px; font-size:18px; }
.portal-authenticated .field-help,.portal-authenticated .permission-check span small { font-size:15px; }
.portal-authenticated .company-access-block > div strong { font-size:17px; }
.portal-authenticated .company-access-block > div small { font-size:15px; }
.portal-authenticated .company-access-block > button { min-height:42px; padding:9px 14px; font-size:14px; }
.portal-authenticated .company-access-block > span { padding:12px 14px; font-size:16px; }
.portal-authenticated .company-access-block > span small,.portal-authenticated .company-access-block > em { font-size:14px; }
.portal-authenticated .permission-grid legend { font-size:16px; }
.portal-authenticated .permission-select-all { font-size:15px; }
.portal-authenticated .feature-link-fields > strong { font-size:17px; }
.portal-authenticated .feature-links strong { font-size:19px; }.portal-authenticated .feature-links small { font-size:15px; }
@media(max-width:1050px){.portal-authenticated .admin-portal{grid-template-columns:260px minmax(0,1fr)}.portal-authenticated .admin-workspace{padding:28px}.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button>span{font-size:16px}}
@media(max-width:760px){.portal-authenticated .admin-portal{display:block}.portal-authenticated .admin-workspace{padding:20px}.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button>span{font-size:15px}.portal-authenticated .admin-workspace .admin-heading h2{font-size:31px}.portal-authenticated .admin-workspace .admin-heading p{font-size:16px}.portal-authenticated .card-body h2{font-size:20px}.portal-authenticated .card-body p{font-size:16px}}

/* Escala fluida e equilibrada */
.portal-authenticated .admin-portal { grid-template-columns:clamp(245px,20vw,285px) minmax(0,1fr); font-size:16px; }
.portal-authenticated .admin-sidebar { padding:clamp(16px,1.5vw,22px); }
.portal-authenticated .admin-sidebar-brand img { width:clamp(145px,12vw,170px); }
.portal-authenticated .admin-sidebar-brand small { font-size:13px; }
.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button > span { font-size:clamp(14px,.25vw + 11px,15px); }
.portal-authenticated .admin-sidebar .admin-menu-button { min-height:48px; padding:13px 15px; }
.portal-authenticated .feature-menu-label { font-size:11px; }
.portal-authenticated .sidebar-user { grid-template-columns:40px minmax(0,1fr); gap:10px; }
.portal-authenticated .sidebar-user img { width:40px; height:40px; }
.portal-authenticated .sidebar-user strong { font-size:14px; }
.portal-authenticated .sidebar-user small { font-size:12px; }
.portal-authenticated .sidebar-session > button { min-height:42px; font-size:14px; }
.portal-authenticated .admin-workspace { padding:clamp(22px,2.5vw,42px); }
.portal-authenticated .admin-workspace .admin-heading h2 { font-size:clamp(28px,2.4vw,36px); }
.portal-authenticated .admin-workspace .admin-heading p { font-size:clamp(14px,.35vw + 11px,16px); }
.portal-authenticated .search-input,.portal-authenticated .portal-filter { font-size:15px; }
.portal-authenticated .company-label { font-size:12px; }
.portal-authenticated .card-body h2 { font-size:clamp(17px,.4vw + 13px,20px); }
.portal-authenticated .card-body p { font-size:15px; line-height:1.55; }
.portal-authenticated .card-action { font-size:15px; }
.portal-authenticated .panel-title h3,.portal-authenticated .subsection-title h3 { font-size:clamp(20px,.65vw + 14px,23px); }
.portal-authenticated .panel-title p,.portal-authenticated .subsection-title p { font-size:15px; }
.portal-authenticated .primary-btn,.portal-authenticated .secondary-btn { min-height:44px; font-size:15px; }
.portal-authenticated .management-row { min-height:68px; }
.portal-authenticated .management-row strong { font-size:16px; }
.portal-authenticated .management-row small { font-size:14px; }
.portal-authenticated .management-row em { font-size:12px; }
.portal-authenticated .form-drawer-head h3 { font-size:21px; }
.portal-authenticated .form-field span,.portal-authenticated .check-field,.portal-authenticated .permission-check { font-size:15px; }
.portal-authenticated .form-field input,.portal-authenticated .form-field textarea,.portal-authenticated .form-field select,.portal-authenticated .feature-link-fields input { min-height:46px; font-size:16px; }
.portal-authenticated .field-help,.portal-authenticated .permission-check span small { font-size:13px; }
.portal-authenticated .company-access-block > div strong { font-size:15px; }
.portal-authenticated .company-access-block > div small { font-size:13px; }
.portal-authenticated .company-access-block > button { min-height:38px; font-size:13px; }
.portal-authenticated .company-access-block > span { padding:10px 12px; font-size:14px; }
.portal-authenticated .company-access-block > span small,.portal-authenticated .company-access-block > em { font-size:12px; }
.portal-authenticated .permission-grid legend { font-size:14px; }
.portal-authenticated .permission-select-all { font-size:13px; }
.portal-authenticated .feature-link-fields > strong { font-size:15px; }
.portal-authenticated .feature-links strong { font-size:17px; }.portal-authenticated .feature-links small { font-size:13px; }
.all-portals-grid { grid-template-columns:repeat(3,minmax(240px,1fr)); }
@media(min-width:1700px){.portal-authenticated .admin-portal{grid-template-columns:300px minmax(0,1fr)}.all-portals-grid{grid-template-columns:repeat(4,minmax(250px,1fr))}.company-systems{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.portal-authenticated .admin-portal{grid-template-columns:240px minmax(0,1fr)}.portal-authenticated .admin-workspace{padding:24px}.all-portals-grid,.company-systems{grid-template-columns:repeat(2,minmax(220px,1fr))}}
@media(max-width:820px){.portal-authenticated .admin-portal{display:block}.portal-authenticated .admin-sidebar{padding:12px 16px}.portal-authenticated .admin-sidebar-brand{display:flex}.portal-authenticated .admin-sidebar-brand img{width:140px}.portal-authenticated .admin-sidebar .admin-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.portal-authenticated .admin-sidebar .admin-menu-button{min-height:44px;padding:10px 12px}.portal-authenticated .sidebar-session{display:flex;align-items:center;gap:10px}.portal-authenticated .admin-workspace{padding:20px}.all-portals-grid,.company-systems{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-search{flex-direction:column}.portal-filter{width:100%}}
@media(max-width:560px){.portal-authenticated .admin-sidebar-brand{align-items:center}.portal-authenticated .admin-sidebar-brand small{font-size:12px}.portal-authenticated .admin-sidebar .admin-menu{grid-template-columns:1fr 1fr}.portal-authenticated .admin-sidebar .admin-menu-button,.portal-authenticated .admin-sidebar .admin-menu-button>span{font-size:13px}.portal-authenticated .sidebar-user small{font-size:11px}.portal-authenticated .admin-workspace{padding:16px}.portal-authenticated .admin-workspace .admin-heading h2{font-size:27px}.portal-authenticated .admin-workspace .admin-heading p{font-size:14px}.all-portals-grid,.company-systems{grid-template-columns:1fr}.portal-authenticated .panel-title h3,.portal-authenticated .subsection-title h3{font-size:20px}.portal-authenticated .panel-title p,.portal-authenticated .subsection-title p{font-size:14px}.portal-authenticated .management-row{min-height:64px}.portal-authenticated .management-row strong{font-size:15px}.portal-authenticated .management-row small{font-size:13px}.feature-link-fields>div{grid-template-columns:1fr}}

/* Notificações flutuantes */
.portal-authenticated .admin-message { position:fixed; z-index:1000; top:22px; right:22px; width:min(390px,calc(100vw - 32px)); display:none; grid-template-columns:42px minmax(0,1fr) 28px; align-items:center; gap:12px; margin:0; padding:14px; border:1px solid #dfe6e3; border-radius:14px; background:#fff; color:#172033; box-shadow:0 20px 55px -24px rgba(15,23,42,.42); }
.portal-authenticated .admin-message.is-success,.portal-authenticated .admin-message.is-error { display:grid; animation:toast-enter .25s ease both; }
.portal-authenticated .admin-message .toast-icon { width:42px; height:42px; display:grid; place-items:center; min-width:0; padding:0; border:0; border-radius:12px; background:#e6f6ec; color:#19733c; font-size:19px; font-weight:900; }
.portal-authenticated .admin-message.is-error .toast-icon { background:#feeceb; color:#b42318; }
.portal-authenticated .admin-message strong,.portal-authenticated .admin-message small { display:block; }
.portal-authenticated .admin-message strong { color:#172033; font-size:15px; line-height:1.3; }
.portal-authenticated .admin-message small { margin-top:3px; color:#697586; font-size:13px; line-height:1.4; }
.portal-authenticated .admin-message > button { width:28px; height:28px; border:0; border-radius:8px; background:transparent; color:#8c97a7; font-size:20px; line-height:1; cursor:pointer; }
.portal-authenticated .admin-message > button:hover { background:#f1f4f7; color:#172033; }
@keyframes toast-enter { from{opacity:0;transform:translateY(-10px) scale(.98)} to{opacity:1;transform:none} }
@media(max-width:560px){.portal-authenticated .admin-message{top:12px;right:16px;left:16px;width:auto}}
.permission-grid.single-company { grid-template-columns:1fr; }.permission-grid.single-company fieldset { max-width:none; }.company-permissions { padding:16px !important; }.company-permissions .permission-check { padding:8px 0; border-bottom:1px solid #edf0f4; }.company-permissions .permission-check:last-child { border-bottom:0; }
.portal-authenticated .card-head { background:transparent; }.portal-authenticated .logo-box,.portal-authenticated .logo-box img { background:transparent !important; }.portal-authenticated .logo-box img { mix-blend-mode:normal; }
.hub-section {
  min-height: calc(100vh - 82px);
  padding: 58px 0 84px;
  background:
    radial-gradient(circle at 92% 0, rgba(255,196,0,.1), transparent 24%),
    linear-gradient(180deg, #eef3f9 0, var(--surface) 360px);
}
.hub-intro { max-width: 880px; margin-bottom: 32px; }
.hub-intro h1 { font-size: clamp(2.2rem, 3.3vw, 3.5rem); letter-spacing: -.045em; }
.hub-intro p { font-size: 1rem; }
.search-input { height: 54px; border-radius: 14px; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.system-card { min-height: 250px; border-radius: 16px; }
.card-head { min-height: 104px; }
.card-body { padding: 17px 20px 0; }
.card-action { margin-top: 18px; }

@media (min-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1700px) {
  #dashboardSection .container { width: min(1680px, calc(100% - 96px)); }
  .cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .system-card { min-height: 265px; }
}

@media (max-width: 1100px) {
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(2.65rem, 5.4vw, 4rem); }
  .dashboard-mockup { left: 0; }
  .trust-title, .trust-item { padding: 22px; }
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-login) { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .difference-grid, .access-grid, .contact-cta-card { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero h1 { max-width: 680px; font-size: clamp(2.75rem, 8vw, 4.25rem); }
  .hero-visual { min-height: 390px; max-width: 590px; width: 100%; margin: 0 auto; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-title { grid-column: 1 / -1; }
  .access-grid { max-width: 700px; }
  .contact-cta-card { gap: 34px; }
  .contact-cta-actions { grid-template-columns: 1fr 1fr; }
  #dashboardSection .container { width: min(100% - 36px, 1520px); }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  #dashboardSection .container { width: min(100% - 28px, 1520px); }
  .public-nav { min-height: 78px; }
  .public-brand img { width: 150px; }
  .nav-login { padding: 9px 13px; font-size: .78rem; }
  .hero { padding: 118px 0 72px; }
  .hero h1 { font-size: clamp(2.25rem,10.5vw,3.15rem); line-height: 1.02; }
  .hero-copy > p { font-size: .96rem; line-height: 1.65; }
  .hero-actions { align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { min-height: 315px; }
  .dashboard-mockup { inset: 20px 0 20px 0; padding: 10px; }
  .mock-body { grid-template-columns: 52px 1fr; }
  .mock-side { padding: 22px 11px; }
  .mock-side span { width: 29px; }
  .mock-content { padding: 16px; }
  .mock-stats { gap: 6px; }
  .mock-stat { height: 65px; padding: 10px; }
  .mock-chart { height: 110px; }
  .floating-one { right: -5px; }
  .floating-two { left: -5px; }
  .floating-card { padding: 10px 12px; }
  .floating-card span:not(.floating-icon) { display: none; }
  .trust-inner, .solutions-grid { grid-template-columns: 1fr; }
  .trust-title { grid-column: auto; }
  .trust-item { border-right: 0; border-bottom: 1px solid #e7ebf1; }
  .marketing-section, .access-section { padding: 78px 0; }
  .contact-cta { padding-bottom: 48px; }
  .contact-cta-card { gap: 28px; padding: 38px 24px; border-radius: 22px; }
  .contact-cta-actions { grid-template-columns: 1fr; }
  .contact-cta-copy h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .solution-card { min-height: auto; }
  .solution-number { margin-bottom: 20px; }
  .access-grid { gap: 38px; }
  .login-card { padding: 27px 22px !important; }
  #dashboardSection .header-inner { align-items: stretch; }
  #dashboardSection .brand img { width: 150px; }
  #dashboardSection .header-auth { gap: 8px; }
  #dashboardSection .user-profile { max-width: calc(100vw - 104px); }
  #dashboardSection .logout-btn { padding: 0 13px; }
  .hub-section { padding: 36px 0 60px; }
  .hub-intro h1 { font-size: 2.25rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 225px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
