@import url(fontawesome-all.min.css);

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--slide-transition-duration: 0.3s;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Poppins', sans-serif;
	background: #f1e4d9;
	overflow-x: hidden;
	overflow-y: auto;
}

/* Bongue Home Section */
.bongue-home-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	isolation: isolate;
}

/* Bongue header/footer hide on scroll past */
.bongue-header.is-scrolled,
.bongue-footer.is-scrolled {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Scroll arrow */
.bongue-scroll-arrow {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateX(-50%);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 3px 8px rgba(0, 0, 0, 0.5);
	font-size: 0.8rem;
	letter-spacing: 0.225em;
	text-transform: uppercase;
	transition: opacity 0.3s ease;
}

.bongue-scroll-arrow::after {
	content: '';
	width: 0.8rem;
	height: 0.8rem;
	margin-top: 0.5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	animation: bongueArrowMove 2.4s ease-in-out infinite;
}

@keyframes bongueArrowMove {
	0% {
		transform: translateY(0) rotate(45deg);
	}
	25% {
		transform: translateY(0.3rem) rotate(45deg);
	}
	50% {
		transform: translateY(0.45rem) rotate(45deg);
	}
	75% {
		transform: translateY(0.3rem) rotate(45deg);
	}
	100% {
		transform: translateY(0) rotate(45deg);
	}
}

body:not(.is-preload) .bongue-scroll-arrow {
	animation: revealSiteInterface 0.9s ease-out 1.4s both;
}

body.is-preload {
}

body:not(.is-preload) {
}

/* Background */
#bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url("../../images/Background.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Intro Screen - sequência: vídeo Intro.mp4 -> do you bongue -> site */
#intro-screen {
	position: fixed;
	inset: 0;
	z-index: 5000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	background-color: #000;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	will-change: opacity;
	overflow: hidden;
}

#intro-screen[data-phase="image"] {
	background-color: #f1e4d9;
}

body.is-preload #intro-screen {
	opacity: 1;
	visibility: visible;
}

body:not(.is-preload) #intro-screen {
	animation: bongueIntro 1.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Saída controlada via JS (após as 2 fases) */
#intro-screen.is-done {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

@keyframes bongueIntro {
	0%,
	55% {
		opacity: 1;
		visibility: visible;
	}

	100% {
		opacity: 0;
		visibility: hidden;
	}
}

.intro-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: #000;
}

/* Modo "ver tudo": mostra o enquadramento completo sem cortar os lados */
.intro-video--contain {
	object-fit: contain;
}

#intro-screen[data-phase="image"] .intro-video {
	display: none;
}

.intro-image {
	display: none;
	width: auto;
	height: auto;
	max-width: min(50%, 700px);
	max-height: 70vh;
	opacity: 1;
	pointer-events: none;
	user-select: none;
	position: relative;
	z-index: 2;
}

#intro-screen[data-phase="image"] .intro-image {
	display: block;
	animation: introImageIn 0.6s ease-out both;
}

@keyframes introImageIn {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.intro-skip-btn {
	position: absolute;
	top: 20px;
	right: 22px;
	z-index: 4;
	font-family: 'Poppins', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	padding: 10px 18px;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background 0.25s ease, transform 0.25s ease, opacity 0.4s ease, visibility 0s linear;
}

#intro-screen[data-phase="image"] .intro-skip-btn {
	color: #3a2c22;
	background: rgba(0, 0, 0, 0.06);
	border-color: rgba(0, 0, 0, 0.2);
}

.intro-skip-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-1px);
}

/* Player do vídeo de abertura */
.intro-player {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(720px, calc(100% - 32px));
	padding: 10px 14px;
	background: rgba(0, 0, 0, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 14px;
	backdrop-filter: blur(10px);
	transition: opacity 0.4s ease, visibility 0s linear;
}

#intro-screen[data-phase="image"] .intro-player {
	display: none;
}

/* Auto-ocultar controlos após alguns segundos sem atividade (como os outros leitores) */
#intro-screen.is-idle .intro-player,
#intro-screen.is-idle .intro-skip-btn {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

