/*
Theme Name: Bravanti RH (Blocos)
Theme URI: https://bravanti-people-compass.lovable.app
Author: Bravanti RH
Description: Tema de blocos da Bravanti RH, consultoria em Cargos e Salários, Gestão de Desempenho e Remuneração Variável. Segue a estrutura do Twenty Twenty-Five: estilos no theme.json, padrões, modelos e partes editáveis no editor de blocos nativo, sem dependências de build.
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 7.4
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bravanti-rh-blocos
Tags: one-column, custom-colors, custom-menu, editor-style, featured-images, full-site-editing, block-patterns, block-styles, style-variations, template-editing, threaded-comments, translation-ready, wide-blocks
*/

/*
 * Cores, fontes, tamanhos e espaçamentos ficam no theme.json.
 * Este arquivo cuida só do que o theme.json não descreve: posicionamentos, efeitos e responsividade.
 */

:root {
	--bravanti-icon-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
	--bravanti-icon-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--bravanti-icon-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719'/%3E%3C/svg%3E");
	--bravanti-icon-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98'/%3E%3Cpath d='m15.41 6.51-6.82 3.98'/%3E%3C/svg%3E");
	--bravanti-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ===================================================================== Estrutura */

body .wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
figure.wp-block-image { margin-bottom: 0; }
::selection { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary); }
.text-muted { color: var(--wp--preset--color--muted); }
.is-style-secao-azul .text-muted { color: var(--wp--preset--color--ink-subtle); }

/* Ícones (bloco Imagem com SVG) */
.wp-block-image.icone { margin: 0; line-height: 0; }
.wp-block-image.icone img { width: 24px; height: 24px; }

/* ===================================================================== Sobretítulo */

p.is-style-sobretitulo { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 10px; font-weight: 650; line-height: 1.6; color: var(--wp--preset--color--muted); }
p.is-style-sobretitulo::before { content: ""; flex-shrink: 0; width: 30px; height: 1px; background: var(--wp--preset--color--accent); }
p.is-style-sobretitulo.is-centered { justify-content: center; }
.is-style-secao-azul p.is-style-sobretitulo,
.hero p.is-style-sobretitulo { color: var(--wp--preset--color--accent); }

/* ===================================================================== Botões */

.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); transition: background-color .15s, color .15s, border-color .15s, transform .25s, box-shadow .25s; }
.wp-block-button .wp-block-button__link::after { content: ""; flex-shrink: 0; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--bravanti-icon-arrow-up-right) center / contain no-repeat; mask: var(--bravanti-icon-arrow-up-right) center / contain no-repeat; }
.wp-block-button.icone-seta .wp-block-button__link::after { -webkit-mask-image: var(--bravanti-icon-arrow-right); mask-image: var(--bravanti-icon-arrow-right); }
.wp-block-button.icone-nenhum .wp-block-button__link::after,
.wp-block-button.icone-whatsapp .wp-block-button__link::after { content: none; }
.wp-block-button.icone-whatsapp .wp-block-button__link::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--bravanti-icon-message) center / contain no-repeat; mask: var(--bravanti-icon-message) center / contain no-repeat; }

.wp-block-button.is-style-grande .wp-block-button__link { min-height: 48px; padding: 12px 24px; }

.wp-block-button.is-style-outline > .wp-block-button__link { padding: 8px 16px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-contrast); }

.wp-block-button.is-style-claro .wp-block-button__link { min-height: 48px; padding: 12px 24px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--wp--preset--color--white); box-shadow: none; }
.wp-block-button.is-style-claro .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); color: var(--wp--preset--color--white); }

.wp-block-button.is-style-link .wp-block-button__link,
.wp-block-button.is-style-link-dourado .wp-block-button__link { min-height: 42px; gap: 9px; padding: 11px 20px; border: 1px solid var(--wp--preset--color--primary); border-radius: 6px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--primary); font-size: 12px; font-weight: 600; box-shadow: none; }
.wp-block-button.is-style-link .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--soft); }
.wp-block-button.is-style-link-dourado .wp-block-button__link { min-height: 48px; padding: 13px 26px; border-color: var(--wp--preset--color--accent); background: var(--wp--preset--color--accent); font-size: 13px; font-weight: 700; box-shadow: 0 8px 22px -10px rgba(201, 169, 66, .6); }
.wp-block-button.is-style-link-dourado .wp-block-button__link:hover { background: #b5973d; color: var(--wp--preset--color--primary); transform: translateY(-2px); }

/* ===================================================================== Cabeçalho */

.site-header { background: var(--wp--preset--color--nav); border-bottom: 1px solid rgba(255, 255, 255, .12); color: var(--wp--preset--color--ink-subtle); }
.site-header .topbar { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-header .topbar-inner { min-height: 36px; font-size: 10px; }
.site-header .topbar-inner p { margin: 0; line-height: 1.5; }
.site-header .header-inner { min-height: 100px; }
.wp-block-image.brand { margin: 0; flex-shrink: 0; line-height: 0; }
/* !important: no editor, o bloco Imagem põe height:auto direto na tag. */
.wp-block-image.brand img { width: auto !important; height: 58px !important; }
.site-footer .wp-block-image.brand img { height: 64px !important; }
.site-header .wp-block-social-links .wp-block-social-link { opacity: .85; }

.site-header .main-nav { color: var(--wp--preset--color--ink-subtle); }
.site-header .main-nav .wp-block-navigation-item__content { position: relative; transition: color .2s; }
.site-header .main-nav .wp-block-navigation-item__content:hover,
.site-header .main-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent); }
.site-header .main-nav:not(.is-menu-open) .current-menu-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; bottom: -13px; width: 12px; height: 2px; background: var(--wp--preset--color--accent); }
.site-header .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--white); }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 18px; padding: 8px 0; }

