/* Portal SAMAE: camada responsiva sobre as telas e componentes existentes. */
:root { --ink:#163d59; --muted:#526c80; --brand:#176da8; --accent:#2388c2; --line:#dce7ee; }
html { scroll-behavior:smooth; }
body { margin:0; background:#f3f7f9 !important; color:var(--ink); font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif; }
body * { box-sizing:border-box; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid #d68a13; outline-offset:4px; }
img { max-width:100%; }
.skip-content { position:absolute; top:-100px; left:16px; z-index:9999; background:white; padding:12px; }
.skip-content:focus { top:10px; }
#barraTop,#topo,#contentSite,#rodape,#assinatura { width:min(1180px,calc(100% - 48px)); margin-inline:auto; }
#contentBarraTop { background:var(--brand); height:auto; min-height:56px; }
#barraTop { display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
#barraTopEsq { order:-1; width:auto; float:none; }
#barraTopDireita { width:240px; float:none; }
#nav { position:relative; width:auto !important; }
#nav > ul { display:flex; flex-wrap:wrap; }
#nav > ul > li { background:none; }
#nav li a { font:500 14px/1.5 system-ui,sans-serif; padding:8px 14px; }
#nav > ul > li > a { border:0 !important; }
#nav li ul { min-width:240px; z-index:100; border-radius:8px; }
#nav li:focus-within > ul { display:block; }
#busca { width:100%; right:0; height:auto; margin:0; }
#busca fieldset { width:100%; float:none; border:0; padding:0; }
#doFind { display:flex; background:white; border-radius:7px; overflow:hidden; }
#busca input { width:100%; min-width:0; height:36px; border:0; padding:8px 12px; background:white; color:var(--ink); }
#busca button { border:0; background:white; color:var(--brand); padding:6px 12px; }
#barraTop #navTop { float:none; width:100%; margin:0; padding:0; }
#busca input[type=text] { width:100%; padding:8px 12px; height:36px; float:none; color:var(--ink); }
#busca fieldset form button#findSubmit { float:none; margin:0; width:40px; height:36px; flex-shrink:0; color:var(--brand); }
#contentTopo { height:auto; background:white; border-bottom:1px solid var(--line); }
#topo { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 0; }
#topoEsquerda { display:flex; align-items:center; gap:20px; width:auto; float:none; }
#logo { width:140px; margin:0; float:none; flex-shrink:0; }
#textoLogo { width:auto; left:0; margin:0; float:none; }
#textoLogo span { font:600 14px/1.4 system-ui,sans-serif !important; color:var(--brand); text-shadow:none; }
#textoLogo .textoLogo_secondline { font-size:19px !important; font-weight:750 !important; }
#textoLogo .textoLogo_thirdline { color:var(--muted); font-size:13px !important; }
#topoDireita { float:none; width:auto; }
#linhaBusca { float:none; margin:0; width:auto; height:auto; }
#navTop { display:flex; flex-wrap:wrap; gap:16px; }
#navTop li a,#navTop li.telefone { font:500 13px/1.5 system-ui,sans-serif; color:var(--brand); text-shadow:none; padding:0; }
#infosTopo { display:none; }
#contentSite { display:grid; grid-template-columns:240px minmax(0,1fr); gap:24px; padding:0 0 64px; }
.portal-intro { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:48px 0 10px; }
.portal-eyebrow { color:var(--accent); font-size:12px; font-weight:750; letter-spacing:.12em; }
.portal-intro h1 { font:750 clamp(30px,4vw,48px)/1.12 system-ui,sans-serif; color:var(--ink); margin:14px 0; letter-spacing:-.035em; text-transform:none; }
.portal-intro p { color:var(--muted); margin:0; font-size:16px; }
.portal-primary { display:flex; align-items:center; gap:28px; background:var(--brand); color:white; padding:15px 24px; border-radius:8px; font-weight:650; white-space:nowrap; }
.quick-services { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:4px 0 16px; }
.quick-services a { display:grid; gap:6px; background:white; border:1px solid var(--line); border-radius:12px; padding:22px; color:var(--ink); transition:transform .2s,border-color .2s; }
.quick-services a:hover { transform:translateY(-3px); border-color:var(--accent); }
.quick-services span { color:var(--accent); font-size:26px; }
.quick-services strong { font-size:15px; }
.quick-services small { font-size:12px; color:var(--muted); }
.portal-menu-toggle { display:none; }
#colEsquerda,#colDireita { float:none; width:100%; height:auto; min-width:0; margin:0; display:block; position:relative; left:auto; right:auto; }
#colEsquerda { padding:0; background:none; border-radius:0; }
#colDireita { background:white; border:1px solid var(--line); border-radius:14px; padding:24px; overflow:hidden; }
#menuEsquerda { width:100%; margin:0; background:white; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
#menuEsquerda ul { float:none; width:100%; }
#menuEsquerda li { float:none; width:100%; }
#menuEsquerda li.menuPrincipal { padding:18px 20px; font:750 12px/1.4 system-ui,sans-serif; letter-spacing:.08em; background:#eaf2f5; color:var(--brand); }
#menuEsquerda li.menu a { display:block; padding:12px 20px; background:white; color:var(--ink); font:450 14px/1.5 system-ui,sans-serif; border:0; border-bottom:1px solid #edf2f5; }
#galeriaFotos { margin-top:24px; border-radius:12px; overflow:hidden; }
#slidesHome { width:100%; border:0; float:none; display:block; }
#masterslider { max-width:100%; }
.samae-banners{overflow:hidden;border:1px solid #dce6ef;border-radius:12px;background:#fff}
.samae-banner-panel[hidden]{display:none!important}.samae-banner-panel img{display:block;width:100%;height:auto}.samae-banner-panel a{display:block}.samae-banner-panel a:focus-visible{outline:4px solid #f5bf4a;outline-offset:-4px}
.samae-banner-tabs{display:flex;background:#f0f5fa;gap:1px;border-top:1px solid #dce6ef}
.samae-banner-tabs button{flex:1;min-width:0;min-height:64px;margin:0;border:0;border-top:3px solid transparent;border-radius:0;padding:14px 10px;font:650 14px/1.4 system-ui,sans-serif;color:#365d7d;background:#f0f5fa;cursor:pointer}
.samae-banner-tabs button[aria-selected=true]{border-top-color:#2ba5d9;background:#163e67;color:#fff}.samae-banner-tabs button:focus-visible{outline:3px solid #2ba5d9;outline-offset:-4px}
@media(max-width:600px){.samae-banner-panel img{aspect-ratio:700/680;object-fit:contain}.samae-banner-tabs button{font-size:12px;padding:12px 7px;min-height:64px}}
#noticias,#avisos,#destaquesBottom,#previsaoTempoHor { width:100%; float:none; left:0; right:0; margin:28px 0 0; }
#destaquesBottom,#previsaoTempoHor { display:flow-root; min-width:0; clear:both; }
#colDireita h1,#colDireita h2,#galeriaFotos h1 { color:var(--brand); font:750 22px/1.3 system-ui,sans-serif; text-transform:none; margin:22px 0; padding:0; }
#noticias { display:flow-root; }
#cx_noticiaEsq,#cx_noticiaDir { width:48%; padding:12px 0; }
#noticias .titulos a { color:var(--ink); font:650 16px/1.45 system-ui,sans-serif; }
#noticias img { width:110px; height:90px; object-fit:cover; margin-right:14px; border-radius:8px; }
#colDireita #contentPage { display:flow-root; padding:0; width:100%; min-width:0; max-width:100%; height:auto; overflow:visible; overflow-wrap:anywhere; }
#contentPage h1 { clear:both; padding-bottom:14px; border-bottom:1px solid var(--line); }
#contentPage h2,#contentPage h3,#contentPage h5 { color:var(--ink); line-height:1.45; }
#contentPage h5 { font-size:22px; margin:18px 0; }
#contentPage .texto { font:400 16px/1.8 system-ui,sans-serif; text-align:left; }
#contentPage table { max-width:100%; width:100%; table-layout:fixed; }
#contentPage td { overflow-wrap:anywhere; }
#contentPage .downloadTable { table-layout:auto; width:100%; margin:20px 0; padding:14px; border:1px solid var(--line); border-radius:8px; background:#f3f8fc; }
#contentPage .downloadTable td { padding:8px; }
#contentPage .downloadTable .iconDownload { width:40px; }
#contentPage .downloadTable .itemDownload a { color:#175493; font-size:14px; line-height:1.6; }
#contentPage #listReports,#contentPage #listDowns,#contentPage #listAgents,#contentPage #listEquipe,#contentPage #listBidding { display:flow-root; width:100%; padding:0; margin:0; }
#contentPage #listReports li.itemReport,#contentPage #listDowns li.itemDown,#contentPage li.itemLicitacoes { display:flow-root; float:none; width:100%; margin:12px 0; padding:16px; border:1px solid var(--line); border-radius:8px; background:#f6f9fc; }
#contentPage #listReports li.itemReport .titulos a,#contentPage #listDowns .titulos a { font:650 16px/1.6 system-ui,sans-serif; color:#175493; }
#contentPage .detailDowns { font-size:12px; color:var(--muted); padding:8px 0; }
#contentPage .cx_news { display:flow-root; padding:16px 0; border-bottom:1px solid var(--line); }
#contentPage .cx_news .titulos a { font:650 16px/1.6 system-ui,sans-serif; color:var(--ink); }
#contentPage .itemFaq { padding:16px; border:1px solid var(--line); border-radius:8px; }
#contentPage .itemFaq .cx_faq .ask { font:650 17px/1.5 system-ui,sans-serif; color:var(--ink); }
#contentPage .itemFaq .cx_faq .answer { font:400 15px/1.8 system-ui,sans-serif; color:var(--muted); margin:12px 0; }
#contentPage input[type=text],#contentPage input[type=email],#contentPage input[type=password],#contentPage textarea,#contentPage select { border:1px solid #afc9dc; border-radius:6px; padding:10px; min-height:44px; font-size:16px; }
#contentPage button[type=submit],#contentPage button#enviar { background:#176da8; color:white; border:0; border-radius:6px; padding:12px 18px; height:auto !important; min-height:44px; }
@media(max-width:640px) {
 #contentPage .colLeft,#contentPage .colRight { float:none; width:100%; padding:0; margin:0 0 24px; }
 #contentPage #sendContato input:not([type=hidden]),#contentPage #sendContato textarea { width:100%; }
 #contentPage .legenda { float:none; max-width:100%; margin:0 0 18px; }
 #contentPage #listEquipe li.itemEquipe,#contentPage #listEquipe li.itemPonto { float:none; width:100%; margin:12px 0; }
 #contentPage #listEquipe li [class] { height:auto; }
 #contentPage .iPicture { max-width:100%; }
}
#colDireita #contentPage:has(.water-reports) { display:flow-root; width:100%; height:auto; overflow:visible; }
.water-reports { display:block; width:100%; min-width:0; }
.reports-intro { color:var(--muted); font-size:14px; line-height:1.7; margin:0 0 24px; }
.reports-categories { display:grid; gap:16px; }
.report-category { border:1px solid var(--line); border-radius:9px; overflow:hidden; }
.report-category summary { display:flex; align-items:center; gap:12px; cursor:pointer; padding:16px; background:#edf6fc; color:#175493; font:650 16px/1.5 system-ui,sans-serif; list-style:none; }
.report-category summary::-webkit-details-marker { display:none; }
.report-category summary span { flex:1; min-width:0; overflow-wrap:anywhere; }
.report-category summary::after { content:'+'; font-size:22px; }
.report-category[open] summary::after { content:'−'; }
.report-category summary:focus-visible { outline:3px solid #d68a13; outline-offset:-3px; }
.report-category-body { padding:18px; }
.report-description { color:var(--muted); font-size:14px; overflow-wrap:anywhere; }
.report-description:empty { display:none; }
.report-category-body label { display:block; margin:12px 0 8px; color:var(--ink); font:600 14px/1.5 system-ui,sans-serif; }
.report-category-body select { display:block; width:100%; max-width:100%; min-height:46px; border:1px solid #afc9dc; border-radius:6px; padding:10px 12px; color:var(--ink); background:white; font:400 16px system-ui,sans-serif; }
#contentPage input:not([type=checkbox]):not([type=radio]),#contentPage textarea,#contentPage select { max-width:100%; }
#contentPage iframe { max-width:100%; }
#contentRodape { background:#073c51; margin:0; padding:32px 0; }
#rodape,#navRodape { height:auto; background:none; }
#navRodape { width:100%; }
#navRodape a,#navRodape li { color:#d4e6ee; font-family:system-ui,sans-serif; }
#navRodape li.principal { color:white; font-weight:700; }
#contentAssinatura { background:#052e40; color:#c4d9e2; }
#assinatura { font-size:12px; }
#logoRodape { max-width:160px; }
@media(max-width:900px) {
 #topo { padding:20px 0; } #topoDireita { display:none; }
 #contentSite { grid-template-columns:210px minmax(0,1fr); gap:18px; }
 .quick-services { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .portal-intro { padding-top:32px; } .portal-primary { padding:14px; font-size:13px; }
 #cx_noticiaEsq,#cx_noticiaDir { width:100%; float:none; display:flow-root; }
}
@media(max-width:640px) {
 #barraTop,#topo,#contentSite,#rodape,#assinatura { width:calc(100% - 32px); }
 #barraTop { display:block; } #barraTopEsq { display:none; } #barraTopDireita { width:100%; }
 #logo { width:96px; } #topoEsquerda { gap:14px; } #textoLogo .textoLogo_secondline { font-size:16px !important; } #textoLogo span { font-size:11px !important; }
 #contentSite { grid-template-columns:minmax(0,1fr); gap:16px; }
 .portal-intro { display:block; padding:28px 0 4px; } .portal-intro p { font-size:14px; }
 .portal-primary { display:inline-flex; margin-top:22px; padding:12px 18px; }
 .quick-services { gap:10px; margin:4px 0; } .quick-services a { padding:16px 12px; } .quick-services strong { font-size:13px; }
 .portal-menu-toggle { display:block; width:100%; text-align:left; border:1px solid var(--line); padding:14px 16px; border-radius:8px; background:white; color:var(--brand); font:650 15px system-ui,sans-serif; }
 #colEsquerda { display:none; } #colEsquerda.is-open { display:block; }
 #colDireita { padding:14px; border-radius:10px; }
 #contentSite .ms-thumb-list { max-width:100%; } #noticias img { width:92px; height:80px; }
 #navRodape table,#navRodape tbody,#navRodape tr,#navRodape td { display:block; width:100%; }
 #navRodape tr:first-child { display:none; } #navRodape td { margin:0 0 20px; }
 #assinatura > div { float:none; width:100%; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .quick-services a { transition:none; } }

/* Revisão visual: estrutura compacta, azul institucional e rodapé legível. */
#barraTop,#topo,#contentSite,#rodape,#assinatura { max-width:1080px; }
#topo { padding:22px 0; }
#logo { width:118px; }
#contentSite { grid-template-columns:220px minmax(0,1fr); gap:18px; padding-top:22px; padding-bottom:32px; }
.quick-services { background:linear-gradient(110deg,#175493,#167fbc); border:0; border-radius:10px; gap:0; margin:0; box-shadow:0 5px 16px #174d7a18; }
.quick-services a { padding:19px 18px; border:0; border-right:1px solid #ffffff38; border-radius:0; gap:6px; background:transparent; color:white; }
.quick-services a:last-child { border-right:0; }
.quick-services a:hover { transform:none; background:#ffffff15; }
.quick-services span { font-size:23px; line-height:1.2; color:#bceafa; }
.quick-services small { color:#e4f3fc; }
.quick-services strong { font-size:14px; }
#colDireita { border-radius:8px; padding:18px; }
#menuEsquerda { border-radius:8px; }
#menuEsquerda li.menuPrincipal { padding:12px 16px; }
#menuEsquerda li.menu a { padding:10px 16px; font-size:13px; }
#contentRodape { background:#edf4f9; border-top:3px solid var(--brand); padding:26px 0; }
#navRodape table,#navRodape tbody { display:block; width:100%; border:0; }
#navRodape tr:first-child { display:none; }
#navRodape tr { display:grid; grid-template-columns:130px 1fr 1.4fr 1.1fr; gap:28px; }
#navRodape td { display:block; width:auto; margin:0; padding:0; min-width:0; }
#navRodape ul { display:block; float:none; width:100%; margin:0 0 18px; }
#navRodape li.principal { float:none; width:auto; margin:0 0 10px; padding:0; color:#164b75; font:750 15px/1.4 system-ui,sans-serif; }
#navRodape li.menu,#navRodape li.menu a { float:none; clear:none; width:auto; margin:0; padding:0; color:#314e65; font:400 13px/1.65 system-ui,sans-serif; overflow-wrap:anywhere; }
#navRodape li.menu { margin-bottom:5px; }
#navRodape li.menu a { display:inline; }
#navRodape li.menu a:hover { color:#075895; text-decoration:underline; }
#navRodape .footer-social { margin-top:14px; }
#navRodape .footer-social:not(:has(a)) { display:none; }
#navRodape .footer-social h3 { color:#164b75; font:750 15px system-ui,sans-serif; margin:0 0 10px; }
#logoRodape { float:none; width:120px; margin:0; }
#contentAssinatura { background:#175a89; color:white; }
#assinatura,#assinatura a,#assinatura div { color:white; font:400 11px/1.5 system-ui,sans-serif; }
#contentBarraTop { background:#174d80; border:0; }
#nav > ul > li:hover > a,#nav li:focus-within > a { background:#ffffff15; border-radius:5px; }
#nav li ul { background:#174d80; }
#topoDireita #navTop { align-items:center; justify-content:flex-end; gap:14px; }
#navTop li.telefone { float:none; padding:10px 18px; border-left:3px solid #2697cf; background:#edf7fd; border-radius:0 8px 8px 0; }
#navTop .phone-label { display:block; color:#496b84; font:650 12px/1.5 system-ui,sans-serif; letter-spacing:.04em; }
#navTop li.telefone a.phone-number { display:block; color:#175493; padding:0; font:750 25px/1.5 system-ui,sans-serif; white-space:nowrap; }
@media(max-width:900px) { #navRodape tr { grid-template-columns:110px 1fr 1.2fr 1fr; gap:18px; } }
@media(max-width:640px) {
 #contentSite { grid-template-columns:minmax(0,1fr); padding-top:16px; gap:14px; }
 #topo { padding:14px 0; } #logo { width:88px; }
 .quick-services a { padding:12px; } .quick-services a:nth-child(2) { border-right:0; }
 .quick-services a:nth-child(-n+2) { border-bottom:1px solid var(--line); }
 .quick-services strong { font-size:13px; }
 #navRodape tr { grid-template-columns:1fr 1fr; gap:20px; }
 #navRodape td:first-child { grid-column:1/-1; }
 #navRodape td:last-child { grid-column:1/-1; }
 #logoRodape { width:92px; }
}
@media(max-width:900px) {
 #topo { flex-wrap:wrap; gap:14px; }
 #topoDireita { display:block; width:100%; }
 #topoDireita #navTop { justify-content:flex-start; margin:0; padding:0; }
 #topoDireita #navTop > li:not(.telefone) { display:none; }
 #linhaBusca { display:block; width:100%; }
 #topoDireita #navTop li.telefone { width:100%; padding:9px 14px; }
 #navTop li.telefone a.phone-number { font-size:24px; }
 .phone-label { float:left; margin:8px 12px 0 0; }
}
@media(max-width:640px) {
 #topoDireita #navTop li.telefone { display:flex; align-items:center; justify-content:space-between; gap:8px; }
 #navTop .phone-label { float:none; margin:0; font-size:11px; max-width:85px; }
 #navTop li.telefone a.phone-number { font-size:22px; }
 .quick-services a:nth-child(-n+2) { border-bottom-color:#ffffff38; }
}

/* Acabamento editorial e consistência entre navegação, banner e notícias. */
body { -webkit-font-smoothing:antialiased; }
#contentTopo { background:linear-gradient(110deg,#ffffff 55%,#eef7fe); }
#topoEsquerda { gap:22px; }
#textoLogo { border-left:1px solid #d8e7f1; padding-left:22px; }
#textoLogo .textoLogo_thirdline { letter-spacing:.08em; }
#nav > ul > li > a { font-size:14px; }
#colDireita { box-shadow:0 3px 16px #183d5b08; }
#menuEsquerda li.menuPrincipal { background:#eaf3fa; color:#175493; }
#menuEsquerda li.menu a:hover { color:#155a91; background:#f0f7fc; }
.quick-services a { grid-template-columns:30px 1fr; column-gap:12px; align-content:center; }
.quick-services a > span { grid-row:1/3; align-self:center; }
.quick-services strong,.quick-services small { grid-column:2; }
#slidesHome .ms-tabs-template { max-width:100%; }
#slidesHome .ms-tabs .ms-thumb-frame { background:#f0f5fa; color:#315571; border-color:white; }
#slidesHome .ms-tabs .ms-thumb-frame-selected { background:#176da8; color:white; }
#slidesHome .ms-tabs.ms-dir-h .ms-thumb-frame-selected .ms-thumb-ol { border-bottom-color:#176da8; }
#slidesHome .ms-thumb-frame p { font:600 13px/1.5 system-ui,sans-serif; margin:3px 0; }
#slidesHome .ms-container { border-radius:7px; overflow:hidden; }
#noticias { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
#noticias .section-heading { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:12px; border-bottom:1px solid var(--line); }
#noticias .section-heading h2 { font:750 22px/1.3 system-ui,sans-serif; margin:0; color:#174d80; }
#noticias .section-heading > a { color:#176da8; font:650 12px/1.5 system-ui,sans-serif; white-space:nowrap; }
#noticias .news-card { min-width:0; border:1px solid #e1eaf1; border-radius:9px; overflow:hidden; display:flex; flex-direction:column; background:white; }
#noticias .news-card > a:first-child { display:block; }
#noticias .news-card img { float:none; width:100%; height:175px; object-fit:cover; display:block; margin:0; border-radius:0; }
#noticias .news-card h3 { margin:14px 16px 10px; font:650 15px/1.5 system-ui,sans-serif; }
#noticias .news-card h3 a { color:#163d59; }
#noticias .news-card .news-read { margin:auto 16px 14px; font:650 12px/1.5 system-ui,sans-serif; color:#176da8; padding-top:6px; }
#noticias .news-card:hover { border-color:#8bbbdc; }
#previsaoTempoHor { border-top:1px solid var(--line); }
@media(max-width:900px) {
 .quick-services a { grid-template-columns:26px 1fr; }
 #noticias .news-card img { height:140px; }
}
@media(max-width:640px) {
 #textoLogo { padding-left:12px; } #topoEsquerda { gap:12px; }
 .quick-services a { grid-template-columns:1fr; gap:7px; padding:16px 13px; }
 .quick-services a > span { grid-row:auto; } .quick-services strong,.quick-services small { grid-column:1; }
 #noticias { grid-template-columns:minmax(0,1fr); gap:16px; }
 #noticias .section-heading h2 { font-size:20px; }
 #noticias .news-card img { height:185px; }
}