#intro-screen.is-idle {
	cursor: none;
}

.intro-player-btn {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.intro-player-btn:hover {
	background: rgba(255, 255, 255, 0.38);
	transform: scale(1.05);
}

.intro-player-btn.is-active {
	background: rgba(255, 255, 255, 0.42);
	border-color: #fff;
}

.intro-player-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.intro-time {
	flex: 0 0 auto;
	font-size: 0.75rem;
	font-weight: 500;
	color: #fff;
	font-variant-numeric: tabular-nums;
	min-width: 44px;
	text-align: center;
}

.intro-seek {
	flex: 1 1 auto;
	appearance: none;
	-webkit-appearance: none;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(to right, #fff 0%, #fff 0%, rgba(255,255,255,0.3) 0%);
	outline: none;
	cursor: pointer;
}

.intro-seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 1px 6px rgba(0,0,0,0.5);
	cursor: pointer;
}

.intro-seek::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 1px 6px rgba(0,0,0,0.5);
	cursor: pointer;
}

@media (max-width: 768px) {
	.intro-image {
		max-width: 80%;
	}
	.intro-skip-btn {
		top: 14px;
		right: 14px;
		padding: 8px 14px;
		font-size: 0.72rem;
	}
	.intro-player {
		bottom: 14px;
		gap: 6px;
		padding: 8px 10px;
	}
	.intro-player-btn {
		width: 32px;
		height: 32px;
	}
	.intro-time {
		font-size: 0.68rem;
		min-width: 38px;
	}
}

/* Hide site interface during intro */
body.is-preload header,
body.is-preload .slider-wrapper,
body.is-preload .parallax-shape,
body.is-preload .play-pause-btn,
body.is-preload .progress-bar-container,
body.is-preload .duration-controls,
body.is-preload .fullscreen-btn,
body.is-preload footer,
body.is-preload .ui-toggle-btn {
	opacity: 0;
}

body:not(.is-preload) header,
body:not(.is-preload) .slider-wrapper,
body:not(.is-preload) .parallax-shape,
body:not(.is-preload) .play-pause-btn,
body:not(.is-preload) .progress-bar-container,
body:not(.is-preload) .duration-controls,
body:not(.is-preload) .fullscreen-btn,
body:not(.is-preload) footer,
body:not(.is-preload) .ui-toggle-btn {
	animation: revealSiteInterface 0.9s ease-out 1.4s both;
}

@keyframes revealSiteInterface {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	padding: 20px 20px 20px 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
}

.logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.logo img {
	display: block;
	width: auto;
	height: clamp(56px, 7vw, 88px);
	max-width: min(360px, 60vw);
	object-fit: contain;
	-webkit-filter:
		drop-shadow(0 4px 6px #000)
		drop-shadow(0 8px 18px rgba(0,0,0,0.85));
	filter:
		drop-shadow(0 4px 6px #000)
		drop-shadow(0 8px 18px rgba(0,0,0,0.85));
}

/* UI Toggle */
.ui-toggle-btn {
	position: fixed;
	bottom: 60px;
	right: 30px;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	z-index: 10001;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ui-toggle-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.ui-toggle-btn svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
	stroke-width: 2;
	fill: none;
	transition: all 0.3s ease;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75))
		drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.ui-toggle-btn.ui-hidden {
	animation: pulse 2s infinite;
}

.ui-toggle-btn.ui-hidden svg {
	opacity: 0.5;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 2px 15px rgba(255, 255, 255, 0.2);
	}
}

.ui-element {
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.ui-element.hidden {
	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
}

/* Navigation */
nav {
	display: flex;
	gap: 40px;
	align-items: center;
}

nav a {
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 0.5px;
	padding: 8px 16px;
	border-radius: 8px;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.75),
		0 3px 8px rgba(0, 0, 0, 0.45);
}

nav a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	transform: scale(0);
	transition: transform 0.3s ease;
	z-index: -1;
}

nav a:hover,
nav a:focus-visible {
	color: #fff;
	opacity: 0.75;
}

nav a:hover::before {
	transform: scale(1);
}