.site-header .header-cta .wp-block-button__link { min-height: 40px; padding: 0 16px; border-radius: 3px; font-size: 12px; }

@media (max-width: 1150px) {
	.site-header .wp-block-image.brand img { height: 50px !important; }
	.site-header .header-cta .wp-block-button__link { padding: 0 12px; font-size: 10px; }
}
@media (max-width: 900px) { .site-header .header-inner { min-height: 88px; } }
@media (max-width: 640px) {
	.site-header .header-inner { min-height: 80px; }
	.site-header .wp-block-image.brand img { height: 44px !important; }
	.site-header .header-cta, .site-header .topbar-role { display: none; }
	.site-footer .wp-block-image.brand img { height: 52px !important; }
}

/* ===================================================================== Banner */

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; height: min(720px, calc(100svh - 170px)); min-height: 600px; overflow: hidden; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 34, 49, .95) 0%, rgba(5, 34, 49, .83) 35%, rgba(5, 34, 49, .28) 70%, rgba(5, 34, 49, .06) 100%); }
.hero > .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; max-width: none !important; margin: 0 !important; }
.hero > .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-inner { position: relative; flex: 1; display: flex; align-items: center; width: 100%; }
.hero .hero-carousel { position: static; z-index: 1; max-width: 50%; padding-bottom: 36px; }
.hero .hero-carousel .bravanti-carousel__controls { position: absolute; left: 0; bottom: 28px; z-index: 3; }
.hero .hero-slide .is-style-sobretitulo { margin-bottom: 17px; }
.hero .hero-slide .hero-brand { margin: 0 0 13px; font-family: var(--wp--preset--font-family--outfit); font-size: 21px; line-height: 1.5; color: var(--wp--preset--color--white); }
.hero .hero-slide h1 { max-width: 650px; margin: 0; font-weight: 500; line-height: 1.12; color: var(--wp--preset--color--white); }
.hero .hero-slide h1 em { font-style: normal; color: var(--wp--preset--color--accent); }
.hero .hero-slide .hero-text { max-width: 545px; margin: 25px 0 30px; font-size: 15px; line-height: 1.85; color: var(--wp--preset--color--ink-subtle); }
.hero .hero-buttons { gap: 14px; }
.hero .hero-buttons .wp-block-button__link { min-height: 46px; font-size: 12px; }
.hero .hero-portrait { position: absolute; right: -30px; bottom: 0; width: 58%; height: 100%; margin: 0; pointer-events: none; }
.hero .hero-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero .hero-author { position: absolute; right: 0; bottom: 65px; z-index: 2; padding: 14px 18px; border-left: 2px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--primary); }
.hero .hero-author p { margin: 0; line-height: 1.4; }
.hero .hero-author .hero-experience { margin-bottom: 8px; font-family: var(--wp--preset--font-family--outfit); font-size: 24px; line-height: 1.2; color: var(--wp--preset--color--accent); }
.hero .hero-author .hero-name { font-size: 15px; font-weight: 600; color: var(--wp--preset--color--white); }
.hero .hero-author .hero-role { font-size: 10px; color: var(--wp--preset--color--ink-subtle); }
.hero .scroll-hint { position: absolute; right: 0; bottom: 22px; z-index: 3; margin: 0; font-size: 9px; color: var(--wp--preset--color--ink-subtle); }

