/* Regra Terracrua (20/11): botões em cápsula, em todo o site */
.tci-btn,.tcd432-faixa>div>a,.btn,button:not(.navbar-toggler),.wp-block-button__link,input[type=submit],.tcd-vc{border-radius:999px!important}
.tci-btn{padding-left:28px!important;padding-right:28px!important}
/* 20/11 03:22 · Regra do site: sem hifenização automática (palavras nunca partidas com hífen) */
html body,html body *{-webkit-hyphens:manual!important;hyphens:manual!important;word-break:normal!important;overflow-wrap:normal!important}


/* 21/11 02:15 · Foto do topo: cobre sempre a secção inteira e fica fixa ao descer (computador e telemóvel; sem background-attachment, que o iOS ignora) */
html body .tci .tci-hero{position:relative!important;overflow:hidden!important;clip-path:inset(0)!important;-webkit-clip-path:inset(0)!important}
html body .tci .tci-hero img.tci-bg{position:fixed!important;inset:auto!important;top:0!important;left:0!important;width:100vw!important;height:100vh!important;height:100lvh!important;max-width:none!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover!important;z-index:0!important;transform:none!important}
html body .tci .tci-hero>.tci-w{position:relative!important;z-index:1!important}

/* 21/11 02:25 · Telemóvel: a página não se mexe na horizontal (também iOS) e rodapé numa só coluna */
html{overflow-x:hidden!important}
@supports (overflow:clip){html,body{overflow-x:clip!important}}
body{max-width:100%!important}
@media (max-width:767.98px){html body #colophon .widgets-footer .row>div:nth-child(2){grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"lg" "nm" "fd" "ct" "so"!important;row-gap:14px!important}
html body #colophon .widgets-footer .row>div:nth-child(2)>*{max-width:100%!important;min-width:0!important;text-align:left!important;justify-self:stretch!important;width:auto!important;margin-left:0!important}
html body #colophon .widgets-footer .row>div:nth-child(2) *{text-align:left!important}
html body #colophon .widgets-footer .row>div:nth-child(2) ul{justify-content:flex-start!important;padding-left:0!important}
html body #colophon .wp-block-image img{max-width:100%!important}}

/* 21/11 02:28 · Equipa no telemóvel: retrato inteiro (3:4), caras enquadradas */
@media (max-width:767.98px){html body .tci .tci-eq img{aspect-ratio:3/4!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;position:static!important;object-fit:cover!important;object-position:50% 30%!important}}

/* 21/11 03:00 carrossel da cartografia no telemovel: legenda, bolinhas, foto */
@media (max-width:767.98px){
html body .tcm-car{display:flex!important;flex-direction:column!important}
html body .tcm-car>.tcm-cap{order:1!important;margin:0 2px!important}
html body .tcm-car>.tcm-dots{order:2!important;margin:16px auto 18px!important}
html body .tcm-car>.tcm-tr{order:3!important}
}

/* 21/11 03:02 «Como trabalhamos» no computador: foto horizontal em cima, texto em duas colunas */
@media (min-width:992px){
html body .tci .tci-como>.tci-w{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:56px!important;align-items:start!important}
html body .tci .tci-como>.tci-w>figure{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:21/9!important;margin:0!important;overflow:hidden!important;border-radius:16px!important;position:relative!important}
html body .tci .tci-como>.tci-w>figure img{position:absolute!important;inset:0!important;width:100%!important;height:118%!important;top:-9%!important;max-height:none!important;min-height:0!important;object-fit:cover!important;object-position:60% 58%!important}
html body .tci .tci-como>.tci-w>div{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important;column-gap:72px!important;align-items:start!important;width:100%!important;max-width:none!important}
html body .tci .tci-como>.tci-w>div>.tci-eyb,html body .tci .tci-como>.tci-w>div>.tci-h2{grid-column:1!important}
html body .tci .tci-como>.tci-w>div>.tci-passos{grid-column:2!important;grid-row:1 / span 5!important;margin-top:0!important}
html body .tci .tci-como>.tci-w>div>.tci-preco{grid-column:1!important;border-top:0!important;padding-top:0!important;margin-top:8px!important}
html body .tci .tci-como>.tci-w>div>.tci-eyb{grid-row:1!important}
html body .tci .tci-como>.tci-w>div>.tci-h2{grid-row:2!important}
html body .tci .tci-como>.tci-w>div>.tci-preco{grid-row:3!important}
html body .tci .tci-como>.tci-w>div>a.tci-btn{grid-column:1!important;grid-row:4!important;justify-self:start!important;align-self:start!important;margin:8px 0 0!important}
html body .tci .tci-como>.tci-w>div>a.tci-btn.tci-btn--o{margin-left:237px!important}
}

/* 21/11 03:06 rodape no telemovel: logo e informacao por baixo centrados */
@media (max-width:767.98px){
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2){justify-items:center!important;text-align:center!important}
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2)>*{text-align:center!important;justify-self:stretch!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;grid-column:1 / -1!important}
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) *{text-align:center!important}
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) ul{justify-content:center!important;padding-left:0!important}
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) li,html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) a,html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) details,html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) summary{justify-content:center!important}
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) img{margin-left:auto!important;margin-right:auto!important;display:block!important}
html body:not(#tcz) #colophon .widgets-footer .row>div:nth-child(2) figure{display:flex!important;justify-content:center!important;margin-left:auto!important;margin-right:auto!important}
}

