/* ==========================================================================
   Portal Cível & Trabalhista - camada visual moderna sobre o tema finance
   Carregado depois do style.css (themes/finance/assets.php). Só sobrescreve
   aparência; a estrutura das páginas continua a do tema.
   ========================================================================== */

:root {
    --pc-navy: #0f3247;          /* azul da marca (logo) */
    --pc-navy-900: #0a2233;
    --pc-navy-950: #071a27;
    --pc-orange: #ee7222;        /* laranja do logo: só em destaques e botões */
    --pc-orange-600: #d9631a;
    --pc-cyan: #0e8fb0;          /* links e detalhes */
    --pc-ink: #142433;           /* títulos */
    --pc-text: #4a5869;          /* texto corrido */
    --pc-muted: #6b7a8c;
    --pc-line: #e3e9f0;
    --pc-soft: #f4f7fa;          /* fundos de seção */
    --pc-soft-2: #eaf2f7;
    --pc-radius: 14px;
    --pc-radius-sm: 8px;
    --pc-shadow: 0 1px 2px rgba(15, 50, 71, .06), 0 8px 24px rgba(15, 50, 71, .07);
    --pc-shadow-hover: 0 2px 4px rgba(15, 50, 71, .08), 0 16px 36px rgba(15, 50, 71, .12);
    --pc-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --pc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */
body, p, li, td, th, dd, dt, label, input, select, textarea, button, blockquote,
h1, h2, h3, h4, h5, h6, .font-heading, .heading, .sub-heading,
#main-nav .menu > li > a, #main-nav .sub-menu li a, .themesflat-button,
.post-title, .post-meta, .widget-title, #top-bar, #footer, #bottom {
    font-family: var(--pc-font) !important;
}
body { color: var(--pc-text); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { color: var(--pc-ink); letter-spacing: -.015em; }
a { color: var(--pc-cyan); transition: color .2s var(--pc-ease); }
a:hover { color: var(--pc-navy); }
::selection { background: var(--pc-navy); color: #fff; }

/* Conteúdo aparece já, sem esperar a página toda (animsition removido do wrapper). */
#wrapper { opacity: 1 !important; }

/* --------------------------------------------------------------------------
   Barra superior + cabeçalho (inc/header.php + assets/js/portal-header.js)
   -------------------------------------------------------------------------- */
.pc-skip {
    position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px;
    background: var(--pc-navy); color: #fff !important; border-radius: var(--pc-radius-sm); font-weight: 600;
}
.pc-skip:focus { top: 12px; }

.pc-topbar svg, .pc-header svg, .pc-nav svg {
    width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Barra superior */
.pc-topbar { background: var(--pc-navy-950); color: #a9bac9; font-size: 13px; line-height: 1.4; }
.pc-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.pc-topbar-inner:before, .pc-topbar-inner:after { display: none; } /* clearfix do bootstrap */
.pc-topbar ul { display: flex; align-items: center; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.pc-topbar li { display: flex; align-items: center; gap: 8px; }
.pc-topbar a { display: inline-flex; align-items: center; gap: 8px; color: #a9bac9; text-decoration: none; }
.pc-topbar a:hover { color: #fff; }
.pc-topbar-info svg { width: 15px; height: 15px; color: var(--pc-orange); }
.pc-topbar-social { gap: 4px !important; }
.pc-topbar-social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; }
.pc-topbar-social a:hover { background: rgba(255, 255, 255, .08); }
.pc-topbar-social svg { width: 16px; height: 16px; }

/* Cabeçalho fixo. O body vinha com overflow-x: hidden, que vira contêiner de
   rolagem e impede o position: sticky; "clip" corta igual sem esse efeito. */
body { overflow-x: clip !important; overflow-y: visible !important; }
/* O style.css reservava 135px para o cabeçalho flutuante antigo; o novo fica no fluxo. */
#featured-title { margin-top: 0 !important; }
.pc-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--pc-line);
    transition: box-shadow .3s var(--pc-ease), background .3s var(--pc-ease);
}
.pc-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px rgba(15, 50, 71, .08); }
.pc-header-inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .3s var(--pc-ease); }
.pc-header-inner:before, .pc-header-inner:after { display: none; }
.pc-header.is-scrolled .pc-header-inner { height: 68px; }

.pc-logo { display: block; flex: none; line-height: 0; }
.pc-logo img { width: auto; height: 46px; transition: height .3s var(--pc-ease); }
.pc-header.is-scrolled .pc-logo img { height: 40px; }

/* Menu (desktop) */
.pc-nav { flex: 1; display: flex; justify-content: center; }
.pc-nav-head, .pc-nav-foot { display: none; }
.pc-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pc-menu-item { position: relative; display: flex; align-items: center; }
.pc-menu-item > a {
    position: relative; display: block; padding: 10px 14px;
    color: var(--pc-ink); font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-decoration: none;
    border-radius: var(--pc-radius-sm);
}
.pc-menu-item > a:after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--pc-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--pc-ease);
}
.pc-menu-item.has-sub > a { padding-right: 4px; }
.pc-menu-item.has-sub > a:after { right: 4px; }
.pc-menu-item > a:hover, .pc-menu-item.is-current > a { color: var(--pc-navy); }
.pc-menu-item > a:hover:after, .pc-menu-item.is-current > a:after { transform: scaleX(1); }

.pc-header button.pc-sub-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 32px; margin: 0 6px 0 0; padding: 0;
    background: none; border: 0; border-radius: 6px; color: var(--pc-muted); box-shadow: none; cursor: pointer;
}
.pc-sub-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--pc-ease); }
.pc-menu-item:hover .pc-sub-toggle svg, .pc-menu-item.is-open .pc-sub-toggle svg { transform: rotate(180deg); }

.pc-sub {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 10px;
    background: #fff; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); box-shadow: var(--pc-shadow-hover);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--pc-ease), transform .2s var(--pc-ease), visibility .2s;
}
.pc-sub:before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* ponte para o hover */
.pc-menu-item:hover > .pc-sub, .pc-menu-item.is-open > .pc-sub { opacity: 1; visibility: visible; transform: none; }
.pc-sub ul { margin: 0; padding: 0; list-style: none; }
.pc-sub li a {
    display: block; padding: 9px 12px; border-radius: var(--pc-radius-sm);
    color: var(--pc-text); font-size: 14.5px; font-weight: 500; line-height: 1.4; text-decoration: none;
}
.pc-sub li a:hover { background: var(--pc-soft); color: var(--pc-navy); }
.pc-sub-all {
    display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 11px 12px 6px;
    border-top: 1px solid var(--pc-line); color: var(--pc-orange-600); font-size: 13.5px; font-weight: 600; text-decoration: none;
}
.pc-sub-all svg { width: 15px; height: 15px; transition: transform .2s var(--pc-ease); }
.pc-sub-all:hover { color: var(--pc-orange-600); }
.pc-sub-all:hover svg { transform: translateX(3px); }

