/* ==========================================================================
   responsive.css — adaptações para notebook (1024), tablet (768) e celular (390/360)
   ========================================================================== */

/* Telas grandes (1440+) */
@media (min-width: 1600px) {
	:root {
		--pp-max: 1480px;
	}
}

/* Notebook */
@media (max-width: 1240px) {
	.primary-menu {
		gap: clamp(12px, 1.6vw, 22px);
	}

	.primary-menu a {
		font-size: 13px;
	}

	.site-logo {
		width: 150px;
	}

	.attractions__label {
		font-size: 12px;
	}

	.attractions__icon {
		font-size: 40px;
	}

	.chalets__features a {
		font-size: 12px;
	}
}

@media (max-width: 1240px) {
	.site-footer__inner {
		grid-template-columns: 1.4fr 0.85fr 1.6fr 0.95fr;
	}
}

@media (max-width: 1100px) {
	.btn--wa {
		padding: 0.55em 1.1em;
		font-size: 13px;
	}

	.experiences__inner {
		grid-template-columns: 1fr 2.45fr;
		gap: 28px;
	}

	.experiences__intro .section-text {
		font-size: 15px;
	}

	.hl-card__title {
		font-size: 18px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 0.85fr 1.45fr 0.9fr;
	}

	.footer-col--brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.footer-slogan {
		font-size: 20px;
	}

	.footer-contact li {
		font-size: 13px;
	}

	.hl-card__desc {
		font-size: 12px;
	}

	.hl-card__icon {
		width: 46px;
		height: 46px;
		font-size: 28px;
	}

	.location__item {
		font-size: 14px;
	}
}