@media (min-width: 1500px) { .hero { height: 720px; } }
@media (min-width: 901px) and (max-width: 1150px) {
	.hero .hero-slide h1 { font-size: 42px; }
	.hero .hero-slide .hero-text { font-size: 14px; }
	.hero .hero-buttons { flex-wrap: wrap; }
}
@media (max-width: 900px) {
	.hero { min-height: 510px; }
	.hero .hero-author { display: none; }
	.hero .hero-portrait { right: -26px; width: 48%; }
	.hero .hero-carousel { max-width: 60%; }
	.hero .hero-slide h1 { font-size: 40px; }
	.hero .hero-buttons { flex-wrap: wrap; }
}
@media (max-width: 640px) {
	.hero { height: auto; min-height: 0; }
	.hero::after { background: rgba(16, 51, 69, .82); }
	.hero .hero-inner { display: block; padding: 515px 0 80px; }
	.hero .hero-carousel { max-width: 100%; padding-bottom: 0; }
	.hero .hero-portrait { top: 14px; bottom: auto; right: -18px; width: 345px; height: 385px; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); }
	.hero .hero-author { display: block; top: 418px; bottom: auto; left: 0; right: auto; width: 100%; padding: 0 0 0 12px; background: transparent; }
	.hero .hero-author .hero-experience { font-size: 22px; }
	.hero .hero-slide h1 { padding-right: 60px; font-size: 35px; line-height: 1.22; }
	.hero .hero-slide .hero-brand { font-size: 20px; }
	.hero .hero-slide .hero-text { padding-right: 66px; font-size: 14px; }
	.hero .hero-buttons { flex-direction: column; align-items: stretch; width: max-content; max-width: 100%; }
	.hero .hero-buttons .wp-block-button__link { width: 100%; font-size: 11px; }
	.hero .hero-carousel .bravanti-carousel__controls { bottom: 24px; }
	.hero .scroll-hint { bottom: 18px; font-size: 7px; }
}

/* ===================================================================== Números de autoridade */

.authority-grid.wp-block-group { grid-template-columns: 1.1fr 1fr 1fr; }
.authority-grid .authority-item { padding-left: 34px; border-left: 1px solid var(--wp--preset--color--border); }
.authority-grid .authority-item:first-child { padding-left: 0; border-left: 0; }
.authority-grid .authority-number { display: flex; align-items: baseline; gap: 10px; min-height: 66px; margin: 0; font-family: var(--wp--preset--font-family--outfit); font-size: 62px; font-weight: 500; line-height: 1.05; color: var(--wp--preset--color--primary); font-variant-numeric: tabular-nums; }
.authority-grid .authority-number em { font-size: 23px; font-style: normal; color: var(--wp--preset--color--accent); }
.authority-grid .authority-title { margin: 12px 0 5px; font-size: 16px; font-weight: 600; }
.authority-grid .authority-text { max-width: 265px; margin: 0; font-size: 11px; line-height: 1.7; color: var(--wp--preset--color--muted); }
.authority-grid.is-compact { gap: 18px; padding: 23px 0; border-block: 1px solid var(--wp--preset--color--border); }
.authority-grid.is-compact .authority-item { padding-left: 18px; }
.authority-grid.is-compact .authority-item:first-child { padding-left: 0; }
.authority-grid.is-compact .authority-number { gap: 4px; min-height: 44px; font-size: 40px; }
.authority-grid.is-compact .authority-number em { font-size: 15px; }
.authority-grid.is-compact .authority-title { font-size: 12px; line-height: 1.5; }
.authority-grid.is-compact .authority-text { font-size: 10px; }
@media (max-width: 640px) {
	.authority-grid.wp-block-group, .authority-grid.is-compact.wp-block-group { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
	.authority-grid .authority-item { padding-left: 18px; }
	.authority-grid .authority-item:last-child { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--wp--preset--color--border); }
	.authority-grid .authority-number { min-height: 52px; font-size: 48px; }
}

/* ===================================================================== Cabeçalho de seção */

.section-head h2 { max-width: 650px; }
.section-head .section-head-text { max-width: 370px; margin: 0; }
.is-style-secao-azul .section-head .section-head-text { color: var(--wp--preset--color--ink-subtle); }
@media (max-width: 900px) { .section-head .section-head-text { max-width: 250px; } }
@media (max-width: 640px) {
	.section-head.wp-block-group { flex-direction: column; align-items: flex-start; gap: 18px; }
	.section-head .section-head-text { max-width: 100%; }
}

/* ===================================================================== Cenários (cartões dourados) */

.problem-section h2 { max-width: 670px; font-size: clamp(27px, 3.2vw, 32px); }
.problem-grid .problem-card { min-height: 104px; padding: 28px 26px; border: 1px solid #a8862c; border-radius: 12px; background: linear-gradient(165deg, #ddc77f 0%, var(--wp--preset--color--accent) 50%, #b8963a 100%); box-shadow: 0 16px 32px -18px rgba(201, 169, 66, .9); color: var(--wp--preset--color--primary); font-size: 15px; font-weight: 700; transition: transform .3s, box-shadow .3s; }
.problem-grid .problem-card:hover { transform: translateY(-6px); box-shadow: 0 24px 42px -16px rgba(201, 169, 66, .95); }
.problem-grid .problem-card p { margin: 0; line-height: 1.5; }
.problem-card .icon-circle { flex-shrink: 0; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .82); }
.problem-card .icon-circle img { width: 20px; height: 20px; }
@media (max-width: 900px) {
	.problem-grid.wp-block-group { grid-template-columns: 1fr 1fr; }
	.problem-grid .problem-card { min-height: 86px; padding: 22px 20px; font-size: 14px; }
}
@media (max-width: 640px) {
	.problem-grid.wp-block-group { grid-template-columns: 1fr; gap: 12px; }
	.problem-grid .problem-card { min-height: 74px; padding: 18px 17px; font-size: 13px; }
	.problem-cta .wp-block-button, .problem-cta .wp-block-button__link { width: 100%; }
}
.problem-cta .wp-block-button.is-style-grande .wp-block-button__link { min-height: 54px; padding: 15px 32px; }