/* Ações */
.pc-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.pc-header button.pc-icon-btn, .pc-nav button.pc-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--pc-line); border-radius: 50%; color: var(--pc-ink);
    box-shadow: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.pc-header button.pc-icon-btn:hover, .pc-nav button.pc-icon-btn:hover,
.pc-header.is-searching .pc-search-toggle { background: var(--pc-soft); border-color: #cfd9e3; color: var(--pc-navy); transform: none; }
.pc-header .pc-header-cta { padding: 12px 22px; font-size: 14.5px; }

.pc-burger { display: none !important; }
.pc-burger span, .pc-burger span:before, .pc-burger span:after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--pc-ease), opacity .2s;
}
.pc-burger span { position: relative; }
.pc-burger span:before, .pc-burger span:after { content: ""; position: absolute; left: 0; }
.pc-burger span:before { top: -6px; }
.pc-burger span:after { top: 6px; }

.pc-header a:focus-visible, .pc-header button:focus-visible, .pc-nav a:focus-visible, .pc-nav button:focus-visible, .pc-topbar a:focus-visible {
    outline: 3px solid rgba(238, 114, 34, .55); outline-offset: 2px;
}

/* Pesquisa */
.pc-search { border-top: 1px solid var(--pc-line); background: #fff; animation: pc-drop .22s var(--pc-ease); }
.pc-search[hidden] { display: none; }
.pc-search-form { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.pc-search-form:before, .pc-search-form:after { display: none; }
.pc-search-form > svg { width: 22px; height: 22px; color: var(--pc-muted); }
.pc-search-form input[type="search"] {
    flex: 1; min-width: 0; height: 50px; margin: 0; padding: 0 4px; border: 0; background: transparent; box-shadow: none;
    color: var(--pc-ink); font-size: 18px; outline: none;
}
.pc-search-form input[type="search"]::placeholder { color: #98a6b5; }
.pc-search-form .pc-btn { padding: 12px 22px; }
@keyframes pc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Telas médias: esconde o botão para o menu caber */
@media (max-width: 1199px) {
    .pc-header .pc-header-cta { display: none; }
    .pc-header-inner { gap: 16px; }
    .pc-menu-item > a { padding: 10px 11px; }
}

/* Celular / tablet: menu em gaveta lateral */
@media (max-width: 991px) {
    .pc-hide-sm { display: none !important; }
    /* backdrop-filter prenderia a gaveta (position: fixed) dentro do cabeçalho */
    .pc-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .pc-header.is-scrolled { background: #fff; }
    .pc-header-inner { height: 70px; justify-content: space-between; }
    .pc-header.is-scrolled .pc-header-inner { height: 62px; }
    .pc-logo img { height: 40px; }
    .pc-header.is-scrolled .pc-logo img { height: 36px; }
    .pc-burger { display: inline-flex !important; }
    .pc-nav-open .pc-burger span { background: transparent; }
    .pc-nav-open .pc-burger span:before { transform: translateY(6px) rotate(45deg); }
    .pc-nav-open .pc-burger span:after { transform: translateY(-6px) rotate(-45deg); }

    .pc-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; width: min(380px, 88vw);
        flex-direction: column; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain;
        background: #fff; box-shadow: -20px 0 50px rgba(7, 26, 39, .2);
        transform: translateX(100%); visibility: hidden;
        transition: transform .35s var(--pc-ease), visibility .35s;
    }
    .pc-nav-open .pc-nav { transform: none; visibility: visible; }
    .pc-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pc-line); }
    .pc-nav-title { color: var(--pc-muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

    .pc-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px; }
    .pc-menu-item { flex-wrap: wrap; border-bottom: 1px solid var(--pc-line); }
    .pc-menu-item:last-child { border-bottom: 0; }
    .pc-menu-item > a, .pc-menu-item.has-sub > a { flex: 1; padding: 15px 8px; font-size: 17px; }
    .pc-menu-item > a:after { display: none; }
    .pc-menu-item.is-current > a { color: var(--pc-orange-600); }
    .pc-header button.pc-sub-toggle, .pc-nav button.pc-sub-toggle { width: 44px; height: 44px; margin: 0; }
    .pc-menu-item:hover .pc-sub-toggle svg { transform: none; }
    .pc-menu-item.is-open .pc-sub-toggle svg { transform: rotate(180deg); }

    .pc-sub {
        position: static; flex-basis: 100%; min-width: 0; padding: 0 0 10px 8px; display: none;
        border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
    }
    .pc-sub:before { display: none; }
    .pc-menu-item:hover > .pc-sub { display: none; }
    .pc-menu-item.is-open > .pc-sub { display: block; }
    .pc-sub li a { padding: 9px 10px; font-size: 15.5px; }
    .pc-sub-all { border-top: 0; margin-top: 0; padding: 8px 10px; }

    .pc-nav-foot { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding: 20px; background: var(--pc-soft); }
    .pc-nav-foot .pc-btn { width: 100%; }
    .pc-nav-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--pc-navy); font-weight: 600; text-decoration: none; }

    .pc-nav-backdrop {
        position: fixed; inset: 0; z-index: 1000; background: rgba(7, 26, 39, .45);
        -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: pc-fade .3s var(--pc-ease);
    }
    .pc-nav-backdrop[hidden] { display: none; }
    .pc-nav-open, .pc-nav-open body { overflow: hidden; }

    .pc-search-form .pc-btn { display: none; }
    .pc-search-form input[type="search"] { font-size: 16px; }
}
@media (max-width: 575px) {
    .pc-hide-xs { display: none !important; }
    .pc-topbar-inner { min-height: 36px; }
}
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .pc-header, .pc-header *, .pc-nav, .pc-nav *, .pc-search, .pc-nav-backdrop { transition: none !important; animation: none !important; }
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.themesflat-button, .pc-btn, .wpcf7-form input[type="submit"], input[type="submit"], button[type="submit"] {
    border-radius: var(--pc-radius-sm) !important;
    font-size: 14px !important; font-weight: 600 !important; letter-spacing: .02em;
    transition: transform .2s var(--pc-ease), box-shadow .2s var(--pc-ease), background-color .2s var(--pc-ease), color .2s var(--pc-ease);
}
.themesflat-button:hover, .pc-btn:hover, input[type="submit"]:hover, button[type="submit"]:hover { transform: translateY(-1px); }
.themesflat-button.accent, input[type="submit"], button[type="submit"] { background-color: var(--pc-orange) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(238, 114, 34, .25); }
.themesflat-button.accent:hover, input[type="submit"]:hover, button[type="submit"]:hover { background-color: var(--pc-orange-600) !important; color: #fff !important; }
.themesflat-button.white { border-radius: var(--pc-radius-sm) !important; color: var(--pc-navy) !important; }

.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; }
.pc-btn-primary { background: var(--pc-orange); color: #fff !important; box-shadow: 0 8px 20px rgba(238, 114, 34, .28); }
.pc-btn-primary:hover { background: var(--pc-orange-600); color: #fff !important; box-shadow: 0 10px 24px rgba(238, 114, 34, .34); }
.pc-btn-ghost { background: transparent; color: var(--pc-navy) !important; border-color: rgba(15, 50, 71, .2); }
.pc-btn-ghost:hover { border-color: var(--pc-navy); background: #fff; }

/* --------------------------------------------------------------------------
   Slider da home (assets/js/portal-hero.js)
   -------------------------------------------------------------------------- */
.pc-slider { position: relative; overflow: hidden; background: var(--pc-navy-950); color: #fff; }
.pc-slides { position: relative; height: clamp(540px, 74vh, 700px); }
.pc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--pc-ease), visibility 0s linear 1s; }
.pc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--pc-ease), visibility 0s; z-index: 1; }
.pc-slide-media, .pc-slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-slide-media img { object-fit: cover; object-position: center; transform: scale(1.06); transition: transform 7.5s ease-out; }
.pc-slide.is-active .pc-slide-media img { transform: scale(1); }
/* escurece à esquerda, onde fica o texto */
.pc-slide:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 39, .92) 0%, rgba(10, 34, 51, .78) 38%, rgba(15, 50, 71, .25) 72%, rgba(15, 50, 71, .10) 100%); }
.pc-slide-container { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.pc-slide-content { max-width: 620px; padding: 40px 0 70px; }
.pc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.pc-eyebrow:before { content: ""; width: 28px; height: 2px; border-radius: 2px; }
.pc-slide .pc-eyebrow { color: #ffb37d; }
.pc-slide .pc-eyebrow:before { background: var(--pc-orange); }
.pc-slide-title { font-size: 54px; line-height: 1.06; font-weight: 800; letter-spacing: -.03em; color: #fff !important; margin: 0 0 20px; text-wrap: balance; }
.pc-slide-lead { font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .86); margin: 0 0 34px; max-width: 540px; }
.pc-slide-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pc-btn-light { background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(4px); }
.pc-btn-light:hover { background: #fff; color: var(--pc-navy) !important; border-color: #fff; }
/* entrada do texto */
.pc-slide .pc-eyebrow, .pc-slide-title, .pc-slide-lead, .pc-slide-actions { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--pc-ease), transform .7s var(--pc-ease); }
.pc-slide.is-active .pc-eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
.pc-slide.is-active .pc-slide-title { opacity: 1; transform: none; transition-delay: .35s; }
.pc-slide.is-active .pc-slide-lead { opacity: 1; transform: none; transition-delay: .45s; }
.pc-slide.is-active .pc-slide-actions { opacity: 1; transform: none; transition-delay: .55s; }
/* controles */
.pc-slider-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.pc-slider-controls:before, .pc-slider-controls:after, .pc-slide-container:before, .pc-slide-container:after { display: none !important; } /* clearfix do .container vira item do flex */
.pc-slider-dots { display: flex; gap: 10px; }
.pc-dot { position: relative; width: 46px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); cursor: pointer; overflow: hidden; }
.pc-dot:before { content: ""; position: absolute; inset: -10px 0; }  /* área de toque maior */
.pc-dot span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; border-radius: 4px; }
.pc-dot.is-active span { width: 100%; }
.pc-slider.is-playing .pc-dot.is-active span { animation: pc-progress var(--pc-interval, 6500ms) linear forwards; }
@keyframes pc-progress { from { width: 0; } to { width: 100%; } }
.pc-slider-arrows { display: flex; gap: 10px; }
.pc-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; font-size: 28px; line-height: 1; padding: 0 0 4px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pc-arrow:hover { background: #fff; color: var(--pc-navy); border-color: #fff; }
.pc-arrow:focus-visible, .pc-dot:focus-visible, .pc-btn:focus-visible { outline: 3px solid #ffb37d; outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Títulos de seção
   -------------------------------------------------------------------------- */
.themesflat-headings .heading { font-size: 34px !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.02em !important; color: var(--pc-ink); text-transform: none; }
.themesflat-headings.color-white .heading { color: #fff; }
.themesflat-headings .sub-heading { font-size: 17px !important; line-height: 1.75 !important; color: var(--pc-muted) !important; max-width: 760px; }
.themesflat-headings.text-center .sub-heading { margin-left: auto; margin-right: auto; }
.themesflat-headings .sep { width: 48px !important; height: 3px !important; border-radius: 3px; background-color: var(--pc-orange) !important; }
.themesflat-headings.text-center .sep { margin-left: auto !important; margin-right: auto !important; }
.themesflat-headings .sep + .sub-heading { margin-top: 18px !important; }

/* --------------------------------------------------------------------------
   Serviços da home: blocos de ícone viram cards
   -------------------------------------------------------------------------- */
.row-services .themesflat-icon-box.style-3 { background: #fff; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 26px 26px 24px 104px !important; min-height: 150px; transition: box-shadow .25s var(--pc-ease), transform .25s var(--pc-ease), border-color .25s; }
.row-services .themesflat-icon-box.style-3:hover { box-shadow: var(--pc-shadow-hover); transform: translateY(-3px); border-color: transparent; }
.row-services .themesflat-icon-box.style-3 .icon-wrap { left: 26px !important; top: 26px !important; width: 56px !important; height: 56px !important; line-height: 56px !important; border-radius: 14px !important; background: var(--pc-soft-2) !important; }
.row-services .themesflat-icon-box.style-3 .icon-wrap i { color: var(--pc-navy) !important; font-size: 28px !important; line-height: 56px !important; }
.row-services .themesflat-icon-box.style-3 .heading { font-size: 18px !important; font-weight: 700 !important; letter-spacing: -.01em; margin-bottom: 8px; }
.row-services .themesflat-icon-box.style-3 .heading a { color: var(--pc-ink); }
.row-services .themesflat-icon-box.style-3 .heading a:hover { color: var(--pc-cyan); }
.row-services .themesflat-icon-box.style-3 .desc { font-size: 15px; line-height: 1.65; color: var(--pc-muted); margin: 0; }
.row-services .col-md-6 > .themesflat-spacer { height: 22px !important; }
/* o tema (has-width w70) recua título e texto 88px; o recuo agora é do card */
.row-services .themesflat-icon-box.style-3 .heading, .row-services .themesflat-icon-box.style-3 .desc { padding-left: 0 !important; }

/* Carrossel de serviços (/servicos) */
.news-item.style-1 .inner { border-radius: var(--pc-radius); overflow: hidden; box-shadow: var(--pc-shadow); transition: box-shadow .25s var(--pc-ease), transform .25s var(--pc-ease); background: #fff; }
.news-item.style-1 .inner:hover { box-shadow: var(--pc-shadow-hover); transform: translateY(-3px); }
.news-item.style-1 .text-wrap { background: #fff !important; }
.news-item.style-1 .title { font-weight: 700 !important; letter-spacing: -.01em; }

/* --------------------------------------------------------------------------
   Faixa de números (Fundado em 1988 / Estatísticas)
   -------------------------------------------------------------------------- */
.row-facts-1 .bg-parallax-overlay, .parallax-overlay .bg-parallax-overlay { background: linear-gradient(120deg, rgba(7, 26, 39, .94), rgba(15, 50, 71, .86)) !important; opacity: 1 !important; }
.row-facts-1 .number-wrap, .row-facts-1 .number { font-weight: 800 !important; letter-spacing: -.02em; }
.row-facts-1 .number-wrap .suffix { color: var(--pc-orange) !important; }

/* --------------------------------------------------------------------------
   Formulários
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], textarea, select {
    border: 1px solid #d6dee7 !important; border-radius: var(--pc-radius-sm) !important; background: #fff !important;
    color: var(--pc-ink) !important; font-size: 15px !important; transition: border-color .2s, box-shadow .2s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="search"]:focus, textarea:focus, select:focus {
    border-color: var(--pc-navy) !important; box-shadow: 0 0 0 4px rgba(15, 50, 71, .10) !important; outline: none;
}
::placeholder { color: #8b98a8 !important; }
.row-request { background: var(--pc-soft) !important; }

/* --------------------------------------------------------------------------
   Título das páginas internas (#featured-title): faixa azul com breadcrumb acima
   do título. A faixa de chamada no fim das páginas é o inc/cta.php (.pc-cta).
   -------------------------------------------------------------------------- */
#featured-title {
    position: relative; overflow: hidden; border: 0 !important;
    background: linear-gradient(115deg, rgba(7, 26, 39, .97) 30%, rgba(15, 50, 71, .9) 100%),
                url('../img/bg-featured-title.jpg') center / cover no-repeat, var(--pc-navy-950) !important;
}
#featured-title:after { /* brilho laranja discreto à direita */
    content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 114, 34, .22), transparent 68%); pointer-events: none;
}
#featured-title #featured-title-inner { position: relative; z-index: 1; }
#featured-title .featured-title-inner-wrap {
    display: flex !important; flex-direction: column-reverse; align-items: flex-start; gap: 14px;
    padding: clamp(48px, 6vw, 76px) 0 clamp(44px, 5.5vw, 68px) !important; overflow: visible;
}
#featured-title .featured-title-heading-wrap, #featured-title #breadcrumbs { display: block !important; width: auto !important; text-align: left !important; margin: 0 !important; }
#featured-title .featured-title-heading {
    padding: 0 !important; color: #fff !important; font-size: clamp(32px, 4.4vw, 50px) !important; font-weight: 800 !important;
    line-height: 1.1 !important; letter-spacing: -.03em !important; text-transform: none !important;
}
#featured-title .featured-title-heading:after {
    content: ""; position: static; display: block; width: 56px; height: 3px; margin-top: 20px; border: 0;
    border-radius: 3px; background: var(--pc-orange);
}
#featured-title #breadcrumbs, #featured-title #breadcrumbs .breadcrumbs-inner {
    font-size: 13.5px !important; font-weight: 500; letter-spacing: 0; text-transform: none; color: #9fb1c1 !important;
}
#featured-title #breadcrumbs .breadcrumbs-inner:after { display: none; }
#featured-title #breadcrumbs a { color: #d3dee8 !important; font-weight: 600; text-decoration: none; }
#featured-title #breadcrumbs a:hover { color: #ffa565 !important; }
#featured-title #breadcrumbs .sep { padding: 0 8px; color: var(--pc-orange) !important; font-size: 9px; }
#featured-title #breadcrumbs .trail-end { color: #9fb1c1; }

