@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap");

@font-face {
	font-family: "Mistral";
	src: url("../fonts/MISTRAL.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Manthoels";
	src: url("../fonts/Manthoels.otf") format("opentype");
	font-weight: normal;
	font-style: normal;
}
/* aguardando fotos */

html {
	scroll-behavior: smooth;
}

:root {
	--bg-color: #f7f7f3;
	--text-color: #333333;
	--accent-color: #8c7b75;
	--brand-color: #2c3e50;
	--white: #ffffff;
}

/* --- 3. RESET BÁSICO --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: "Lato", sans-serif;
	line-height: 1.6; /* Bom espaçamento entre linhas */
}

h1,
h2,
h3 {
	font-family: "Playfair Display", serif; /* Fonte elegante para títulos */
	color: var(--brand-color);
	margin-bottom: 1rem;
}

img {
	max-width: 100%; /* Garante que imagens nunca estourem a tela */
	display: block;
	height: auto;
}

/* --- NAVEGAÇÃO --- */
.main-nav {
	background-color: var(--white);
	padding: 1rem 0;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.main-nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 30px;
}

.main-nav a {
	text-decoration: none;
	color: var(--text-color);
	text-transform: uppercase;
	font-size: 1.2rem;
	letter-spacing: 1px;
	transition: color 0.3s;
}

.main-nav a:hover {
	color: var(--accent-color);
}

/* --- CABEÇALHO (HEADER) --- */

.header-section {
	text-align: center;
	padding: 1rem 1rem 4rem 1rem;
	background-color: var(--white);
	border-radius: 250px;
	margin-top: 20px;
	padding: 4rem;
}

