/*
Theme Name: DHO Simplificado v2
Theme URI: https://dhosimplificado.com.br
Author: DHO Simplificado
Description: Tema de blocos totalmente editável para a DHO Simplificado.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: dho-simplificado-v2
*/

:root {
    --black: #0A0C12;
    --navy: #023661;
    --blue: #035293;
    --charcoal: #3F3A42;
    --steel: #7695AA;
    --ice: #D3DAED;
    --orange: #FD822E;
    --cream: #F4F6FA;
    --ink: #0A0C12;
    --muted: #526575;
    --line: #D3DAED;
    --white: #FFFFFF;
    --max: 1180px;
    --font: Arial, Helvetica, sans-serif;
}

/*
 * Compatibilidade FSE
 *
 * A base visual abaixo deriva da v1.5. Estas regras conectam os mesmos
 * componentes aos blocos nativos usados pela nova arquitetura.
 */
.wp-site-blocks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wp-site-blocks > main {
    flex: 1 0 auto;
}

.wp-site-blocks > * {
    margin-block-start: 0;
}

.alignfull {
    width: 100%;
    max-width: none;
}

.entry-content,
.wp-block-post-content {
    margin-block-start: 0;
}

.wp-block-post-content > :first-child {
    margin-block-start: 0;
}

.wp-block-post-content > :last-child {
    margin-block-end: 0;
}

.wp-block-post-content > .alignfull {
    margin-block-start: 0;
    margin-block-end: 0;
}

.wp-block-group.wrap {
    width: min(calc(100% - 40px), var(--max));
}

.wp-block-columns {
    align-items: stretch;
}

.wp-block-column {
    min-width: 0;
}

.wp-block-navigation a {
    text-decoration: none;
}

.wp-block-navigation__responsive-container.is-menu-open {
    color: var(--white);
    background: var(--black);
    padding: 28px;
}

.wp-block-site-title {
    margin: 0;
    color: var(--white);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wp-block-site-title a {
    text-decoration: none;
}

.site-brand .custom-logo,
.footer-brand .custom-logo {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.dho-symbol-fallback {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.hero-grid.wp-block-columns,
.about-intro-grid.wp-block-columns,
.page-hero-grid.wp-block-columns,
.cta-inner.wp-block-columns {
    margin-bottom: 0;
}

.hero-copy,
.about-intro-copy,
.cta-copy,
.cta-actions {
    min-width: 0;
}

.hero-media.wp-block-group {
    min-height: 525px;
}

.hero-media > .wp-block-image:first-child {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
}

.hero-media > .wp-block-image:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.hero-symbol.wp-block-image {
    position: absolute;
    right: -20px;
    bottom: -18px;
    z-index: 2;
    width: 78px;
    margin: 0;
}

.section > .wrap,
.page-hero > .wrap,
.page-main > .wrap,
.articles-section > .wrap,
.content-hub-intro > .wrap,
.cta > .wrap,
.site-footer > .wrap {
    position: relative;
}

.grid3.wp-block-columns,
.posts.wp-block-post-template,
.service-cards.wp-block-columns,
.contact-channel-grid.wp-block-columns,
.principles-grid.wp-block-columns,
.flexible-process.wp-block-columns {
    gap: 20px;
    margin-bottom: 0;
}

.card.wp-block-group,
.service-detail-card.wp-block-group,
.contact-channel-grid .wp-block-group,
.post-card.wp-block-group {
    height: 100%;
}

.card .wp-block-heading,
.service-detail-card .wp-block-heading,
.post-card .wp-block-post-title {
    margin-top: 10px;
}

.service-card .link,
.post-card .link {
    margin-top: auto;
}

.section-action.wp-block-buttons {
    margin-top: 30px;
}

.about-intro-media.wp-block-image {
    min-height: 480px;
    margin: 0;
}

.about-intro-media.wp-block-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    object-position: center 45%;
}

.posts.wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    list-style: none;
}

.posts.wp-block-post-template > li {
    margin: 0;
}

.post-card.wp-block-group {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.post-card .wp-block-post-terms,
.post-card .wp-block-post-date {
    color: var(--blue);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.post-card .wp-block-post-title {
    font-size: 1.35rem;
    line-height: 1.25;
}

.post-card .wp-block-post-title a {
    text-decoration: none;
}

.post-card .wp-block-post-excerpt {
    color: var(--charcoal);
}

.post-card .wp-block-post-excerpt__more-link,
.wp-block-read-more {
    color: var(--blue);
    font-weight: 700;
    text-underline-offset: 4px;
}

.cta-inner.wp-block-columns {
    display: grid;
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.15fr) minmax(260px, .65fr);
}

.cta-media.wp-block-image {
    min-height: 310px;
    margin: 0;
}

.cta-media.wp-block-image img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center 32%;
}

.cta-actions.wp-block-buttons {
    display: grid;
    gap: 11px;
    margin-top: 0;
}

.cta-actions .wp-block-button,
.cta-actions .wp-block-button__link {
    width: 100%;
}

.footer-grid.wp-block-columns {
    display: grid;
    grid-template-columns: 1.35fr .75fr 1fr;
    margin-bottom: 0;
}

.page-entry.wp-block-post-content {
    max-width: none;
}

.page-featured.wp-block-image {
    position: relative;
    min-height: 470px;
    margin: 0 0 36px;
    overflow: hidden;
    background: var(--navy);
    border: 1px solid var(--steel);
}

.page-featured.wp-block-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center 32%;
}

