:root {
	--poa-red: #c9161d;
	--poa-red-dark: #9f1016;
	--poa-ink: #202020;
	--poa-paper: #fbfaf7;
	--poa-focus: #ffbf47;
}

html {
	scroll-behavior: smooth;
}

body.home {
	color: var(--poa-ink);
	background: var(--poa-paper);
}

body.home > .wp-site-blocks > .wp-block-group:first-child {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 rgba(32, 32, 32, 0.1);
	backdrop-filter: blur(10px);
}

body.home :is(#quem-somos, #horarios, #contato) {
	scroll-margin-top: 112px;
}

body.home p {
	line-height: 1.65;
}

body.home .poa-hero {
	min-height: min(570px, 72vh);
}

body.home .poa-hero .wp-block-cover__inner-container {
	max-width: 880px;
	padding: clamp(32px, 5vw, 72px) 24px;
}

body.home .poa-hero h1 {
	max-width: 850px;
	margin-inline: auto;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	line-height: 1.05;
	text-wrap: balance;
}

body.home .poa-hero p {
	margin-block: 8px;
	font-size: clamp(1rem, 1.8vw, 1.35rem);
	line-height: 1.4;
}

body.home .poa-quick-info {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	width: min(1120px, calc(100% - 48px));
	margin: -36px auto 52px;
	background: #fff;
	border: 1px solid rgba(32, 32, 32, 0.1);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(32, 32, 32, 0.13);
	overflow: hidden;
}

body.home .poa-quick-info > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 24px 28px;
}

body.home .poa-quick-info > div + div {
	border-left: 1px solid rgba(32, 32, 32, 0.1);
}

body.home .poa-quick-info__label {
	color: var(--poa-red-dark);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home .poa-quick-info strong {
	font-size: 1.05rem;
	line-height: 1.35;
}

body.home .poa-quick-info a {
	width: fit-content;
	margin-top: 4px;
	color: var(--poa-red-dark);
	font-weight: 700;
	text-underline-offset: 3px;
}

body.home .poa-schedule-note {
	width: min(720px, calc(100% - 48px));
	margin: 16px auto 32px;
	padding: 16px 20px;
	border-left: 4px solid var(--poa-red);
	border-radius: 0 8px 8px 0;
	background: rgba(255, 255, 255, 0.1);
	line-height: 1.55;
}

body.home .poa-schedule-grid {
	position: relative;
	left: 50%;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: min(1120px, calc(100vw - 64px));
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	transform: translateX(-50%);
}

body.home .poa-schedule-card {
	position: relative;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(80, 8, 12, 0.2);
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

body.home .poa-schedule-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: var(--poa-red-dark);
}

body.home .poa-schedule-card:hover {
	box-shadow: 0 20px 46px rgba(80, 8, 12, 0.28);
	transform: translateY(-3px);
}

body.home .poa-schedule-card header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 24px 24px 18px;
	border-bottom: 1px solid #eee9e5;
}

body.home .poa-schedule-card h3 {
	margin: 0;
	color: var(--poa-ink);
	font-size: 1.25rem;
	line-height: 1.2;
}

body.home .poa-schedule-card header > span {
	flex: 0 0 auto;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f8e5e6;
	color: var(--poa-red-dark);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.home .poa-schedule-card ol {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 20px 24px 24px;
	list-style: none;
}

body.home .poa-schedule-card li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 12px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid #ece7e2;
	border-radius: 10px;
	background: #faf8f5;
}

body.home .poa-schedule-card__label {
	color: #6c6560;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.home .poa-schedule-card strong {
	display: flex;
	grid-row: 1 / span 2;
	grid-column: 2;
	align-items: center;
	gap: 7px;
	color: var(--poa-ink);
	font-size: 1.12rem;
	white-space: nowrap;
}

body.home .poa-schedule-card strong > span {
	color: var(--poa-red);
}

body.home .poa-schedule-card small {
	color: #6c6560;
	font-size: 0.78rem;
}

body.home .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 10px;
	transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.home .wp-block-button__link:hover {
	background: var(--poa-red-dark);
	border-color: var(--poa-red-dark);
	box-shadow: 0 8px 24px rgba(125, 12, 18, 0.22);
	transform: translateY(-2px);
}

body.home :is(a, button, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--poa-focus);
	outline-offset: 3px;
}

body.home .ti-widget.ti-goog .ti-widget-container,
body.home .ti-widget.ti-goog .ti-widget-container * {
	line-height: 1.5em;
}

body.home .ti-widget.ti-goog .ti-review-content {
	font-size: 15px;
}

body.home .ti-widget.ti-goog .poa-review-extra {
	display: none !important;
}

body.home .poa-all-reviews-link {
	display: block;
	width: fit-content;
	margin: 28px auto 0;
	padding: 12px 20px;
	border: 2px solid currentColor;
	border-radius: 9px;
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

body.home .poa-all-reviews-link:hover {
	background: #fff;
	color: var(--poa-red-dark);
}

body.home .poa-credentials,
body.home .poa-faq {
	width: min(1120px, calc(100% - 48px));
	margin: 72px auto;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 18px;
}

body.home .poa-credentials {
	background: var(--poa-ink);
	color: #fff;
}

body.home .poa-section-heading {
	max-width: 700px;
	margin-bottom: 36px;
}

body.home .poa-section-heading > span {
	color: #e44b50;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.home .poa-section-heading h2 {
	margin: 8px 0 0;
	font-size: clamp(1.8rem, 3.5vw, 3rem);
	line-height: 1.12;
	text-wrap: balance;
}

body.home .poa-section-heading p {
	margin-bottom: 0;
}

body.home .poa-credentials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

body.home .poa-credentials__grid article {
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
}

body.home .poa-credentials__grid strong {
	font-size: 1.1rem;
}

body.home .poa-credentials__grid p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.82);
}