.brand-title {
	font-family: "Mistral", cursive;
	font-size: 5.2rem;
	font-weight: normal; /* Removemos o 100, pois pode bugar a renderização de fontes customizadas */
	letter-spacing: 2px;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.elo-destaque {
	font-family: "Arial Nova", sans-serif;
	font-weight: 650; /* Deixa a fonte mais grossa/imponente */
	font-size: 4.3rem; /* Ajuste o tamanho específico do "ELO" se precisar */
	letter-spacing: 0; /* Remove o espaçamento extra apenas do ELO */
}

.logo-image {
	width: 350px;
	height: 450px;
	object-fit: cover;
	border-radius: 30%; /* Deixa a logo redonda */
	margin: 0 auto 1.5rem auto; /* Centraliza a imagem */
	border: 3px solid var(--bg-color); /* Bordinha sutil */
}

.artist-name {
	font-family:
		Arial Nova,
		sans-serif;
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.artist-titles {
	font-size: 1.5rem;
	color: var(--accent-color);
	font-style: italic;
	margin-bottom: 2rem;
}

.main-titles h3 {
	font-family: "Mr Dafoe", cursive;
	font-size: 2.8rem;
	font-weight: 400;
	letter-spacing: 1px;
}

.artwork-placeholder {
	flex: 1; /* Ocupa 50% do espaço */
	display: flex;
	justify-content: flex-end; /* Alinha a imagem à direita, encostando no texto */
}

.artwork-placeholder img {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 100%; /* Garante que a imagem não estoure */
	height: auto;
}

.description-text {
	flex: 1; /* Ocupa os outros 50% do espaço */
	padding: 2rem;
	background-color: var(--white);
	border-radius: 8px;
	text-align: left; /* Alinhamento à esquerda fica melhor para leitura em colunas */
	margin: 0; /* Removemos a margem automática que centralizava antes */
}

.description-text h2 {
	text-align: left; /* Título alinhado com o texto */
	margin-bottom: 1.5rem;
	font-size: 2rem;
}

.description-text p {
	margin-bottom: 1rem;
	font-size: 1.5rem;
	color: #555;
}

/* --- LAYOUT GERAL --- */
.container {
	max-width: 1200px;
	margin: 0 auto; /* Centraliza o site em telas grandes */
	padding: 0 20px;
}

/* --- OBRA DESTAQUE --- */
.featured-artwork {
	margin: 7.5rem 0;
	align-items: center;
	display: flex;
	justify-content: center;
	gap: 40px;
}

.featured-artwork img {
	margin: 0 auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- TEXTO SOBRE --- */
.description-text {
	max-width: 800px; /* Texto muito largo é ruim de ler */
	margin: 0 auto 4rem auto;
	text-align: justify;
	padding: 2rem;
	background-color: var(--white);
	border-radius: 8px; /* Cantos levemente arredondados */
}

.description-text h2 {
	text-align: center;
	margin-bottom: 1.5rem;
	font-size: 2rem;
}

.description-text p {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	color: #555;
}

/* --- GALERIA --- */
.gallery-section {
	padding-bottom: 4rem;
}

.gallery-title {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 45px;
}

/* --- CABEÇALHOS DAS SÉRIES DA GALERIA --- */
.series-header {
	text-align: center;
	margin-top: 3rem;
	margin-bottom: 2rem;
}

.series-header .series-name {
	margin-top: 0;
	margin-bottom: 1rem;
}

.series-name,
h2[class~="Processo"],
h2[class~="Ambientes"] {
	text-align: center;
	margin: 3rem 0 1.5rem 0;
	position: relative;
	font-size: 1.5rem;
}

/* Filtros (Botões simulados) */
.gallery-filters {
	text-align: center;
	margin-bottom: 2rem;
}

.filter-item {
	display: inline-block;
	padding: 8px 20px;
	margin: 0 5px;
	cursor: pointer;
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
	border-radius: 20px;
	transition: all 0.3s;
}

.filter-item:hover {
	background-color: var(--accent-color);
	color: var(--white);
}

/* --- GRID DAS OBRAS --- */
.series-conexao-container,
.series-terapeutica-container {
	display: grid;
	/* Cria colunas automáticas com largura mínima de 280px */
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem; /* Espaço entre as obras */
	margin-bottom: 3rem;
}

.artwork-item {
	background: var(--white);
	padding: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s;
}

.artwork-item:hover {
	transform: translateY(-17px); /* Efeito de flutuar ao passar o mouse */
}

.image-box {
	width: 100%;
	height: 350px; /* Mantém a altura fixa */
	background-color: #eee;
	margin-bottom: 10px;
	overflow: hidden; /* Garante que nada saia para fora das bordas arredondadas se houver */
}

.image-box img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #f4f4f4;
	display: block;
}

.artwork-info {
	text-align: center;
	font-size: 0.9rem;
	text-transform: capitalize;
}

/* Destaque para Vendido */
.artwork-item.sold .artwork-info strong {
	color: #e74c3c; /* Vermelho suave */
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- AMBIENTES DECORADOS --- */
.fotos-galeria {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.fotos-galeria img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border: 1px solid #e0e0e0; /* borda sutil cinza claro */
	padding: 8px; /* espaço interno entre a foto e a borda */
	background-color: var(--white); /* fundo branco no padding */
}

/* --- BIOGRAFIA --- */
.biografia-class {
	font-family: "Playfair Display", serif;
	color: var(--brand-color);
	font-size: 2rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.biografia-section {
	max-width: 1200px;
	margin: 3rem auto;
	padding: 0 20px;
}

.biografia-content {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.video-wrapper {
	flex: 0 0 30%; /* largura fixa para o vídeo */
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
	border: 3px solid var(--accent-color);
}

.video-wrapper video {
	width: 100%;
	display: block;
	aspect-ratio: 9 / 16;
	object-fit: cover;
}

.biography-text {
	flex: 0 0 70%; /* ocupa todo o espaço restante */
	font-size: 1.2rem;
	color: #555;
	line-height: 1.6;
	text-align: justify;
}

/* --- ESPAÇAMENTO DOS PARÁGRAFOS DA BIOGRAFIA --- */
.biography-text p {
	margin-bottom: 1.2rem; /* Cria o respiro entre os blocos de texto */
}

.biography-text p:last-child {
	margin-bottom: 0; /* Remove a margem do último parágrafo para não empurrar o layout */
}

/* --- MODAL DE CONTATO (POP-UP) --- */

.modal-container {
	display: none; /* Começa escondido */
	position: fixed;
	z-index: 2000; /* Fica na frente de tudo, até do menu */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6); /* Fundo preto transparente */
	justify-content: center; /* Centraliza na tela */
	align-items: center;
	backdrop-filter: blur(5px); /* Efeito de desfoque chique no fundo */
}

.modal-content {
	background-color: var(--white);
	padding: 3rem;
	border-radius: 15px;
	width: 90%;
	max-width: 500px;
	text-align: center;
	position: relative;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.4s; /* Efeito suave ao abrir */
}

.modal-content h2 {
	font-family: "Playfair Display", serif;
	color: var(--brand-color);
	font-size: 2.2rem;
	margin-bottom: 0.5rem;
}

.modal-subtitle {
	color: var(--accent-color);
	font-style: italic;
	margin-bottom: 2rem;
}

.contact-info p {
	font-size: 1.1rem;
	margin: 10px 0;
	color: var(--text-color);
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

.close-btn {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	top: 15px;
	right: 25px;
	cursor: pointer;
	transition: 0.3s;
}

.close-btn:hover {
	color: var(--brand-color);
}

.modal-action-btn {
	background-color: var(--brand-color);
	color: var(--white);
	border: none;
	padding: 12px 30px;
	border-radius: 25px;
	font-size: 1rem;
	margin-top: 1.5rem;
	cursor: pointer;
	transition: background 0.3s;
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.modal-action-btn:hover {
	background-color: var(--accent-color);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- ESTILOS DO MODAL DE GALERIA --- */

.modal-content.modal-large {
	max-width: 900px;
	width: 100%;
	max-height: 100vh; /* Altura máxima de 90% da tela */
	overflow-y: auto; /* Permite rolar se tiver muitas fotos */
}

.galeria-popup-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 20px;
	margin-right: 20px;
}

.galeria-popup-grid img {
	width: 100%;
	height: 400px; /* Altura fixa para ficarem alinhadas */
	object-fit: cover;
	border-radius: 5px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.galeria-popup-grid img:hover {
	transform: scale(1.05);
}

.close-btn-galeria {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close-btn-galeria:hover {
	color: var(--brand-color);
}

.carousel-wrapper {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	margin-top: 20px;
}

.carousel-view {
	overflow: hidden; /* Esconde o que está fora da tela */
	width: 100%;
	margin: 0 15px; /* Espaço para as setas não ficarem coladas */
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out; /* Animação suave */
	width: 100%;
}

.carousel-card {
	min-width: 50%; /* Ocupa exatamente metade da largura (2 por vez) */
	box-sizing: border-box;
	padding: 0 10px; /* Espaço entre as duas fotos */
	text-align: center;
}

.carousel-card img {
	width: 100%;
	height: 350px;
	object-fit: contain;
	background-color: #f0f0f0;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-info {
	margin-top: 15px;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 5px;
}

.carousel-info h3 {
	font-family: "Playfair Display", serif;
	font-size: 1.2rem;
	color: var(--brand-color);
	margin-bottom: 5px;
}

.carousel-info p {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.4;
	text-align: left;
}

.carousel-btn {
	background-color: transparent;
	border: none;
	color: var(--accent-color);
	font-size: 2rem;
	cursor: pointer;
	transition: 0.3s;
	padding: 0 10px;
}

.carousel-btn:hover {
	color: var(--brand-color);
	transform: scale(1.2);
}

/* =========================================
   RESPONSIVIDADE (CELULARES E TABLETS)
   ========================================= */

@media (max-width: 768px) {
	/* --- 1. AJUSTES GERAIS --- */
	body {
		font-size: 16px;
	}

	.container {
		padding: 0 15px;
	}

	/* --- 2. CABEÇALHO (HEADER) --- */
	.header-section {
		padding: 2rem 1rem;
		margin-top: 0;
		border-radius: 0 0 50px 50px;
	}

	.brand-title {
		font-size: 4.5rem;
		margin-bottom: 2rem;
	}

	.logo-image {
		width: 250px;
		height: 289px;
		max-width: 80%;
	}

	.artist-name {
		font-size: 2rem;
	}

	.artist-titles,
	.main-titles h3 {
		font-size: 2rem;
	}

	/* --- 3. NAVEGAÇÃO (MENU) --- */
	.main-nav ul {
		flex-direction: column;
		gap: 15px;
		padding: 10px 0;
	}

	.main-nav {
		position: relative;
	}

	/* --- 4. OBRA DESTAQUE --- */
	.featured-artwork {
		flex-direction: column;
		gap: 20px;
		margin: 4rem 0;
		text-align: center;
	}

	.artwork-placeholder {
		justify-content: center;
	}

	.description-text {
		text-align: left;
		padding: 1rem;
		width: 100%;
		max-width: 100%;
	}

	.description-text h2 {
		text-align: center;
	}

	/* --- 5. GRID DA GALERIA (CARROSSEL MOBILE NATIVO) --- */
	.series-conexao-container,
	.series-terapeutica-container,
	.fotos-galeria {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 15px;
		padding-bottom: 20px;
		scrollbar-width: none;
	}

	.series-conexao-container::-webkit-scrollbar,
	.series-terapeutica-container::-webkit-scrollbar,
	.fotos-galeria::-webkit-scrollbar {
		display: none;
	}

	.artwork-item,
	.fotos-galeria img {
		flex: 0 0 85%;
		width: 85%;
		flex-shrink: 0;
		max-width: none;
		margin: 0;
		scroll-snap-align: center;
	}

	/* --- 6. MODAIS E CARROSSEL --- */
	.modal-content {
		width: 95%;
		padding: 1.5rem;
		margin: 10% auto;
	}

	.galeria-popup-grid img {
		height: auto;
		max-height: 300px;
	}

	/* === A MAGIA DO CARROSSEL MOBILE ACONTECE AQUI === */
	.carousel-wrapper {
		flex-direction: row; /* Mantém o alinhamento horizontal */
		position: relative;
	}

	.carousel-card {
		min-width: 100%; /* O SEGREDO: Força a ocupar 100% da tela do celular (1 foto por vez) */
		padding: 0; /* Remove o espaçamento lateral para a foto ficar maior */
	}

	.carousel-card img {
		height: 350px; /* Deixa a imagem com uma altura bonita */
		object-fit: contain;
	}

	/* Ajuste dos botões (Setas) para ficarem em cima da imagem */
	.carousel-btn {
		padding: 5px 12px;
		font-size: 1.8rem;
		position: absolute; /* Tira as setas do fluxo e permite colocar onde quisermos */
		top: 30%; /* Desce as setas até perto do meio da imagem */
		z-index: 10;
		background: rgba(
			255,
			255,
			255,
			0.85
		); /* Fundo branco semi-transparente */
		border-radius: 50%;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}

	.prev-btn {
		left: -5px;
	} /* Cola a seta esquerda na borda */
	.next-btn {
		right: -5px;
	} /* Cola a seta direita na borda */

	/* --- 7. BIOGRAFIA MOBILE --- */
	.biografia-content {
		flex-direction: column;
	}

	.video-wrapper {
		flex: none;
		width: 100%;
	}
}
