/*
Theme Name: Treviso Mogi Mirim
Theme URI: https://trevisomogi.com.br
Update URI: false
Author: Hunter Agência Digital
Author URI: https://agenciahunter.com.br
Description: Tema leve e sob medida para a Treviso Mogi Mirim. Sem page builder: a página inicial é editada em Aparência > Personalizar > Treviso; as demais páginas usam o editor de blocos nativo do WordPress.
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietary
Text Domain: treviso-mogi
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #fbf8f3;
	--paper: #f3ece1;
	--paper-2: #ebe1d2;
	--ink: #221c17;
	--text: #4d443b;
	--muted: #8a7e72;
	--line: rgba(34, 28, 23, .12);
	--gold: #b68a4e;
	--gold-d: #8f6a37;
	--red: #c8202f;
	--green: #1e7b3c;
	--dark: #16120e;
	--white: #fff;

	--f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-script: "Kaushan Script", "Brush Script MT", cursive;
	--f-sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 14px;
	--header-h: 84px;
	--shadow: 0 20px 50px -20px rgba(34, 28, 23, .35);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   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.7 var(--f-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--f-serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--white); }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.script { font-family: var(--f-script); font-weight: 400; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: clamp(72px, 10vw, 128px); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.anchor { position: absolute; top: 0; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: 0 28px;
	border: 1.5px solid transparent; border-radius: 999px;
	font: 700 13px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--gold-d); color: var(--white); box-shadow: 0 12px 24px -10px rgba(143, 106, 55, .7); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--gold); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--whatsapp { background: #25d366; color: #0b3d1e; }
.btn--whatsapp:hover { background: #1fbe5a; color: #062512; }
.btn--ifood { background: #ea1d2c; color: var(--white); }
.btn--ifood:hover { background: #c8101e; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.link-underline:hover { background-size: 100% 1px; }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	height: var(--header-h);
	background: rgba(251, 248, 243, .9);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s, height .3s;
}
/* Barra do wp-admin (usuário logado) */
.admin-bar .site-header { top: 32px; }
.admin-bar { scroll-padding-top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	/* aqui a barra do admin rola junto com a página */
	.admin-bar .site-header { transition: top .2s, box-shadow .3s, border-color .3s, height .3s; }
	.admin-bar .site-header.is-scrolled { top: 0; }
}
.site-header.is-scrolled { --header-h: 68px; border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .3); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-main { padding-top: 84px; }

.brand { display: inline-flex; align-items: center; }
.brand__img { width: auto; height: 56px; object-fit: contain; transition: height .3s; }
.is-scrolled .brand__img { height: 46px; }
@media (max-width: 640px) { .site-header .brand__img { height: 44px; } }
.brand__text { font: 700 26px/1 var(--f-serif); color: var(--ink); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
	position: relative; display: block; padding: 10px 12px;
	font: 700 12.5px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.nav__list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
	background: linear-gradient(90deg, var(--green) 33%, #ddd3c4 33% 66%, var(--red) 66%);
	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 a.is-current::after { transform: scaleX(1); }
.nav__extra { display: flex; align-items: center; gap: 18px; padding-left: 22px; border-left: 1px solid var(--line); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav__phone .icon { color: var(--gold); }

.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); transition: background .25s, color .25s; }
.socials a:hover { background: var(--ink); color: var(--white); }
.socials .icon { width: 17px; height: 17px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 11px; position: relative; z-index: 2; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; justify-content: center; gap: 32px;
		background: var(--bg);
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: center; gap: 6px; }
	.nav__list a { font: 700 30px/1.2 var(--f-serif); letter-spacing: 0; text-transform: none; padding: 8px 12px; }
	.nav__list a::after { bottom: 0; }
	.nav__extra { flex-direction: column; border: 0; padding: 0; }
	.nav__phone { font-size: 20px; }
	body.nav-open { overflow: hidden; }
	/* backdrop-filter cria um novo contexto para position:fixed — desliga com o menu aberto */
	body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.brand { position: relative; z-index: 2; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	height: calc(100svh - 84px); min-height: 520px; max-height: 920px;
	background: var(--dark); color: var(--white);
}
.hero__slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero__slide.is-active .hero__bg img { transform: scale(1); }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	/* Overlay leve: só escurece o miolo o suficiente para o texto e a base para os pontinhos */
	background:
		radial-gradient(ellipse 55% 45% at center, rgba(22, 18, 14, .32) 0%, rgba(22, 18, 14, 0) 100%),
		linear-gradient(180deg, rgba(22, 18, 14, .08) 0%, rgba(22, 18, 14, .12) 60%, rgba(22, 18, 14, .4) 100%);
}
.hero__content { position: relative; text-align: center; }
.hero__title {
	color: var(--white); margin: 0;
	font-size: clamp(64px, 13vw, 168px); line-height: 1;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 8px 40px rgba(0, 0, 0, .45);
}
.hero__text { margin: 18px auto 30px; max-width: 620px; font-size: clamp(16px, 2vw, 21px); font-weight: 700; letter-spacing: .04em; color: var(--white); text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 4px 18px rgba(0, 0, 0, .5); }
.hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .btn { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .3s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .5s; }
.hero__slide.is-active .btn { opacity: 1; transform: none; transition-delay: .7s; }
.hero__slide.is-active .btn:hover { transform: translateY(-2px); transition-delay: 0s; }