/* --------------------------------------------------------------------------
   Blog, notícias e barra lateral
   -------------------------------------------------------------------------- */
.hentry .post-media img { border-radius: var(--pc-radius); }
.hentry .post-title a { color: var(--pc-ink) !important; font-weight: 700; letter-spacing: -.015em; }
.hentry .post-title a:hover { color: var(--pc-cyan) !important; }
.hentry .post-date li { background: var(--pc-navy) !important; border-radius: 8px 8px 0 0; }
.hentry .post-date li.month { background: var(--pc-orange) !important; border-radius: 0 0 8px 8px; text-transform: lowercase; }
.post-read-more .post-link a { border-radius: var(--pc-radius-sm) !important; background: var(--pc-navy) !important; color: #fff !important; font-weight: 600 !important; letter-spacing: .04em; }
.post-read-more .post-link a:hover { background: var(--pc-orange) !important; }
#sidebar .widget-title, .widget .widget-title { font-size: 15px !important; font-weight: 700 !important; letter-spacing: .02em; color: var(--pc-ink) !important; }
#sidebar .widget-title:after, .widget .widget-title:after { background-color: var(--pc-orange) !important; }
.trigger.trigger_info { border-radius: var(--pc-radius-sm); background: var(--pc-soft-2) !important; color: var(--pc-navy) !important; border: 1px solid #cfe1ea; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.pc-footer { position: relative; background: var(--pc-navy-950); color: #9fb1c1; font-size: 15px; line-height: 1.7; }
.pc-footer:before { /* filete com as cores da marca */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--pc-orange) 0%, var(--pc-orange) 18%, var(--pc-navy) 18%, #15506f 100%);
}
.pc-footer svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pc-footer a { color: #d3dee8; text-decoration: none; transition: color .2s; }
.pc-footer a:hover { color: #fff; }
.pc-footer a:focus-visible { outline: 3px solid rgba(238, 114, 34, .6); outline-offset: 2px; border-radius: 4px; }
.pc-footer ul { margin: 0; padding: 0; list-style: none; }
.pc-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.25fr 1.2fr; gap: 48px; padding-top: 80px; padding-bottom: 64px; }
.pc-footer-grid:before, .pc-footer-grid:after, .pc-footer-bottom-inner:before, .pc-footer-bottom-inner:after { display: none; }

.pc-footer-logo { display: inline-block; line-height: 0; }
.pc-footer-logo img { width: auto; height: 50px; filter: brightness(0) invert(1); opacity: .95; }
.pc-footer-brand p { margin: 20px 0 24px; max-width: 340px; }
.pc-footer-social { display: flex; gap: 10px; }
.pc-footer-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #d3dee8;
    transition: background .2s, border-color .2s, color .2s, transform .2s var(--pc-ease);
}
.pc-footer-social a:hover { background: var(--pc-orange); border-color: var(--pc-orange); color: #fff; transform: translateY(-2px); }

.pc-footer-title {
    margin: 4px 0 20px; color: #fff; font-size: 14px !important; font-weight: 700; line-height: 1.3;
    letter-spacing: .1em; text-transform: uppercase;
}
.pc-footer-links li + li { margin-top: 10px; }
.pc-footer-links a { position: relative; display: inline-block; padding-left: 0; transition: color .2s, padding-left .25s var(--pc-ease); }
.pc-footer-links a:before {
    content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; border-radius: 2px;
    background: var(--pc-orange); transition: width .25s var(--pc-ease);
}
.pc-footer-links a:hover { padding-left: 16px; }
.pc-footer-links a:hover:before { width: 10px; }

.pc-footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.pc-footer-contact li + li { margin-top: 14px; }
.pc-footer-contact svg { margin-top: 3px; color: var(--pc-orange); }
.pc-footer-contact a, .pc-footer-contact span { overflow-wrap: anywhere; }

.pc-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #7f94a7; }
.pc-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.pc-footer-bottom p { margin: 0; }
.pc-footer-bottom a { color: #c3d1dd; font-weight: 600; }

/* Botões flutuantes: WhatsApp e voltar ao topo */
.pc-whats-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 950; display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35), 0 2px 6px rgba(7, 26, 39, .2); transition: transform .25s var(--pc-ease), box-shadow .25s;
}
.pc-whats-float svg { width: 32px; height: 32px; }
.pc-whats-float:before { /* pulso discreto */
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pc-pulse 2.4s var(--pc-ease) infinite;
}
.pc-whats-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.pc-whats-float:focus-visible { outline: 3px solid rgba(238, 114, 34, .7); outline-offset: 3px; }
@keyframes pc-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

#scroll-top {
    right: 26px !important; bottom: 92px !important; width: 46px !important; height: 46px !important; line-height: 46px !important;
    border-radius: 50%; z-index: 949 !important; box-shadow: 0 8px 20px rgba(7, 26, 39, .25);
    transform: translateY(12px); transition: opacity .25s, visibility .25s, transform .25s var(--pc-ease);
}
#scroll-top:before { background-color: var(--pc-navy) !important; }
#scroll-top:hover:before { background-color: var(--pc-orange) !important; }
#scroll-top.show { transform: none; }