/* Menu hambúrguer (abaixo de 1000px) */
@media (max-width: 1000px) {
	:root {
		--pp-header-h: 72px;
	}

	.site-logo {
		width: 120px;
		margin-top: 6px;
		margin-bottom: -26px;
	}

	.is-scrolled .site-header__inner > .site-logo {
		width: 96px;
		margin-bottom: -12px;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 1px solid rgba(42, 28, 18, 0.14);
		border-radius: 50%;
		background: var(--pp-white);
		color: var(--pp-ink);
		font-size: 22px;
	}

	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		flex-direction: column;
		justify-content: flex-start;
		width: min(88vw, 380px);
		padding: 0 24px 32px;
		background: var(--pp-white);
		overflow-y: auto;
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.35s var(--pp-ease), visibility 0.35s;
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
	}

	.admin-bar .primary-nav {
		top: 46px;
	}

	.primary-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.primary-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 0 14px;
		border-bottom: 1px solid var(--pp-line);
		margin-bottom: 8px;
	}

	.site-logo--drawer {
		width: 96px;
		margin: 0;
		align-self: center;
	}

	.nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--pp-cream-light);
		color: var(--pp-ink);
		font-size: 20px;
	}

	.primary-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-menu > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid rgba(107, 68, 38, 0.1);
	}

	.primary-menu > li > a {
		flex: 1;
		padding: 15px 0;
		font-size: 16px;
	}

	.primary-menu > li > a::after {
		display: none;
	}

	.primary-menu .menu-item-has-children > a::before {
		display: none;
	}

	.submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--pp-ink);
		font-size: 18px;
		transition: transform 0.25s;
	}

	.is-open > .submenu-toggle {
		transform: rotate(180deg);
	}

	.primary-menu .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 10px 14px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		background: none;
	}

	.primary-menu li.is-open > .sub-menu {
		display: block;
	}

	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu {
		transform: none;
	}

	.primary-menu .sub-menu a {
		padding: 10px 6px;
		font-size: 15px;
	}

	.primary-nav__cta {
		display: inline-flex;
		margin-top: 24px;
		width: 100%;
		min-height: 50px;
	}

	.nav-overlay {
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(8, 20, 12, 0.5);
		opacity: 0;
		transition: opacity 0.3s;
	}

	.nav-overlay.is-visible {
		opacity: 1;
	}

	.btn.header-cta {
		width: 46px;
		height: 46px;
		min-height: 46px;
		padding: 0;
		border-radius: 50%;
	}

	.header-cta__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.header-cta .pp-icon {
		font-size: 24px;
	}

	.pp-leaf--header-left {
		width: 84px;
		left: -30px;
	}

	.pp-leaf--header-right {
		display: none;
	}

	/* Banner */
	.hero {
		height: clamp(540px, 74vw, 640px);
	}

	.hero__overlay {
		background:
			linear-gradient(90deg, rgba(8, 22, 10, 0.75) 0%, rgba(8, 22, 10, 0.45) 55%, rgba(8, 22, 10, 0.15) 100%),
			linear-gradient(0deg, rgba(8, 22, 10, 0.55) 0%, rgba(8, 22, 10, 0) 40%);
	}

	.hero__img {
		object-position: 70% center;
	}

	.hero__plaque {
		width: 220px;
		font-size: 21px;
		padding: 14px 18px 16px;
		bottom: 52px;
	}

	/* Atrações: faixa deslizante */
	.attractions__list {
		display: flex;
		width: 100%;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		padding-inline: 8px;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 40px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 40px), transparent 100%);
	}

	.attractions__list::-webkit-scrollbar {
		display: none;
	}

	.attractions__item {
		flex: 0 0 auto;
		width: 122px;
		scroll-snap-align: start;
	}

	.attractions__link {
		min-height: 112px;
	}

	/* Experiências */
	.experiences__inner {
		grid-template-columns: 1fr;
	}

	.experiences__intro {
		max-width: 640px;
	}

	.experiences__cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Destaques */
	.highlights__list {
		grid-template-columns: 1fr 1fr;
	}

	.highlights__list li:first-child {
		grid-column: 1 / -1;
	}

	/* Chalés */
	.chalets {
		grid-template-columns: 1fr;
	}

	.chalets__media {
		position: relative;
		inset: auto;
		width: 100%;
		height: clamp(260px, 52vw, 420px);
	}

	.chalets__media::after {
		background: linear-gradient(180deg, rgba(248, 243, 234, 0) 60%, #f8f3ea 100%);
	}

	.chalets__content {
		grid-column: 1;
		max-width: none;
		padding: 8px var(--pp-gutter) 48px;
	}

	.pp-leaf--chalets {
		top: -40px;
	}

	/* Galeria */
	.photo-gallery__inner {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.photo-gallery__intro {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: end;
		column-gap: 16px;
	}

	.photo-gallery__intro .kicker {
		grid-column: 1 / -1;
	}

	.photo-gallery__title {
		max-width: none;
	}

	.photo-gallery__more {
		position: static;
	}

	.photo-gallery__track {
		grid-auto-columns: calc((100% - 2 * 12px) / 3);
	}

	.photo-gallery__arrow {
		opacity: 1;
	}

	.photo-gallery__arrow--prev {
		left: -6px;
	}

	.photo-gallery__arrow--next {
		right: -6px;
	}

	/* Localização */
	.location__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 14px 0;
	}

	.location__item {
		justify-content: flex-start;
	}

	.location__item:nth-child(3)::before {
		display: none;
	}

	/* Rodapé */
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
		row-gap: 36px;
	}

	.footer-col--brand {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	.footer-col--nav {
		padding-left: 0;
		border-left: 0;
	}

	.footer-col--map {
		grid-column: 1 / -1;
	}

	.pp-lightbox__nav--prev {
		left: 6px;
	}

	.pp-lightbox__nav--next {
		right: 6px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

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

/* Tablet */
@media (max-width: 768px) {
	.experiences__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.exp-card {
		aspect-ratio: 0.8;
	}

	.highlights__list {
		grid-template-columns: 1fr;
		width: min(100% - 2 * var(--pp-gutter), 640px);
	}

	.hl-card {
		height: 210px;
	}

	.chalets__features {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		justify-content: stretch;
	}

	.chalets__features li {
		padding: 0 8px;
	}
}

/* Celular */
@media (max-width: 600px) {
	:root {
		--pp-header-h: 66px;
		--pp-gutter: 18px;
	}

	body {
		font-size: 15px;
	}

	.site-logo {
		width: 96px;
		margin-bottom: -18px;
	}

	.is-scrolled .site-header__inner > .site-logo {
		width: 84px;
		margin-bottom: -10px;
	}

	.btn {
		min-height: 50px;
		font-size: 12.5px;
		padding: 0.85em 1.5em;
	}

	/* Banner */
	.hero {
		height: auto;
		min-height: 600px;
		display: flex;
	}

	.hero__slides {
		position: relative;
		flex: 1;
		min-height: 600px;
	}

	.hero__overlay {
		background:
			linear-gradient(0deg, rgba(8, 22, 10, 0.9) 0%, rgba(8, 22, 10, 0.62) 50%, rgba(8, 22, 10, 0.25) 100%);
	}

	.hero__img {
		object-position: 74% center;
	}

	.hero__content {
		justify-content: flex-end;
		padding: 40px 0 150px;
	}

	.hero__title-line {
		font-size: clamp(25px, 7.1vw, 34px);
	}

	.hero__script {
		font-size: clamp(42px, 12.4vw, 54px);
	}

	.hero__subtitle {
		font-size: 15.5px;
		margin-bottom: 24px;
	}

	.hero__actions {
		flex-direction: column;
		gap: 12px;
	}

	.hero__actions .btn {
		width: 100%;
		min-width: 0;
	}

	.hero__plaque {
		width: 180px;
		font-size: 18px;
		padding: 10px 14px 12px;
		top: 24px;
		right: 12px;
		bottom: auto;
		transform: rotate(-6deg);
	}

	.hero__dots {
		bottom: 18px;
	}

	.hero__content {
		padding-bottom: 64px;
	}

	/* Atrações */
	.attractions__item {
		width: 108px;
	}

	.attractions__icon {
		font-size: 36px;
	}

	.attractions__label {
		font-size: 11px;
	}

	/* Experiências */
	.experiences {
		padding-top: 44px;
	}

	.section-title {
		font-size: clamp(28px, 8.2vw, 34px);
	}

	.section-text {
		font-size: 15px;
	}

	.experiences__intro .btn {
		width: 100%;
	}

	.experiences__cards {
		gap: 8px;
	}

	.exp-card__title {
		font-size: 17px;
		padding: 0 4px;
	}

	.exp-card__icon {
		font-size: 28px;
	}

	.exp-card__body {
		bottom: 50px;
		right: 10px;
	}

	.exp-card .circle-btn {
		width: 30px;
		height: 30px;
		font-size: 14px;
		right: 50%;
		transform: translateX(50%);
		bottom: 12px;
	}

	.pp-leaf--exp {
		width: 70px;
		left: -36px;
		top: -14px;
	}

	/* Destaques */
	.hl-card {
		height: 200px;
	}

	.hl-card__body {
		left: 14px;
		right: 14px;
		gap: 10px;
	}

	.hl-card__icon {
		width: 42px;
		height: 42px;
		font-size: 26px;
	}

	/* Chalés */
	.chalets .section-title {
		font-size: clamp(27px, 7.6vw, 32px);
	}

	.chalets__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 0;
	}

	.chalets__features li:nth-child(3) {
		padding-left: 0;
	}

	.chalets__features li:nth-child(3)::before {
		display: none;
	}

	.chalets__content .btn {
		width: 100%;
	}

	.pp-leaf--chalets {
		width: 110px;
	}

	/* Galeria */
	.photo-gallery {
		padding: 36px 0 32px;
	}

	.photo-gallery__track {
		grid-auto-columns: 72%;
		margin-right: calc(-1 * var(--pp-gutter));
		padding-right: var(--pp-gutter);
		scroll-padding-left: 0;
	}

	.photo-gallery__arrow {
		display: none;
	}

	/* Localização */
	.location__list {
		grid-template-columns: 1fr 1fr;
		padding: 10px 0;
	}

	.location__item {
		flex-direction: column;
		text-align: center;
		gap: 8px;
		padding: 16px 8px;
		font-size: 13px;
		justify-content: center;
	}

	.location__icon {
		font-size: 32px;
	}

	.location__item:nth-child(odd)::before {
		display: none;
	}

	.location__item:nth-child(even)::before {
		display: block;
	}

	/* Rodapé */
	.site-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-col--brand {
		flex-direction: column;
		align-items: center;
		gap: 22px;
	}

	.footer-col--contact {
		padding-left: 0;
		border-left: 0;
	}

	.footer-contact li {
		justify-content: center;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 16px;
	}

	.pp-modal__close {
		top: -50px;
	}
}

/* Celular pequeno */
@media (max-width: 380px) {
	.site-header__actions {
		gap: 8px;
	}

	.btn.header-cta,
	.nav-toggle {
		width: 44px;
		height: 44px;
		min-height: 44px;
	}

	.site-logo {
		width: 88px;
	}

	.hero__plaque {
		width: 160px;
		font-size: 16.5px;
	}

	.attractions__item {
		width: 100px;
	}

	.exp-card__title {
		font-size: 15.5px;
	}

	.hl-card__desc {
		font-size: 11.5px;
	}

	.location__item {
		font-size: 12.5px;
	}
}