.hero__dots { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero__dot { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero__dot::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { animation: dot 6s linear forwards; }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
@keyframes dot { to { transform: scaleX(1); } }

.hero__scroll { position: absolute; right: var(--gutter); bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Títulos de seção
   ========================================================================== */
.kicker { margin: 0 0 14px; font: 700 12px/1.4 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-d); }
.section-title { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.01em; }
.section-title--sm { font-size: clamp(28px, 3.2vw, 38px); }
.lead { font-size: 18px; color: var(--text); }
.flag-rule { display: block; width: 72px; height: 4px; margin: 20px 0 26px; border-radius: 2px; background: linear-gradient(90deg, var(--green) 33.3%, #e9e2d6 33.3% 66.6%, var(--red) 66.6%); }

.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head__title { margin: 0; display: flex; flex-direction: column; align-items: center; }
.section-head__title .script { font-size: clamp(64px, 10vw, 118px); line-height: .95; color: var(--gold); }
.section-head__sub { margin-top: 6px; font: 700 clamp(14px, 1.6vw, 18px)/1 var(--f-sans); letter-spacing: .4em; text-transform: uppercase; color: var(--ink); padding-left: .4em; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media::before {
	content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
	border: 1.5px solid var(--gold); border-radius: var(--radius);
}
.about__badge {
	position: absolute; left: -22px; bottom: 36px;
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 18px 24px; border-radius: 12px;
	background: var(--ink); color: var(--white);
	font: 700 12px/1.2 var(--f-sans); letter-spacing: .22em; text-transform: uppercase;
	box-shadow: var(--shadow);
}
.about__badge .script { font-size: 30px; letter-spacing: 0; text-transform: none; color: var(--gold); line-height: 1.1; }

.hours { display: grid; gap: 2px; margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.hours__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--white); }
.hours__item .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.hours__item strong { display: block; color: var(--ink); font-size: 15px; }
.hours__item span { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   Pratos (carrossel)
   ========================================================================== */
.dishes { position: relative; overflow: hidden; }
.dishes--lunch { background: var(--paper); }
.dishes--carte { background: var(--bg); }
.dishes::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(182, 138, 78, .18) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.dishes > * { position: relative; }

.carousel { position: relative; max-width: 1440px; margin-inline: auto; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 290px);
	gap: clamp(14px, 2vw, 24px);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 10px max(var(--gutter), calc((100% - var(--container)) / 2)) 30px;
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
	scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel.is-centered .carousel__track { justify-content: center; }
.carousel__item { scroll-snap-align: start; }
.dish {
	display: block; position: relative; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 2 / 3; background: var(--paper-2);
	box-shadow: 0 14px 30px -18px rgba(34, 28, 23, .5);
}
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish::after {
	content: "+"; position: absolute; right: 14px; bottom: 14px;
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--white); color: var(--ink); font: 300 26px/1 var(--f-sans);
	transform: scale(0); transition: transform .35s var(--ease);
}
.dish:hover img { transform: scale(1.07); }
.dish:hover::after { transform: scale(1); }

.carousel__btn {
	position: absolute; top: calc(50% - 15px); z-index: 2; translate: 0 -50%;
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	border: 0; background: var(--white); color: var(--ink); box-shadow: var(--shadow);
	transition: background .25s, color .25s, opacity .25s;
}
.carousel__btn:hover { background: var(--ink); color: var(--white); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: max(10px, calc((100% - var(--container)) / 2 - 26px)); }
.carousel__btn--next { right: max(10px, calc((100% - var(--container)) / 2 - 26px)); }
.carousel.is-centered .carousel__btn { display: none; }

.dishes__info { text-align: center; margin-top: 18px; }
.dishes__info p { margin: 0 0 4px; color: var(--muted); }
.dishes__phone { font: 700 14px/1.5 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink) !important; margin-bottom: 8px !important; }
.dishes__phone a { color: var(--gold-d); }
.dishes__info .btn { margin-top: 24px; }

/* ==========================================================================
   Delivery
   ========================================================================== */
.delivery { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 170px); color: var(--white); text-align: center; background: var(--dark); }
.delivery__bg { position: absolute; inset: -15% 0; will-change: transform; }
.delivery__bg img { width: 100%; height: 100%; object-fit: cover; }
.delivery__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 18, 14, .78), rgba(22, 18, 14, .62) 50%, rgba(22, 18, 14, .85)); }
.delivery__content { position: relative; }
.delivery__title { color: var(--white); font-size: clamp(56px, 9vw, 112px); line-height: 1; margin-bottom: 14px; }
.delivery__text { max-width: 560px; margin: 0 auto 26px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.delivery__phone { display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(34px, 5.5vw, 62px)/1 var(--f-serif); color: var(--white); }
.delivery__phone .icon { width: .7em; height: .7em; color: var(--gold); }
.delivery__phone:hover { color: var(--gold); }

/* ==========================================================================
   Localização
   ========================================================================== */
.location { position: relative; min-height: 560px; display: flex; align-items: center; padding-block: 72px; background: var(--paper-2); }
.location__map { position: absolute; inset: 0; }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.15); }
.location__wrap { position: relative; pointer-events: none; display: flex; justify-content: flex-end; }
.location__card {
	pointer-events: auto; width: 100%; max-width: 440px; padding: clamp(28px, 4vw, 44px);
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.location__line { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; color: var(--text); }
.location__line .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 4px; }
.location__line a { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--paper); color: var(--text); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding-block: 72px 56px; }
.brand--footer .brand__img { height: 64px; }
.site-footer__brand p { margin-top: 14px; color: var(--muted); max-width: 280px; }
.site-footer__title { font: 700 12px/1.4 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.site-footer__hours li { margin-bottom: 8px; }
.site-footer__hours strong { display: block; color: var(--ink); font-weight: 700; }
.site-footer__phone { font: 700 24px/1.2 var(--f-serif); color: var(--ink); }
.socials--footer { margin-top: 12px; margin-left: -8px; }
.site-footer__bottom { background: var(--dark); color: rgba(255, 255, 255, .6); font-size: 13px; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.site-footer__bottom a { color: rgba(255, 255, 255, .9); }
.site-footer__bottom a:hover { color: var(--gold); }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	background: #25d366; color: var(--white); box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
	transition: transform .3s var(--ease);
	animation: wa-in .6s 1.5s var(--ease) both;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: wa-pulse 2.4s 3s infinite; z-index: -1; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float__tip {
	position: absolute; right: 72px; padding: 8px 14px; border-radius: 8px;
	background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap;
	box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
@keyframes wa-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 60px 70px; background: rgba(14, 11, 8, .94); animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-height: 100%; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .icon { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@keyframes fade { from { opacity: 0; } }

/* ==========================================================================
   Páginas internas / blog
   ========================================================================== */
.page-hero { padding-block: clamp(70px, 10vw, 120px); background: var(--dark); color: rgba(255, 255, 255, .8); text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 120px; height: 4px; transform: translateX(-50%); background: linear-gradient(90deg, var(--green) 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.page-hero__title { color: var(--white); font-size: clamp(36px, 5vw, 60px); margin: 0; }
.page-hero__meta { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.page-hero__script { font-size: clamp(54px, 8vw, 96px); color: var(--gold); margin: 0; line-height: 1.1; }
.page-hero--404 { min-height: 70vh; display: grid; place-items: center; }
.page-hero--404 p:not(.script) { margin-top: 14px; }

.entry > * { margin-block: 0 1.3em; }
.entry--page > :is(p, h2, h3, h4, ul, ol, blockquote) { max-width: 780px; margin-inline: auto; }
.entry--page > p[style*="center"] { text-align: center; }
.entry h2 { font-size: 32px; margin-top: 1.6em; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry img { border-radius: 10px; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin-inline: 0; padding-left: 22px; border-left: 3px solid var(--gold); font: italic 500 22px/1.5 var(--f-serif); color: var(--ink); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry ul { list-style: disc; }
.entry .alignwide { margin-inline: calc(-1 * min(120px, 8vw)); max-width: none; }
.entry .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry__thumb { margin: 0 0 2em; }
.entry__thumb img { width: 100%; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 30px -22px rgba(34, 28, 23, .5); }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card time { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.post-card h2 { font-size: 22px; margin-top: 6px; }
.post-card h2 a { color: var(--ink); }
.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; margin: 0 2px; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--white); }

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 520px; margin: 0 auto 20px; width: calc(100% - 28px); }
	.about__media img { aspect-ratio: 4 / 3; }
	.about__badge { left: -12px; bottom: 20px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	:root { --header-h: 70px; }
	body { font-size: 16px; }
	.site-main { padding-top: 70px; }
	.hero { height: calc(100svh - 70px); min-height: 480px; }
	.hero__scroll { display: none; }
	.btn-row .btn { flex: 1 1 100%; }
	.carousel__btn { display: none; }
	.carousel__track { grid-auto-columns: 68%; }
	.location { flex-direction: column; padding: 0; min-height: 0; }
	.location__map { position: relative; height: 320px; width: 100%; }
	.location__wrap { padding-block: 0 40px; margin-top: -60px; }
	.location__card { max-width: none; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 40px; }
	.wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
	.wa-float__tip { display: none; }
	.lightbox { padding: 60px 10px; }
	.lightbox__nav { top: auto; bottom: 14px; }
	.lightbox__nav--prev { left: calc(50% - 60px); }
	.lightbox__nav--next { right: calc(50% - 60px); }
}
