/*
 * Tema Oasis — OasisCMS
 * Cores e fontes via variáveis; --accent vem de Aparência → Personalizar.
 */

:root {
    --accent: #0d9488;
    --bg: #fbfcfc;
    --surface: #ffffff;
    --fg: #172826;
    --muted: #5f716f;
    --border: #e1e9e8;
    --accent-text: #ffffff;
    --header-bg: #fbfcfc;
    --header-fg: #172826;
    --footer-bg: #ffffff;
    --footer-fg: #5f716f;
    --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
    --shadow: 0 1px 2px rgba(15, 35, 34, .05), 0 8px 24px -12px rgba(15, 35, 34, .12);

    --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --font-body: var(--font-sans);
    --font-heading: var(--font-sans);

    --content: 720px;
    --wide: 1140px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --radius: 14px;
}

/* Esquema escuro: automático (segue o sistema) ou forçado. */
@media (prefers-color-scheme: dark) {
    body.scheme-auto {
        --bg: #0c1514; --surface: #122120; --fg: #e3eeec; --muted: #9ab0ad; --border: #223634;
        --accent: #2dd4bf; --accent-text: #05201d; --header-bg: #0c1514; --header-fg: #e3eeec; --footer-bg: #0a1211; --footer-fg: #9ab0ad;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4); color-scheme: dark;
    }
}
body.scheme-dark {
    --bg: #0c1514; --surface: #122120; --fg: #e3eeec; --muted: #9ab0ad; --border: #223634;
        --accent: #2dd4bf; --accent-text: #05201d; --header-bg: #0c1514; --header-fg: #e3eeec; --footer-bg: #0a1211; --footer-fg: #9ab0ad;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4); color-scheme: dark;
}

body.font-serif { --font-body: var(--font-serif); --font-heading: var(--font-serif); }

/* ---------------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 1.0625rem/1.7 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.container { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(var(--content) + 2 * var(--gutter)); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--surface); padding: .5rem 1rem; border-radius: 6px; }
.skip-link:focus { left: .5rem; }

.button, .search-form button, .post-password-form button {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .65rem 1.2rem; border: 0; border-radius: 999px;
    background: var(--accent); color: var(--accent-text); font: 600 .95rem/1.2 var(--font-sans);
    text-decoration: none; cursor: pointer;
}
.button:hover, .search-form button:hover { filter: brightness(1.08); color: var(--accent-text); }

.eyebrow {
    display: inline-block; margin-bottom: .6rem;
    font: 700 .75rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent); text-decoration: none;
}
.badge { display: inline-block; margin-bottom: .6rem; padding: .25rem .6rem; border-radius: 999px; background: var(--accent); color: var(--accent-text); font: 700 .7rem/1 var(--font-sans); letter-spacing: .05em; text-transform: uppercase; }

.avatar {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    font: 700 .78rem/1 var(--font-sans);
}
.avatar-lg { width: 56px; height: 56px; font-size: 1.1rem; }

/* ---------------------------------------------------------------- Cabeçalho */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--header-bg) 88%, transparent);
    color: var(--header-fg);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
}
body.has-admin-bar .site-header { top: 40px; }

.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.branding { margin-right: auto; min-width: 0; }
.site-title { margin: 0; font: 800 1.35rem/1.2 var(--font-heading); letter-spacing: -.02em; }
.site-title a { color: var(--header-fg); text-decoration: none; }
.site-logo { display: block; max-height: 44px; width: auto; }
.site-tagline { margin: .1rem 0 0; color: color-mix(in srgb, var(--header-fg) 65%, transparent); font-size: .85rem; line-height: 1.3; }

.primary-nav .menu { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; font-family: var(--font-sans); }
.primary-nav a { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--header-fg); text-decoration: none; font-weight: 550; font-size: .95rem; }
.primary-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.primary-nav .current-menu-item > a { color: var(--accent); background: var(--accent-soft); }

.header-tools { display: flex; gap: .25rem; order: 3; }