/* ===================================================================== Soluções */

.solutions-grid .solution-card { position: relative; padding: 30px; border: 1px solid var(--wp--preset--color--border); border-radius: 5px; background: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--soft); transition: transform .25s, box-shadow .25s; }
.solutions-grid .solution-card:hover { transform: translateY(-5px); box-shadow: var(--wp--preset--shadow--card); }
.solution-card .service-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 25px; border-radius: 4px; background: var(--wp--preset--color--secondary); }
.solution-card .solution-number { position: absolute; top: 31px; right: 25px; margin: 0; font-size: 11px; color: var(--wp--preset--color--muted); }
.solution-card .solution-list { margin: 20px 0 0; padding-left: 18px; list-style: none; font-size: 13px; line-height: 2.1; color: var(--wp--preset--color--muted); }
.solution-card .wp-block-buttons { margin-top: 25px; }
@media (max-width: 900px) { .solutions-grid.wp-block-group { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .solutions-grid.wp-block-group { grid-template-columns: 1fr; } .solutions-grid .solution-card { padding: 25px; } }

/* ===================================================================== Dois caminhos */

.paths .path:first-child { padding-right: 45px; }
.paths .path + .path { padding-left: 45px; border-left: 1px solid var(--wp--preset--color--border); }
.path .path-media { position: relative; margin-bottom: 34px; }
.path .path-image img { width: 100%; aspect-ratio: 1.7; object-fit: cover; border-radius: 6px; box-shadow: var(--wp--preset--shadow--soft); }
.path .path-icon { position: absolute; left: 22px; bottom: -26px; display: grid; place-items: center; width: 60px; height: 60px; border: 2px solid var(--wp--preset--color--accent); border-radius: 12px; background: var(--wp--preset--color--primary); box-shadow: var(--wp--preset--shadow--card); }
.path .path-icon img { width: 28px; height: 28px; }
.path h3 { font-size: 25px; }
@media (max-width: 640px) {
	.paths.wp-block-group { grid-template-columns: 1fr; gap: 35px; }
	.paths .path:first-child { padding-right: 0; }
	.paths .path + .path { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--wp--preset--color--border); }
}

/* ===================================================================== Método */

