:root{
  --brand:#aa1428;
  --brand-2:#d1263d;
  --brand-dark:#7d0d1b;
  --ink:#151922;
  --text:#252b35;
  --muted:#6b7280;
  --soft:#f5f6f8;
  --soft-2:#eef0f3;
  --line:#e2e6ec;
  --panel:#ffffff;
  --panel-2:#fafbfc;
  --shadow:0 22px 60px rgba(25,31,44,.10);
  --shadow-soft:0 12px 34px rgba(25,31,44,.07);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#fff 0,#f6f7f9 42%,#eef1f5 100%);line-height:1.6;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}.container{width:min(1180px,92vw);margin:auto}.muted{color:var(--muted)}
.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,230,236,.9);overflow:visible}
.nav{height:128px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{height:54px;object-fit:contain}.header-logo-link{display:flex;align-items:center;position:relative;z-index:4;margin-right:18px;padding:0;background:transparent;border:0;box-shadow:none}.topbar .logo{height:118px;max-width:380px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 16px 18px rgba(21,25,34,.14));transition:.18s ease;transform:translateY(8px)}.topbar .logo:hover{transform:translateY(5px);filter:drop-shadow(0 20px 22px rgba(21,25,34,.18))}.menu{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:750}.menu>a,.menu-item>a{padding:10px 12px;border-radius:999px;color:#303744}.menu>a:hover,.menu-item>a:hover{background:#f2f4f7;color:var(--brand)}
.menu-item{position:relative;display:flex;align-items:center}
.menu-item>a:after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.submenu{position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow);display:none;flex-direction:column;gap:4px;z-index:9999;margin-top:8px}
.submenu:before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}
.submenu a{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border-radius:13px;font-weight:850;color:#303744;white-space:nowrap}
.submenu a:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand);flex:0 0 auto}
.submenu a:hover{background:#f7f8fa;color:var(--brand)}
.menu-item:hover .submenu,.menu-item:focus-within .submenu{display:flex}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:12px 20px;font-weight:850;font-size:13px;color:#303744;background:#fff;cursor:pointer;transition:.18s ease;box-shadow:0 1px 0 rgba(255,255,255,.8) inset}.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-soft)}.btn.primary{border-color:transparent;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;box-shadow:0 14px 26px rgba(170,20,40,.22)}.btn.ghost{border-color:#d9dde5;background:#fff;color:#303744}.btn.ghost:hover{border-color:#c9ced8}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hero{position:relative;overflow:hidden;padding:90px 0 46px;background:radial-gradient(circle at 85% 12%,rgba(209,38,61,.12),transparent 30%),linear-gradient(135deg,#fff 0,#f8f9fb 50%,#edf0f4 100%)}.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(21,25,34,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(21,25,34,.035) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(180deg,#000,transparent 78%)}.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1.04fr;align-items:center;gap:46px}.hero h1{font-size:clamp(42px,5vw,66px);line-height:.98;margin:0 0 22px;font-weight:950;letter-spacing:-.05em;color:var(--ink)}.accent{color:var(--brand)}.lead{font-size:18px;color:#4f5967;max-width:660px}.hero .lead{font-size:20px;margin-bottom:26px}.hero-card{background:rgba(255,255,255,.82);border:1px solid rgba(226,230,236,.95);border-radius:30px;padding:18px;box-shadow:0 30px 90px rgba(30,38,52,.14);backdrop-filter:blur(20px)}.fake-screen{border-radius:24px;background:linear-gradient(145deg,#fff,#f0f2f5);padding:18px;min-height:390px;position:relative;overflow:hidden;border:1px solid #e8ebf0}.fake-screen:before{content:"Gestão integrada";display:block;padding:12px 14px;border-radius:16px;background:#151922;color:#fff;font-weight:850;letter-spacing:.01em}.fake-screen:after{content:"";position:absolute;right:-58px;bottom:-58px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(170,20,40,.22),rgba(170,20,40,0) 70%)}.metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.metric{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 8px 22px rgba(25,31,44,.05)}.metric b{font-size:24px;color:var(--ink)}.chart{height:160px;border-radius:20px;margin-top:16px;background:linear-gradient(180deg,#fff,#f6f7f9);border:1px solid var(--line);position:relative;overflow:hidden}.chart:before{content:"";position:absolute;left:22px;right:22px;bottom:36px;height:8px;border-radius:999px;background:linear-gradient(90deg,#cfd5dd 0,#cfd5dd 18%,var(--brand) 18%,var(--brand-2) 72%,#cfd5dd 72%);transform:skewY(-10deg)}.chart:after{content:"";position:absolute;left:28px;top:26px;width:120px;height:10px;border-radius:999px;background:#d9dee6;box-shadow:0 24px 0 #e7eaf0,0 48px 0 #edf0f4}
.section{padding:78px 0}.section h1,.section h2{color:var(--ink);letter-spacing:-.035em}.section h1{font-size:46px;line-height:1.06;margin:0 0 16px}.section h2{font-size:clamp(32px,3.4vw,46px);line-height:1.08;margin:0 0 18px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,.panel{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow-soft)}.card{transition:.18s ease}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card h3,.panel h3{margin:0 0 10px;color:var(--ink);font-size:21px}.card p,.panel p{color:#596474}.card .icon{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#fff1f3,#fff);border:1px solid #f0d2d8;color:var(--brand);display:grid;place-items:center;font-weight:950;margin-bottom:16px}.split{display:grid;grid-template-columns:.92fr 1.08fr;gap:34px;align-items:center}.visual{min-height:330px;border-radius:30px;background:radial-gradient(circle at 70% 20%,rgba(209,38,61,.13),transparent 32%),linear-gradient(135deg,#fff,#edf0f4);border:1px solid var(--line);display:grid;place-items:center;position:relative;overflow:hidden;box-shadow:var(--shadow-soft)}.target{width:230px;height:230px;border-radius:50%;border:26px solid #d8dde5;box-shadow:inset 0 0 0 24px #fff,inset 0 0 0 54px #c7cdd6;position:relative}.target:after{content:"";position:absolute;inset:78px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 12px 28px rgba(170,20,40,.28)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;text-align:center;box-shadow:var(--shadow-soft)}.stat b{font-size:34px;color:var(--ink)}.stat span{color:var(--muted);font-weight:650}.footer{background:#fff;border-top:1px solid var(--line);padding:58px 0 24px;color:#505a67}.footer .logo{height:76px;margin-bottom:12px}.footer-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:30px}.footer h4{color:#151922;margin:0 0 12px}.footer a,.footer p{display:block;margin:8px 0;color:#5e6877}.footer a:hover{color:var(--brand)}
.login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 20% 10%,rgba(209,38,61,.13),transparent 28%),linear-gradient(135deg,#fff,#eef1f5)}.login-box{width:min(460px,94vw);background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:0 30px 90px rgba(25,31,44,.16)}.login-box img{height:58px}.form-group{margin:15px 0}.form-group label{display:block;font-weight:850;font-size:13px;margin-bottom:7px;color:#303744}.input,select,textarea{width:100%;border:1px solid #d8dde6;border-radius:14px;padding:12px 14px;font:inherit;background:#fff;color:var(--text);outline:none}.input:focus,select:focus,textarea:focus{border-color:#c94355;box-shadow:0 0 0 4px rgba(170,20,40,.08)}textarea{min-height:92px}.alert{padding:13px 15px;border-radius:14px;margin:12px 0;border:1px solid transparent}.alert.error{background:#fff0f2;color:#9e1020;border-color:#f3cbd2}.alert.ok{background:#edf9f1;color:#176b38;border-color:#cbeed5}.alert.info{background:#eef4fb;border-color:#d6e3f3;color:#2f3a4a}
.app{display:grid;grid-template-columns:280px 1fr;min-height:100vh;background:#f3f5f8}.sidebar{background:linear-gradient(180deg,#242b35,#343b46);color:#fff;padding:26px;border-right:1px solid rgba(255,255,255,.08)}.sidebar img{height:50px;filter:brightness(1.2)}.side-menu{margin-top:28px;display:grid;gap:8px}.side-menu a{padding:12px 14px;border-radius:14px;color:#f1f3f6;font-weight:750}.side-menu a.active,.side-menu a:hover{background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 12px 24px rgba(170,20,40,.25)}.main{padding:32px}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.page-head h1{margin:0;color:var(--ink);letter-spacing:-.035em}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.table{width:100%;border-collapse:separate;border-spacing:0 8px;background:transparent}.table th,.table td{padding:13px 14px;text-align:left;font-size:14px;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.table th{font-size:12px;text-transform:uppercase;color:#667085;background:transparent;border:0}.table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.pill{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eef0f3;font-size:12px;font-weight:800}.pill.ok{background:#eaf8ee;color:#20713b}.pill.red{background:#fff1f2;color:#a90f22}.doc-list{display:grid;gap:12px}.doc-item{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff;box-shadow:var(--shadow-soft)}
.installer-box{max-width:800px}.check-line{display:flex;gap:10px;align-items:center;margin:10px 0 14px;font-weight:700;color:#20242b}code{background:#eef0f4;border:1px solid #d9dde5;border-radius:7px;padding:2px 6px}.eyebrow{display:inline-flex;border:1px solid #efd2d8;background:#fff7f8;color:var(--brand);border-radius:999px;padding:7px 13px;font-weight:950;font-size:12px;letter-spacing:.06em;text-transform:uppercase}.solution-hero{padding:86px 0;background:radial-gradient(circle at 82% 15%,rgba(209,38,61,.14),transparent 31%),linear-gradient(135deg,#fff,#f7f8fa 52%,#edf0f4)}.solution-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center}.solution-hero h1{font-size:clamp(38px,4.2vw,58px);line-height:1.02;margin:14px 0 18px;font-weight:950;letter-spacing:-.05em;color:var(--ink)}.solution-panel{background:rgba(255,255,255,.93);border:1px solid var(--line);border-radius:30px;padding:28px;box-shadow:var(--shadow)}.panel-title{font-size:24px;font-weight:950;margin-bottom:16px;color:var(--ink)}.flow-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.flow-list span{padding:15px;border:1px solid var(--line);border-radius:16px;background:#f8f9fb;font-weight:850}.mini-dashboard{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.mini-dashboard div{border-radius:16px;background:#fff4f5;border:1px solid #f1d7dc;padding:15px}.mini-dashboard b{display:block;color:var(--brand);font-size:26px}.mini-dashboard small{color:#596271;font-weight:750}.highlight-card{border-left:6px solid var(--brand)}.check-list{margin:12px 0 0;padding:0;list-style:none}.check-list li{padding:11px 0 11px 32px;border-bottom:1px solid var(--line);position:relative}.check-list li:before{content:"✓";position:absolute;left:0;top:10px;color:var(--brand);font-weight:950}.soft-section{background:#fff}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.solution-card .icon{font-size:13px}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.process-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow-soft)}.process-card span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;font-weight:950;margin-bottom:14px}.cta-band{padding-top:38px}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:26px;background:linear-gradient(135deg,#242b35,#3b4350);color:#fff;border-radius:30px;padding:38px;box-shadow:var(--shadow)}.cta-inner h2{margin:0 0 8px;color:#fff}.cta-inner p{margin:0;color:#e3e6ea}
@media(max-width:980px){.hero-grid,.split,.solution-hero-grid,.process-grid{grid-template-columns:1fr}.cards,.grid-4,.stats,.footer-grid{grid-template-columns:1fr 1fr}.app{grid-template-columns:1fr}.menu{display:none}.hero{padding-top:60px}.metric-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.cards,.grid-2,.grid-4,.stats,.footer-grid,.flow-list,.mini-dashboard{grid-template-columns:1fr}.nav{height:108px}.topbar .logo{height:92px;max-width:290px;padding:0;transform:translateY(5px)}.topbar .logo:hover{transform:translateY(3px)}.logo{height:46px}.section{padding:54px 0}.footer-grid{gap:16px}.page-head,.doc-item,.cta-inner{display:block}.page-head .btn,.cta-inner .btn{margin-top:16px}.main{padding:20px}.login-box{padding:24px}}

/* Sobre Nós */
.about-hero .hero-actions{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}.about-panel p{color:#596474;margin-top:0}.about-stats div{background:#fff;border-color:#eadde0}.about-stats b{font-size:23px}.section p{color:#566170}.soft-section .split p{font-size:16px}.highlight-card strong{color:var(--ink)}
@media(max-width:620px){.about-hero .hero-actions{display:grid}.section-head{display:block}}
.reverse-split{align-items:center}


/* Notícias */
.news-menu-link{position:relative;display:inline-flex!important;align-items:center;gap:7px}.new-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;background:var(--brand);color:#fff;font-size:10px;font-weight:950;line-height:1;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 0 0 0 rgba(170,20,40,.5)}.blink{animation:newBlink 1s infinite}@keyframes newBlink{0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 rgba(170,20,40,.45)}50%{opacity:.35;transform:scale(.96);box-shadow:0 0 0 6px rgba(170,20,40,0)}}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.news-card{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow-soft);transition:.18s ease;display:flex;flex-direction:column}.news-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.news-card.featured-news{border-color:#f0c9d0;box-shadow:0 18px 46px rgba(170,20,40,.10)}.news-image{height:210px;background:linear-gradient(135deg,#f7f8fa,#e9edf3);overflow:hidden;display:grid;place-items:center}.news-image img{width:100%;height:100%;object-fit:cover;display:block}.news-placeholder span{font-size:28px;font-weight:950;color:var(--brand);letter-spacing:-.03em}.news-content{padding:24px}.news-date{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--brand);margin-bottom:10px}.news-content h3{font-size:23px;line-height:1.12;margin:0 0 12px;color:var(--ink);letter-spacing:-.025em}.news-summary{font-weight:700;color:#4f5967;margin:0 0 14px}.news-body{color:#5b6573;font-size:15px}.news-body br{line-height:1.9}@media(max-width:980px){.news-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.news-grid{grid-template-columns:1fr}.new-badge{position:static}}

/* Imagem flutuante 40 anos - PNG transparente, sem caixa, fixa no centro */
.raivel-40-image-float{
  position:fixed;
  left:50%;
  top:50%;
  z-index:1200;
  display:block;
  width:min(1120px,94vw);
  max-width:94vw;
  text-decoration:none;
  cursor:pointer;
  transform:translate(-50%,-50%) scale(.72);
  transform-origin:center center;
  animation:raivel40ImagePulse var(--raivel-40-duration,20s) ease-in-out forwards;
  filter:drop-shadow(0 22px 34px rgba(21,25,34,.22));
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.raivel-40-image-float img{
  display:block;
  width:100%;
  height:auto;
  max-height:88vh;
  object-fit:contain;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.raivel-40-image-float:hover{
  animation-play-state:paused;
  filter:drop-shadow(0 28px 46px rgba(21,25,34,.32));
}
@keyframes raivel40ImagePulse{
  0%{opacity:0;visibility:visible;left:50%;top:50%;transform:translate(-50%,-50%) scale(.70)}
  8%{opacity:1;left:50%;top:50%;transform:translate(-50%,-50%) scale(.88)}
  28%{opacity:1;left:50%;top:50%;transform:translate(-50%,-50%) scale(1.06)}
  48%{opacity:1;left:50%;top:50%;transform:translate(-50%,-50%) scale(.94)}
  68%{opacity:1;left:50%;top:50%;transform:translate(-50%,-50%) scale(1.03)}
  88%{opacity:1;left:50%;top:50%;transform:translate(-50%,-50%) scale(.92)}
  100%{opacity:0;visibility:hidden;left:50%;top:50%;transform:translate(-50%,-50%) scale(.70)}
}
@media(max-width:760px){
  .raivel-40-image-float{width:min(820px,98vw)}
  .raivel-40-image-float img{max-height:82vh}
}



/* Dados da empresa na página Sobre Nós */
.contact-company-section{background:linear-gradient(135deg,#fff,#f7f8fa)}
.company-contact-card{background:#fff;border:1px solid var(--line);border-radius:30px;padding:32px;box-shadow:var(--shadow-soft)}
.company-contact-title{font-size:22px;font-weight:950;color:var(--ink);margin-bottom:20px;letter-spacing:-.025em}
.company-contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.company-contact-grid div{padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#fafbfc)}
.company-contact-grid span{display:block;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;color:var(--brand);margin-bottom:8px}
.company-contact-grid strong{display:block;color:var(--ink);font-size:16px;line-height:1.35;min-height:22px}
.contact-company-actions{margin-top:22px}
@media(max-width:720px){.company-contact-grid{grid-template-columns:1fr}.company-contact-card{padding:24px}}


/* Missão e Visão */
.mission-vision-panel{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.mission-vision-block{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid var(--line);
  border-radius:24px;
  padding:30px;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}
.mission-vision-block .icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  background:rgba(190,18,60,.09);
  color:var(--accent);
  font-weight:800;
}
.mission-vision-block h3{
  margin:0 0 14px;
}
.mission-vision-block p{
  margin:0 0 14px;
  line-height:1.75;
}
.mission-vision-block p:last-child{
  margin-bottom:0;
}
@media(max-width:900px){
  .mission-vision-panel{grid-template-columns:1fr;}
}

.login-actions{margin-top:18px;text-align:center;font-size:14px}.login-actions a{color:var(--brand);font-weight:850;text-decoration:none}.login-actions a:hover{text-decoration:underline}


/* V35 - GestCOMB imagens proporcionais */
.gestcomb-hero .solution-hero-grid{grid-template-columns:.94fr 1.06fr;gap:42px}
.gestcomb-hero-visual,.gestcomb-screen{margin:0;position:relative;overflow:hidden;border-radius:26px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow)}
.gestcomb-hero-visual{padding:10px;transform:perspective(1200px) rotateY(-4deg);transform-origin:center}
.gestcomb-hero-visual img,.gestcomb-screen img{display:block;width:100%;height:auto}
.gestcomb-hero-visual:after,.gestcomb-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.22),transparent 34%)}
.gestcomb-text-media{align-items:start}
.gestcomb-report-section{grid-template-columns:.82fr 1.18fr;align-items:center}
.gestcomb-screen-wide{padding:8px;max-width:100%}
.gestcomb-gallery-section{overflow:hidden}
.gestcomb-showcase{display:grid;grid-template-columns:1.18fr .82fr;gap:28px;align-items:center}
.gestcomb-screen-featured{padding:8px;max-width:100%}
.gestcomb-screen-featured img{border-radius:18px}
@media(max-width:980px){.gestcomb-hero .solution-hero-grid,.gestcomb-report-section,.gestcomb-showcase{grid-template-columns:1fr}.gestcomb-hero-visual{transform:none}.gestcomb-screen,.gestcomb-hero-visual{border-radius:22px}}
@media(max-width:620px){.gestcomb-hero-visual,.gestcomb-screen{padding:6px;border-radius:18px}.gestcomb-screen-featured img{border-radius:12px}}


/* V39 - Botão de apoio remoto reduzido e alinhado */
.remote-support-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-left:2px;
  vertical-align:middle;
}
.remote-support-button a,
.remote-support-button img,
.remote-support-button input,
.remote-support-button button{
  max-height:42px!important;
  width:auto!important;
  vertical-align:middle!important;
  border-radius:999px!important;
}
.remote-support-button img{
  box-shadow:0 10px 24px rgba(25,31,44,.10);
  transition:.18s ease;
}
.remote-support-button img:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(25,31,44,.15);
}
@media(max-width:980px){.remote-support-button{display:none}}

/* V38 - Menu ajustado e imagem personalizada do Apoio Remoto */
.container{width:min(1440px,96vw)}
.nav{height:120px;gap:18px}
.header-logo-link{flex:0 0 auto;margin-right:10px}
.topbar .logo{height:108px;max-width:330px}
.menu{flex:1;justify-content:flex-end;gap:4px;flex-wrap:nowrap;white-space:nowrap;font-size:12px;min-width:0}
.menu>a,.menu-item>a{white-space:nowrap;flex:0 0 auto;padding:9px 10px;line-height:1}
.menu .btn{padding:11px 14px;white-space:nowrap;flex:0 0 auto}
.news-menu-link{white-space:nowrap}
.remote-support-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;margin-left:4px;line-height:1;white-space:nowrap}
.remote-support-button a{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important}
.remote-support-button img{display:block!important;width:150px!important;max-width:150px!important;height:auto!important;max-height:38px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;object-fit:contain!important;transition:.18s ease;filter:drop-shadow(0 10px 16px rgba(25,31,44,.14))}
.remote-support-button img:hover{transform:translateY(-1px);filter:drop-shadow(0 14px 22px rgba(25,31,44,.20))}
@media(max-width:1280px){.topbar .logo{height:96px;max-width:290px}.menu{font-size:11px;gap:2px}.menu>a,.menu-item>a{padding:8px 8px}.menu .btn{padding:10px 11px}.remote-support-button img{width:138px!important;max-width:138px!important}}
@media(max-width:1100px){.menu{font-size:10.5px}.topbar .logo{height:86px;max-width:250px}.remote-support-button img{width:126px!important;max-width:126px!important}.menu .btn{padding:9px 9px}}
@media(max-width:980px){.menu{display:none}.remote-support-button{display:none}.nav{height:108px}.topbar .logo{height:92px;max-width:290px}}

/* V39 - ajuste adicional para o botão Apoio Remoto não sair das bordas */
.remote-support-button{overflow:visible;max-width:150px}
.remote-support-button img{width:150px!important;max-width:150px!important;max-height:38px!important}
@media(max-width:1280px){.remote-support-button{max-width:138px}.remote-support-button img{width:138px!important;max-width:138px!important}}
@media(max-width:1100px){.remote-support-button{max-width:126px}.remote-support-button img{width:126px!important;max-width:126px!important}}


/* V40 - versão discreta no copyright e botão Apoio Remoto mais compacto */
.site-version{opacity:.45;font-size:11px;margin-left:8px;white-space:nowrap}
.remote-support-button{max-width:112px!important;width:112px!important;min-height:30px!important;height:30px!important;margin-left:4px!important;overflow:hidden!important;flex:0 0 112px!important}
.remote-support-button a{max-width:112px!important;width:112px!important;height:30px!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.remote-support-button img{width:112px!important;max-width:112px!important;height:30px!important;max-height:30px!important;object-fit:contain!important;object-position:center!important;border:0!important;border-radius:8px!important;box-shadow:none!important;filter:drop-shadow(0 6px 10px rgba(25,31,44,.12))!important}
.menu .btn{font-size:11px;padding:10px 11px}
@media(max-width:1280px){.remote-support-button{width:104px!important;max-width:104px!important;flex-basis:104px!important}.remote-support-button a,.remote-support-button img{width:104px!important;max-width:104px!important}.menu .btn{font-size:10.5px;padding:9px 9px}}
@media(max-width:1120px){.remote-support-button{width:96px!important;max-width:96px!important;flex-basis:96px!important}.remote-support-button a,.remote-support-button img{width:96px!important;max-width:96px!important}.menu>a,.menu-item>a{padding-left:6px;padding-right:6px}.menu .btn{padding-left:7px;padding-right:7px}}


/* V41 - Botão Apoio Remoto simplificado, só texto e mesma cor do botão Pedir Demonstração */
.remote-support-button{width:112px!important;max-width:112px!important;min-width:112px!important;height:30px!important;min-height:30px!important;max-height:30px!important;flex:0 0 112px!important;margin-left:4px!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.remote-support-button a{width:112px!important;max-width:112px!important;height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;line-height:0!important}
.remote-support-button img{width:112px!important;max-width:112px!important;height:30px!important;max-height:30px!important;object-fit:contain!important;object-position:center!important;border:0!important;border-radius:15px!important;box-shadow:none!important;background:transparent!important;filter:drop-shadow(0 5px 9px rgba(170,20,40,.20))!important}
.remote-support-button img:hover{transform:translateY(-1px);filter:drop-shadow(0 8px 14px rgba(170,20,40,.28))!important}
@media(max-width:1280px){.remote-support-button{width:106px!important;max-width:106px!important;min-width:106px!important;flex-basis:106px!important}.remote-support-button a,.remote-support-button img{width:106px!important;max-width:106px!important}}
@media(max-width:1120px){.remote-support-button{width:100px!important;max-width:100px!important;min-width:100px!important;flex-basis:100px!important}.remote-support-button a,.remote-support-button img{width:100px!important;max-width:100px!important}}

/* V42 - Botao Apoio Remoto com imagem e area exatamente iguais */
.remote-support-button{
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  flex:0 0 126px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:17px!important;
  line-height:0!important;
  margin-left:4px!important;
}
.remote-support-button a,
.remote-support-button img,
.remote-support-button input,
.remote-support-button button{
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  border-radius:17px!important;
  display:block!important;
  overflow:hidden!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  box-sizing:border-box!important;
}
.remote-support-button img{
  object-fit:fill!important;
  object-position:center!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 8px 14px rgba(170,20,40,.22))!important;
}
.remote-support-button img:hover{transform:translateY(-1px);filter:drop-shadow(0 10px 18px rgba(170,20,40,.30))!important}
@media(max-width:1280px){
  .remote-support-button,.remote-support-button a,.remote-support-button img,.remote-support-button input,.remote-support-button button{width:118px!important;min-width:118px!important;max-width:118px!important;height:32px!important;min-height:32px!important;max-height:32px!important;border-radius:16px!important;flex-basis:118px!important}
}
@media(max-width:1120px){
  .remote-support-button,.remote-support-button a,.remote-support-button img,.remote-support-button input,.remote-support-button button{width:112px!important;min-width:112px!important;max-width:112px!important;height:30px!important;min-height:30px!important;max-height:30px!important;border-radius:15px!important;flex-basis:112px!important}
}


/* V43 - Configuracoes em separadores superiores */
.settings-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 22px;
  padding:10px;
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow-soft);
  position:sticky;
  top:14px;
  z-index:5;
  backdrop-filter:blur(10px);
}
.settings-tab{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:#495465;
  font-weight:900;
  font-size:14px;
  padding:12px 18px;
  border-radius:16px;
  cursor:pointer;
  transition:.18s ease;
  white-space:nowrap;
}
.settings-tab:hover{
  background:#f5f6f8;
  color:var(--brand);
  border-color:#eceff3;
}
.settings-tab.active{
  color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border-color:rgba(170,20,40,.18);
  box-shadow:0 10px 22px rgba(170,20,40,.18);
}
.settings-tab-panel{display:none;}
.settings-tab-panel.active{display:block;animation:settingsFade .18s ease;}
@keyframes settingsFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.settings-tab-panel>.panel{margin-bottom:0;}
@media(max-width:760px){
  .settings-tabs{position:static;gap:8px;padding:8px;}
  .settings-tab{flex:1 1 100%;text-align:center;}
}

#missao-visao,#gestao-comercial,#hotelaria,#restauracao{scroll-margin-top:150px}

/* V45 - Botão Apoio Remoto em cinza #6b7280 */
.remote-support-button img{
  filter:drop-shadow(0 8px 14px rgba(107,114,128,.24))!important;
}
.remote-support-button img:hover{
  filter:drop-shadow(0 10px 18px rgba(107,114,128,.32))!important;
}

.support-request-btn{white-space:nowrap;box-shadow:0 10px 24px rgba(170,20,40,.18)}
@media(max-width:720px){.page-head{gap:14px}.support-request-btn{width:100%;text-align:center}}

/* V48 - Documentos por grupos, utilizadores e pastas */
.actions-cell{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.access-panel h4{margin:8px 0 12px;color:#1f2937}
.access-list{display:grid;gap:10px;max-height:430px;overflow:auto;padding-right:6px}
.check-card{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--line);background:#fff;border-radius:16px;box-shadow:0 8px 22px rgba(15,23,42,.04);cursor:pointer;transition:.16s ease}
.check-card:hover{border-color:rgba(170,20,40,.28);transform:translateY(-1px)}
.check-card input{margin-top:3px;accent-color:var(--brand)}
.check-card span{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.25}
.check-card small{color:#6b7280;font-weight:600}
.check-card.all-clients{margin:0 0 18px;background:linear-gradient(135deg,#fff,#f8f9fb)}
.folder-grid-admin{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.folder-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.folder-icon{font-size:26px;line-height:1;filter:drop-shadow(0 8px 12px rgba(170,20,40,.12))}
.folder-card span{display:block;color:#6b7280;font-size:13px;margin-top:4px}
.folder-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.reserved-folder-list{display:grid;gap:18px}
.reserved-folder{border:1px solid var(--line);border-radius:22px;padding:18px;background:linear-gradient(135deg,#fff,#f9fafb);box-shadow:var(--shadow-soft)}
.reserved-folder-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px;border-bottom:1px solid var(--line);padding-bottom:12px}
.reserved-folder-head h4{margin:0;color:#1f2937;font-size:18px}
.reserved-folder-head p{margin:4px 0 0;color:#6b7280}
@media(max-width:760px){.actions-cell{display:grid}.check-card{padding:11px}.folder-card{grid-template-columns:1fr}.reserved-folder{padding:14px}}


/* v50 - Notícias com período de publicação e pré-visualização */
.news-admin-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:24px;align-items:start}.news-preview-panel{background:linear-gradient(180deg,#fff,#fafafa)}.preview-sticky{position:sticky;top:22px}.admin-news-preview{max-width:520px;margin-top:14px}.admin-date-grid{gap:14px}.admin-date-grid small{display:block;margin-top:7px}.table .pill.ok{background:#e7f7ed;color:#137d3d}.table .pill.red{background:#fff0f2;color:#aa1428}@media(max-width:1050px){.news-admin-layout{grid-template-columns:1fr}.preview-sticky{position:static}.admin-news-preview{max-width:none}}@media(max-width:720px){.admin-date-grid{grid-template-columns:1fr}}


/* v50 - Notícias em cartões resumidos com janela flutuante */
.news-grid-compact{align-items:stretch}.news-card-preview{cursor:pointer;min-height:100%;position:relative}.news-card-preview:focus{outline:3px solid rgba(170,20,40,.25);outline-offset:4px}.news-card-preview:hover .news-read-more{color:#fff;background:var(--brand);border-color:var(--brand)}.news-image-small{height:150px}.news-content-preview{padding:20px}.news-content-preview h3{font-size:20px;margin-bottom:10px}.news-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px}.news-read-more{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:900;color:var(--brand);background:#fff;transition:.18s ease}.news-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:28px}.news-modal.is-open{display:flex}.news-modal-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.55);backdrop-filter:blur(5px)}.news-modal-window{position:relative;z-index:1;width:min(920px,calc(100vw - 34px));max-height:calc(100vh - 54px);overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:28px;box-shadow:0 28px 80px rgba(17,24,39,.34)}.news-modal-close{position:absolute;right:18px;top:16px;z-index:2;width:42px;height:42px;border:0;border-radius:999px;background:rgba(255,255,255,.92);color:#111827;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 8px 22px rgba(17,24,39,.14)}.news-modal-close:hover{background:var(--brand);color:#fff}.news-modal-image{height:300px;background:linear-gradient(135deg,#f7f8fa,#e9edf3);overflow:hidden}.news-modal-image img{width:100%;height:100%;object-fit:cover;display:block}.news-modal-content{padding:34px}.news-modal-content h2{font-size:clamp(28px,4vw,44px);line-height:1.05;letter-spacing:-.04em;margin:0 0 14px;color:var(--ink)}.news-modal-summary{font-size:18px;font-weight:800;color:#4f5967;margin:0 0 20px}.news-modal-body{font-size:16px;line-height:1.8;color:#4b5563}.news-modal-body br{line-height:2}.news-modal-open{overflow:hidden}@media(max-width:620px){.news-modal{padding:14px}.news-modal-window{border-radius:22px;max-height:calc(100vh - 28px)}.news-modal-image{height:190px}.news-modal-content{padding:24px}.news-modal-close{right:12px;top:12px}}


/* v51 - Documentos em árvore e visualização de ficheiros */
.btn.small{padding:7px 10px;font-size:12px;border-radius:12px}
.doc-tree-admin{border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#fff,#f9fafb);padding:14px;overflow:auto}
.doc-tree-list,.client-doc-tree{list-style:none;margin:0;padding-left:24px;position:relative}
.doc-tree-root,.client-doc-root{padding-left:0}
.doc-tree-list:before,.client-doc-tree:before{content:"";position:absolute;left:10px;top:0;bottom:0;border-left:1px dashed #d8dde5}
.doc-tree-root:before,.client-doc-root:before{display:none}
.doc-tree-node{margin:8px 0}
.tree-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border:1px solid #e7eaf0;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04);transition:.16s ease}
.tree-row:hover{border-color:rgba(170,20,40,.22);box-shadow:0 12px 30px rgba(15,23,42,.07)}
.tree-row.drop-hover{background:#fff5f6;border-color:var(--brand);box-shadow:0 14px 34px rgba(170,20,40,.16)}
.root-drop-target{margin-bottom:12px;background:#f4f6f8}
.tree-handle{color:#9aa3af;cursor:grab;font-weight:900;letter-spacing:-2px}
.tree-icon{font-size:20px;line-height:1;display:inline-flex;width:24px;justify-content:center}
.tree-title{font-weight:900;color:#1f2937;min-width:150px}
.tree-meta{color:#6b7280;font-size:13px;flex:1;min-width:120px}
.tree-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.doc-tree-node.dragging{opacity:.45}
.client-folder-node{margin:10px 0}
.client-folder-node summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 8px 22px rgba(15,23,42,.04)}
.client-folder-node summary strong{display:block;color:#1f2937}
.client-folder-node summary small{display:block;color:#6b7280;margin-top:3px;font-size:13px}
.reserved-doc-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0;padding:13px 14px;border:1px solid #e7eaf0;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.035)}
.reserved-doc-row strong{color:#1f2937;margin-left:4px}
.reserved-doc-row small{display:block;margin:5px 0 0 32px;color:#6b7280;font-size:13px;font-weight:700}
.reserved-doc-row p{margin:6px 0 0 32px;color:#4b5563;font-size:14px;line-height:1.45}
.reserved-doc-actions{display:flex;gap:8px;white-space:nowrap}
.video-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:28px}
.video-modal.open{display:flex}
.video-modal-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.62);backdrop-filter:blur(6px)}
.video-modal-card{position:relative;z-index:1;width:min(960px,calc(100vw - 36px));background:#111827;border-radius:26px;box-shadow:0 28px 80px rgba(17,24,39,.4);padding:22px;border:1px solid rgba(255,255,255,.16)}
.video-modal-card h3{color:#fff;margin:0 52px 16px 0;font-size:22px}
.video-modal-card video{width:100%;max-height:72vh;border-radius:18px;background:#000;display:block}
.video-modal-close{position:absolute;right:16px;top:14px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#111827;font-size:28px;line-height:1;cursor:pointer}
.video-modal-close:hover{background:var(--brand);color:#fff}
@media(max-width:780px){.tree-row,.reserved-doc-row{align-items:flex-start;flex-direction:column}.tree-actions,.reserved-doc-actions{width:100%;justify-content:flex-start}.doc-tree-list,.client-doc-tree{padding-left:14px}.tree-title{min-width:0}.tree-meta{min-width:0}.video-modal{padding:14px}.video-modal-card{border-radius:20px;padding:16px}}


/* Pesquisa na área reservada */
.reserved-search-form{display:flex;gap:10px;align-items:center;margin:18px 0 20px;flex-wrap:wrap}.reserved-search-form .input{flex:1 1 420px;min-width:260px}.reserved-search-form .btn{white-space:nowrap}@media(max-width:620px){.reserved-search-form{display:grid}.reserved-search-form .input{min-width:0;width:100%}}


/* v57 - Documentos e ficheiros em separadores */
.doc-admin-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 22px;
  padding:10px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow-soft);
  position:sticky;
  top:14px;
  z-index:6;
  backdrop-filter:blur(10px);
}
.doc-admin-tab{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:#495465;
  font-weight:900;
  font-size:14px;
  padding:12px 18px;
  border-radius:16px;
  cursor:pointer;
  transition:.18s ease;
  white-space:nowrap;
}
.doc-admin-tab:hover{background:#f5f6f8;color:var(--brand);border-color:#eceff3}
.doc-admin-tab.active{color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2));border-color:rgba(170,20,40,.18);box-shadow:0 10px 22px rgba(170,20,40,.18)}
.doc-admin-tab-panel{display:none!important}
.doc-admin-tab-panel.active{display:block!important;animation:settingsFade .18s ease}
.grid-2.doc-admin-tab-panel.active{display:grid!important}
@media(max-width:760px){.doc-admin-tabs{position:static;gap:8px;padding:8px}.doc-admin-tab{flex:1 1 100%;text-align:center}}

/* v57 - Linhas mais finas na árvore da área reservada */
.reserved-tree-wrap .client-folder-node{margin:5px 0}
.reserved-tree-wrap .client-folder-node summary{padding:8px 11px;border-radius:12px;min-height:34px;box-shadow:0 4px 12px rgba(15,23,42,.028)}
.reserved-tree-wrap .client-folder-node summary small{margin-top:1px;font-size:12px;line-height:1.25}
.reserved-tree-wrap .reserved-doc-row{margin:4px 0;padding:7px 10px;border-radius:12px;min-height:34px;box-shadow:0 4px 12px rgba(15,23,42,.025);gap:10px}
.reserved-tree-wrap .reserved-doc-row .tree-icon{font-size:17px;width:20px}
.reserved-tree-wrap .reserved-doc-row strong{font-size:14px;line-height:1.2;margin-left:2px}
.reserved-tree-wrap .reserved-doc-row small{font-size:11.5px;margin:2px 0 0 24px;line-height:1.25}
.reserved-tree-wrap .reserved-doc-row p{font-size:12.5px;line-height:1.3;margin:3px 0 0 24px}
.reserved-tree-wrap .reserved-doc-actions .btn{padding:6px 10px;font-size:12px;border-radius:11px}
.reserved-tree-wrap .client-doc-tree{padding-left:18px}
@media(max-width:780px){.reserved-tree-wrap .reserved-doc-row{padding:8px 10px}.reserved-tree-wrap .client-doc-tree{padding-left:12px}}

/* v59 - Proteção do admin e confirmação da base de dados */

/* v60 - Estado Ativo/Suspenso em clientes */
.badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.badge.ok{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}
.badge.danger{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}

/* v64 - Correcao robusta Documentos e Ficheiros */


/* V65 - Botao Apoio Remoto sem brilho, totalmente em tons de cinzento */
.remote-support-button,
.remote-support-button a{
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  flex:0 0 126px!important;
  border-radius:17px!important;
  overflow:hidden!important;
  background:#6b7280!important;
  box-shadow:none!important;
  filter:none!important;
}
.remote-support-button img{
  width:126px!important;
  min-width:126px!important;
  max-width:126px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  border-radius:17px!important;
  object-fit:cover!important;
  background:#6b7280!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}
.remote-support-button img:hover,
.remote-support-button:hover img{
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* v69 - Google Maps na página Contactos */
.contact-page-grid{align-items:start}
.contact-details-card{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px 22px;box-shadow:var(--shadow-soft)}
.contact-details-card p{margin:8px 0;color:var(--muted);line-height:1.55}
.contact-details-card b{color:var(--ink)}
.map-card{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:26px;padding:18px;box-shadow:var(--shadow-soft);overflow:hidden}
.map-card-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.map-card-header h3{margin:0;font-size:18px;letter-spacing:-.02em}
.map-card-header a{font-size:13px;font-weight:850;color:var(--brand);white-space:nowrap}
.google-map-box{position:relative;width:100%;height:320px;border-radius:20px;overflow:hidden;background:#eef0f3;border:1px solid var(--line)}
.google-map-box iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:780px){.google-map-box{height:280px}.map-card-header{align-items:flex-start;flex-direction:column}}

/* v69 - Estrela 40 anos fixa ao centro, cresce/decresce e fecha apos a duracao configurada. */

/* v70 - Acoes de documentos/pastas em arvore */
.inline-action-form{display:inline-flex;margin:0}
.btn.danger{background:#fff;border-color:#fecaca;color:#b91c1c}
.btn.danger:hover{background:#b91c1c;border-color:#b91c1c;color:#fff}
.tree-actions .inline-action-form{display:inline-flex}
.actions-cell .inline-action-form{display:inline-flex;margin-left:8px}


/* v73 - Arvore de documentos mais compacta e acessos com linhas finas */
.doc-tree-admin{padding:10px;border-radius:16px}
.doc-tree-list{padding-left:18px}
.doc-tree-node{margin:3px 0}
.doc-tree-admin .tree-row{min-height:28px;padding:5px 8px;border-radius:10px;gap:6px;box-shadow:none;font-size:12.5px}
.doc-tree-admin .tree-row:hover{box-shadow:0 4px 12px rgba(15,23,42,.045)}
.doc-tree-admin .root-drop-target{margin-bottom:7px}
.doc-tree-admin .tree-icon{font-size:15px;width:18px}
.doc-tree-admin .tree-handle{font-size:12px}
.doc-tree-admin .tree-title{font-size:12.5px;min-width:120px;font-weight:800}
.doc-tree-admin .tree-meta{font-size:11.5px;line-height:1.2;min-width:90px}
.doc-tree-admin .tree-actions{gap:4px}
.doc-tree-admin .tree-actions .btn.small,.doc-tree-admin .btn.small{padding:4px 6px;font-size:10.5px;border-radius:8px;line-height:1.15}
.access-panel .grid-2{gap:12px}
.access-panel h4{font-size:14px;margin:8px 0}
.access-panel .access-list{display:grid;gap:5px}
.access-panel .check-card{min-height:28px;padding:6px 8px;border-radius:10px;font-size:12.5px;line-height:1.2;gap:7px}
.access-panel .check-card input{width:14px;height:14px}
.access-panel .check-card strong{font-size:12.5px;font-weight:800}
.access-panel .check-card small{font-size:11px;line-height:1.15;margin-top:1px}
.access-panel .all-clients{margin-bottom:10px}
@media(max-width:780px){.doc-tree-admin .tree-row{padding:6px 8px}.doc-tree-admin .tree-actions{width:100%;justify-content:flex-start}.access-panel .check-card{align-items:flex-start}}

/* v73 - Destaque de notícias com piscar e período próprio */
.featured-label{display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;border-radius:999px;background:#aa1428;color:#fff;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;vertical-align:middle}.news-date .featured-label{margin-left:4px}.featured-date-fields{margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:#fafafa}

/* V74 - Apoio Remoto removido do menu principal e colocado no login da Area Reservada */
.login-remote-support{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:8px}
.login-remote-support .small-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.login-remote-support .remote-support-button{display:inline-flex!important;margin:0!important;width:150px!important;max-width:150px!important;min-width:150px!important;height:40px!important;min-height:40px!important;max-height:40px!important;flex:0 0 auto!important}
.login-remote-support .remote-support-button a,.login-remote-support .remote-support-button img,.login-remote-support .remote-support-button input,.login-remote-support .remote-support-button button{width:150px!important;max-width:150px!important;min-width:150px!important;height:40px!important;max-height:40px!important;min-height:40px!important;border-radius:20px!important;display:inline-flex!important}
@media(max-width:980px){.login-remote-support .remote-support-button{display:inline-flex!important}}

/* v79 - Menu principal responsivo com hambúrguer quando não cabe na horizontal */
.nav{position:relative}
.mobile-menu-toggle{
  display:none;
  width:46px;
  height:42px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  margin-left:auto;
  z-index:35;
  color:var(--ink);
}
.mobile-menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .18s ease, opacity .18s ease;
}
.topbar.menu-open .mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.topbar.menu-open .mobile-menu-toggle span:nth-child(2){opacity:0}
.topbar.menu-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.topbar.menu-checking .menu{display:flex!important;visibility:hidden!important;position:static!important;pointer-events:none!important}
.topbar.menu-checking .mobile-menu-toggle{display:none!important}
.topbar.menu-collapsed .mobile-menu-toggle{display:inline-flex!important}
.topbar.menu-collapsed .menu{
  display:none!important;
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  right:0;
  width:100%;
  max-height:calc(100vh - 132px);
  overflow:auto;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:8px;
  padding:14px;
  background:rgba(255,255,255,.98);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 24px 70px rgba(15,23,42,.18);
  white-space:normal;
  z-index:32;
}
.topbar.menu-collapsed.menu-open .menu{display:flex!important}
.topbar.menu-collapsed .menu>a,
.topbar.menu-collapsed .menu-item>a,
.topbar.menu-collapsed .menu .btn{
  display:flex;
  width:100%;
  justify-content:space-between;
  align-items:center;
  padding:13px 14px;
  border-radius:14px;
  font-size:15px;
  line-height:1.2;
  white-space:normal;
}
.topbar.menu-collapsed .menu-item{display:block;width:100%}
.topbar.menu-collapsed .menu-item>a:after{margin-left:auto}
.topbar.menu-collapsed .submenu{
  position:static;
  display:none;
  min-width:0;
  width:100%;
  margin:6px 0 4px;
  padding:8px;
  border-radius:16px;
  box-shadow:none;
  border:1px solid var(--line);
  background:#f8fafc;
}
.topbar.menu-collapsed .menu-item.open .submenu,
.topbar.menu-collapsed .menu-item:focus-within .submenu{display:flex}
.topbar.menu-collapsed .submenu a{padding:11px 12px;border-radius:12px}
@media(max-width:980px){
  .topbar .mobile-menu-toggle{display:inline-flex!important}
  .topbar .menu{
    display:none!important;
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    width:100%;
    max-height:calc(100vh - 132px);
    overflow:auto;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:8px;
    padding:14px;
    background:rgba(255,255,255,.98);
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:0 24px 70px rgba(15,23,42,.18);
    white-space:normal;
    z-index:32;
  }
  .topbar.menu-open .menu{display:flex!important}
  .topbar .menu>a,
  .topbar .menu-item>a,
  .topbar .menu .btn{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    padding:13px 14px;
    border-radius:14px;
    font-size:15px;
    line-height:1.2;
    white-space:normal;
  }
  .topbar .menu-item{display:block;width:100%}
  .topbar .menu-item>a:after{margin-left:auto}
  .topbar .submenu{
    position:static;
    display:none;
    min-width:0;
    width:100%;
    margin:6px 0 4px;
    padding:8px;
    border-radius:16px;
    box-shadow:none;
    border:1px solid var(--line);
    background:#f8fafc;
  }
  .topbar .menu-item.open .submenu,
  .topbar .menu-item:focus-within .submenu{display:flex}
  .topbar .submenu a{padding:11px 12px;border-radius:12px}
}
@media(max-width:620px){
  .mobile-menu-toggle{width:44px;height:40px}
  .topbar .menu,.topbar.menu-collapsed .menu{border-radius:18px;padding:12px;max-height:calc(100vh - 116px)}
}

/* v81 - Logotipo clicavel nos logins para regressar ao inicio do website */
.login-logo-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:18px;transition:transform .15s ease, box-shadow .15s ease}
.login-logo-link:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.08)}
.login-logo-link:focus-visible{outline:3px solid rgba(170,20,40,.25);outline-offset:4px}
.login-logo-link img{display:block}


/* V81 - Atalhos externos no dashboard da administracao */
.dashboard-shortcuts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:0 0 22px;
}
.dashboard-shortcut-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:92px;
  padding:22px 24px;
  border-radius:22px;
  border:1px solid rgba(170,20,40,.16);
  background:linear-gradient(135deg,#ffffff 0%,#fff7f8 100%);
  box-shadow:0 16px 38px rgba(15,23,42,.08);
  text-decoration:none;
  color:var(--ink);
  transition:.18s ease;
}
.dashboard-shortcut-card:hover{
  transform:translateY(-2px);
  border-color:rgba(170,20,40,.34);
  box-shadow:0 22px 48px rgba(15,23,42,.12);
}
.dashboard-shortcut-card span{
  font-size:17px;
  font-weight:950;
  letter-spacing:-.02em;
  color:var(--brand);
}
.dashboard-shortcut-card small{
  font-size:13px;
  font-weight:750;
  color:#5b6573;
}
@media(max-width:760px){.dashboard-shortcuts{grid-template-columns:1fr}.dashboard-shortcut-card{min-height:auto}}
