/*
Theme Name: Espaço Bela Vista
Theme URI: https://espacobelavista.com.br/
Author: Agência Hunter
Author URI: https://agenciahunter.com.br/
Description: Tema sob medida do Espaço Bela Vista (Mogi Mirim). Sem page builder: a home é editada em Aparência › Personalizar; o conteúdo antigo do WPBakery nas subpáginas continua sendo exibido.
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 7.4
Update URI: false
License: Proprietária
Text Domain: espaco-bela-vista
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #fbf9f6;
	--paper: #f3eee7;
	--line: #e4ddd2;
	--ink: #081d30;
	--text: #46505e;
	--muted: #7b8490;
	--navy: #081d30;
	--navy-2: #0f2a42;
	--accent: #8a4fa0;
	--accent-2: #b678c9;
	--blush: #f1e6f3;
	--gold: #b89a6a;

	--ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ff-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

	--header-h: 92px;
	--radius: 4px;
	--radius-lg: 10px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 30px 60px -30px rgba(8, 29, 48, .35);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 36px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 400 17px/1.75 var(--ff-body);
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); font-family: var(--ff-display); font-weight: 600; line-height: 1.12; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: #fff; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.kicker {
	display: inline-flex; align-items: center; gap: 14px; margin: 0 0 16px;
	font: 500 12px/1.2 var(--ff-body); letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--light { color: #e7d3ee; }
.kicker--center { justify-content: center; width: 100%; }
.kicker--center::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker a { color: inherit; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px;
	font: 500 13px/1 var(--ff-body); letter-spacing: .2em; text-transform: uppercase;
	cursor: pointer; white-space: nowrap; max-width: 100%;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(138, 79, 160, .9); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(8,29,48,.12); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.link-arrow .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .35s, height .35s var(--ease), box-shadow .35s, top .2s; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -50px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8,29,48,.55), rgba(8,29,48,0)); transition: opacity .35s; }
.site-header.is-scrolled, body:not(.has-hero) .site-header {
	--header-h: 74px; background: rgba(251, 249, 246, .94);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled::before, body:not(.has-hero) .site-header::before { opacity: 0; }

.brand { position: relative; display: inline-flex; flex: none; }
.brand__img { width: auto; height: 46px; transition: opacity .3s, height .35s var(--ease); }
.brand__img--light { position: absolute; inset: 0; }
.brand__img--dark { opacity: 0; }
.is-scrolled .brand__img--dark, body:not(.has-hero) .brand__img--dark { opacity: 1; }
.is-scrolled .brand__img--light, body:not(.has-hero) .brand__img--light { opacity: 0; }
.is-scrolled .brand__img, body:not(.has-hero) .site-header .brand__img { height: 40px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__list li { position: relative; }
.nav__list a { position: relative; display: block; padding: 10px 13px; font: 500 12.5px/1 var(--ff-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.is-scrolled .nav__list a, body:not(.has-hero) .nav__list a { color: var(--ink); }
.nav__list a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current_page_item > a::after, .nav__list .current-menu-ancestor > a::after { transform: scaleX(1); }
.nav__list a:hover { color: inherit; }
.nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 10px 0; list-style: none; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { color: var(--ink) !important; padding: 10px 20px; letter-spacing: .12em; }
.nav__extra { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); cursor: pointer; }
.is-scrolled .nav-toggle, body:not(.has-hero) .nav-toggle { background: var(--paper); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .2s, background .3s; }
.is-scrolled .nav-toggle span, body:not(.has-hero) .nav-toggle span, .nav-open .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.admin-bar .site-header { top: 32px; }
.admin-bar { scroll-padding-top: calc(var(--header-h) + 32px); }

/* Socials */
.socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; color: inherit; opacity: .85; transition: background .25s, color .25s, opacity .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1; transform: translateY(-2px); }
.socials .icon { width: 17px; height: 17px; }
.nav .socials--nav { display: none; }