.dho-content-panel.wp-block-group {
    padding: clamp(28px, 5vw, 58px);
}

.dho-two-col.wp-block-columns {
    gap: clamp(34px, 5vw, 64px);
    margin-bottom: 0;
}

.principles-grid.wp-block-columns,
.flexible-process.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principles-grid .wp-block-group {
    padding-top: 22px;
    border-top: 3px solid var(--orange);
}

.service-cards.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-cards.wp-block-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-cards > .wp-block-column:last-child {
    grid-column: 1 / -1;
}

.service-cards.wp-block-group > .service-detail-card:last-child {
    grid-column: 1 / -1;
}

.dho-media-panel.wp-block-media-text {
    min-height: 480px;
    color: var(--white);
    background: var(--navy);
}

.dho-media-panel .wp-block-media-text__media,
.dho-media-panel .wp-block-media-text__media img {
    min-height: 480px;
    height: 100%;
}

.dho-media-panel .wp-block-media-text__media img {
    object-fit: cover;
}

.dho-media-panel .wp-block-media-text__content {
    padding: clamp(32px, 5vw, 62px);
}

.contact-channel-grid.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-channel-grid .wp-block-group {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(26px, 3.5vw, 40px);
    background: var(--white);
    border-top: 6px solid var(--blue);
}

.contact-channel-grid .wp-block-group:first-child {
    color: var(--white);
    background: var(--navy);
    border-color: var(--orange);
}

.contact-channel-grid > .wp-block-column:first-child .service-label {
    color: var(--orange);
}

.contact-channel-grid > .wp-block-column:first-child p {
    color: var(--ice);
}

.contact-channel-grid .wp-block-buttons,
.contact-channel-grid .contact-direct-link {
    margin-top: auto;
}

.content-hub-overview.wp-block-columns {
    gap: 56px;
    margin-bottom: 0;
}

.topic-nav.wp-block-buttons {
    margin-top: 0;
}

.archive-grid.wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
}

.archive-grid.wp-block-post-template > li:first-child {
    grid-column: 1 / -1;
}