/* Submenus (menus criados em Aparência → Menus) */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); opacity: .6; }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 60;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.primary-nav .sub-menu .sub-menu { top: -.4rem; left: 100%; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { border-radius: 8px; color: var(--fg); }
.primary-nav .current-menu-ancestor > a { color: var(--accent); }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--header-fg); cursor: pointer; }
.icon-button:hover { background: var(--accent-soft); color: var(--accent); }
.menu-toggle { display: none !important; }

.header-search { border-top: 1px solid var(--border); padding: 1rem 0; }
.header-search[hidden] { display: none; }

.search-form { display: flex; gap: .5rem; max-width: 560px; }
.search-form input {
    flex: 1; min-width: 0; padding: .65rem 1rem;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--surface); color: var(--fg); font: inherit; font-size: 1rem;
}
.search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------------------------------------------------------------- Listagens */

.site-main { padding-block: clamp(2rem, 6vw, 4rem); min-height: 60vh; }
body.has-home-sections .site-main { padding-block: 0; }

.page-header { max-width: var(--content); margin-bottom: 2.5rem; }
.page-title { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; }
.archive-description { color: var(--muted); font-size: 1.1rem; }
.page-header .search-form { margin-top: 1.25rem; }

.post-list.layout-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.post-list.layout-list { display: grid; gap: 1rem; max-width: var(--content); }

.card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card.sticky { border-color: var(--accent); }
.card-body { padding: 1.5rem 1.5rem .5rem; flex: 1; }
.card-title { font-size: 1.35rem; font-weight: 750; margin-bottom: .6rem; }
.card-title a { color: var(--fg); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--muted); margin: 0; font-size: .98rem; }
.card-meta { display: flex; gap: .4rem; flex-wrap: wrap; padding: 1rem 1.5rem 1.4rem; color: var(--muted); font: .85rem/1.4 var(--font-sans); }

.layout-list .card { flex-direction: row; flex-wrap: wrap; align-items: baseline; }
.layout-list .card-body { padding-bottom: 1rem; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* Paginação */
.pagination { margin-top: 3rem; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; list-style: none; padding: 0; margin: 0; font-family: var(--font-sans); }
.pagination a, .pagination span {
    display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .9rem;
    border: 1px solid var(--border); border-radius: 999px; color: var(--fg); text-decoration: none; font-weight: 600;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.pagination .dots { border: 0; }

/* Imagem destacada */
.card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-soft); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-image img { transform: scale(1.03); }
.layout-list .card.has-thumbnail { display: grid; grid-template-columns: 220px 1fr; align-items: stretch; }
.layout-list .card-image { aspect-ratio: auto; grid-row: span 2; }
.layout-list .card-meta { grid-column: 2; }
.entry-featured { max-width: calc(var(--content) + 240px); margin: -1rem auto 2.5rem; }
.entry-featured img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: cover; border-radius: var(--radius); }

/* ---------------------------------------------------------------- Post e página */

.entry-header { margin-bottom: 2.5rem; }
.entry-title { font-size: clamp(2.1rem, 5.5vw, 3.2rem); font-weight: 800; }
.entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--muted); font: .92rem/1.4 var(--font-sans); }
.entry-meta a { color: var(--fg); font-weight: 600; text-decoration: none; }

.entry-content { font-size: 1.125rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 1.75rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.75em; }
.entry-content blockquote { font-style: italic; }
.entry-content code:not(pre code) { background: var(--accent-soft); padding: .1em .35em; border-radius: 4px; font-size: .88em; }
.oasis-content .oasis-block-image.alignwide { margin-inline: calc(-1 * min(8vw, (var(--wide) - var(--content)) / 2)); }
.is-full-width .entry-content, .is-landing .entry-content { font-size: 1.1rem; }