/* Crédito da agência (menu mobile) */
.credit { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: lowercase; color: var(--muted); opacity: .8; }
.credit:hover { color: var(--accent); opacity: 1; }
.credit--nav { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1050px; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero__media, .hero__slide { position: absolute; inset: 0; }
.hero__media { z-index: -1; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,29,48,.75) 0%, rgba(8,29,48,.35) 55%, rgba(8,29,48,.15) 100%), linear-gradient(0deg, rgba(8,29,48,.6), rgba(8,29,48,0) 40%); }
.hero__content { padding-top: var(--header-h); }
.hero__content > * { max-width: 720px; animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__content > :nth-child(4) { animation-delay: .36s; }
.hero__title { font-size: clamp(46px, 7.4vw, 104px); line-height: .98; font-weight: 500; color: #fff; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero__text { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; max-width: 540px; color: rgba(255,255,255,.92); }
.hero__dots { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dot { width: 34px; height: 2px; background: rgba(255,255,255,.35); transition: background .4s; }
.hero__dot.is-active { background: #fff; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; width: 1px; height: 64px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 2s infinite var(--ease); }
@keyframes drip { to { top: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section--paper { background: var(--paper); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(42px, 6vw, 70px); }
.section-head .kicker { justify-content: center; }
.section-head .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head p:not(.kicker) { font-size: 18px; color: var(--muted); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; text-align: left; }
.section-head--split .kicker { justify-content: flex-start; }
.section-head--split .kicker::after { display: none; }
.section-head--split .section-title { margin: 0; }
.section-title { font-size: clamp(38px, 5vw, 62px); font-weight: 500; margin-bottom: 18px; }

/* Sobre */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__img { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 5; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--bg); }
.about__mark { position: absolute; left: -26px; top: -26px; width: 92px; height: 92px; border-radius: 50%; box-shadow: var(--shadow); }
.about__text { font-size: 18px; margin-bottom: 28px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(60px, 8vw, 100px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__item { padding: 34px 20px; text-align: center; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats dt { font: 500 clamp(40px, 5vw, 60px)/1 var(--ff-display); color: var(--ink); }
.stats dd { margin: 10px 0 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Eventos */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.event { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; isolation: isolate; }
.event img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.event::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,29,48,.85) 0%, rgba(8,29,48,.1) 55%); transition: background .4s; }
.event:hover img { transform: scale(1.07); }
.event:hover::after { background: linear-gradient(0deg, rgba(138,79,160,.85) 0%, rgba(8,29,48,.15) 60%); }
.event__body { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.event__title { display: block; font: 500 clamp(28px, 2.6vw, 36px)/1.05 var(--ff-display); color: #fff; }
.event__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.event__more .icon { width: 13px; height: 13px; transition: transform .25s; }
.event:hover .event__more .icon { transform: translateX(4px); }
.events .event:nth-child(2), .events .event:nth-child(5) { transform: translateY(40px); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 80px; }
.chips__label { font-family: var(--ff-display); font-style: italic; font-size: 22px; color: var(--ink); margin-right: 6px; }
.chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 14px; color: var(--text); }

/* Estrutura */
.features { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.features__bg { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.features__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.features::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 15% 0%, rgba(138,79,160,.35), transparent 60%), linear-gradient(180deg, rgba(8,29,48,.85), rgba(8,29,48,.95)); }
.features .section-title { color: #fff; }
.features__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 56px; padding: 0; list-style: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.features__list li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 18px; text-align: center; background: rgba(8,29,48,.72); font-size: 15px; color: rgba(255,255,255,.9); transition: background .3s; }
.features__list li:hover { background: rgba(138,79,160,.35); }
.line-icon { width: 38px; height: 38px; color: var(--accent-2); }

/* Galeria */
.gallery { columns: 4 260px; column-gap: 10px; padding: 0 10px; }
.gallery__item { position: relative; display: block; margin-bottom: 10px; overflow: hidden; border-radius: 6px; break-inside: avoid; background: var(--paper); }
.gallery__item img { width: 100%; transition: transform .9s var(--ease), filter .4s; }
.gallery__item:hover img { transform: scale(1.05); filter: brightness(.9); }

/* Região */
.region { padding: clamp(50px, 6vw, 80px) 0; text-align: center; border-top: 1px solid var(--line); }
.region p { margin: 0; font: italic 500 clamp(20px, 2.2vw, 26px)/1.55 var(--ff-display); color: var(--ink); }

/* Blog (cards) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.post-card { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.section--paper .post-card { background: #fff; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card__media img.is-placeholder { object-fit: contain; padding: 18%; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { flex: 1; display: flex; flex-direction: column; padding: 26px 26px 28px; }
.post-card__body time { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.post-card__title { margin: 10px 0 12px; font-size: 26px; font-weight: 600; line-height: 1.15; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--accent); }
.post-card__body p { flex: 1; font-size: 15.5px; color: var(--muted); }

/* Chamada final */
.cta { position: relative; padding: clamp(100px, 13vw, 170px) 0; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,29,48,.7), rgba(8,29,48,.82)); }
.cta__title { font-size: clamp(40px, 5.5vw, 70px); font-weight: 500; color: #fff; }
.cta p { font-size: 19px; font-weight: 300; color: rgba(255,255,255,.9); }

/* Localização */
.location { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--paper); }
.location__map { position: absolute; inset: 0; }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.1); }
.location__inner { position: relative; display: flex; justify-content: flex-end; pointer-events: none; }
.location__card { pointer-events: auto; width: min(420px, 100%); padding: 36px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.location__title { font-size: 34px; font-weight: 500; }
.location__line { display: flex; gap: 12px; font-size: 16px; }
.location__line .icon { color: var(--accent); margin-top: 6px; }
.location__line a { color: var(--ink); font-weight: 500; }

/* Faixa de orçamento (páginas internas) */
.band { background: var(--navy); color: #fff; }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.band__text { margin: 0; font: 500 clamp(26px, 3vw, 36px)/1.1 var(--ff-display); color: #fff; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); font-size: 15.5px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: clamp(28px, 4vw, 60px); padding-block: clamp(60px, 8vw, 100px); }
.site-footer__mark { width: 70px; height: 70px; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.site-footer__logo { width: 200px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 300px; }
.site-footer__title { font: 500 12px/1.2 var(--ff-body); letter-spacing: .28em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.site-footer__phone { font: 500 28px/1.2 var(--ff-display); }
.site-footer .socials { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13.5px; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(8,29,48,.95); animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 86vh; border-radius: 4px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--accent); }
.lightbox .icon { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 20px; top: 50%; translate: 0 -50%; }
@keyframes fade { from { opacity: 0; } }

/* ==========================================================================
   Páginas internas e blog
   ========================================================================== */
.page-hero { position: relative; padding: calc(74px + clamp(56px, 8vw, 100px)) 0 clamp(48px, 6vw, 80px); text-align: center; background: var(--paper); overflow: hidden; isolation: isolate; }
.admin-bar .page-hero { padding-top: calc(106px + clamp(56px, 8vw, 100px)); }
.page-hero__title { font-size: clamp(42px, 6vw, 78px); font-weight: 500; margin: 0 auto; max-width: 900px; }
.page-hero__title--post { font-size: clamp(36px, 4.6vw, 60px); }
.page-hero__meta { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.page-hero__desc { max-width: 620px; margin: 18px auto 0; font-size: 18px; color: var(--muted); }
.page-hero__search { max-width: 460px; margin: 30px auto 0; }
.page-hero--image { min-height: 62vh; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.page-hero--image .container { width: 100%; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,29,48,.85), rgba(8,29,48,.25) 60%, rgba(8,29,48,.45)); }
.page-hero--image .page-hero__title, .page-hero--image .page-hero__meta { color: #fff; }
.page-hero--image .kicker { color: #e7d3ee; }
.page-hero--404 { min-height: 80vh; display: grid; place-items: center; }

.subnav { position: sticky; top: 74px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.admin-bar .subnav { top: 106px; }
.subnav__inner { display: flex; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 18px 16px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-current { color: var(--ink); border-color: var(--accent); }

.search-form { position: relative; }
.search-form__input { width: 100%; height: 54px; padding: 0 56px 0 24px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.search-form__input:focus { outline: 0; border-color: var(--accent); }
.search-form__btn { position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* Conteúdo (editor de blocos e conteúdo antigo) */
.entry { font-size: 18px; }
.entry--page { max-width: calc(1100px + var(--gutter) * 2); }
.entry > * + *, .bv-text > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(32px, 3.4vw, 44px); margin-top: 1.5em; }
.entry h3 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.4em; }
.entry h4 { font-size: 22px; }
.entry h2:first-child, .entry h3:first-child, .bv-text > :first-child { margin-top: 0; }
.entry a:not(.btn):not(.link-arrow) { text-decoration: underline; text-decoration-color: rgba(138,79,160,.4); text-underline-offset: 3px; }
.entry img { border-radius: var(--radius-lg); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .35em; }
.entry blockquote, .bv-quote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--accent); font: italic 500 24px/1.5 var(--ff-display); color: var(--ink); }
.entry figure { margin: 1.6em 0; }
.entry figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry .wp-block-button__link { background: var(--accent); border-radius: 999px; }
.entry iframe { width: 100%; border: 0; }
.entry .alignwide { max-width: none; }

.entry--post { max-width: 760px; margin: 0 auto; }
.entry--post > p:first-of-type { font-size: 21px; color: var(--ink); }
.single-wrap { display: block; }
.has-sidebar .single-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; }
.sidebar .widget { margin-bottom: 40px; }
.widget__title { font: 500 12px/1.2 var(--ff-body); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.sidebar ul { padding: 0; list-style: none; }
.sidebar li { padding: 8px 0; border-bottom: 1px solid var(--line); }

.entry__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.entry__tags { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.entry__tags a { padding: 6px 14px; border-radius: 999px; background: var(--paper); font-size: 13px; text-decoration: none !important; color: var(--text); }
.share { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.share a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.share .icon { width: 17px; height: 17px; }

.post-cta { display: flex; align-items: center; gap: 22px; margin: 50px 0; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.85); }
.post-cta img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.post-cta h2 { margin: 0 0 4px; font-size: 26px; color: #fff; }
.post-cta p { margin: 0; font-size: 15px; }
.post-cta .btn { margin-left: auto; flex: none; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none !important; transition: border-color .25s; }
.post-navigation a:hover { border-color: var(--accent); }
.post-navigation .nav-next { text-align: right; }
.post-nav__label { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.post-nav__title { display: block; margin-top: 6px; font: 600 20px/1.25 var(--ff-display); color: var(--ink); }

.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .icon { width: 16px; height: 16px; }

/* Comentários */
.comments { margin-top: 60px; }
.comments__title { font-size: 32px; }
.comments__list { padding: 0; list-style: none; }
.comments__list .children { list-style: none; padding-left: 28px; }
.comments__list .comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.comments__list .avatar { float: left; margin-right: 14px; border-radius: 50%; }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-meta a { color: inherit; text-decoration: none !important; }
.comment-form label { display: block; font-size: 14px; margin-bottom: 6px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; font: inherit; font-size: 16px; }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--accent); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.comment-form .comment-form-cookies-consent label { display: inline; }

/* ==========================================================================
   Conteúdo antigo (WPBakery / Bridge) — ver inc/legacy-shortcodes.php
   ========================================================================== */
.bv-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin-block: clamp(24px, 4vw, 48px); }
.bv-row:first-child { margin-top: 0; }
.bv-col { flex: 1 1 calc(var(--w, 1) * 100% - 56px); min-width: min(100%, 260px); }
.bv-col > * + * { margin-top: 1.1em; }
.bv-image img { width: 100%; border-radius: var(--radius-lg); }
.bv-image--center img { margin-inline: auto; width: auto; }
.bv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-block: 1.4em; }
.bv-gallery--wide { grid-template-columns: repeat(3, 1fr); }
.bv-gallery--wide .bv-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.bv-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper); }
.bv-gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .8s var(--ease); }
.bv-gallery__item:hover img { transform: scale(1.06); }
.bv-heading { font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; }
.bv-sep { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.bv-sep-title { display: flex; align-items: center; gap: 20px; font-size: 30px; }
.bv-sep-title::before, .bv-sep-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bv-btn-wrap { margin-top: 1.4em; }
.bv-map { width: 100%; height: clamp(320px, 42vw, 480px); overflow: hidden; border-radius: var(--radius-lg); }
.bv-map iframe { width: 100%; height: 100%; border: 0; }
.bv-video iframe { aspect-ratio: 16 / 9; height: auto; }
.bv-box { padding: 28px; border-radius: var(--radius-lg); background: var(--paper); }
.bv-details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.bv-details summary { cursor: pointer; font: 600 22px/1.3 var(--ff-display); color: var(--ink); }
.bv-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); margin-block: 1.6em; }
.bv-grid__item > * + * { margin-top: 1em; }
.bv-feature { height: 100%; padding: 32px 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s; }
.bv-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bv-feature__img { width: 64px; height: 64px; margin: 0 auto 18px; object-fit: contain; border-radius: 0 !important; }
.bv-feature__icon { display: inline-block; margin-bottom: 14px; }
.bv-feature__icon .line-icon { color: var(--accent); }
.bv-feature__title { font-size: 28px; }
.bv-feature__text { font-size: 16px; color: var(--muted); }
.bv-counter { text-align: center; }
.bv-counter strong { display: block; font: 500 52px/1 var(--ff-display); color: var(--ink); }
.bv-counter span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .events .event.reveal:nth-child(2).is-visible, .js .events .event.reveal:nth-child(5).is-visible { transform: translateY(40px); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.features__list { grid-template-columns: repeat(3, 1fr); }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.has-sidebar .single-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: block; z-index: 2; }
	.nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 34px;
		background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
	.nav__list { flex-direction: column; align-items: center; gap: 4px; }
	.nav__list a { font: 500 30px/1.1 var(--ff-display); letter-spacing: 0; text-transform: none; color: var(--ink) !important; padding: 8px 16px; }
	.nav__list a::after { display: none; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0; text-align: center; }
	.nav__list .sub-menu a { font-size: 20px; color: var(--muted) !important; padding: 4px 12px; }
	.nav__extra { flex-direction: column; gap: 22px; }
	.nav .socials--nav { display: flex; color: var(--ink); }
	.credit--nav { display: block; position: absolute; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom)); text-align: center; }
	body.nav-open { overflow: hidden; }
	body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
	body.nav-open .site-header::before { opacity: 0; }
	body.nav-open .brand__img--dark { opacity: 1; }
	body.nav-open .brand__img--light { opacity: 0; }
	.brand { z-index: 2; }
	.brand__img { height: 40px; }

	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 560px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats__item:nth-child(3) { border-left: 0; }
	.stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.events { grid-template-columns: repeat(2, 1fr); }
	.events .event:nth-child(2), .events .event:nth-child(5), .js .events .event.reveal:nth-child(2).is-visible, .js .events .event.reveal:nth-child(5).is-visible { transform: none; }
	.chips { margin-top: 48px; }
	.bv-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar { scroll-padding-top: calc(var(--header-h) + 46px); }
	.admin-bar .subnav { top: 120px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.btn { white-space: normal; text-align: center; line-height: 1.35; padding-block: 12px; }
	.hero { align-items: flex-end; }
	.hero__content { padding-bottom: 90px; }
	.hero__scroll { display: none; }
	.btn-row .btn { flex: 1 1 auto; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.about__mark { left: -8px; top: -18px; width: 70px; height: 70px; }
	.events { grid-template-columns: 1fr; }
	.event { aspect-ratio: 16 / 11; }
	.features__list { grid-template-columns: repeat(2, 1fr); }
	.features__list li { padding: 26px 12px; font-size: 14px; }
	.gallery { columns: 2; column-gap: 6px; padding: 0 6px; }
	.gallery__item { margin-bottom: 6px; }
	.post-grid { grid-template-columns: 1fr; }
	.location { flex-direction: column; align-items: stretch; min-height: 0; }
	.location__map { position: relative; height: 320px; }
	.location__inner { display: block; }
	.location__card { margin-top: -40px; margin-bottom: 40px; padding: 28px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.post-cta { flex-direction: column; align-items: flex-start; }
	.post-cta .btn { margin-left: 0; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.bv-grid { grid-template-columns: 1fr; }
	.lightbox__nav { top: auto !important; bottom: 20px; translate: none !important; }
	.subnav__inner { justify-content: flex-start; }
}

@media (max-width: 600px) {
	.admin-bar .site-header.is-scrolled { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
