/* GEOPALM® — estilos do tema (complementa a base do plugin GEOPALM®) */
:root{--gp-font:'Manrope',system-ui,sans-serif}
body{font-family:var(--gp-font)}
.wp-site-blocks{padding:0}
.wp-site-blocks > *{margin-block-start:0}
.gp-hpart{display:contents}
.gp-main{min-height:50vh}
.gp-full .gp-main > .wp-block-post-content > *{margin-block-start:0;max-width:none}
.gp-prose{padding:72px var(--gp-pad,48px) 112px}

/* cabeçalho */
.hdr .logo img{height:28px;width:auto;display:block}
.hright{display:flex;align-items:center;gap:28px}
.mnav-t{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.burger{display:none;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:7px;cursor:pointer;margin-right:-10px}
.burger span{display:block;width:24px;height:2px;background:#1D1D1B;transition:transform .3s,background-color .3s}
.burger span:last-child{width:16px;align-self:flex-end;margin-right:10px}

/* menu de telemóvel */
.mnav{position:fixed;left:0;right:0;top:76px;bottom:0;z-index:29;background:#1D1D1B;color:#fff;padding:28px 20px 32px;display:flex;flex-direction:column;justify-content:space-between;gap:28px;overflow-y:auto;transform:translateY(-110%);visibility:hidden;transition:transform .45s cubic-bezier(.2,.7,.2,1),visibility .45s}
.mnav > nav{display:flex;flex-direction:column}
.mnav > nav a{display:flex;align-items:baseline;gap:16px;padding:16px 0;border-bottom:1px solid #3A3A37;color:#fff;text-decoration:none;font-size:30px;font-weight:300;letter-spacing:-.02em;line-height:1.1}
.mnav > nav a .n{font-size:11px;font-weight:800;letter-spacing:.14em;color:#E0796F;min-width:22px}
.mnav > nav a[aria-current="page"]{font-weight:700}
.mnav .mfoot{display:flex;flex-direction:column;gap:18px}
.mnav .mfoot .btn{justify-content:center}
.mnav .mfoot .row{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#9C998F}
.mnav .mfoot .row a{color:#fff;text-decoration:none}
.mlang{display:flex;gap:14px;font-size:13px;font-weight:700;letter-spacing:.12em}
.mlang a{text-decoration:none}
.mlang a{color:#9C998F !important}
.mlang a.on{color:#fff !important}
.mnav-t:checked ~ .mnav{transform:none;visibility:visible}
.mnav-t:checked ~ .hdr .burger span:first-child{transform:translateY(4.5px) rotate(45deg)}
.mnav-t:checked ~ .hdr .burger span:last-child{width:24px;margin-right:0;transform:translateY(-4.5px) rotate(-45deg)}
body.admin-bar .mnav{top:122px}

/* rodapé */
.ftr-in{display:flex;flex-direction:column;gap:56px}
.ftr-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border-bottom:1px solid #3A3A37;padding-bottom:40px}
.ftr-top img{height:30px;width:auto}
.ftr .lbl{color:#9C998F}
.ftr .fcol > a,.ftr .fcol > span{color:#E8E5DF}
.ftr-bot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #3A3A37;padding-top:24px;font-size:13px;color:#9C998F}
.ftr-bot .flegal{display:flex;gap:24px;flex-wrap:wrap}
.ftr-bot a{color:#9C998F;text-decoration:none}
.ftr-bot a:hover{color:#fff}

@media (max-width:900px){
  .burger{display:flex}
  .hdr .in{height:68px}
  .mnav{top:68px}
  body.admin-bar .mnav{top:114px}
  .hdr .lang{display:none}
  .gp-prose{padding:48px 20px 88px}
  .fcols{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:32px 20px !important}
  .fcols > .fcol:first-child,.fcols > .fcol:last-child{grid-column:1 / -1}
  .fcols > .fcol:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
  .fcols > .fcol:first-child > .lbl{grid-column:1 / -1}
}
@media (min-width:901px){.mnav{display:none}}

/* cursor normal em caixas de seleção e campos */
body.gp-cursor label:has(input[type="checkbox"]),body.gp-cursor label:has(input[type="radio"]),body.gp-cursor input[type="checkbox"],body.gp-cursor input[type="radio"]{cursor:pointer}
body.gp-cursor select{cursor:pointer}

/* rodapé: links legais simples, sem caixas */
.ftr-bot .flegal a{display:inline;padding:0;border:0;background:none;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none}

/* páginas de texto (políticas, etc.) */
.gp-prose{max-width:none}
.gp-prose > *{max-width:760px;margin-left:auto !important;margin-right:auto !important}
.gp-prose .wp-block-post-title{font-size:48px;font-weight:300;letter-spacing:-.035em;line-height:1.05;margin:0 auto 8px !important;text-wrap:balance}
.gp-prose .wp-block-post-content{font-size:17px;line-height:1.7;color:#3E3D39}
.gp-prose .wp-block-post-content h2{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gp-red,#9C1006);margin:48px 0 14px}
.gp-prose .wp-block-post-content h3{font-size:19px;font-weight:700;color:#1D1D1B;margin:28px 0 8px;letter-spacing:-.01em}
.gp-prose .wp-block-post-content p{margin:0 0 14px}
.gp-prose .wp-block-post-content ul{margin:0 0 18px;padding-left:20px}
.gp-prose .wp-block-post-content li{margin:0 0 6px}
.gp-prose .wp-block-post-content a{color:var(--gp-red,#9C1006);font-weight:600}
.gp-prose .wp-block-post-content .gp-atual{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8F8C84;margin-bottom:32px}
.gp-prose .wp-block-post-content table{width:100%;border-collapse:collapse;font-size:15px;margin:8px 0 24px}
.gp-prose .wp-block-post-content th,.gp-prose .wp-block-post-content td{text-align:left;padding:12px 10px;border-bottom:1px solid #E4E1DB;vertical-align:top}
.gp-prose .wp-block-post-content th{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#77746D;border-bottom:2px solid #1D1D1B}
@media (max-width:900px){.gp-prose .wp-block-post-title{font-size:34px}}
.single-gp_caso .gp-main > .wp-block-post-content > *{margin-block-start:0;max-width:none}

/* Terreno interativo nas faixas vermelhas (assets/js/terreno.js) */
.tx-topo-r.tx-vivo{position:relative;background-image:none!important;overflow:hidden;cursor:crosshair}
.tx-vivo>.terreno{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.tx-vivo>*:not(.terreno){position:relative;z-index:1}
.tx-vivo>.terreno-lt{position:absolute;right:clamp(20px,4vw,56px);bottom:18px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 16px;font-size:11px;line-height:1.4;color:rgba(255,255,255,.72);font-variant-numeric:tabular-nums;pointer-events:none}
.terreno-lt b{color:#fff;font-weight:700;margin-right:4px}
.terreno-lt i{font-style:normal}
.terreno-lt em{flex-basis:100%;text-align:right;font-style:normal;color:rgba(255,255,255,.6)}
@media (max-width:760px){.tx-vivo>.terreno-lt{left:20px;right:20px}.terreno-lt span{display:none}}