.method-grid.wp-block-group { grid-template-columns: repeat(12, 1fr); margin-block: 48px 34px; }
.method-grid .method-step { grid-column: span 3; padding: 28px 26px 26px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(255, 255, 255, .05); transition: transform .3s, border-color .3s, background .3s; }
.method-grid .method-step:nth-child(n+5) { grid-column: span 4; }
.method-grid .method-step:hover { transform: translateY(-6px); border-color: rgba(201, 169, 66, .65); background: rgba(201, 169, 66, .09); }
.method-step .method-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 24px; border: 1px solid var(--wp--preset--color--accent); border-radius: 50%; background: rgba(201, 169, 66, .16); }
.method-step .method-icon img { width: 31px; height: 31px; }
.method-step p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.method-section .method-quote { padding-left: 17px; border-left: 2px solid var(--wp--preset--color--accent); color: var(--wp--preset--color--ink-subtle); }
@media (max-width: 1150px) {
	.method-grid.wp-block-group { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.method-grid .method-step, .method-grid .method-step:nth-child(n+5) { grid-column: auto; }
	.method-grid .method-step:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
	.method-grid.wp-block-group { grid-template-columns: 1fr; }
	.method-grid .method-step:last-child { grid-column: auto; }
	.method-grid .method-step { padding: 22px 20px; }
}

/* ===================================================================== Clientes */

.clients-section .clients-title { font-size: 25px; }
.client-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-marquee .client-track { width: max-content; padding-right: 20px; animation: bravanti-marquee 68s linear infinite; }
.client-marquee .client-track:hover { animation-play-state: paused; }
.client-track .client-logo { display: flex; align-items: center; justify-content: center; min-width: 236px; min-height: 92px; margin: 0; padding: 0 30px; border: 1px solid #e6cfa1; border-radius: 6px; background: linear-gradient(160deg, #feeeef, #fff7f6); box-shadow: inset 0 1px 0 rgba(201, 169, 66, .28), 0 16px 34px -24px rgba(16, 51, 69, .5); font-family: var(--wp--preset--font-family--outfit); font-size: 21px; font-weight: 700; letter-spacing: .05em; color: var(--wp--preset--color--accent); white-space: nowrap; transition: transform .35s, border-color .35s; }
.client-track .client-logo:hover { transform: translateY(-5px); border-color: var(--wp--preset--color--accent); }
@keyframes bravanti-marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .client-track .client-logo { min-width: 158px; min-height: 64px; padding: 0 20px; font-size: 15px; } }

/* ===================================================================== Fundadora */

.founder-layout.wp-block-group { grid-template-columns: 1.15fr 1fr; align-items: center; }
.founder-layout .founder-visual { position: relative; overflow: hidden; border-radius: 10px; box-shadow: var(--wp--preset--shadow--card); }
.founder-visual .founder-portrait img { display: block; width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: center 22%; }
.founder-visual .founder-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 82px 34px 30px; background: linear-gradient(to top, rgba(16, 51, 69, .94) 0%, rgba(16, 51, 69, .72) 40%, rgba(16, 51, 69, .26) 74%, transparent 100%); pointer-events: none; }
.founder-visual .founder-caption h3 { margin: 0; font-size: 30px; color: var(--wp--preset--color--white); }
.founder-visual .founder-caption p { margin: 8px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.founder-content h2 { font-size: clamp(27px, 3.4vw, 38px); }
.founder-content p.text-muted { font-size: 15px; line-height: 1.85; }
.credentials { margin: 28px 0; }
.credentials .credential { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 16px; border: 1px solid rgba(201, 169, 66, .55); border-radius: 999px; background: rgba(201, 169, 66, .12); color: var(--wp--preset--color--primary); font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .25s, transform .25s; }
.credentials .credential::before { content: ""; width: 16px; height: 16px; background: url(assets/images/icons/check-gold.svg) center / contain no-repeat; }
.credentials .credential:hover { background: rgba(201, 169, 66, .22); transform: translateY(-2px); }
@media (max-width: 900px) { .founder-layout.wp-block-group { grid-template-columns: 1fr; gap: 35px; } }
@media (max-width: 640px) {
	.founder-visual .founder-caption { padding: 58px 22px 22px; }
	.founder-visual .founder-caption h3 { font-size: 23px; }
	.credentials .credential { padding: 8px 13px; font-size: 11px; }
	.founder-content .wp-block-button, .founder-content .wp-block-button__link { width: 100%; }
}

/* ===================================================================== Depoimentos */

.quote-section .testimonial { max-width: 780px; margin: 8px auto 0; font-family: var(--wp--preset--font-family--outfit); font-size: 24px; line-height: 1.6; color: var(--wp--preset--color--primary); text-align: center; }
@media (max-width: 640px) { .quote-section .testimonial { font-size: 19px; } }

/* ===================================================================== Cartões de artigo (Loop de consulta) */

.wp-block-post-template.post-grid { gap: 28px; }
.post-card .post-card-image { margin: 0; overflow: hidden; border-radius: 4px; }
.post-card .post-card-image img { transition: transform .5s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card .post-card-meta { margin: 18px 0 10px; font-size: 9px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.post-card .post-card-category { font-weight: 600; color: var(--wp--preset--color--primary); }
.post-card .post-card-category a { color: inherit; }
.post-card .post-card-title { margin: 0; font-size: 19px; line-height: 1.5; }
.post-card .post-card-excerpt { margin-top: 10px; font-size: 12px; color: var(--wp--preset--color--muted); }
.post-card .post-card-excerpt p { margin: 0; }
.post-card .post-card-more { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; margin-top: 18px; padding: 11px 20px; border: 1px solid var(--wp--preset--color--primary); border-radius: 6px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--primary); font-size: 11px; font-weight: 600; transition: background .25s, color .25s, transform .25s; }
.post-card .post-card-more::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--bravanti-icon-arrow-right) center / contain no-repeat; mask: var(--bravanti-icon-arrow-right) center / contain no-repeat; }
.post-card:hover .post-card-more { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); transform: translateY(-2px); }
@media (max-width: 900px) { .post-card .post-card-title { font-size: 16px; } }
@media (max-width: 640px) { .wp-block-post-template.post-grid { grid-template-columns: 1fr; gap: 35px; } .post-card .post-card-title { font-size: 20px; } }

/* ===================================================================== Faixa do e-book */