.article-hero .wp-block-post-title {
    max-width: 980px;
    margin: 14px 0 20px;
    font-size: clamp(2.45rem, 5.6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.article-body.wp-block-post-content {
    width: min(calc(100% - 40px), 820px);
    margin-inline: auto;
    padding: 72px 0 88px;
}

.article-body > p:first-child {
    color: var(--navy);
    font-size: clamp(1.25rem, 2vw, 1.48rem);
    line-height: 1.52;
}

.article-body blockquote {
    border-left: 7px solid var(--orange);
}

.hero .wp-block-heading,
.page-hero .wp-block-heading,
.article-hero .wp-block-heading,
.panel-dark .wp-block-heading,
.content-preview .wp-block-heading,
.site-footer .wp-block-heading {
    color: var(--white);
}

.hero-copy > p:not(.eyebrow),
.article-hero .wp-block-post-excerpt,
.article-hero .wp-block-post-excerpt p {
    color: var(--ice);
}

.panel-soft .wp-block-heading {
    color: var(--navy);
}

.footer-navigation .wp-block-navigation-item__content {
    color: var(--white);
}

.dho-standard-content {
    width: min(calc(100% - 40px), 900px);
    margin-inline: auto;
    padding: 66px 0 78px;
}

.dho-standard-content > .wp-block-post-content {
    font-size: 1.05rem;
}

.dho-full-width-content {
    padding-block: 56px;
}

.dho-blank-content {
    min-height: 100vh;
}

.wp-block-search__inside-wrapper {
    border-color: var(--steel);
}

.wp-block-search__button {
    color: var(--black);
    background: var(--orange);
    border: 0;
    border-radius: 5px;
    font-weight: 700;
}

.wp-block-query-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.wp-block-query-pagination a {
    color: var(--navy);
}

.is-style-dho-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 7px;
}

.is-style-dho-panel-dark {
    color: var(--white);
    background: var(--navy);
}

.is-style-dho-panel-soft {
    background: var(--ice);
}

.is-style-dho-eyebrow {
    color: var(--blue);
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .principles-grid.wp-block-columns,
    .flexible-process.wp-block-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-channel-grid.wp-block-columns {
        grid-template-columns: 1fr 1fr;
    }

    .contact-channel-grid > .wp-block-column:last-child {
        grid-column: 1 / -1;
    }

    .cta-inner.wp-block-columns {
        grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    }

    .cta-actions.wp-block-buttons {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .hero-grid.wp-block-columns,
    .about-intro-grid.wp-block-columns,
    .page-hero-grid.wp-block-columns {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-media.wp-block-group {
        min-height: 470px;
    }

    .posts.wp-block-post-template,
    .archive-grid.wp-block-post-template {
        grid-template-columns: 1fr;
    }

    .archive-grid.wp-block-post-template > li:first-child {
        grid-column: auto;
    }

    .cta-inner.wp-block-columns {
        grid-template-columns: 1fr;
    }

    .footer-grid.wp-block-columns {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > .wp-block-column:first-child {
        grid-column: 1 / -1;
    }

    .service-cards.wp-block-columns {
        grid-template-columns: 1fr;
    }

    .service-cards.wp-block-group {
        grid-template-columns: 1fr;
    }

    .service-cards > .wp-block-column:last-child {
        grid-column: auto;
    }

    .service-cards.wp-block-group > .service-detail-card:last-child {
        grid-column: auto;
    }

    .dho-media-panel.wp-block-media-text {
        grid-template-columns: 100% !important;
    }

    .dho-media-panel .wp-block-media-text__media,
    .dho-media-panel .wp-block-media-text__content {
        grid-column: 1;
    }

    .dho-media-panel .wp-block-media-text__media {
        grid-row: 1;
    }

    .dho-media-panel .wp-block-media-text__content {
        grid-row: 2;
    }
}

@media (max-width: 620px) {
    .wp-block-group.wrap,
    .article-body.wp-block-post-content,
    .dho-standard-content {
        width: min(calc(100% - 28px), var(--max));
    }

    .hero-media.wp-block-group {
        min-height: 360px;
    }

    .hero-symbol.wp-block-image {
        right: -5px;
        bottom: -12px;
        width: 62px;
    }

    .principles-grid.wp-block-columns,
    .flexible-process.wp-block-columns,
    .contact-channel-grid.wp-block-columns {
        grid-template-columns: 1fr;
    }

    .contact-channel-grid > .wp-block-column:last-child {
        grid-column: auto;
    }

    .cta-actions.wp-block-buttons {
        grid-template-columns: 1fr;
    }

    .footer-grid.wp-block-columns {
        grid-template-columns: 1fr;
    }

    .footer-grid > .wp-block-column:first-child {
        grid-column: auto;
    }

    .dho-media-panel .wp-block-media-text__media,
    .dho-media-panel .wp-block-media-text__media img {
        min-height: 330px;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: var(--font); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip, .screen-reader-text { position: absolute; left: -9999px; }
.skip:focus {
    left: 12px;
    top: 12px;
    z-index: 9999;
    padding: 10px 14px;
    color: var(--black);
    background: var(--white);
    border-radius: 4px;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Cabeçalho e marca */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: rgba(10, 12, 18, .98);
    border-top: 3px solid var(--navy);
    border-bottom: 1px solid rgba(211, 218, 237, .18);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-brand, .footer-brand { display: inline-flex; min-width: 0; text-decoration: none; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-symbol {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    background: transparent;
}
.brand-symbol img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.brand-name {
    color: var(--white);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.nav li { margin: 0; list-style: none; }
.nav a { color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 700; }
.nav a:hover, .nav a:focus { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { padding: 10px 15px; font-size: .88rem; }
.menu-toggle {
    display: none;
    padding: 8px 11px;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--steel);
    border-radius: 5px;
    font-weight: 700;
}

/* Botões */
.btn, .wp-block-button__link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.btn-primary, .wp-block-button__link { color: var(--black); background: var(--orange); }
.btn-primary:hover, .wp-block-button__link:hover { color: var(--black); background: #FF9A57; }
.btn-light { color: var(--ice); background: transparent; border-color: var(--ice); }
.btn-light:hover { color: var(--black); background: var(--ice); }
.btn-outline { color: var(--navy); background: transparent; border-color: var(--navy); }
.btn-outline:hover { color: var(--white); background: var(--navy); }
.btn-dark { color: var(--white); background: var(--black); border-color: var(--black); }
.btn-dark:hover { color: var(--black); background: var(--white); border-color: var(--white); }
.btn-dark-outline { color: var(--black); background: transparent; border-color: var(--black); }
.btn-dark-outline:hover { color: var(--white); background: var(--black); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link { color: var(--blue); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link-on-dark { color: var(--ice); }

/* Abertura */
.hero {
    padding: 72px 0;
    color: var(--white);
    background: linear-gradient(125deg, var(--black) 0%, #041C31 45%, var(--navy) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr); gap: 68px; align-items: center; }
.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: .79rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.hero .eyebrow,
.page-hero .eyebrow,
.article-hero .eyebrow,
.panel-dark .eyebrow,
.dho-media-panel .eyebrow,
.content-preview .eyebrow,
.photo-proof .eyebrow,
.dark .eyebrow { color: var(--orange); }
.hero h1 {
    max-width: 760px;
    margin: 15px 0 22px;
    font-size: clamp(2.8rem, 5.2vw, 4.7rem);
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: -.038em;
}
.hero-copy > p { max-width: 680px; margin: 0; color: var(--ice); font-size: clamp(1.05rem, 1.8vw, 1.22rem); }
.hero-media { position: relative; min-height: 525px; margin: 0; }
.hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--steel); }
.hero-media > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-symbol {
    position: absolute;
    right: -20px;
    bottom: -18px;
    width: 78px;
    height: 78px;
    background: transparent;
    filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .22));
}
.hero-symbol img { width: 100%; height: 100%; object-fit: contain; background: transparent; }

/* Seções da página inicial */
.section { padding: 80px 0; }
.section.alt { background: var(--cream); }
.section.dark { color: var(--white); background: var(--black); }
.section-head { max-width: 810px; margin-bottom: 36px; }
.section h2, .page-hero h1 {
    margin: 9px 0 18px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.03em;
}
.lead { color: var(--muted); font-size: 1.12rem; }
.dark .lead { color: var(--ice); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 7px;
}
.card .num { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.card h3 { margin: 10px 0 4px; font-size: 1.3rem; line-height: 1.25; }
.card p { color: var(--muted); }
.service-card { border-top: 5px solid var(--blue); }
.service-card .link { margin-top: auto; }
.section-action { margin: 30px 0 0; }
.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: item; }
.method > div { padding: 20px 4px; border-top: 3px solid var(--orange); }
.method > div::before { counter-increment: item; content: "0" counter(item); color: var(--orange); font-size: .82rem; font-weight: 700; }
.method h3 { margin-bottom: 6px; line-height: 1.25; }
.method p { margin: 0; color: var(--ice); }
.photo-proof { display: grid; grid-template-columns: 1.08fr .92fr; color: var(--white); background: var(--navy); }
.photo-proof-image { min-height: 590px; }
.photo-proof-image img { width: 100%; height: 100%; object-fit: cover; }
.photo-proof-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(28px, 6vw, 90px); }
.photo-proof-copy h2 { margin: 12px 0 15px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.07; letter-spacing: -.03em; }
.photo-proof-copy p { color: var(--ice); font-size: 1.08rem; }
.audience-section { background: var(--cream); }
.audience-card { border-left: 4px solid var(--blue); }
.audience-card h3 { margin-top: 0; color: var(--blue); }
.solutions-section { background: var(--ice); }
.solutions-section .service-card { border-top: 6px solid var(--orange); box-shadow: 0 14px 34px rgba(2, 54, 97, .09); }
.solutions-section .service-card h3 { color: var(--navy); }
.about-intro { color: var(--black); background: var(--white); border-top: 1px solid var(--line); }
.about-intro .lead { color: var(--charcoal); }
.about-intro .btn-light { color: var(--navy); border-color: var(--navy); }
.about-intro .btn-light:hover { color: var(--white); background: var(--navy); }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr); gap: 66px; align-items: center; }
.about-intro-media { min-height: 480px; margin: 0; }
.about-intro-media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 45%; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.content-preview { color: var(--white); background: var(--navy); }
.content-preview .lead { color: var(--ice); }
.content-preview .post-card { color: var(--black); box-shadow: 0 12px 28px rgba(10, 12, 18, .18); }
.content-preview .section-action .btn-outline { color: var(--white); border-color: var(--ice); }
.content-preview .section-action .btn-outline:hover { color: var(--black); background: var(--ice); }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr .8fr; gap: 48px; align-items: end; }
.section-head-split > p { margin: 0 0 18px; }
.post-topic { color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.post-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 7px; }
.post-card .inside { padding: 24px; }
.post-card time { color: var(--muted); font-size: .78rem; }
.post-card h2, .post-card h3 { margin: 9px 0; font-size: 1.35rem; line-height: 1.25; }
.post-card a { text-decoration: none; }
.post-card a:hover { color: var(--blue); }

/* Chamada final */
.cta { padding: 72px 0; color: var(--black); background: var(--orange); }
.cta-inner { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.15fr) minmax(260px, .65fr); gap: 42px; align-items: center; }
.cta-media { min-height: 310px; margin: 0; overflow: hidden; border: 0; }
.cta-media img { width: 100%; height: 310px; object-fit: cover; object-position: center 32%; }
.cta .eyebrow { color: var(--black); }
.cta h2 { max-width: 700px; margin: 10px 0 14px; font-size: clamp(2rem, 4.1vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; }
.cta-copy p { max-width: 680px; margin: 0; font-size: 1.08rem; }
.cta-actions { display: grid; gap: 11px; }

/* Rodapé */
.site-footer { padding: 52px 0 24px; color: var(--ice); background: var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr 1fr; gap: 40px; }
.footer-brand { margin-bottom: 15px; }
.brand-lockup-footer .brand-symbol { width: 46px; height: 46px; flex-basis: 46px; }
.site-footer p { color: var(--ice); }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.copyright { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--charcoal); font-size: .8rem; }

/* Páginas internas e portal */
.page-hero { padding: 66px 0; color: var(--white); background: linear-gradient(120deg, var(--black), var(--navy)); }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; margin-bottom: 0; color: var(--ice); font-size: 1.1rem; }
.content { width: min(calc(100% - 40px), 900px); padding: 66px 0 78px; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { scroll-margin-top: 105px; margin: 2.1em 0 .55em; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; }
.entry-content h3 { margin-bottom: .4em; line-height: 1.25; }
.entry-content p, .entry-content li { color: var(--charcoal); }
.entry-content a { color: var(--blue); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.page-featured { margin: 0 0 45px; }
.page-featured img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 32%; }
.wp-block-columns { display: flex; gap: 20px; }
.wp-block-column { min-width: 0; flex: 1 1 0; }
.dho-beliefs .wp-block-column, .contact-options .wp-block-column { padding: 24px; background: var(--cream); border-top: 4px solid var(--blue); border-radius: 5px; }
.dho-beliefs h3, .contact-options h2 { margin-top: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--navy); background: transparent; border-color: var(--navy); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { color: var(--white); background: var(--navy); }
.content-hub-intro { padding-bottom: 30px; }
.content-hub-intro .entry-content { padding-bottom: 20px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 35px 0 72px; }
.archive-empty { grid-column: 1 / -1; padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: 7px; }
.posts-pagination { padding-bottom: 65px; }
.posts-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.posts-pagination .page-numbers { min-width: 40px; padding: 8px 12px; text-align: center; text-decoration: none; border: 1px solid var(--line); border-radius: 4px; }
.posts-pagination .current { color: var(--white); background: var(--navy); border-color: var(--navy); }

/* Páginas internas — composição editorial da marca */
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
    gap: 64px;
    align-items: end;
}
.page-hero-grid h1 { margin-bottom: 0; }
.page-hero-grid > p { margin: 0 0 8px; }
.page-main { background: var(--cream); }
.page-content-shell { padding: 64px 0 84px; }
.page-featured {
    position: relative;
    min-height: 470px;
    margin: 0 0 36px;
    overflow: hidden;
    background: var(--navy);
    border: 1px solid var(--steel);
}
.page-featured::after { content: ""; position: absolute; right: 0; bottom: 0; width: 72px; height: 9px; background: var(--orange); }
.page-featured img { width: 100%; height: 560px; max-height: none; object-fit: cover; object-position: center 32%; }
.page-entry { width: 100%; max-width: none; font-size: 1.04rem; }
.dho-page-flow { display: grid; gap: 28px; }
.dho-content-panel { padding: clamp(28px, 5vw, 58px); background: var(--white); border: 1px solid var(--line); }
.dho-content-panel h2 { max-width: 820px; margin: 10px 0 20px; font-size: clamp(1.9rem, 3.8vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; }
.dho-content-panel p { color: var(--charcoal); }
.dho-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(34px, 5vw, 64px); align-items: center; }
.dho-two-col > * { min-width: 0; }
.large-copy { font-size: clamp(1.18rem, 2vw, 1.42rem); line-height: 1.5; }
.panel-soft { background: var(--ice); border-color: var(--ice); }
.panel-soft .dho-two-col h2 { max-width: 650px; font-size: clamp(1.9rem, 3.25vw, 2.85rem); }
.services-flow > .panel-soft .wp-block-buttons { align-items: stretch; justify-content: flex-start; margin-top: 0; }
.services-flow > .panel-soft .wp-block-button__link { min-width: 168px; }
.panel-dark { color: var(--white); background: var(--navy); border-color: var(--navy); }
.panel-dark p, .panel-dark li { color: var(--ice); }
.principles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; counter-reset: principle; }
.principles-grid article { padding-top: 22px; border-top: 3px solid var(--orange); }
.principles-grid article::before { counter-increment: principle; content: "0" counter(principle); color: var(--orange); font-size: .76rem; font-weight: 700; }
.principles-grid h3 { margin: 11px 0 8px; color: var(--white); font-size: 1.1rem; line-height: 1.25; }
.principles-grid p { margin: 0; font-size: .95rem; }

/* Serviços */
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-detail-card { scroll-margin-top: 110px; padding: clamp(26px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--blue); }
.service-detail-card:last-child { grid-column: 1 / -1; }
.service-label { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.service-detail-card h2 { margin: 10px 0 12px; color: var(--navy); font-size: clamp(1.65rem, 2.6vw, 2.35rem); line-height: 1.12; }
.service-detail-card p, .service-detail-card li { color: var(--charcoal); }
.service-detail-card ul { margin-bottom: 0; padding-left: 1.2em; }
.dho-media-panel { min-height: 480px; display: flex; align-items: stretch; color: var(--white); background: var(--navy); }
.dho-media-panel > img { width: 55%; min-width: 0; min-height: 480px; flex: 1.05 1 55%; object-fit: cover; object-position: center; }
.dho-media-panel > div { width: 45%; min-width: 0; flex: .95 1 45%; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 62px); }
.dho-media-panel h2 { margin: 10px 0 16px; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.09; }
.dho-media-panel p { color: var(--ice); font-size: 1.08rem; }
.flexible-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.flexible-process article { padding: 20px; background: rgba(255, 255, 255, .07); border-top: 3px solid var(--orange); }
.flexible-process h3 { margin: 0 0 7px; color: var(--white); }
.flexible-process p { margin: 0; font-size: .94rem; }

/* Contato */
.page-main-contato { background: var(--ice); }
.contact-flow > .intro-panel { padding: 0; background: transparent; border: 0; }
.contact-flow > .intro-panel .large-copy { max-width: 760px; margin: 0; color: var(--navy); }
.contact-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.contact-channel-grid article { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.5vw, 40px); background: var(--white); border-top: 6px solid var(--blue); }
.contact-channel-grid article:first-child { color: var(--white); background: var(--navy); border-color: var(--orange); }
.contact-channel-grid article:first-child .service-label { color: var(--orange); }
.contact-channel-grid article:first-child p { color: var(--ice); }
.contact-channel-grid h2 { margin: 11px 0 10px; color: inherit; font-size: 1.8rem; line-height: 1.15; }
.contact-channel-grid p { color: var(--charcoal); }
.contact-channel-grid .btn, .contact-direct-link { margin-top: auto; }
.contact-direct-link { color: var(--blue); font-size: 1.06rem; font-weight: 700; overflow-wrap: anywhere; }

/* Portal e artigos */
.content-hub-intro { padding: 42px 0; background: var(--ice); }
.content-hub-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr); gap: 56px; align-items: center; }
.content-hub-overview > p { margin: 0; color: var(--navy); }
.topic-nav { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.topic-nav span { flex-basis: 100%; margin-bottom: 4px; color: var(--charcoal); font-size: .77rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.topic-nav a { padding: 8px 12px; color: var(--navy); background: rgba(255, 255, 255, .58); border: 1px solid var(--steel); border-radius: 999px; text-decoration: none; }
.articles-section { padding: 76px 0 82px; background: var(--white); }
.articles-heading { max-width: 780px; }
.articles-heading h2 { margin: 8px 0 34px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
.embedded-articles { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--steel); }
.embedded-articles .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
.articles-section .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
.post-card-featured { grid-column: 1 / -1; color: var(--white); background: var(--navy); border-color: var(--navy); }
.post-card-featured .inside { padding: clamp(28px, 5vw, 56px); }
.post-card-featured h2 { max-width: 800px; font-size: clamp(1.9rem, 4vw, 3.2rem); }
.post-card-featured p { max-width: 760px; color: var(--ice); font-size: 1.08rem; }
.post-card-featured .post-topic, .post-card-featured .link { color: var(--orange); }
.post-card p { color: var(--charcoal); }
.post-card.post-card-featured p { color: var(--ice); }
.post-card-featured a:hover { color: var(--orange); }
.post-card-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 22px; color: var(--muted); font-size: .86rem; }
.post-card-featured .post-card-footer { color: var(--ice); }
.portal-future { padding: 76px 0; background: var(--cream); }
.future-grid .card { border-top: 5px solid var(--blue); }

.article-hero { padding: 70px 0 76px; color: var(--white); background: linear-gradient(125deg, var(--black), var(--navy)); }
.article-hero-inner { max-width: 980px; }
.article-back { display: inline-block; margin-bottom: 48px; color: var(--ice); text-decoration: none; }
.article-hero h1 { max-width: 980px; margin: 14px 0 20px; font-size: clamp(2.45rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.04em; }
.article-hero p { max-width: 780px; color: var(--ice); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.article-meta { display: flex; gap: 22px; margin-top: 28px; color: var(--steel); font-size: .84rem; }
.article-body { max-width: 820px; padding: 72px 0 88px; }
.article-body .article-intro { color: var(--navy); font-size: clamp(1.25rem, 2vw, 1.48rem); line-height: 1.52; }
.article-body blockquote { margin: 42px 0; padding: 26px 30px; color: var(--navy); background: var(--ice); border-left: 7px solid var(--orange); font-size: 1.25rem; font-weight: 700; }
.article-body blockquote p { color: inherit; }

@media (max-width: 980px) {
    .nav-list { gap: 15px; }
    .nav a { font-size: .84rem; }
    .hero-grid { gap: 42px; }
    .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principles-grid, .flexible-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-channel-grid { grid-template-columns: 1fr 1fr; }
    .contact-channel-grid article:last-child { grid-column: 1 / -1; min-height: 260px; }
    .cta-inner { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); }
    .cta-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
    .admin-bar .site-header { top: 46px; }
    .header-inner { min-height: 70px; gap: 14px; }
    .menu-toggle { display: inline-flex; }
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        display: none;
        margin: 0;
        padding: 20px max(20px, calc((100vw - var(--max)) / 2));
        background: var(--black);
        border-top: 1px solid var(--charcoal);
        box-shadow: 0 12px 22px rgba(0, 0, 0, .18);
    }
    .nav.open { display: block; }
    .nav-list { align-items: flex-start; flex-direction: column; gap: 12px; }
    .hero { padding: 58px 0; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .hero-media { min-height: 470px; }
    .grid3, .posts, .archive-grid { grid-template-columns: 1fr; }
    .photo-proof { grid-template-columns: 1fr; }
    .photo-proof-image { min-height: 460px; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .about-intro-media { min-height: 420px; }
    .about-intro-media img { min-height: 420px; max-height: 560px; }
    .cta-inner { grid-template-columns: 1fr; gap: 30px; }
    .cta-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cta-media { min-height: 360px; }
    .cta-media img { height: 360px; object-position: center 28%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .wp-block-columns { flex-direction: column; }
    .page-hero-grid, .section-head-split, .dho-two-col, .content-hub-overview { grid-template-columns: 1fr; gap: 24px; }
    .page-hero-grid > p { max-width: 700px; }
    .page-featured { min-height: 390px; }
    .page-featured img { height: 470px; }
    .service-cards, .articles-section .archive-grid, .embedded-articles .archive-grid { grid-template-columns: 1fr; }
    .service-detail-card:last-child, .post-card-featured { grid-column: auto; }
    .dho-media-panel { min-height: 0; flex-direction: column; }
    .dho-media-panel > img { width: 100%; min-height: 420px; max-height: 520px; flex: none; }
    .dho-media-panel > div { width: 100%; flex: none; }
    .services-flow > .panel-soft .wp-block-buttons { margin-top: 4px; }
}

@media (min-width: 783px) and (max-width: 850px) {
    .admin-bar .site-header { top: 32px; }
}

@media (max-width: 620px) {
    .wrap, .content { width: min(calc(100% - 28px), var(--max)); }
    .header-cta { display: none; }
    .brand-symbol { width: 38px; height: 38px; flex-basis: 38px; }
    .brand-name { font-size: .91rem; }
    .hero { padding: 47px 0 52px; }
    .hero h1 { margin-top: 12px; font-size: clamp(2.25rem, 12vw, 3rem); line-height: 1.03; letter-spacing: -.03em; }
    .hero-copy > p { font-size: 1rem; line-height: 1.55; }
    .hero .actions { margin-top: 23px; }
    .hero .btn { flex: 1 1 100%; }
    .hero-media { min-height: 360px; }
    .hero-media::before { inset: 12px -10px -12px 10px; }
    .hero-symbol { right: -5px; bottom: -12px; width: 62px; height: 62px; }
    .section { padding: 58px 0; }
    .section h2, .page-hero h1 { font-size: clamp(1.9rem, 9.5vw, 2.55rem); }
    .card { padding: 23px; }
    .method { grid-template-columns: 1fr; }
    .photo-proof-image { min-height: 330px; }
    .photo-proof-copy { padding: 52px 20px; }
    .about-intro-media, .about-intro-media img { min-height: 340px; }
    .cta { padding: 58px 0; }
    .cta-actions { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .page-hero { padding: 52px 0; }
    .content { padding: 50px 0 62px; }
    .page-content-shell { padding: 42px 0 60px; }
    .page-featured { min-height: 320px; margin-bottom: 22px; }
    .page-featured img { height: 360px; }
    .dho-content-panel { padding: 26px 22px; }
    .principles-grid, .flexible-process, .contact-channel-grid { grid-template-columns: 1fr; }
    .contact-channel-grid article, .contact-channel-grid article:last-child { grid-column: auto; min-height: 285px; }
    .service-detail-card { padding: 26px 22px; }
    .services-flow > .panel-soft .wp-block-buttons { flex-direction: column; }
    .services-flow > .panel-soft .wp-block-button,
    .services-flow > .panel-soft .wp-block-button__link { width: 100%; }
    .dho-media-panel > img { min-height: 330px; }
    .dho-media-panel > div { padding: 38px 22px; }
    .content-hub-intro { padding: 34px 0; }
    .embedded-articles { margin-top: 44px; padding-top: 44px; }
    .topic-nav { align-items: stretch; }
    .topic-nav a { flex: 1 1 45%; text-align: center; }
    .article-hero { padding: 52px 0 58px; }
    .article-back { margin-bottom: 35px; }
    .article-hero h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
    .article-body { width: min(calc(100% - 28px), 820px); padding: 52px 0 66px; }
    .post-card-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
    .brand-name { max-width: 108px; white-space: normal; }
    .hero h1 { font-size: 2.18rem; }
    .eyebrow { font-size: .75rem; letter-spacing: .08em; }
}

/* Ajustes finais do markup de blocos (mantidos após a camada legada). */
.wp-block-button.btn-dark .wp-block-button__link {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.wp-block-button.btn-dark .wp-block-button__link:hover {
    color: var(--black);
    background: var(--white);
    border-color: var(--white);
}

.wp-block-button.btn-dark-outline .wp-block-button__link {
    color: var(--black);
    background: transparent;
    border-color: var(--black);
}

.wp-block-button.btn-dark-outline .wp-block-button__link:hover {
    color: var(--white);
    background: var(--black);
}

.hero .wp-block-button.btn-light .wp-block-button__link {
    color: var(--ice);
    background: transparent;
    border-color: var(--ice);
}

.hero .wp-block-button.btn-light .wp-block-button__link:hover {
    color: var(--black);
    background: var(--ice);
}

.content-preview .wp-block-button.is-style-outline .wp-block-button__link {
    color: var(--white);
    background: transparent;
    border-color: var(--ice);
}

.content-preview .wp-block-button.is-style-outline .wp-block-button__link:hover {
    color: var(--black);
    background: var(--ice);
}

.archive-grid.wp-block-post-template > li:first-child .post-card {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
    padding: clamp(28px, 5vw, 56px);
}

.archive-grid.wp-block-post-template > li:first-child .post-card .wp-block-post-title {
    max-width: 800px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.archive-grid.wp-block-post-template > li:first-child .post-card .wp-block-post-title a,
.archive-grid.wp-block-post-template > li:first-child .post-card .wp-block-post-terms {
    color: var(--orange);
}

.archive-grid.wp-block-post-template > li:first-child .post-card .wp-block-post-excerpt,
.archive-grid.wp-block-post-template > li:first-child .post-card .wp-block-post-excerpt p {
    color: var(--ice);
}

@media (max-width: 850px) {
    .site-header .wp-block-navigation.nav {
        position: static;
        display: flex;
        margin-left: auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}