@media (max-width: 1199px) {
    .pc-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
}
@media (max-width: 575px) {
    .pc-footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
    .pc-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .pc-whats-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
    #scroll-top { right: 20px !important; bottom: 82px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .pc-whats-float:before { animation: none; display: none; }
}

/* ==========================================================================
   NOTÍCIAS DO TST - home
   ========================================================================== */
.row-tst-news { background: #fff; }
.row-tst-news .tst-home-item { height: 100%; margin-bottom: 30px; background: #fff; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); overflow: hidden; transition: box-shadow .25s var(--pc-ease), transform .25s var(--pc-ease), border-color .25s; }
.row-tst-news .tst-home-item:hover { box-shadow: var(--pc-shadow-hover); transform: translateY(-3px); border-color: transparent; }
.row-tst-news .tst-home-thumb { display: block; overflow: hidden; background: var(--pc-navy); aspect-ratio: 16 / 9; }
.row-tst-news .tst-home-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pc-ease); }
.row-tst-news .tst-home-item:hover .tst-home-thumb img { transform: scale(1.04); }
.row-tst-news .tst-home-body { position: relative; padding: 22px 22px 24px 86px; }
.row-tst-news .tst-home-date { position: absolute; left: 22px; top: 24px; width: 48px; list-style: none; margin: 0; padding: 0; text-align: center; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(15, 50, 71, .15); }
.row-tst-news .tst-home-date li { display: block; }
.row-tst-news .tst-home-date .day { background: var(--pc-navy); color: #fff; font-weight: 800; font-size: 20px; line-height: 1; padding: 11px 0 6px; }
.row-tst-news .tst-home-date .month { background: var(--pc-orange); color: #fff; font-size: 11px; font-weight: 600; line-height: 2; text-transform: lowercase; }
.row-tst-news .tst-home-item .title { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; margin: 0 0 10px; }
.row-tst-news .tst-home-item .title a { color: var(--pc-ink); }
.row-tst-news .tst-home-item .title a:hover { color: var(--pc-cyan); }
.row-tst-news .tst-home-item .tst-home-excerpt { font-size: 14.5px; line-height: 1.7; color: var(--pc-muted); margin: 0 0 14px; }
.row-tst-news .tst-home-item .simple-link { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--pc-cyan); }
.row-tst-news .tst-home-item .simple-link:after { content: " →"; }
.row-tst-news .tst-home-item .simple-link:hover { color: var(--pc-navy); }
.row-tst-news .tst-home-source { font-size: 13px; color: var(--pc-muted); margin-top: 18px; }
@media (min-width: 992px) {
    .row-tst-news .tst-home-cols { display: flex; flex-wrap: wrap; }
    .row-tst-news .tst-home-cols > [class*="col-"] { display: flex; }
    .row-tst-news .tst-home-cols .tst-home-item { width: 100%; }
}

/* NOTÍCIAS DO TST - página Notícias (/artigos) */
.tst-news .tst-news-item .post-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.tst-news-source { font-size: 13px; color: var(--pc-muted); }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .pc-slide-title { font-size: 40px; }
    .pc-slide:after { background: linear-gradient(90deg, rgba(7, 26, 39, .9) 0%, rgba(10, 34, 51, .7) 60%, rgba(15, 50, 71, .35) 100%); }
    .themesflat-headings .heading { font-size: 28px !important; }
}
@media (max-width: 575px) {
    .pc-slides { height: 640px; }
    .pc-slide:after { background: linear-gradient(180deg, rgba(7, 26, 39, .35) 0%, rgba(7, 26, 39, .78) 45%, rgba(7, 26, 39, .95) 100%); }
    .pc-slide-container { align-items: flex-end; }
    .pc-slide-content { padding: 0 0 96px; }
    .pc-slide-title { font-size: 31px; }
    .pc-slide-lead { font-size: 16px; margin-bottom: 24px; }
    .pc-slide-actions .pc-btn { width: 100%; }
    .pc-slider-controls { bottom: 26px; }
    .pc-slider-arrows { display: none; }
    .row-services .themesflat-icon-box.style-3 { padding: 22px 20px 20px 92px !important; }
    .row-services .themesflat-icon-box.style-3 .icon-wrap { left: 20px !important; top: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { transition: none !important; animation: none !important; }
}


/* Widget de acessibilidade: no celular a base o fixa em top:65px/right:0, em cima do
   botão de menu deste tema. Aqui ele vai para o canto inferior esquerdo. */
@media screen and (max-width: 768px) {
    .accessibility-buttons { top: auto !important; bottom: 18px !important; left: 10px !important; right: auto !important; }
}

/* ==========================================================================
   HOME - seções (themes/finance/index.php, depois do slider)
   ========================================================================== */
.pc-section { padding: clamp(64px, 8vw, 112px) 0; }
.pc-section svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-section .container:before, .pc-section .container:after { display: none; } /* clearfix do bootstrap vira item de grid */

.pc-eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
    color: var(--pc-orange-600); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pc-eyebrow:before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.pc-eyebrow-light { color: #ffa565; }
.pc-section-title {
    margin: 0; color: var(--pc-ink); font-size: clamp(28px, 3.2vw, 40px) !important; font-weight: 800;
    line-height: 1.15; letter-spacing: -.025em; text-transform: none;
}
.pc-section-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.pc-section-head-row { display: flex; justify-content: space-between; }
.pc-section-lead { margin: 0; color: var(--pc-muted); font-size: 17px; line-height: 1.75; }
.pc-section-foot { margin-top: 48px; text-align: center; }
.pc-link, .pc-link-light { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.pc-link { color: var(--pc-navy); }
.pc-link:hover { color: var(--pc-orange-600); }
.pc-link-light { color: #fff; }
.pc-link-light:hover { color: #ffa565; }
.pc-link svg, .pc-link-light svg { transition: transform .2s var(--pc-ease); }
.pc-link:hover svg, .pc-link-light:hover svg { transform: translateX(4px); }

/* Serviços */
.pc-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pc-service-card {
    position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; overflow: hidden;
    background: #fff; border: 1px solid var(--pc-line); border-radius: 18px;
    transition: transform .3s var(--pc-ease), box-shadow .3s var(--pc-ease), border-color .3s;
}
.pc-service-card:before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--pc-orange);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--pc-ease);
}
.pc-service-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow-hover); border-color: transparent; }
.pc-service-card:hover:before { transform: scaleX(1); }
.pc-service-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 22px;
    border-radius: 16px; background: var(--pc-soft-2); color: var(--pc-navy); transition: background .3s, color .3s;
}
.pc-service-icon i { font-size: 28px; line-height: 1; color: inherit; }
.pc-service-card:hover .pc-service-icon { background: var(--pc-navy); color: #fff; }
.pc-service-title { margin: 0 0 10px; font-size: 19px !important; font-weight: 700; line-height: 1.35; letter-spacing: -.012em; }
.pc-service-title a { color: var(--pc-ink); text-decoration: none; }
.pc-service-title a:after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.pc-service-title a:focus-visible { outline: none; }
.pc-service-card:focus-within { outline: 3px solid rgba(238, 114, 34, .55); outline-offset: 2px; }
.pc-service-desc {
    margin: 0 0 22px; color: var(--pc-muted); font-size: 15px; line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-service-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--pc-orange-600); font-size: 14px; font-weight: 600; }