.ebook-inner.wp-block-group { grid-template-columns: .7fr 1.3fr; align-items: center; max-width: 1000px; margin-inline: auto; }
.ebook-inner .book-cover { display: flex; flex-direction: column; justify-content: space-between; width: 235px; min-height: 310px; margin: auto; padding: 25px 30px; border-left: 9px solid #3a5160; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--card); transform: rotate(-5deg); }
.book-cover p { margin: 0; line-height: 1.6; }
.book-cover .book-brand, .book-cover .book-kicker { font-size: 10px; color: var(--wp--preset--color--accent); }
.book-cover .book-kicker { font-size: 8px; }
.book-cover .book-title { margin: 14px 0; font-family: var(--wp--preset--font-family--outfit); font-size: 33px; font-weight: 500; line-height: 1.2; }
.book-cover .book-subtitle { font-size: 10px; line-height: 1.8; color: var(--wp--preset--color--ink-subtle); }
.book-cover .book-icon img { width: 28px; height: 28px; }
.ebook-inner p.text-muted { max-width: 510px; }
@media (max-width: 640px) { .ebook-inner.wp-block-group { grid-template-columns: 1fr; gap: 40px; } .ebook-inner .book-cover { width: 210px; min-height: 280px; } }

/* ===================================================================== Chamada final */

.final-cta h2 { font-size: clamp(25px, 2.8vw, 29px); }
@media (max-width: 640px) { .final-cta .cta-inner.wp-block-group { flex-direction: column; align-items: flex-start; gap: 25px; } .final-cta h2 br { display: none; } }

/* ===================================================================== Rodapé */

.site-footer.is-style-secao-azul { background: var(--wp--preset--color--nav); color: var(--wp--preset--color--ink-subtle); }
.site-footer .footer-grid.wp-block-group { grid-template-columns: 1.2fr .8fr 1fr; gap: 90px; }
.site-footer .footer-grid p { max-width: 290px; }
.site-footer h4 { color: var(--wp--preset--color--white); }
.site-footer .footer-links .wp-block-navigation__container { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; font-size: 11px; }
.site-footer .footer-links .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent); }
.site-footer .contact-line .icone img { width: 16px; height: 16px; }
.site-footer .footer-bottom { padding-block: 23px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer .footer-bottom p { margin: 0; }
@media (max-width: 900px) {
	.site-footer .footer-grid.wp-block-group { grid-template-columns: 1fr 1fr; gap: 40px; }
	.site-footer .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.site-footer .footer-grid.wp-block-group { grid-template-columns: 1fr; gap: 35px; }
	.site-footer .footer-bottom.wp-block-group { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 70px; }
}

/* Botão flutuante do WhatsApp */
.whatsapp-flutuante.wp-block-buttons { position: fixed; right: 24px; bottom: 24px; z-index: 40; margin: 0; }
.whatsapp-flutuante .wp-block-button__link { position: relative; width: 54px; height: 54px; padding: 0; border-radius: 50%; background: var(--wp--preset--color--whatsapp); color: var(--wp--preset--color--white); font-size: 0; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); animation: bravanti-whatsapp-glow 2.8s ease-in-out infinite; }
.whatsapp-flutuante .wp-block-button__link:hover { background: #00a85c; color: var(--wp--preset--color--white); animation-play-state: paused; }
.whatsapp-flutuante .wp-block-button__link::after { width: 24px; height: 24px; -webkit-mask-image: var(--bravanti-icon-message); mask-image: var(--bravanti-icon-message); }
.whatsapp-flutuante .wp-block-button__link::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--wp--preset--color--whatsapp); border-radius: 50%; animation: bravanti-whatsapp-ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes bravanti-whatsapp-glow { 0%, 100% { filter: brightness(1); transform: scale(1); } 50% { filter: brightness(1.15); transform: scale(1.06); } }
@keyframes bravanti-whatsapp-ring { 0% { transform: scale(1); opacity: .65; } 80%, 100% { transform: scale(1.65); opacity: 0; } }

/* ===================================================================== Páginas internas */

.page-intro h1 { max-width: 850px; color: var(--wp--preset--color--white); }
.page-intro .page-intro-text { max-width: 750px; }

.about-text { max-width: 800px; }
.values-grid { padding-top: 35px; border-top: 1px solid var(--wp--preset--color--border); }
.values-grid h3 { font-size: 19px; }
.values-tags .value-tag { margin: 0; padding: 6px 12px; border: 1px solid var(--wp--preset--color--border); border-radius: 3px; font-size: 12px; line-height: 1.5; }
@media (max-width: 640px) { .values-grid.wp-block-group, .resource-grid.wp-block-group { grid-template-columns: 1fr; } }

.resource-grid .resource-card { padding: 30px; border: 1px solid var(--wp--preset--color--border); border-radius: 5px; background: var(--wp--preset--color--white); }
.resource-card .resource-icon { margin-bottom: 10px; }
.resource-card .resource-icon img { width: 35px; height: 35px; }
.resource-card h3 { font-size: 21px; }
@media (max-width: 900px) { .resource-grid.wp-block-group { grid-template-columns: 1fr 1fr; } }

.contact-layout.wp-block-group { grid-template-columns: .8fr 1.2fr; }
.contact-copy .contact-details { margin-top: 15px; padding-top: 25px; border-top: 1px solid var(--wp--preset--color--border); color: var(--wp--preset--color--primary); font-size: 14px; }
.contact-copy .contact-details .contact-line p { margin: 0; }
.contact-details .icone img { width: 18px; height: 18px; }
@media (max-width: 900px) { .contact-layout.wp-block-group { gap: 35px; } }
@media (max-width: 640px) { .contact-layout.wp-block-group { grid-template-columns: 1fr; } }