.fullscreen-btn:focus-visible,
.ui-toggle-btn:focus-visible,
.menu-toggle:focus-visible,
nav a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

/* Slider controls visibility toggle */
.slider-control {
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.3s ease;
}

.slider-control.is-control-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.ui-toggle-btn {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Fullscreen Button — reposicionado para a base */
.fullscreen-btn {
	position: fixed;
	bottom: 30px;
	right: 95px;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	z-index: 100;
}

.fullscreen-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.4);
	transform: scale(1.08);
}

.fullscreen-btn svg {
	width: 20px;
	height: 20px;
	stroke: #fff;
	stroke-width: 2;
	fill: none;
	transition: transform 0.3s ease;
	filter:
		drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75))
		drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.fullscreen-btn.active {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen-btn.active svg {
	transform: scale(0.85);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
}

.menu-toggle span {
	width: 30px;
	height: 3px;
	background-color: #fff;
	transition: all 0.3s ease;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.75),
		0 3px 6px rgba(0, 0, 0, 0.4);
}

.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

/* Slider */
.slider-wrapper {
	position: relative;
	width: 100vw;
	height: 100vh;
	perspective: 1000px;
}

.slider-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity var(--slide-transition-duration) ease-in-out;
	transform-style: preserve-3d;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(0,0,0,0.3) 5%,
		rgba(0,0,0,1) 15%,
		rgba(0,0,0,1) 85%,
		rgba(0,0,0,0.3) 95%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(0,0,0,0.3) 5%,
		rgba(0,0,0,1) 15%,
		rgba(0,0,0,1) 85%,
		rgba(0,0,0,0.3) 95%,
		transparent 100%
	);
	-webkit-mask-composite: source-over;
	mask-composite: add;
}

.slide.active {
	opacity: 1;
	z-index: 2;
}

/* ORDEM 006 (TAREFA 2) — camada de saída opaca.
   Antes estava em opacity 0.5. Durante os 300-700 ms da transição a cópia
   que saía ficava a 50% e deixava ver o que está por baixo (o fundo do
   body), pelo que o composto no ecrã inteiro não era igual ao estado de
   repouso: era essa diferença que produzia o pulso percebido a cada 5 s.
   Com a camada de saída opaca, o crossfade passa a ser sempre um fade do
   novo slide por cima do anterior, sem passar por um estado intermédio
   mais escuro — e se um dia houver imagens diferentes, o crossfade fica
   limpo em vez de mostrar o fundo a transparadir. */
.slide.prev {
	opacity: 1;
	z-index: 1;
}

/* Fallback for browsers without mask support */
@supports not (mask-image: linear-gradient(to right, transparent, black)) {
	.slide::after {
		content: '';
		position: absolute;
	top: 20px;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(
			to right,
			rgba(0,0,0,0.6) 0%,
			transparent 15%,
			transparent 85%,
			rgba(0,0,0,0.6) 100%
		);
		pointer-events: none;
		z-index: 5;
	}
}