body.home .poa-faq {
	background: #fff;
	border: 1px solid rgba(32, 32, 32, 0.1);
	box-shadow: 0 18px 60px rgba(32, 32, 32, 0.08);
}

body.home .poa-faq__list {
	border-top: 1px solid rgba(32, 32, 32, 0.14);
}

body.home .poa-faq details {
	border-bottom: 1px solid rgba(32, 32, 32, 0.14);
}

body.home .poa-faq summary {
	position: relative;
	padding: 20px 48px 20px 0;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

body.home .poa-faq summary::-webkit-details-marker {
	display: none;
}

body.home .poa-faq summary::after {
	content: '+';
	position: absolute;
	top: 50%;
	right: 8px;
	color: var(--poa-red-dark);
	font-size: 1.6rem;
	font-weight: 400;
	transform: translateY(-50%);
}

body.home .poa-faq details[open] summary::after {
	content: '−';
}

body.home .poa-faq details p {
	max-width: 760px;
	margin: -4px 0 20px;
}

body.home .poa-faq__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 32px;
	padding: 24px;
	border-radius: 12px;
	background: #f5f2ed;
}

body.home .poa-faq__cta p {
	margin: 0;
	font-weight: 700;
}

body.home .poa-faq__cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 9px;
	background: var(--poa-red);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

body.home figure img:not(.custom-logo) {
	border-radius: 3px;
}

@media (max-width: 980px) {
	body.home .poa-schedule-grid {
		grid-template-columns: 1fr;
		width: min(620px, calc(100vw - 40px));
	}
}

body.home .poa-youtube-facade .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
	padding: 0;
	overflow: hidden;
	border-radius: 6px;
	background: #111;
}

body.home .poa-youtube-facade .wp-block-embed__wrapper::before {
	display: none;
}

body.home .poa-youtube-play,
body.home .poa-youtube-facade iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

body.home .poa-youtube-play {
	padding: 0;
	background: #111;
	cursor: pointer;
}

body.home .poa-youtube-play img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.82;
	transition: opacity 160ms ease, transform 240ms ease;
}

body.home .poa-youtube-play > span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px;
	height: 50px;
	border-radius: 13px;
	background: var(--poa-red);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
	transform: translate(-50%, -50%);
}

body.home .poa-youtube-play > span::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 52%;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid #fff;
	transform: translate(-50%, -50%);
}

body.home .poa-youtube-play:hover img {
	opacity: 0.95;
	transform: scale(1.015);
}

@media (max-width: 781px) {
	body.home > .wp-site-blocks > .wp-block-group:first-child {
		box-shadow: 0 1px 10px rgba(32, 32, 32, 0.08);
	}

	body.home .poa-hero {
		min-height: 430px;
	}

	body.home .poa-hero .wp-block-cover__inner-container {
		padding: 40px 20px;
	}

	body.home .poa-hero h1 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	body.home .poa-hero .wp-block-buttons,
	body.home .poa-hero .wp-block-button,
	body.home .poa-hero .wp-block-button__link {
		width: 100%;
	}

	body.home .poa-hero .wp-block-button__link {
		max-width: 320px;
		margin-inline: auto;
	}

	body.home .poa-quick-info {
		grid-template-columns: 1fr;
		width: min(100% - 32px, 520px);
		margin: -24px auto 36px;
	}

	body.home .poa-quick-info > div {
		padding: 20px 22px;
	}

	body.home .poa-quick-info > div + div {
		border-top: 1px solid rgba(32, 32, 32, 0.1);
		border-left: 0;
	}

	body.home .poa-schedule-note {
		width: calc(100% - 32px);
		margin-bottom: 24px;
		padding: 14px 16px;
	}

	body.home .poa-schedule-grid {
		grid-template-columns: 1fr;
		width: min(calc(100vw - 32px), 560px);
		gap: 16px;
	}

	body.home .poa-schedule-card header {
		padding: 22px 20px 16px;
	}

	body.home .poa-schedule-card ol {
		padding: 16px 20px 20px;
	}

	body.home .ti-widget.ti-goog .ti-review-content {
		font-size: 14px;
	}

	body.home .poa-credentials,
	body.home .poa-faq {
		width: min(100% - 32px, 620px);
		margin: 48px auto;
		padding: 28px 22px;
		border-radius: 14px;
	}

	body.home .poa-section-heading {
		margin-bottom: 24px;
	}

	body.home .poa-credentials__grid {
		grid-template-columns: 1fr;
	}

	body.home .poa-credentials__grid article {
		padding: 20px;
	}

	body.home .poa-faq summary {
		padding-block: 18px;
		font-size: 1rem;
	}

	body.home .poa-faq__cta {
		align-items: stretch;
		flex-direction: column;
		padding: 20px;
	}

	body.home .poa-faq__cta a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	body.home .wp-block-button__link {
		transition: none;
	}
}