/* Curso */
.course-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 110px; }
.course-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, rgba(16, 51, 69, .88) 45%, rgba(16, 51, 69, .3) 78%, rgba(16, 51, 69, .08) 100%); }
.course-hero > .course-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; height: 100%; max-width: none !important; margin: 0 !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%); }
.course-hero > .course-hero-bg img { width: auto; height: 100%; max-width: none; object-fit: cover; object-position: center 25%; }
.course-hero .course-hero-inner { position: relative; }
.course-hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; color: var(--wp--preset--color--white); }
.course-hero .course-hero-text { max-width: 540px; font-size: 16px; opacity: .9; color: var(--wp--preset--color--white); }
.course-hero .course-hero-actions { margin-top: 12px; }
.course-hero .is-style-outline > .wp-block-button__link { border-color: var(--wp--preset--color--accent); background: transparent; color: var(--wp--preset--color--white); }
.course-about.wp-block-group { grid-template-columns: 1.5fr 1fr; align-items: start; }
.course-about-text p.text-muted { font-size: 15px; line-height: 1.9; }
.course-audience { padding: 36px 32px; border-radius: 8px; background: var(--wp--preset--color--accent); box-shadow: var(--wp--preset--shadow--card); }
.course-audience h3 { font-size: 22px; }
ul.is-style-checks { display: grid; gap: 14px; margin-bottom: 0; padding: 0; list-style: none; }
ul.is-style-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--wp--preset--color--primary); }
ul.is-style-checks li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; background: url(assets/images/icons/check-navy.svg) center / contain no-repeat; }
.course-topics .topic-item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 22px; border: 1px solid var(--wp--preset--color--border); border-radius: 6px; background: var(--wp--preset--color--white); font-size: 14px; font-weight: 500; line-height: 1.5; transition: transform .25s, box-shadow .25s; }
.course-topics .topic-item::before { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--wp--preset--color--accent) url(assets/images/icons/check-navy.svg) center / 16px no-repeat; }
.course-topics .topic-item:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--card); }
@media (max-width: 900px) {
	.course-hero { padding-block: 80px; }
	.course-hero > .course-hero-bg { inset: 0; width: 100%; }
	.course-hero > .course-hero-bg img { width: 100%; object-position: center 22%; }
	.course-hero::after { background: linear-gradient(180deg, rgba(16, 51, 69, .9), rgba(16, 51, 69, .62)); }
	.course-about.wp-block-group { grid-template-columns: 1fr; gap: 35px; }
	.course-topics.wp-block-group { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .course-hero { padding-block: 60px; } .course-topics.wp-block-group { grid-template-columns: 1fr; } .course-audience { padding: 28px 22px; } }

/* ===================================================================== Blog */

.blog-toolbar .category-filters { align-items: center; }
.category-filters p, .category-filters ul { margin: 0; }
.category-filters ul.wp-block-categories { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; list-style: none; }
.category-filters a { display: inline-flex; padding: 8px 11px; border-radius: 4px; color: var(--wp--preset--color--contrast); font-size: 11px; font-weight: 500; line-height: 20px; transition: background .15s, color .15s; }
.category-filters a:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-contrast); }
.blog .category-filters .filter-all a,
.category-filters .current-cat > a { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }
.blog-toolbar .blog-search { min-width: 260px; margin: 0; }
.blog-toolbar .blog-search .wp-block-search__inside-wrapper { padding: 4px; border: 1px solid var(--wp--preset--color--border); border-radius: 4px; background: var(--wp--preset--color--white); }
.blog-toolbar .blog-search .wp-block-search__input { border: 0; background: transparent; font-size: 13px; }
.blog-toolbar .blog-search .wp-block-search__button { margin: 0; padding: 6px 10px; background: transparent; color: var(--wp--preset--color--muted); box-shadow: none; }
.blog-toolbar .blog-search .wp-block-search__button::after { content: none; }
@media (max-width: 640px) { .blog-toolbar .blog-search { width: 100%; } }

.wp-block-query-pagination { margin-top: 45px; gap: 6px; font-size: 13px; }
.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination > a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--wp--preset--color--border); border-radius: 4px; color: var(--wp--preset--color--primary); }
.wp-block-query-pagination .page-numbers.current,
.wp-block-query-pagination a:hover { border-color: var(--wp--preset--color--accent); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-contrast); }

.newsletter.wp-block-group { align-items: center; margin-top: 30px; padding-top: 40px; border-top: 1px solid var(--wp--preset--color--border); }
.newsletter h2 { font-size: 27px; }
.newsletter .bravanti-form { padding: 20px; }
@media (max-width: 640px) { .newsletter.wp-block-group, .ebook-inner.wp-block-group { grid-template-columns: 1fr; } }

/* ===================================================================== Artigo */