.pc-service-more svg { transition: transform .2s var(--pc-ease); }
.pc-service-card:hover .pc-service-more svg { transform: translateX(4px); }

/* Experiência e números */
.pc-about {
    position: relative; color: #c3d1dd;
    background: linear-gradient(110deg, rgba(7, 26, 39, .97) 35%, rgba(15, 50, 71, .88)), var(--pc-about-bg) center / cover no-repeat, var(--pc-navy-950);
}
.pc-about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px 80px; align-items: center; }
.pc-about .pc-section-title { color: #fff; }
.pc-about-text p { margin: 22px 0 28px; font-size: 17px; line-height: 1.8; color: #c3d1dd; }
.pc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.pc-stat {
    display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 28px 28px 26px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
    transition: background .3s, border-color .3s;
}
.pc-stat:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.pc-stat dd { margin: 0; color: #fff; font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc-stat-suffix { color: var(--pc-orange); margin-left: 2px; }
.pc-stat dt { margin-top: 10px; color: #a9bac9; font-size: 14.5px; font-weight: 500; }

/* Notícias do TST */
.pc-news { background: var(--pc-soft); }
.pc-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pc-news-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--pc-line); border-radius: 18px;
    transition: transform .3s var(--pc-ease), box-shadow .3s var(--pc-ease), border-color .3s;
}
.pc-news-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow-hover); border-color: transparent; }
.pc-news-card:focus-within { outline: 3px solid rgba(238, 114, 34, .55); outline-offset: 2px; }
.pc-news-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pc-navy); }
.pc-news-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pc-ease); }
.pc-news-card:hover .pc-news-media img { transform: scale(1.05); }
.pc-news-date {
    position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .95); color: var(--pc-navy); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 4px 14px rgba(7, 26, 39, .18);
}
.pc-news-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.pc-news-title { margin: 0 0 10px; font-size: 18px !important; font-weight: 700; line-height: 1.4; letter-spacing: -.012em; }
.pc-news-title a { color: var(--pc-ink); text-decoration: none; }
.pc-news-title a:after { content: ""; position: absolute; inset: 0; }
.pc-news-title a:focus-visible { outline: none; }
.pc-news-excerpt {
    margin: 0 0 18px; color: var(--pc-muted); font-size: 14.5px; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-news-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--pc-cyan); font-size: 13.5px; font-weight: 600; }