/* Parallax Layers */
.parallax-layer {
	position: absolute;
	width: 100%;
	height: 100%;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.background-layer {
	z-index: 1;
}

/* News Gallery Slides - fundo dos slides de notícias */
.news-bg-1,
.news-bg-2,
.news-bg-3 {
	background: url("../../images/Background.png") center/cover no-repeat;
}

/* Featured Content — left area with media + info */
/*
 * ORDEM 003-C / TAREFA 2 — reposição do conjunto lateral.
 * Não existem valores anteriores recuperáveis: nem backup-antes-integracao/main.css
 * nem assets/css/spectral-integration.css.bak contêm qualquer regra .featured-*
 * (o painel não existia antes da integração). O tamanho foi por isso derivado da
 * referência visual de Wald (região lateral Y=128..775 numa captura de 959px de
 * altura, ou seja cerca de 67% da altura util), com um aumento uniforme de +15%.
 * --featured-mouth-overlap passou a ser proporcional a --featured-width (factor
 * 0,2373 = 63px / 265,5px medidos no desktop) para que o capuz e as capas
 * continuem alinhados quando a largura muda em qualquer breakpoint.
 */
.featured-content {
	--featured-width: clamp(270px, 19.5vw, 340px);
	--featured-mouth-position: 52.3%;
	--featured-mouth-overlap: calc(var(--featured-width) * 0.2373);
	--featured-media-width: 72%;

	/* Alargamento exclusivamente horizontal do capuz */
	--featured-hood-scale-x: 1.08;

	position: absolute;
	left: 0;
	top: clamp(96px, 11vh, 115px);

	width: var(--featured-width);
	height: auto;

	margin: 0;
	padding: 0;

	display: flex;
	flex-direction: column;

	transform: none;
	z-index: 30;

	pointer-events: none;
}

.featured-stage {
	position: relative;

	width: 100%;
	height: auto;

	margin: 0;
	padding: 0;

	overflow: visible;
	isolation: isolate;

	pointer-events: none;
}

.featured-stage__sizer {
	position: relative;

	display: block;

	width: 100%;
	height: auto;

	margin: 0;
	padding: 0;

	opacity: 0;
	visibility: hidden;

	pointer-events: none;
	user-select: none;
}

.featured-stage__hood {
	position: absolute;

	left: 0;
	top: 0;

	width: 100%;
	height: 100%;

	overflow: visible;
	isolation: isolate;

	pointer-events: none;

	transform: scaleX(var(--featured-hood-scale-x));
	transform-origin: left top;
}

.featured-stage__hood-art {
	position: relative;
	z-index: 3;

	display: block;

	width: 100%;
	height: auto;

	margin: 0;
	padding: 0;

	pointer-events: none;
	user-select: none;
}

.featured-stage__shadow {
	position: absolute;
	z-index: 2;

	left: calc(50% - 10px);
	top: calc(
		var(--featured-mouth-position)
		- var(--featured-mouth-overlap)
	);

	width: calc(var(--featured-media-width) + 10px);

	transform: translateX(-50%);

	aspect-ratio: 1 / 2;

	margin: 0;
	padding: 0;

	overflow: hidden;

	pointer-events: none;
	user-select: none;
}

.featured-stage__media {
	position: absolute;
	z-index: 1;

	left: calc(50% - 9px);

	top: calc(
		var(--featured-mouth-position)
		- var(--featured-mouth-overlap)
	);

	width: calc(var(--featured-media-width) + 8px);

	transform: translateX(-50%);

	aspect-ratio: 1 / 2;

	overflow: hidden;

	margin: 0;
	padding: 0;

	background: transparent;

	border: 0;
	border-radius: 0;
	box-shadow: none;

	pointer-events: none;
}

.featured-media__image {
	position: absolute;
	inset: 0;

	display: block;

	width: 100%;
	height: 100%;

	margin: 0;
	padding: 0;

	object-fit: cover;
	object-position: center;

	opacity: 0;

	transform: scale(1.015);

	transition:
		opacity 500ms ease,
		transform 5s linear;

	pointer-events: none;
}

.featured-media__image.is-visible {
	opacity: 1;
	transform: scale(1.08);
}

.featured-content .image-info {
	position: relative;
	z-index: 3;

	width: 100%;
	min-height: clamp(86px, 9.5vh, 106px);

	margin: 88px 0 0;
	padding: 12px 14px;

	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	gap: 4px;

	background: rgba(28, 28, 28, 0.64);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0;

	color: #fff;
	text-align: center;

	pointer-events: auto;
}

.featured-content .image-info h2 {
	margin: 0;
}

.featured-content .image-info p {
	margin: 0;
}

.featured-content .image-info.is-animating {
	animation: featuredInfoEntrance 0.65s ease both;
}

@keyframes featuredInfoEntrance {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.featured-content .image-info h2 {
	width: 100%;
	max-width: none;

	margin: 0;
	padding: 0;

	font-size: clamp(1rem, 1.35vw, 1.45rem);
	font-weight: 700;
	line-height: 1.08;

	color: #fff;
	text-align: center;

	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.featured-content .image-info p {
	width: 100%;
	max-width: none;

	margin: 4px 0 0;
	padding: 0;

	font-size: clamp(0.65rem, 0.72vw, 0.82rem);
	font-weight: 400;
	line-height: 1.22;

	color: rgba(255, 255, 255, 0.95);
	text-align: center;

	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

@media (max-height: 800px) and (min-width: 769px) {
	.featured-content {
		--featured-width: clamp(240px, 17.3vw, 300px);

		top: 88px;
	}

	.featured-content .image-info {
		min-height: 80px;
		padding: 10px 12px;
	}
}

@media (max-width: 1024px) {
	.featured-content {
		--featured-width: clamp(247px, 28.8vw, 310px);
	}
}

@media (max-width: 768px) {
	.featured-content {
		/* ORDEM 006 (TAREFA 1): antes 55.2vw com minimo de 207px. Em ecrans
		   estreitos isso dava um capuz com 65% da largura util, que tapava o
		   centro e empurrava a caixa de noticias para fora do ecra. Agora o
		   conjunto lateral ocupa ~44% e sobra sempre uma area central visivel. */
		--featured-width: clamp(150px, 44vw, 230px);
		--featured-mouth-position: 52.3%;
		--featured-media-width: 72%;
		--featured-hood-scale-x: 1.05;

		left: 0;
		top: clamp(82px, 11vh, 100px);
	}

	.featured-content .image-info {
		min-height: 76px;
		padding: 9px 10px;
	}

	.featured-content .image-info h2 {
		font-size: clamp(0.95rem, 4vw, 1.25rem);
	}

	.featured-content .image-info p {
		font-size: clamp(0.62rem, 2.7vw, 0.78rem);
	}

	.nav-arrow {
		width: 48px;
		height: 48px;
		font-size: 1.2rem;
	}

	.nav-arrow.prev {
		left: calc(50% - 112px);
	}

	.nav-arrow.next {
		right: calc(50% - 112px);
	}

	.dots-container {
		bottom: 34px;
	}
}

@media (max-width: 480px) {
	.featured-content {
		/* ORDEM 006: 43% da largura, com piso de 138px para 320px de ecra
		   e tecto de 190px para nao ficar desproporcionado aos 480px. */
		--featured-width: clamp(138px, 43vw, 190px);
		--featured-media-width: 72%;
	}
}

/* Parallax Shapes */
.parallax-shape {
	position: fixed;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(4px);
	border-radius: 50%;
	transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
	cursor: pointer;
	z-index: 500;
	pointer-events: auto;
}

.parallax-shape:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: scale(1.1) !important;
}

.shape-1 {
	width: 200px;
	height: 200px;
	top: 15%;
	left: 10%;
}

.shape-2 {
	width: 150px;
	height: 150px;
	bottom: 25%;
	right: 15%;
	top: auto;
	left: auto;
}

/* Nav Arrows — base do slider */
.nav-arrow {
	position: absolute;
	top: auto;
	bottom: clamp(18px, 3vh, 34px);
	width: 56px;
	height: 56px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: none;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font: inherit;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 100;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.3s ease,
		background 0.3s ease;
}

.nav-arrow:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.08);
}

.nav-arrow.prev {
	left: calc(50% - 230px);
}

.nav-arrow.next {
	right: calc(50% - 230px);
}

/* Dots */
.dots-container {
	position: absolute;
	left: 50%;
	bottom: clamp(34px, 4.5vh, 48px);
	display: flex;
	align-items: center;
	gap: 15px;
	transform: translateX(-50%);
	z-index: 100;
}

.dot {
	width: 12px;
	height: 12px;
	border: 0;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: white;
	opacity: 0;
	transition: all 0.3s ease;
}

.dot.active {
	background: rgba(255, 255, 255, 0.9);
	transform: scale(1.4);
}

.dot.active::after {
	opacity: 1;
}

.dot:hover {
	background: rgba(255, 255, 255, 0.7);
}

/* Play/Pause */
.play-pause-btn {
	position: fixed;
	bottom: 30px;
	left: 30px;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	cursor: pointer;
	z-index: 100;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

.play-pause-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.08);
}

