/* A v6 compartilha os tokens entre o front e o editor; só interações animam no front. */
body { --hpv-button-radius: var(--wp--custom--hpv--radius--button); }
body.hpv-unit-praia-do-frances { --hpv-button-radius: 0px; }
body :is(.wp-element-button, .wp-block-button__link, .hpv-button, .hpv-home__pill a, .hpv-room-card__actions button, .hpv-room-card__actions a, .hpv-room-card__foot a, .hpv-header__checkin a, .hpv-lead-form > button, .hpv-booking button, .hpv-booking a, .hpv-home-map__links a) {
	border-radius: var(--hpv-button-radius);
	font-weight: var(--wp--custom--hpv--type--regular);
}
body :is(.textura-grao, .textura-grao-clara) { background-image: none; }
body :is(.hpv-mobile-menu__pattern, .hpv-newsletter-pattern) { display: none; }
body :is(.hpv-home__section-title, .hpv-unit__title, .hpv-esg__title, .hpv-xp-intro__title, .hpv-home-newsletter h2) { font-size: var(--wp--preset--font-size--titulo-sec); }
body :is(.hpv-home-section, .hpv-unit-instagram, .hpv-unit-about, .hpv-unit-rooms, .hpv-xp-section, .hpv-esg__section) { padding-block: var(--wp--custom--hpv--layout--section-gap); }
body :is(.hpv-home__section-description, .hpv-unit__lead, .hpv-esg__copy) { max-width: var(--wp--custom--hpv--layout--copy-width); font-size: var(--wp--preset--font-size--corpo); }
body :is(.hpv-home-unit__badge, .hpv-home-unit__eyebrow, .hpv-room-card__tags, .hpv-header__notice a, .hpv-header__navigation a, .hpv-mobile-menu a) { font-weight: var(--wp--custom--hpv--type--regular); }
body .hpv-cabecalho { background: var(--wp--preset--color--branco); backdrop-filter: none; }
html.hpv-sobre-hero body .hpv-cabecalho { background: transparent; }
html[data-menu-open="true"] body .hpv-cabecalho { background: var(--wp--preset--color--branco); }
body .hpv-header__inner { gap: var(--wp--preset--spacing--40); }
body .hpv-header__navigation { margin-left: auto; }
body .hpv-header__inner .wp-block-navigation-item__content { position: relative; padding-inline: 0.35rem; font-weight: var(--wp--custom--hpv--type--regular); }
body .hpv-header__inner .wp-block-navigation-item__content:hover,
html.hpv-sobre-hero body .hpv-header__inner .wp-block-navigation-item__content:hover { background: transparent; text-decoration: underline; text-underline-offset: 0.5rem; }
body .hpv-header__inner .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 0.5rem; }
body .hpv-header__inner .wp-block-navigation__submenu-container { min-width: 15rem; padding: 0.5rem; background: var(--wp--preset--color--branco); }
body .hpv-header__inner .wp-block-navigation__submenu-container .wp-block-navigation-item__content { min-height: 44px; white-space: nowrap; }
body .hpv-header__inner .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--grupo-mar-50); }
body .hpv-site-brand-lockup { flex-shrink: 0; }
body .hpv-site-brand--header img.hpv-site-brand__logo { max-height: 44px; }
body .hpv-hero--center { justify-content: center; }
/* A onda acompanha a borda do banner, independentemente do alinhamento do texto. */
body .hpv-hero--center > .hpv-wave--hero { position: absolute; inset-inline: 0; bottom: -1px; margin: 0; pointer-events: none; }
body .hpv-hero--center .hpv-hero__content { text-align: center; padding-top: 9rem; padding-bottom: 7rem; }
body .hpv-hero--center h1 { width: auto; max-width: none; margin-inline: auto; font-size: var(--wp--preset--font-size--titulo-xl); }
body .hpv-hero--center :is(.hpv-hero__subtitle, .hpv-eyebrow) { max-width: var(--wp--custom--hpv--layout--copy-width); margin-inline: auto; justify-content: center; }
body .hpv-hero--center .hpv-hero__shade::after { background: color-mix(in srgb, var(--wp--preset--color--grupo-mar-950) 38%, transparent); mask-image: none; -webkit-mask-image: none; }
body .hpv-hero .hpv-hero__shade::before { background: linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--grupo-mar-950) 62%, transparent), transparent 42%); }
body .hpv-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body .hpv-hero__video-toggle { position: absolute; right: var(--wp--preset--spacing--30); bottom: var(--wp--preset--spacing--50); z-index: 3; min-height: 44px; padding: 0.5rem 1rem; border: 1px solid currentColor; border-radius: var(--hpv-button-radius); background: var(--wp--preset--color--grupo-mar-900); color: var(--wp--preset--color--branco); cursor: pointer; }
/* O vídeo do Hero de Maceió sobe acima da onda branca; os demais heróis mantêm a posição padrão. */
body.hpv-unit-maceio .hpv-hero__video-toggle { bottom: clamp(4.5rem, 9vw, 7.5rem); }
body .hpv-hero__video-toggle[hidden] { display: none; }
body .hpv-hero .hpv-booking-score { display: inline-flex; gap: 0.75rem; align-items: center; width: auto; margin: 0 auto 1.5rem; padding: 0.75rem 1rem; border-radius: var(--hpv-button-radius); background: var(--wp--preset--color--branco); color: var(--wp--preset--color--grupo-mar-800); text-align: left; }
body .hpv-booking-score__brand { display: block; color: var(--wp--preset--color--booking); font-weight: 700; font-size: 1rem; }
body .hpv-booking-score__brand > span { color: var(--wp--preset--color--grupo-mar-400); }
body .hpv-booking-score__meta { font-size: 0.7rem; }
body .hpv-hero__ratings .hpv-booking-score { width: 11rem; margin: 0; flex-direction: column; gap: 0.5rem; padding: 0.75rem; text-align: center; }
body .hpv-hero__ratings .hpv-booking-score__brand { margin-bottom: 0.25rem; }
@media (min-width: 1024px) {
	.hpv-hero__ratings { position: absolute; left: clamp(1rem, 4vw, 4rem); top: 50%; width: 11rem; margin: 0; transform: translateY(-50%); }
	body .hpv-hero--with-ratings .hpv-hero__content { width: min(1280px, calc(100% - 2 * (clamp(1rem, 4vw, 4rem) + 12.5rem))); padding-inline: 0; }
}
@media (max-width: 1023px) {
	body .hpv-hero--with-ratings .hpv-hero__content { padding-bottom: 2rem; }
}
body .hpv-home-unit__image img { aspect-ratio: 3 / 2; object-fit: cover; }
body .hpv-home-unit__body { padding: var(--wp--preset--spacing--30); }
body .hpv-home-unit__footer { justify-content: flex-end; border: 0; }
body .hpv-home-unit__actions { margin-left: auto; }
body .hpv-home-unit { box-shadow: none; border: 1px solid var(--wp--preset--color--areia-200); }
body .hpv-home-map--google .hpv-home-map__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--wp--preset--spacing--40); align-items: center; }
body .hpv-home-map--google .hpv-home-map__frame { width: 100%; height: 440px; border: 0; border-radius: var(--wp--custom--hpv--radius--photo); background: var(--wp--preset--color--areia-100); }
body .hpv-home-map--google .hpv-home-map__places { display: grid; gap: var(--wp--preset--spacing--30); margin: 0; padding: 0; list-style: none; }
body .hpv-home-map--google .hpv-home-map__places li { display: grid; gap: 0.5rem; padding: var(--wp--preset--spacing--30); border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: var(--wp--custom--hpv--radius--photo); }
body .hpv-home-map--google .hpv-home-map__places span { font-size: var(--wp--preset--font-size--pequeno); }
body .hpv-home-map--google .hpv-home-map__links { display: flex; flex-wrap: wrap; gap: 1rem; }
body .hpv-home-map--google :is(a, button) { color: inherit; }
body .hpv-home-map--google button { justify-self: start; min-height: 44px; padding: 0.5rem 0.75rem; border: 1px solid currentColor; border-radius: var(--hpv-button-radius); background: transparent; font: inherit; cursor: pointer; }
body .hpv-home-map--google button[aria-pressed="true"] { background: var(--wp--preset--color--branco); color: var(--wp--preset--color--grupo-mar-900); }
body .hpv-home-map--google button[hidden] { display: none; }
body :is(
	.hpv-listing--carousel .hpv-listing__grid,
	.hpv-home-testimonials .hpv-listing__grid,
	.hpv-unit-testimonials .hpv-listing__grid,
	.hpv-listing--unit-offers .hpv-listing__grid,
	.hpv-listing--destino-posts .hpv-listing__grid,
	.hpv-listing--post-related .hpv-listing__grid,
	.hpv-gallery--carousel,
	.hpv-unit-instagram__grid
) { scrollbar-width: none; }
body :is(
	.hpv-listing--carousel .hpv-listing__grid,
	.hpv-home-testimonials .hpv-listing__grid,
	.hpv-unit-testimonials .hpv-listing__grid,
	.hpv-listing--unit-offers .hpv-listing__grid,
	.hpv-listing--destino-posts .hpv-listing__grid,
	.hpv-listing--post-related .hpv-listing__grid,
	.hpv-gallery--carousel,
	.hpv-unit-instagram__grid
)::-webkit-scrollbar { display: none; }
body .hpv-gallery--carousel .hpv-gallery__slide { flex-basis: min(48%, 38rem); }
body .hpv-unit-instagram .hpv-gallery__item { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
body .hpv-unit-instagram .hpv-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
body .hpv-unit-instagram .hpv-gallery--carousel { align-items: flex-start; }
body .hpv-unit-instagram .hpv-gallery--carousel .hpv-gallery__slide { display: flex; flex-direction: column; height: auto; }
body .hpv-gallery__caption { position: static; display: block; margin: 0; padding: 1rem 0; background: transparent; color: var(--wp--preset--color--tinta-900); font-size: var(--wp--preset--font-size--corpo); line-height: 1.4; }
body .hpv-gallery--carousel.hpv-gallery--highlights { display: flex; align-items: stretch; gap: var(--wp--preset--spacing--30); padding: 0.25rem 0 1.25rem; scroll-snap-type: none; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide { flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--30)) / 3); min-width: 0; height: auto; scroll-snap-align: start; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide figure { display: flex; height: 100%; flex-direction: column; margin: 0; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__item { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__caption { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.9rem 0.15rem 0.5rem; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__caption strong { color: var(--wp--preset--color--grupo-mar-900); font-size: 1.05rem; line-height: 1.3; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__caption span { font-size: 0.92rem; line-height: 1.5; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide { background: transparent; }
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__item,
body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__caption { border-radius: var(--wp--custom--hpv--radius--photo); }
body .hpv-carousel--highlights > .hpv-carousel__nav { display: flex; width: max-content; justify-content: flex-end; margin: 0 clamp(1rem, 4vw, 4rem) 0.75rem auto; padding-inline: 0; }
body .hpv-carousel--highlights > .hpv-gallery--highlights { margin: 0; }
body .hpv-unit-facts .hpv-unit__shell:has(> .hpv-carousel--highlights) { width: 100%; max-width: none; filter: none; }
@media (min-width: 1024px) {
	body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide { flex-basis: min(calc((100% - 2 * var(--wp--preset--spacing--30)) / 3), 560px, 64vh); }
}
@supports (height: 1svh) {
	@media (min-width: 1024px) {
		body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide { flex-basis: min(calc((100% - 2 * var(--wp--preset--spacing--30)) / 3), 560px, 64svh); }
	}
}
body .hpv-unit-instagram .hpv-gallery__slide { background: transparent; }
body .hpv-unit-facts__grid { gap: var(--wp--preset--spacing--30); padding: var(--wp--preset--spacing--30); box-shadow: none; }
body .hpv-unit-facts__item { text-align: center; text-wrap: balance; }
body .hpv-unit-facts__term { color: var(--wp--preset--color--grupo-mar-700); }
body .hpv-unit-facts__detail { font-weight: 400; }
body .hpv-unit-about__copy { text-align: start; }
body .hpv-unit-about__points { text-align: left; }
body .hpv-unit-about__actions { justify-content: flex-start; }
body .hpv-room-card { display: flex; flex-direction: column; box-shadow: none; }
body .hpv-room-card__media { aspect-ratio: 4 / 3; min-height: 0; }
body .hpv-room-card__body { display: flex; flex-direction: column; flex: 1; }
body :is(.hpv-room-card__actions, .hpv-room-card__foot) { margin-top: auto; padding-top: 1.25rem; }
body .hpv-room-gallery.hpv-gallery--grid { display: grid; grid-template-columns: 1fr; }
body .hpv-room-gallery.hpv-gallery--grid .hpv-gallery__item { aspect-ratio: 16 / 9; max-height: 70vh; }
body .hpv-room-gallery.hpv-gallery--carousel .hpv-gallery__slide { flex-basis: min(76%, 60rem); }
body .hpv-room-gallery img { width: 100%; height: 100%; object-fit: cover; }
body .hpv-location-table { width: 100%; max-width: 100%; overflow-x: auto; margin: 0; font-size: var(--wp--preset--font-size--pequeno); }
body .hpv-location-table table { width: 100%; border-collapse: collapse; }
body .hpv-location-table :is(td, th) { padding: 0.8rem 0.6rem; border: 0; border-bottom: 1px solid var(--wp--preset--color--areia-200); text-align: left; }
body .hpv-location-table th { font-weight: 700; }
body .hpv-unit-map__grid:has(.hpv-location-table) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
body .hpv-home-newsletter { background-image: none; }
body .hpv-home-newsletter h2 { max-width: 45rem; margin-bottom: 2rem; font-weight: 400; }
body .hpv-home-newsletter .hpv-lead-form__field input { border-radius: var(--hpv-button-radius); }
body .hpv-footer__columns, body.home .hpv-footer__columns { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--wp--preset--spacing--50); }
body .hpv-footer :is(a, p, li), body.home .hpv-footer__columns > .wp-block-column:first-child > p > a { font-weight: 400; }
body .hpv-footer__policies { max-width: 1280px; margin: 0 auto; padding-block: 1rem 0.75rem; border-block: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
body .hpv-footer__policies ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; font-size: var(--wp--preset--font-size--pequeno); text-align: center; }
body .hpv-footer__socials { gap: 0.75rem; }
body .hpv-site-contact--footer a { display: inline-flex; align-items: center; gap: 0.5rem; }
body .hpv-family-pictograms { padding-block: var(--wp--custom--hpv--layout--section-gap); text-align: center; background: var(--wp--preset--color--grupo-mar-50); }
body .hpv-esg__tag { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.25rem; }
body .hpv-esg__tag-letter { font-size: 2.25rem; line-height: 1; }
body .hpv-esg__card { background: transparent; box-shadow: none; border: 0; padding: 1rem 0; }
body .hpv-esg-ods-enhanced .hpv-esg__ods-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); align-items: start; }
body.hpv-unit-praia-do-frances :is(.hpv-home-map__frame, .hpv-gallery__item, .hpv-unit-facts__grid) { border-radius: 0; }
body.hpv-unit-praia-do-frances .hpv-main .hpv-testimonial-card,
body.hpv-unit-praia-do-frances .hpv-main .hpv-unit-map__frame,
body.hpv-unit-praia-do-frances .hpv-main .hpv-carousel__nav button,
body.hpv-unit-praia-do-frances .hpv-main .hpv-gallery--highlights .hpv-gallery__item,
body.hpv-unit-praia-do-frances .hpv-main .hpv-gallery--highlights .hpv-gallery__caption { border-radius: 0; }
@media (min-width: 1024px) { body .hpv-hero--home.hpv-hero--center h1 { white-space: nowrap; font-size: clamp(2.4rem, 4.2vw, 4.25rem); } }
@media (max-width: 1279px) { body .hpv-header__inner { gap: 1rem; } body .hpv-site-brand-lockup { flex-basis: 190px; } }
@media (max-width: 899px) {
	body .hpv-home-map--google .hpv-home-map__grid, body .hpv-unit-map__grid:has(.hpv-location-table), body .hpv-esg-ods-enhanced .hpv-esg__ods-layout { grid-template-columns: minmax(0, 1fr); }
	body .hpv-footer__columns, body.home .hpv-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body .hpv-footer__columns, body.home .hpv-footer__columns { grid-template-columns: 1fr; }
	body .hpv-home-map--google .hpv-home-map__frame { height: 300px; }
	body .hpv-gallery--carousel .hpv-gallery__slide, body .hpv-room-gallery.hpv-gallery--carousel .hpv-gallery__slide { flex-basis: 88%; }
	body .hpv-hero--center .hpv-hero__content { padding-inline: 1.25rem; }
	body .hpv-unit-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide { flex-basis: 82%; }
}
@media (min-width: 768px) and (max-width: 1023px) { body .hpv-gallery--carousel.hpv-gallery--highlights .hpv-gallery__slide { flex-basis: calc((100% - var(--wp--preset--spacing--30)) / 2); } }
/* Os cards e formulários legados têm seletores específicos; a regra comum precisa vencê-los. */
body .hpv-main :is(.hpv-home-unit__actions .hpv-home__pill a, .hpv-home-newsletter .hpv-lead-form > button, .hpv-listing--unit-rooms .hpv-room-card__dates, .hpv-listing--unit-rooms .hpv-room-card__details, .hpv-room-card__actions button, .hpv-room-card__actions a, .hpv-home-rooms__actions a, .hpv-home__pill a, .hpv-button, .hpv-booking__submit, .wp-block-button__link, .hpv-xp-link),
body .hpv-header__inner :is(.wp-block-button__link, .hpv-header__checkin a) {
	border-radius: var(--hpv-button-radius);
	font-weight: var(--wp--custom--hpv--type--regular);
}
body .hpv-esg__grid > * { min-width: 0; }
body .hpv-esg__tag { flex-wrap: wrap; }
body .hpv-booking--bar .hpv-booking__form > .hpv-button,
body .hpv-booking--bar .hpv-booking__mobile-toggle,
body .hpv-booking--bar .hpv-booking__guest-done,
body .hpv-cookie-banner .hpv-cookie-banner__actions button {
	border-radius: var(--hpv-button-radius);
	font-weight: var(--wp--custom--hpv--type--regular);
}
/* Pílulas com seletor próprio ainda vencem o token. No Francês, o botão de ação fica reto. */
body.hpv-unit-praia-do-frances :is(
	.hpv-unit-rooms__filters button,
	.hpv-unit-nav__link a,
	.hpv-unit-rooms__more,
	.hpv-listing__clear,
	.hpv-room-reserve__go,
	.hpv-campaigns__chip,
	.hpv-card__quero,
	.hpv-home-cta__links a,
	.hpv-home-topic__links a,
	.hpv-home__pill a,
	.hpv-xp-link,
	.hpv-header__checkin a,
	.wp-block-button__link,
	.wp-element-button,
	.hpv-button
),
body.hpv-unit-praia-do-frances .hpv-unit-rooms__toolbar :is(.hpv-listing__clear, .hpv-filter--capacity select),
body.hpv-unit-praia-do-frances .hpv-card--hpv_offer .hpv-card__quero,
body.hpv-unit-praia-do-frances .hpv-listing--unit-rooms :is(.hpv-room-card__dates, .hpv-room-card__details) {
	border-radius: 0;
}
body.hpv-unit-praia-do-frances .hpv-booking--bar :is(
	input:not(.hpv-booking__count),
	select,
	.hpv-booking__guest-toggle,
	.hpv-booking__form > button[type="submit"],
	.hpv-booking__mobile-toggle,
	.hpv-booking__guest-done
) {
	border-radius: 0;
}