.article-body { max-width: 800px; margin-inline: auto !important; }
.article-body .breadcrumb { margin: 0 0 7px; }
.article-body .breadcrumb a:hover { color: var(--wp--preset--color--accent); }
.article-body .article-meta { font-size: 11px; color: var(--wp--preset--color--muted); }
.article-body .article-meta p { margin: 0; }
.article-body .article-title { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.3; }
.article-body .article-byline { font-size: 12px; color: var(--wp--preset--color--muted); }
.article-body .article-byline p { margin: 0; }
.article-body .article-cover { margin: 12px 0; overflow: hidden; border-radius: 4px; }
.article-copy p { margin-bottom: 20px; font-size: 16px; line-height: 1.9; color: var(--wp--preset--color--muted); }
.article-copy h2 { margin: 35px 0 18px; font-size: 25px; }
.article-copy ul, .article-copy ol { padding-left: 22px; font-size: 15px; line-height: 2; color: var(--wp--preset--color--muted); }
.article-copy blockquote p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.article-copy a { color: var(--wp--preset--color--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-copy img { height: auto; border-radius: 6px; }

/* ===================================================================== Animação de entrada */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===================================================================== Ajustes finos (fiel ao site original) */

/* Texto só para leitores de tela */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Redes sociais sem link: ícone desativado com a dica "Link oficial em breve" */
.wp-block-social-links .is-coming-soon { position: relative; }
.wp-block-social-links .is-coming-soon .wp-block-social-link-anchor { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 0; cursor: default; opacity: .85; outline-offset: 3px; }
.wp-block-social-links .is-coming-soon svg { width: 16px; height: 16px; fill: currentColor; }
.wp-block-social-links .social-tooltip { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; padding: 8px 11px; border: 1px solid var(--wp--preset--color--border); border-radius: 4px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--primary); font-size: 11px; line-height: 1.4; white-space: nowrap; box-shadow: var(--wp--preset--shadow--card); opacity: 0; visibility: hidden; transition: opacity .2s; }
.wp-block-social-links .is-coming-soon:hover .social-tooltip, .wp-block-social-links .is-coming-soon :focus .social-tooltip { opacity: 1; visibility: visible; }
.site-footer .wp-block-social-links .social-tooltip { top: auto; right: auto; bottom: calc(100% + 6px); left: 0; }
.site-footer .wp-block-social-links { gap: 6px; }

/* Cartões de artigo: seta sobre a imagem */
.post-card .post-card-image { position: relative; }
.post-card .post-card-image a::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 3px; background: var(--wp--preset--color--white) url("assets/images/icons/arrow-up-right-navy.svg") center / 18px no-repeat; }
.post-card .post-card-meta .post-card-time { margin: 0; }

/* Depoimentos: texto, aviso e setas, nessa ordem */
.quote-section > .alignwide { display: flex; flex-direction: column; }
.quote-section .testimonials { display: contents; }
.quote-section .bravanti-carousel__slides { order: 1; }
.quote-section > .alignwide > p:last-child { order: 2; margin-top: 0; }
.quote-section .bravanti-carousel__controls { order: 3; margin-top: 22px; }

/* Formulários: campos no tamanho do original */
.bravanti-form input:not([type=checkbox]), .bravanti-form select, .bravanti-form textarea { font-size: 12px; }
.bravanti-form__tabs button { height: 36px; padding: 0 18px; font-size: 14px; font-weight: 500; }

/* Busca do blog: lupa à esquerda */
.blog-toolbar .blog-search .wp-block-search__inside-wrapper { padding: 3px 12px 3px 4px; }
.blog-toolbar .blog-search .wp-block-search__button { order: -1; padding: 6px 4px 6px 8px; }
.blog-toolbar .blog-search .wp-block-search__input { padding-left: 6px; }

/* Artigo */
.article-body .breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 7px; }
.article-body .article-cover { margin: 12px 0 18px; }
.article-copy ul { list-style: none; }
.article-actions.wp-block-buttons { gap: 15px; margin-top: 30px; }
.wp-block-button.icone-compartilhar .wp-block-button__link::after { content: none; }
.wp-block-button.icone-compartilhar .wp-block-button__link::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--bravanti-icon-share) center / contain no-repeat; mask: var(--bravanti-icon-share) center / contain no-repeat; }

/* Sobre: foto recortada da fundadora, com nome e função abaixo */
.founder-visual.is-cutout { background: transparent; }
.founder-visual.is-cutout .founder-portrait img { aspect-ratio: 1.05; object-position: center top; }
.founder-visual.is-cutout .founder-caption { position: static; padding: 24px 34px 30px; background: none; }
.founder-visual.is-cutout .founder-caption h3 { font-size: 28px; color: var(--wp--preset--color--primary); }
.founder-visual.is-cutout .founder-caption p { margin-top: 0; font-size: 13px; font-weight: 400; letter-spacing: .4px; text-transform: none; }
@media (max-width: 640px) { .founder-visual.is-cutout .founder-caption { padding: 20px 24px 24px; } .founder-visual.is-cutout .founder-caption h3 { font-size: 24px; } }
.post-card .post-card-more { box-sizing: border-box; }
.quote-section .testimonial { margin-block: 30px; }
.site-header .wp-block-social-links .wp-social-link, .site-footer .wp-block-social-links .wp-social-link { color: var(--wp--preset--color--white) !important; }
.wp-block-social-links .bravanti-social-icon { width: 16px; height: 16px; fill: none !important; }

:root :where(.is-layout-flex.wp-block-social-links) {
	gap:0 !important
}

@media(max-width:650px){
	.wp-block-image.size-full.hero-portrait {
		display: none;
	}

	.hero .hero-inner{
		padding: 150px 0 80px;
	}

	.hero .hero-author {
		top: 30px;
	}
}