.play-pause-btn svg {
	width: 20px;
	height: 20px;
	fill: #fff;
	transition: all 0.3s ease;
}

.play-pause-btn.paused svg {
	transform: translateX(2px);
}

/* Progress Bar */
.progress-bar-container {
	position: fixed;
	bottom: 75px;
	left: 100px;
	width: 150px;
	height: 3px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 3px;
	overflow: hidden;
	z-index: 100;
	transition: opacity 0.3s ease;
}

.progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8));
	border-radius: 3px;
	transition: width 0.1s linear;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Duration Controls */
.duration-controls {
	position: fixed;
	bottom: 30px;
	left: 100px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 100;
}

.duration-btn {
	width: 35px;
	height: 35px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	user-select: none;
}

.duration-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.08);
}

.duration-btn:active {
	transform: scale(0.95);
}

.duration-display {
	min-width: 45px;
	height: 35px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 0 12px;
	font-family: 'Poppins', sans-serif;
	user-select: none;
}

.duration-display span {
	font-size: 14px;
	opacity: 0.7;
	margin-left: 2px;
}

/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	backdrop-filter: blur(15px);
	z-index: 2000;
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.overlay.active {
	display: flex;
	animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.overlay-content {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(30px);
	padding: 60px;
	border-radius: 25px;
	max-width: 780px;
	width: 90%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	transform: scale(0.9);
	animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.overlay-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
	border-radius: 25px 25px 0 0;
	pointer-events: none;
}

@keyframes scaleIn {
	to {
		transform: scale(1);
	}
}

.overlay-content h2 {
	color: #fff;
	font-size: 2.8rem;
	margin-bottom: 35px;
	font-weight: 400;
	position: relative;
	padding-bottom: 20px;
	letter-spacing: -0.5px;
}

.overlay-content h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
	border-radius: 2px;
}