.pc-news-card:hover .pc-news-more { color: var(--pc-navy); }
.pc-news-source { margin: 32px 0 0; text-align: center; color: var(--pc-muted); font-size: 13px; }

/* Contato */
.pc-contact-card {
    display: grid; grid-template-columns: 5fr 7fr; overflow: hidden;
    background: #fff; border: 1px solid var(--pc-line); border-radius: 24px; box-shadow: var(--pc-shadow);
}
.pc-contact-aside {
    position: relative; padding: 52px 48px; overflow: hidden; color: #c3d1dd;
    background: linear-gradient(150deg, var(--pc-navy) 0%, var(--pc-navy-950) 100%);
}
.pc-contact-aside:after {
    content: ""; position: absolute; right: -120px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 114, 34, .28), transparent 70%); pointer-events: none;
}
.pc-contact-aside .pc-section-title { color: #fff; font-size: clamp(26px, 2.6vw, 34px) !important; }
.pc-contact-aside > p { margin: 16px 0 32px; font-size: 16px; line-height: 1.7; }
.pc-contact-list { position: relative; z-index: 1; display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.pc-contact-list li { display: flex; align-items: center; gap: 14px; }
.pc-contact-list svg {
    width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #ffa565; stroke-width: 1.8;
}
.pc-contact-list small { display: block; margin-bottom: 2px; color: #8ea3b5; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pc-contact-list a, .pc-contact-list span { color: #fff; font-size: 15.5px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.pc-contact-list a:hover { color: #ffa565; }
.pc-contact-main { padding: 52px 48px; }
.pc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.pc-field-full { grid-column: 1 / -1; }
.pc-field label { display: block; margin: 0 0 7px; color: var(--pc-ink); font-size: 14px; font-weight: 600; }
.pc-field input, .pc-field textarea { display: block; width: 100%; margin: 0 !important; padding: 0 16px !important; height: 52px; line-height: normal; }
.pc-field textarea { height: auto; min-height: 150px; padding: 14px 16px !important; resize: vertical; }
.pc-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.pc-form-actions small { color: var(--pc-muted); font-size: 13.5px; }
.pc-form-actions .pc-btn svg { width: 18px; height: 18px; }
.pc-form .pc-btn, .pc-form-sent .pc-btn { text-transform: none; letter-spacing: 0; font-size: 15px; }
.pc-form-sent { padding: 32px 8px; text-align: center; }
.pc-form-sent-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 18px;
    border-radius: 50%; background: #e6f6ee; color: #198754; font-size: 30px; font-weight: 700;
}
.pc-form-sent-title { margin: 0 0 10px; color: var(--pc-ink); font-size: 22px; font-weight: 800; }
.pc-form-sent p { color: var(--pc-text); }
.pc-form-sent .pc-btn { margin-top: 10px; }

/* Chamada final */
.pc-cta-section { padding: clamp(56px, 7vw, 88px) 0; background: #fff; }
.pc-contact + .pc-cta-section { padding-top: 0; } /* na home vem logo depois do contato */
.pc-cta {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px;
    padding: 52px 56px; overflow: hidden; border-radius: 24px; color: #c3d1dd;
    background: linear-gradient(120deg, var(--pc-navy-950) 0%, var(--pc-navy) 65%, #15506f 100%);
}
.pc-cta:after {
    content: ""; position: absolute; right: -80px; top: -140px; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 114, 34, .3), transparent 68%); pointer-events: none;
}
.pc-cta > * { position: relative; z-index: 1; }
.pc-cta h2 { margin: 0; color: #fff; font-size: clamp(24px, 2.6vw, 32px) !important; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.pc-cta p { margin: 10px 0 0; font-size: 16px; line-height: 1.7; max-width: 560px; }
.pc-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

@media (max-width: 1199px) {
    .pc-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991px) {
    .pc-section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
    .pc-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .pc-about-grid { grid-template-columns: 1fr; }
    .pc-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .pc-contact-card { grid-template-columns: 1fr; }
    .pc-contact-aside, .pc-contact-main { padding: 40px 32px; }
}
@media (max-width: 767px) {
    .pc-news-grid { grid-template-columns: 1fr; }
    .pc-section-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 575px) {
    .pc-service-grid { grid-template-columns: 1fr; }
    .pc-service-card { padding: 26px 22px 22px; }
    .pc-stats { gap: 12px; }
    .pc-stat { padding: 22px 18px 20px; }
    .pc-stat dd { font-size: 32px; }
    .pc-stat dt { font-size: 13.5px; }
    .pc-contact-card { border-radius: 18px; }
    .pc-contact-aside, .pc-contact-main { padding: 32px 22px; }
    .pc-form-grid { grid-template-columns: 1fr; }
    .pc-form-actions .pc-btn { width: 100%; }
    .pc-cta { padding: 36px 24px; border-radius: 18px; }
    .pc-cta-actions, .pc-cta-actions .pc-btn { width: 100%; }
}

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */
.pc-section-lead p { margin: 0; }
.pc-section-lead p + p { margin-top: 12px; }

/* Componentes do tema usados em Sobre / Sistema: títulos, abas, sanfona e imagens */
.themesflat-headings .heading { text-transform: none !important; }
.themesflat-tabs { padding-right: 0; }
.themesflat-tabs .tab-title { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 0 !important; border-radius: 14px; background: var(--pc-soft-2); }
.themesflat-tabs .tab-title .item-title { margin: 0 !important; border: 0 !important; background: transparent !important; top: 0 !important; }
.themesflat-tabs .tab-title .item-title > span {
    padding: 9px 18px !important; border: 0 !important; border-radius: 10px; color: var(--pc-muted);
    font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background .2s, color .2s, box-shadow .2s;
}
.themesflat-tabs .tab-title .item-title > span:hover { color: var(--pc-navy); }
.themesflat-tabs .tab-title .item-title.active > span { background: #fff; color: var(--pc-navy); box-shadow: 0 2px 8px rgba(15, 50, 71, .1); }
.themesflat-tabs .tab-title .item-title:before, .themesflat-tabs .tab-title .item-title:after,
.themesflat-tabs .tab-title .item-title > span:before, .themesflat-tabs .tab-title .item-title > span:after { display: none !important; }
.themesflat-tabs .tab-content .item-content { padding-top: 26px; }
.themesflat-tabs .tab-content .item-content .heading { font-size: 20px !important; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; text-transform: none; color: var(--pc-ink); }

.themesflat-accordions .accordion-item { margin-bottom: 12px; background: #fff; border: 1px solid var(--pc-line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.themesflat-accordions .accordion-item.active { border-color: transparent; box-shadow: var(--pc-shadow); }
.themesflat-accordions .accordion-item .accordion-heading {
    padding: 18px 56px 18px 22px !important; background: transparent !important; border: 0 !important; border-radius: 0;
    color: var(--pc-ink) !important; font-size: 16px !important; font-weight: 700; line-height: 1.4; letter-spacing: -.005em; text-transform: none;
}
.themesflat-accordions .accordion-item .accordion-heading:hover { color: var(--pc-navy) !important; }
.themesflat-accordions .accordion-item .accordion-heading > .inner { padding: 0 !important; }
.themesflat-accordions .accordion-item .accordion-heading:after {
    right: 18px !important; top: 50% !important; width: 28px; height: 28px; margin-top: -14px; line-height: 28px !important;
    border-radius: 50%; background: var(--pc-soft-2); color: var(--pc-navy) !important; font-size: 12px !important;
}
.themesflat-accordions .accordion-item.active .accordion-heading:after { background: var(--pc-orange); color: #fff !important; }
.themesflat-accordions .accordion-item .accordion-content { padding: 0 22px 20px !important; color: var(--pc-text); font-size: 15.5px; line-height: 1.75; }
.themesflat-accordions .accordion-item.active .accordion-heading { box-shadow: inset 3px 0 0 var(--pc-orange); }

.img-single img { border-radius: 20px; }
.row-video .themesflat-button.white, .row-video .themesflat-button { border-radius: var(--pc-radius-sm) !important; text-transform: none; letter-spacing: 0; }

/* Serviços: soluções personalizadas */
.pc-solutions { background: var(--pc-soft); }
.pc-solutions-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px 80px; align-items: start; }
.pc-solutions-body p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--pc-text); }
.pc-checklist { display: grid; gap: 12px; margin: 26px 0 32px; padding: 0; list-style: none; }
.pc-checklist li { position: relative; padding-left: 36px; color: var(--pc-ink); font-weight: 600; }
.pc-checklist li:before {
    content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--pc-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Conteúdo + barra lateral (serviço) */
.pc-inner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.pc-inner-grid #sidebar { float: none; width: auto; }
.pc-article-media { margin: 0 0 32px; overflow: hidden; border-radius: 20px; background: var(--pc-soft); }
.pc-article-media img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 628; object-fit: cover; }
.pc-prose { color: var(--pc-text); font-size: 17px; line-height: 1.8; }
.pc-prose > * + * { margin-top: 1em; }
.pc-prose p { margin: 0; }
.pc-prose h2, .pc-prose h3 { margin-top: 1.6em; color: var(--pc-ink); font-weight: 800; letter-spacing: -.015em; }
.pc-prose ul, .pc-prose ol { padding-left: 1.3em; }
.pc-prose li + li { margin-top: .4em; }
.pc-article-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 48px;
    padding: 32px; border-radius: 20px; background: var(--pc-soft-2); border: 1px solid #d6e6ef;
}
.pc-article-cta h2 { margin: 0 0 6px; color: var(--pc-ink); font-size: 22px !important; font-weight: 800; letter-spacing: -.015em; }
.pc-article-cta p { margin: 0; color: var(--pc-text); }
.pc-article-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Barra lateral (inc/sidebar.php) */
.pc-side { display: grid; gap: 20px; }
.pc-side svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-side-box { padding: 24px; background: #fff; border: 1px solid var(--pc-line); border-radius: 18px; }
.pc-side-title { margin: 0 0 14px; color: var(--pc-ink); font-size: 13px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pc-side-search { position: relative; margin: 0; }
.pc-side-search input[type="search"] { width: 100%; height: 48px; margin: 0; padding: 0 52px 0 16px !important; }
.pc-side-search button {
    position: absolute; right: 5px; top: 5px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    padding: 0; border: 0; border-radius: 10px; background: var(--pc-orange); color: #fff; box-shadow: none; cursor: pointer;
}
.pc-side-search button:hover { background: var(--pc-orange-600); transform: none; }
.pc-side-list { margin: 0; padding: 0; list-style: none; }
.pc-side-list li + li { border-top: 1px solid var(--pc-line); }
.pc-side-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 4px;
    color: var(--pc-text); font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: color .2s, padding .2s;
}
.pc-side-list a svg { color: var(--pc-muted); transition: transform .2s var(--pc-ease), color .2s; }
.pc-side-list a:hover { color: var(--pc-navy); }
.pc-side-list a:hover svg { color: var(--pc-orange); transform: translateX(3px); }
.pc-side-list .is-current a { color: var(--pc-orange-600); font-weight: 700; }
.pc-side-list .is-current a svg { color: var(--pc-orange); }
.pc-side-list small { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--pc-soft-2); color: var(--pc-navy); font-size: 12px; font-weight: 700; text-align: center; }
.pc-side-posts { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pc-side-posts a { display: block; color: var(--pc-ink); font-weight: 600; line-height: 1.4; text-decoration: none; }
.pc-side-posts a:hover { color: var(--pc-cyan); }
.pc-side-posts time { color: var(--pc-muted); font-size: 13px; }
.pc-side-cta { position: relative; overflow: hidden; border: 0; color: #c3d1dd; background: linear-gradient(150deg, var(--pc-navy) 0%, var(--pc-navy-950) 100%); }
.pc-side-cta:after {
    content: ""; position: absolute; right: -90px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 114, 34, .3), transparent 70%); pointer-events: none;
}
.pc-side-cta > * { position: relative; z-index: 1; }
.pc-side-cta .pc-side-title { color: #fff; font-size: 20px !important; letter-spacing: -.01em; text-transform: none; }
.pc-side-cta p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; }
.pc-side-cta .pc-btn { width: 100%; }
.pc-side-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 600; text-decoration: none; }
.pc-side-phone svg { color: #ffa565; }
.pc-side-phone:hover { color: #ffa565; }

/* Notícias (/artigos): grade de 2 colunas ao lado da barra lateral */
.pc-news-list { margin-bottom: 20px; }
.pc-news-list-head { margin-bottom: 32px; }
.pc-news-list-head p { margin: 12px 0 0; color: var(--pc-muted); font-size: 16px; }
.pc-news-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.blog-archive #site-content { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.blog-archive #sidebar.pc-side { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 56px; }
.pc-inner { padding: clamp(56px, 7vw, 96px) 0 !important; } /* o tema zera o padding de #main-content */

/* Contato (/contato) */
.pc-contact-page { background: var(--pc-soft); }

@media (max-width: 991px) {
    .pc-solutions-grid { grid-template-columns: 1fr; }
    .pc-inner-grid { grid-template-columns: 1fr; }
    #sidebar.pc-side { display: grid !important; margin-top: 48px; } /* o tema escondia a barra lateral no celular */
    .blog-archive #sidebar.pc-side { margin-top: 0; padding-top: 0; }
}
@media (max-width: 767px) {
    .pc-news-grid-2 { grid-template-columns: 1fr; }
    .pc-article-cta { padding: 24px; }
    .pc-article-cta-actions, .pc-article-cta-actions .pc-btn { width: 100%; }
}

/* Notícias: aviso quando nenhum feed do TST responde (artigos.php) */
.pc-news-empty { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: #fff; }
.pc-news-empty .pc-section-title { margin: 0 0 12px; }
.pc-news-empty p { margin: 0 0 20px; color: var(--pc-muted); max-width: 60ch; }

/* Notícias: capa em HTML/CSS quando a notícia não traz foto (inc/news-media.php) */
.pc-news-cover {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
    padding: 56px 22px 20px; color: #fff; overflow: hidden;
    transition: transform .6s var(--pc-ease);
}
.pc-news-cover:before { /* anel decorativo discreto no canto */
    content: ""; position: absolute; right: -28px; top: -28px; width: 150px; height: 150px; border-radius: 50%;
    border: 18px solid rgba(255, 255, 255, .06);
}
.pc-news-cover--0 { background: linear-gradient(135deg, var(--pc-navy) 0%, var(--pc-navy-950) 100%); }
.pc-news-cover--1 { background: linear-gradient(135deg, #12506b 0%, var(--pc-navy-900) 100%); }
.pc-news-cover--2 { background: linear-gradient(135deg, var(--pc-navy-900) 0%, #1d2f3d 60%, #3a2a1f 100%); }
.pc-news-card:hover .pc-news-cover { transform: scale(1.04); }
.pc-news-cover-bar { width: 40px; height: 4px; border-radius: 2px; background: var(--pc-orange); }
.pc-news-cover-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
    font-size: clamp(16px, 1.35vw, 19px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
}
.pc-news-cover-src { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9fc3d6; }
@media (max-width: 767px) { .pc-news-cover-title { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .pc-news-cover { transition: none; } .pc-news-card:hover .pc-news-cover { transform: none; } }

/* Ícone "link externo" dos cards de notícia: sem tamanho, o SVG ocupava o card todo */
.pc-news-more { flex-wrap: nowrap; }
.pc-news-more svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