.entry-footer { margin-top: 3rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tag-list a { padding: .35rem .85rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font: 600 .85rem/1.2 var(--font-sans); }
.tag-list a::before { content: "#"; opacity: .6; }
.edit-link-wrap { font: .9rem var(--font-sans); }

.author-box { display: flex; gap: 1.1rem; padding: 1.5rem; margin: 2rem 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.author-name { margin: 0 0 .25rem; font: 700 1.05rem var(--font-sans); }
.author-name a { color: var(--fg); text-decoration: none; }
.author-bio { margin: 0; color: var(--muted); font-size: .98rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav a { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--fg); text-decoration: none; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav-next { grid-column: 2; text-align: right; }
.post-nav-label { font: 600 .8rem var(--font-sans); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.post-nav-title { font-weight: 700; }

.preview-badge { display: inline-block; padding: .35rem .8rem; border-radius: 6px; background: #fef3c7; color: #92400e; font: 600 .85rem var(--font-sans); }

.post-password-form { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.post-password-form input { padding: .55rem .9rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--fg); font: inherit; }
.password-error { color: #dc2626; font-weight: 600; }

/* Comentários */
/* Âncoras (#comentarios, #comentario-12) não ficam escondidas atrás do cabeçalho fixo. */
:target, .comments-area, .comment, .comment-respond { scroll-margin-top: 120px; }
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comments-title { font-size: 1.4rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(1rem, 4vw, 2.5rem); padding-left: 1rem; border-left: 2px solid var(--border); }
.comment-body { padding: 1.1rem 0; }
.comment-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font: .92rem/1.3 var(--font-sans); }
.comment-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8rem; }
.comment-author { font-weight: 700; }
.comment-author a { color: var(--fg); }
.comment-badge { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.comment-date { color: var(--muted); font-size: .85rem; text-decoration: none; }
.comment-content { margin: .5rem 0 0 calc(38px + .6rem); }
.comment-content p { margin: 0 0 .6em; }
.comment-reply, .comment-edit { display: inline-block; margin: 0 .9rem 0 calc(38px + .6rem); font: 600 .85rem var(--font-sans); }
.comment-edit { margin-left: 0; }
.comment-reply a, .comment-edit a { text-decoration: none; }
.comment-respond { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.comment-list .comment-respond { margin: .5rem 0 1rem; }
.comment-reply-title { font-size: 1.2rem; }
.comment-reply-title small { font-size: .8rem; font-weight: 500; margin-left: .5rem; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .9rem; }
.comment-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1rem; }
.comment-form label { display: block; font: 600 .88rem var(--font-sans); margin-bottom: .3rem; }
.comment-form input:not([type=checkbox]), .comment-form textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.comment-form .required { color: #dc2626; }
.comment-save label { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.comment-notice { padding: .75rem 1rem; border-radius: 10px; background: var(--accent-soft); color: var(--fg); }
.comment-error { padding: .75rem 1rem; border-radius: 10px; background: #fee2e2; color: #991b1b; font-weight: 600; }
.comments-closed { color: var(--muted); }

/* 404 */
.not-found { text-align: center; }
.not-found .search-form { margin: 1.5rem auto; }
.big-number { margin: 0; font: 900 clamp(5rem, 20vw, 9rem)/1 var(--font-heading); color: var(--accent-soft); -webkit-text-stroke: 2px var(--accent); }

/* ---------------------------------------------------------------- Widgets */

.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.content-with-sidebar .post-list.layout-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 2rem; }
.widget { font-size: .95rem; }
.widget-title { font: 700 .8rem/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--fg); text-decoration: none; }
.widget li a:hover { color: var(--accent); }
.widget .depth-1 { padding-left: 1rem; } .widget .depth-2 { padding-left: 2rem; }
.widget-date, .widget-count { color: var(--muted); font-size: .85em; }
.widget img { border-radius: 10px; display: block; }
.widget .search-form { max-width: none; }
.tag-cloud a { display: inline-block; margin: 0 .35em .35em 0; text-decoration: none; }

.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem; padding-bottom: 2.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-widgets .widget { font-size: .92rem; }
.footer-nav { margin-bottom: 1.25rem; }
.footer-menu { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: var(--footer-fg); text-decoration: none; }
.footer-menu a:hover { color: var(--accent); }

@media (max-width: 960px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* ---------------------------------------------------------------- Rodapé */

.site-footer { --fg: var(--footer-fg); --muted: var(--footer-fg); --border: color-mix(in srgb, var(--footer-fg) 20%, transparent); border-top: 1px solid var(--border); padding-block: 2.5rem; background: var(--footer-bg); color: var(--footer-fg); font: .9rem/1.5 var(--font-sans); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }
.footer-legal a { color: inherit; }

/* ---------------------------------------------------------------- Seções da página inicial (Personalizar) */

html { scroll-behavior: smooth; }
.home-section { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); scroll-margin-top: 72px; }
body.has-admin-bar .home-section { scroll-margin-top: 112px; }
.home-section.bg-surface { background: var(--surface); }
.home-section + .home-section.bg-default, .home-section.bg-default + .home-section.bg-default { border-top: 1px solid var(--border); }
.home-section.bg-accent { background: var(--accent); --section-fg: var(--accent-text); }
.home-section.bg-accent, .home-section[style*="--section-fg"] {
    color: var(--section-fg); --fg: var(--section-fg); --muted: color-mix(in srgb, var(--section-fg) 78%, transparent);
    --border: color-mix(in srgb, var(--section-fg) 22%, transparent); --surface: color-mix(in srgb, var(--section-fg) 8%, transparent);
}
/* Em fundo colorido, o botão principal inverte as cores para continuar visível. */
.home-section.bg-accent .button:not(.button-outline):not(.button-whatsapp),
.home-section.is-dark-bg .button:not(.button-outline):not(.button-whatsapp) { background: var(--section-fg); color: var(--accent); }
.home-section.bg-accent a:not(.button), .home-section[style*="--section-fg"] a:not(.button) { color: inherit; }
.home-section.home-content { padding-block: clamp(2.5rem, 6vw, 4rem); }

.home-section p.eyebrow { display: block; margin: 0 0 .6rem; font-size: .78rem; line-height: 1.2; letter-spacing: .1em; }
.home-section.bg-accent .eyebrow, .home-section[style*="--section-fg"] .eyebrow, .home-hero.has-cover .eyebrow { color: inherit; opacity: .85; }
.section-header { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .6rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.section-lead p, .hero-lead p { margin: 0 0 .6em; }
.section-more { text-align: center; margin-top: 2rem; }
.button-outline { background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 2px currentColor; }
.button-outline:hover { background: color-mix(in srgb, currentColor 10%, transparent) !important; filter: none; }

/* Destaque (hero) */
.home-hero { display: flex; align-items: center; overflow: hidden; }
.home-hero.height-medium { min-height: 60vh; }
.home-hero.height-tall { min-height: 80vh; }
.home-hero.height-full { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
.home-hero > .container { position: relative; z-index: 1; }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-hero.layout-split .hero-inner:has(.hero-figure) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 1rem; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-actions .button { padding: .9rem 1.6rem; font-size: 1rem; }
.hero-figure { margin: 0; }
.hero-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.home-hero.layout-center .hero-text, .home-hero.layout-cover .hero-text { max-width: 820px; margin-inline: auto; text-align: center; }
.home-hero.layout-center .hero-lead, .home-hero.layout-cover .hero-lead { margin-inline: auto; }
.home-hero.layout-center .hero-actions, .home-hero.layout-cover .hero-actions { justify-content: center; }
.hero-cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: #000; }
.home-hero.has-cover { color: #fff; --fg: #fff; --muted: rgba(255, 255, 255, .85); background: #0b1716; }
.home-hero.has-cover .button:not(.button-outline) { background: var(--accent); color: var(--accent-text); }

/* Serviços */
.services-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service { display: flex; flex-direction: column; align-items: flex-start; }
.services-grid.style-cards .service { padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.home-services.bg-surface .services-grid.style-cards .service { background: var(--bg); }
.services-grid.style-cards .service:hover { transform: translateY(-3px); }
.service-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.home-section.bg-accent .service-icon, .home-section[style*="--section-fg"] .service-icon { background: color-mix(in srgb, var(--section-fg) 14%, transparent); color: inherit; }
.service-title { font-size: 1.2rem; margin-bottom: .45rem; }
.service-text { margin: 0 0 1rem; color: var(--muted); font-size: .98rem; }
.service-link { margin-top: auto; font-weight: 650; text-decoration: none; }

/* Sobre */
.about-inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.home-about.no-image .about-inner { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.home-about.image-right .about-figure { order: 2; }
.about-figure { margin: 0; }
.about-figure img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: calc(var(--radius) * 1.4); }
.about-body { color: var(--muted); font-size: 1.05rem; }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat { padding: 1rem 0; border-top: 2px solid var(--accent); }
.home-section.bg-accent .stat, .home-section[style*="--section-fg"] .stat { border-color: currentColor; }
.stat-value { font: 800 clamp(1.8rem, 3vw, 2.3rem)/1 var(--font-heading); letter-spacing: -.02em; }
.stat-label { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }

/* Contato e mapa */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); max-width: 760px; margin-inline: auto; }
.contact-grid.two-columns { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); max-width: none; align-items: start; }
.contact-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-info li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info li > .theme-icon { flex: none; margin-top: .15rem; color: var(--accent); }
.home-section.bg-accent .contact-info .theme-icon, .home-section[style*="--section-fg"] .contact-info .theme-icon { color: inherit; }
.contact-info strong { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-info a { text-decoration: none; font-weight: 600; }
.contact-cta { margin-top: .25rem; }
.button-whatsapp { display: inline-flex; align-items: center; gap: .5rem; background: #1fa855 !important; color: #fff !important; }
.contact-form { padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.home-contact.bg-surface .contact-form { background: var(--bg); }
.contact-form .oasis-form-wrap { margin: 0; }
.contact-map { margin-top: clamp(2rem, 5vw, 3rem); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-placeholder { display: grid; justify-items: center; gap: .6rem; padding: 3rem 1.5rem; text-align: center; background: var(--surface); color: var(--muted); }
.map-placeholder p { margin: 0; max-width: 34rem; font-size: .92rem; }
.map-placeholder .theme-icon { color: var(--accent); }

/* Botão flutuante do WhatsApp */
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }

@media (max-width: 900px) {
    .home-hero.layout-split .hero-inner:has(.hero-figure), .about-inner, .contact-grid.two-columns { grid-template-columns: minmax(0, 1fr); }
    .home-about.image-right .about-figure { order: 0; }
    .services-grid, .services-grid.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hero.height-medium, .home-hero.height-tall { min-height: 0; }
}
@media (max-width: 600px) {
    .services-grid, .services-grid.columns-2, .services-grid.columns-4 { grid-template-columns: minmax(0, 1fr); }
    .hero-actions .button { flex: 1 1 auto; text-align: center; }
    .contact-map iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .services-grid.style-cards .service:hover { transform: none; } }

/* ---------------------------------------------------------------- Responsivo */

@media (max-width: 860px) {
    .menu-toggle { display: inline-grid !important; }
    .header-inner { flex-wrap: wrap; gap: .5rem; min-height: 64px; }
    .primary-nav { display: none; order: 4; width: 100%; padding-bottom: 1rem; }
    .primary-nav.is-open { display: block; }
    .primary-nav .menu { flex-direction: column; }
    .primary-nav a { border-radius: 10px; padding: .75rem 1rem; }
    .primary-nav .sub-menu, .primary-nav .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; background: none; }
    .site-tagline { display: none; }
}

@media (max-width: 600px) {
    .layout-list .card.has-thumbnail { grid-template-columns: 1fr; }
    .layout-list .card-image { aspect-ratio: 16 / 9; grid-row: auto; }
    .layout-list .card-meta { grid-column: 1; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-next { grid-column: 1; }
    .author-box { flex-direction: column; }
    .entry-content { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

@media print {
    .site-header, .site-footer, .post-nav, .author-box, .edit-link-wrap { display: none; }
    body { background: #fff; color: #000; }
}