.overlay-content p,
.overlay-content label {
	color: #e8e8e8;
	font-size: 1.1rem;
	line-height: 1.9;
	margin-bottom: 22px;
	font-weight: 400;
}

.overlay-content p {
	position: relative;
	padding-left: 20px;
}

.overlay-content p::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	width: 4px;
	height: 4px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
}

.overlay-content strong {
	color: #fff;
	font-weight: 700;
}

.overlay-content a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 3px;
	transition: all 0.3s ease;
}

.overlay-content a:hover {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Scrollbar */
.overlay-content::-webkit-scrollbar {
	width: 10px;
}

.overlay-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.02);
	border-radius: 10px;
	margin: 10px 0;
}

.overlay-content::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
	border-radius: 10px;
	border: 2px solid transparent;
	background-clip: padding-box;
}

.overlay-content::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
	background-clip: padding-box;
}

.overlay-content {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.02);
}

/* Close Button */
.close-btn {
	position: absolute;
	top: 25px;
	right: 25px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.close-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg) scale(1.1);
	border-color: rgba(255, 255, 255, 0.3);
}

/* Testimonial Cards */
.testimonial-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
	padding: 35px;
	border-radius: 18px;
	margin-bottom: 30px;
	border-left: 4px solid rgba(255, 255, 255, 0.6);
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: -10px;
	left: 20px;
	font-size: 120px;
	color: rgba(255, 255, 255, 0.05);
	font-family: Georgia, serif;
	line-height: 1;
	pointer-events: none;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.1) 100%);
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
	border-left-color: #fff;
}

.testimonial-card p {
	font-style: italic;
	margin-bottom: 18px;
	color: #f0f0f0;
	position: relative;
	z-index: 1;
	font-size: 1.05rem;
	font-weight: 400;
}

.testimonial-card p::before {
	display: none;
}