/* 21/11 03:10 carrossel do telemovel nunca aparece no computador */
@media (min-width:768px){html body .tcm-car{display:none!important}}

/* 21/11 03:12 portfolio: cantos arredondados como na pagina inicial */
html body .tci a.tci-caso{border-radius:16px!important;overflow:hidden!important}
html body .tci article img,html body .tci figure img,html body .tci .wp-block-image img{border-radius:16px!important}
html body .tci a.tci-caso img{border-radius:0!important}

/* 21/11 03:12 portfolio «Do arquivo»: lista com tracos dourados (proposta A) */
html body .tcd-arq-port[data-v=A] ul{display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:48px!important;columns:auto!important}
html body .tcd-arq-port[data-v=A] li{margin:0!important;border-bottom:1px solid rgba(64,70,50,.15)!important}
html body .tcd-arq-port[data-v=A] a.tci-lk{display:grid!important;grid-template-columns:28px 1fr auto!important;align-items:baseline!important;padding:16px 0!important;color:#404632!important;text-decoration:none!important;border:0!important;background:none!important}
html body .tcd-arq-port[data-v=A] a.tci-lk::before{content:""!important;width:16px;height:2px;background:#B8A83A;align-self:center}
html body .tcd-arq-port[data-v=A] .arq-l{font:500 17px/1.3 Raleway,sans-serif}
html body .tcd-arq-port[data-v=A] .arq-t{grid-column:2;font:400 13px/1.4 "Quattrocento Sans",sans-serif;color:#788351;margin-top:2px}
html body .tcd-arq-port[data-v=A] a.tci-lk::after{content:"→"!important;grid-column:3;grid-row:1 / span 2;align-self:center;color:#B8A83A;transition:transform .3s}
html body .tcd-arq-port[data-v=A] a.tci-lk:hover::after{transform:translateX(4px)}
html body .tcd-arq-port[data-v=A] a.tci-lk:hover .arq-l{color:#788351}
@media (max-width:767.98px){html body .tcd-arq-port[data-v=A] ul{grid-template-columns:1fr!important}}

/* Portfolio · caixa IPR Atlas, versão clara com ícones (21/11/2026) */
html body aside.tcd-m1097{background:#F4F2EB!important;border:1px solid rgba(184,168,58,.45)!important;border-radius:18px!important;padding:48px 56px!important;color:#404632!important;display:grid!important;grid-template-columns:minmax(0,4fr) minmax(0,7fr)!important;column-gap:48px!important;row-gap:14px!important;align-items:start!important}
html body aside.tcd-m1097 .tcd-m1097-k{grid-column:1!important;margin:0!important;line-height:0!important}
html body aside.tcd-m1097 .tcd-m1097-k img{height:34px!important;width:auto!important;max-width:none!important;display:block!important;border-radius:0!important;filter:brightness(.32) sepia(.35) saturate(1.6) hue-rotate(28deg)!important}
html body aside.tcd-m1097 h2{grid-column:1!important;margin:10px 0 0!important;text-align:left!important;font:300 30px/1.2 Raleway,sans-serif!important;letter-spacing:0!important;color:#404632!important}
html body aside.tcd-m1097 .tcd-m1097-n{grid-column:1!important;margin:6px 0 0!important;font:400 13px/1.5 "Quattrocento Sans",sans-serif!important;color:#788351!important}
html body aside.tcd-m1097 .tcd-m1097-g{grid-column:2!important;grid-row:1 / span 3!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important}
html body aside.tcd-m1097 a.tcd-m1097-a{display:grid!important;grid-template-columns:48px 1fr auto!important;column-gap:18px!important;row-gap:4px!important;align-items:center!important;padding:20px 24px!important;background:#fff!important;border:1px solid rgba(64,70,50,.12)!important;border-radius:14px!important;color:#404632!important;text-decoration:none!important;transition:background .3s,border-color .3s}
html body aside.tcd-m1097 a.tcd-m1097-a:hover{background:#fff!important;border-color:#B8A83A!important;box-shadow:0 8px 22px rgba(32,35,25,.08)!important}
html body aside.tcd-m1097 a.tcd-m1097-a:before{content:"";grid-column:1!important;grid-row:1 / span 2!important;align-self:center!important;width:48px;height:48px;border-radius:50%;background:#EEF0E4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23788351' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2.5 8 12 13l9.5-5z'/%3E%3Cpath d='m2.5 12 9.5 5 9.5-5'/%3E%3Cpath d='m2.5 16 9.5 5 9.5-5'/%3E%3C/svg%3E") center/26px 26px no-repeat;transition:background-color .3s}
html body aside.tcd-m1097 a.tcd-m1097-a:last-child:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23788351' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2.5H6.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2.5V8h5.5'/%3E%3Cpath d='M12 17.5s-3-2.6-3-5a3 3 0 0 1 6 0c0 2.4-3 5-3 5z'/%3E%3Ccircle cx='12' cy='12.4' r='1'/%3E%3C/svg%3E")}
html body aside.tcd-m1097 a.tcd-m1097-a:hover:before{background-color:#E3E7D3}
html body aside.tcd-m1097 a.tcd-m1097-a b{grid-column:2!important;grid-row:1!important;align-self:end!important;font:600 17px/1.3 Raleway,sans-serif!important;color:#404632!important}
html body aside.tcd-m1097 a.tcd-m1097-a span{grid-column:2!important;grid-row:2!important;align-self:start!important;font:400 14px/1.5 "Quattrocento Sans",sans-serif!important;color:#6B6B6B!important}
html body aside.tcd-m1097 a.tcd-m1097-a i{grid-column:3!important;grid-row:1 / span 2!important;align-self:center!important;font-style:normal!important;color:#B8A83A!important;font-size:20px!important;transition:transform .3s}
html body aside.tcd-m1097 a.tcd-m1097-a:hover i{transform:translateX(4px)}
@media (max-width:767.98px){html body aside.tcd-m1097{grid-template-columns:1fr!important;padding:32px 24px!important}html body aside.tcd-m1097 .tcd-m1097-g{grid-column:1!important;grid-row:auto!important;margin-top:10px!important}html body aside.tcd-m1097 .tcd-m1097-n{order:9}html body aside.tcd-m1097 a.tcd-m1097-a{grid-template-columns:40px 1fr auto!important;column-gap:14px!important;padding:16px 18px!important}html body aside.tcd-m1097 a.tcd-m1097-a:before{width:40px;height:40px;background-size:22px 22px}}
/* Portfolio · cantos dos cartões dos casos iguais em cima e em baixo (21/11/2026) */
html body:not(#tcz) .tci a.tci-caso{border-radius:16px!important;overflow:hidden!important;-webkit-mask-image:-webkit-radial-gradient(white,black)}
html body:not(#tcz) .tci a.tci-caso>img{border-radius:0!important}

/* Telemóvel (21/11/2026 03:25): «O que fazemos» numa coluna; números sempre visíveis; barra «Pedir um documento» compacta em todas as páginas; «Cookies» acima da barra */
@media (max-width:767.98px){
html body .tci-int{grid-template-columns:minmax(0,1fr)!important;column-gap:0!important;row-gap:24px!important;align-items:start!important;margin-bottom:36px!important}
html body .tci-int .tci-lead{padding-left:20px!important}
html body:not(#tcz) .tci-num .n{opacity:1!important}
html body:not(#tcz) #tcd-m1100-bar.on{left:12px!important;right:72px!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:none!important;padding:0!important;border-radius:999px!important;background:#404632!important;box-shadow:0 6px 18px rgba(0,0,0,.25)!important}
html body:not(#tcz) #tcd-m1100-bar.on a{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:1px!important;padding:8px 18px!important;font:700 13px/1.15 Raleway,sans-serif!important;letter-spacing:0!important;color:#fff!important;text-align:left!important}
html body:not(#tcz) #tcd-m1100-bar.on a span{display:block!important;font:400 11px/1.2 "Quattrocento Sans",sans-serif!important;letter-spacing:0!important;color:#E8E3C4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;margin:0!important}
html body:not(#tcz):has(#tcd-m1100-bar.on) #tcdck-l{bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}
}
@media (prefers-reduced-motion:reduce){html body:not(#tcz) .tci-num .n{opacity:1!important;animation:none!important}}
/* 21/11: botão flutuante de língua do Núcleo (m1100 «volta», ex. ES) retirado; o cabeçalho já tem o botão de línguas */
a.tcd-m1100-volta{display:none!important}

/* 21/11 13:25: /servicos/ sem numeração nos passos (bolas 1, 2, 3...) */
.tcd-m2531-n{display:none!important}
/* 21/11 13:45: calendário Hydra Booking (/servicos/) */
.tfhb-meeting-box .tfhb-meeting-card{margin-left:0!important;margin-right:0!important;max-width:none!important;width:100%!important}
.tfhb-meeting-box .tfhb-meeting-card h2{font:500 20px/1.3 Raleway,sans-serif!important;letter-spacing:-.2px;text-wrap:balance}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li{text-align:center!important}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li.current::after{width:min(44px,88%)!important;height:auto!important;aspect-ratio:1;left:50%!important;top:50%!important;margin:0!important;transform:translate(-50%,-50%)!important;border-radius:999px!important}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li.current:not(.inactive){color:#404632!important;font-weight:700;font-family:Raleway,sans-serif}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li.current:not(.inactive)::after{background:#E4E8D2!important;border:1px solid #B8A83A!important}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li.current:not(.inactive):hover::after{background:#D5DBB8!important}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li.current.active::after{background:#788351!important;border-color:#788351!important}
.tfhb-meeting-box .tfhb-calendar-body ul.tfhb-calendar-dates li.current.inactive::after{display:none!important}
.tfhb-meeting-box .tfhb-meeting-card>.tfhb-calander-times{flex:1 1 auto!important;width:auto!important;max-width:none!important}
.tfhb-meeting-box .tfhb-calander-times>.tfhb-meeting-calendar{flex:1 1 auto!important;width:auto!important;max-width:none!important}
.tfhb-meeting-box .tfhb-meeting-calendar .tfhb-calendar-container,.tfhb-meeting-box .tfhb-meeting-calendar .tfhb-calendar-header,.tfhb-meeting-box .tfhb-meeting-calendar .tfhb-calendar-body,.tfhb-meeting-box .tfhb-meeting-calendar .tfhb-calendar-weekdays,.tfhb-meeting-box .tfhb-meeting-calendar .tfhb-calendar-dates{width:100%!important;max-width:none!important}
.tfhb-meeting-box .tfhb-calendar-weekdays li,.tfhb-meeting-box .tfhb-calendar-dates li{width:calc(100% / 7)!important;text-align:center!important}
.tfhb-meeting-box .tfhb-meeting-card .tfhb-meeting-calendar .tfhb-calendar-body ul.tfhb-calendar-dates li.current.active{color:#fff!important}
.tfhb-meeting-box .tfhb-meeting-card .tfhb-meeting-calendar .tfhb-calendar-body ul.tfhb-calendar-dates li.current.active::after{background:#788351!important;border-color:#788351!important;box-shadow:0 8px 20px rgba(64,70,50,.25)!important}
.tfhb-meeting-box .tfhb-calander-times .time{border-radius:999px!important;border-color:#788351!important;color:#404632!important;font-family:Raleway,sans-serif!important;font-weight:600}
.tfhb-meeting-box .tfhb-calander-times .time:hover{background:#788351!important;color:#fff!important}

/* 1.0.27 (21/11/2026) · botões das páginas de documentos (.tcd-lp-bt, Núcleo): a letra estava da cor do fundo. Cápsula oliva, letra branca */
html body a.tcd-lp-bt,html body a.tcd-lp-bt:visited{display:inline-flex !important;align-items:center;justify-content:center;background:#788351 !important;color:#fff !important;border:0 !important;border-radius:999px !important;padding:13px 30px !important;font:700 15px/1.2 Raleway,sans-serif !important;letter-spacing:.2px;text-decoration:none !important;transition:background-color .2s}
html body a.tcd-lp-bt:hover,html body a.tcd-lp-bt:focus-visible{background:#404632 !important;color:#fff !important}
/* 1.0.28 · e-mails ligados (mailto) */
html body a.tc-mailto{color:#788351 !important;text-decoration:underline !important;text-decoration-thickness:1px;text-underline-offset:3px}
html body a.tc-mailto:hover{color:#404632 !important}