.testimonial-card .author {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	font-style: normal;
	margin: 0;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.testimonial-card .author::before {
	content: '— ';
	color: rgba(255, 255, 255, 0.6);
}

/* Contact Form */
.contact-form {
	margin-top: 30px;
}

.contact-form label {
	display: block;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	margin-bottom: 10px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.contact-form label::before {
	display: none;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 16px 20px;
	margin-bottom: 25px;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	color: #fff;
	font-size: 1rem;
	font-family: 'Poppins', sans-serif;
	transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

.submit-btn {
	background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
	color: #000;
	border: none;
	padding: 16px 45px;
	border-radius: 12px;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.submit-btn:hover {
	background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25);
}

.submit-btn:active {
	transform: translateY(-1px);
}

/* Contact Address */
.contact-address {
	margin-top: 40px;
	padding: 25px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-address h3 {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 500;
	margin-bottom: 15px;
	letter-spacing: 0.5px;
}

.contact-address p {
	color: #e8e8e8;
	line-height: 1.8;
}

.contact-address a {
	color: #fff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.contact-address a:hover {
	opacity: 0.7;
}

/* Footer */
footer {
	position: fixed;
	bottom: 0;
	right: 0;
	padding: 15px 30px;
	z-index: 50;
	text-align: right;
}

footer p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 968px) {
	header {
		padding: 20px 30px;
	}

	nav {
		gap: 25px;
	}

	nav a {
		font-size: 0.95rem;
	}

	.overlay-content {
		padding: 40px 30px;
	}

	.overlay-content h2 {
		font-size: 2.2rem;
	}
}

@media (max-width: 768px) {
	header {
		padding: 15px 20px;
	}

	nav {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		background: rgba(0, 0, 0, 0.5);
		flex-direction: column;
		gap: 0;
		padding: 20px 0;
		transform: translateY(-100%);
		opacity: 0;
		transition: all 0.3s ease;
		pointer-events: none;
	}

	nav.active {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}

	nav a {
		padding: 18px 30px;
		width: 100%;
		text-align: center;
		font-size: 1.1rem;
		border-radius: 0;
	}

	.slide {
		-webkit-mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0,0,0,0.3) 3%,
			rgba(0,0,0,1) 10%,
			rgba(0,0,0,1) 90%,
			rgba(0,0,0,0.3) 97%,
			transparent 100%
		);
		mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0,0,0,0.3) 3%,
			rgba(0,0,0,1) 10%,
			rgba(0,0,0,1) 90%,
			rgba(0,0,0,0.3) 97%,
			transparent 100%
		);
	}

	.menu-toggle {
		display: flex;
	}

	.nav-arrow {
		width: 48px;
		height: 48px;
		font-size: 1.2rem;
	}

	.nav-arrow.prev {
		left: calc(50% - 112px);
	}

	.nav-arrow.next {
		right: calc(50% - 112px);
	}

	.parallax-shape {
		width: 120px;
		height: 120px;
	}

	.shape-2 {
		width: 90px;
		height: 90px;
	}

	.play-pause-btn {
		bottom: 20px;
		left: 20px;
		width: 45px;
		height: 45px;
	}

	.duration-controls {
		bottom: 20px;
		left: 80px;
		gap: 8px;
	}

	.duration-btn {
		width: 32px;
		height: 32px;
		font-size: 18px;
	}

	.duration-display {
		min-width: 40px;
		height: 32px;
		font-size: 14px;
		padding: 0 10px;
	}

	.overlay-content {
		padding: 40px 25px;
		width: 95%;
		border-radius: 20px;
	}

	.overlay-content h2 {
		font-size: 2rem;
		margin-bottom: 25px;
	}

	.overlay-content p {
		font-size: 1rem;
	}
}

@media screen and (max-width: 736px) {
	.logo img {
		height: 56px;
		max-width: 240px;
	}
}

@media (max-width: 480px) {

	.dots-container {
		bottom: 32px;
		gap: 12px;
	}

	.dot {
		width: 10px;
		height: 10px;
	}

	.overlay-content {
		padding: 30px 20px;
	}

	.overlay-content h2 {
		font-size: 1.6rem;
	}

	.overlay-content p {
		font-size: 0.95rem;
		padding-left: 15px;
	}

	footer {
		padding: 10px 15px;
	}

	footer p {
		font-size: 0.75rem;
	}
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.parallax-layer {
		transform: none !important;
		transition: none !important;
	}

	.parallax-shape {
		transition: none !important;
	}
}
