/* Reset e Variáveis */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #2c5530;
	--secondary: #4a7c59;
	--accent: #8fbc8f;
	--highlight: #184b37;
	--text: #2d3748;
	--text-light: #718096;
	--background: #fefdf8;
	--white: #ffffff;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
	--gradient-primary: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
	--gradient-secondary: linear-gradient(135deg, #8fbc8f 0%, #4a7c59 100%);
}

body {
	font-family: "Montserrat", sans-serif;
	line-height: 1.7;
	color: var(--text);
	background-color: var(--background);
	scroll-behavior: smooth;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.header {
	background: rgba(254, 253, 248, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 20px;
}

.logo {
	font-family: "Cinzel", serif;
	font-size: 2rem;
	font-weight: bolder;
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.nav a {
	text-decoration: none;
	color: var(--text);
	margin-left: 2.5rem;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	font-family: "Montserrat", sans-serif;
}

.nav a:hover {
	color: var(--highlight);
}

.nav a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: var(--highlight);
	transition: width 0.3s ease;
}

.nav a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	height: 92vh;
	background: linear-gradient(rgba(44, 85, 48, 0.5), rgba(74, 124, 89, 0.7)),
		url("assets/galeria1_cor.jpeg") center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	margin-top: 0;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
	max-width: 800px;
	padding: 0 20px;
	position: relative;
	z-index: 2;
}

.hero-title {
	font-family: "Cinzel", serif;
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.hero-subtitle {
	font-size: 1.3rem;
	font-weight: 300;
	opacity: 0.95;
	max-width: 600px;
	margin: 0 auto;
	font-family: "Montserrat", sans-serif;
}

/* História Section */
.historia {
	padding: 5rem 0;
	background: var(--background);
}

.historia-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: start;
	margin-bottom: 6rem;
}

.historia-item.full-width {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 900px;
	margin: 0 auto 6rem;
}

.historia-item.full-width .historia-texto p {
	font-size: 1.3rem;
	line-height: 1.8;
	color: var(--text);
}

.historia-item:last-child {
	margin-bottom: 0;
}

.historia-item.reverse {
	direction: rtl;
}

.historia-item.reverse .historia-texto {
	direction: ltr;
}

.historia-texto h2 {
	font-family: "Cinzel", serif;
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	color: var(--primary);
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.historia-texto p {
	font-size: 1.1rem;
	color: var(--text);
	line-height: 1.8;
	margin-bottom: 1.5rem;
	font-family: "Montserrat", sans-serif;
}

.historia-texto blockquote {
	font-size: 1.2rem;
	font-style: italic;
	color: var(--primary);
	border-left: 4px solid var(--accent);
	padding: 1.5rem 2rem;
	margin: 2rem 0;
	background: rgba(143, 188, 143, 0.1);
	border-radius: 0 8px 8px 0;
	line-height: 1.6;
	font-family: "Montserrat", sans-serif;
}

.historia-imagem {
	height: 420px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.historia-imagem:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.historia-imagem img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.legenda-imagem {
	display: flex;
	justify-content: center;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(rgba(44, 85, 48, 0.5), rgba(74, 124, 89, 0.7));
	padding: 0.6rem 1rem;

	backdrop-filter: blur(5px);

	a {
		text-align: center;
		font-family: "Montserrat", sans-serif;
		font-weight: 400;
		color: var(--white);
		text-decoration: none;
		width: 100%;
		font-size: 0.9rem;
		overflow: hidden;
	}
}

/* Conclusão */
.conclusao {
	background: var(--white);
	padding: 3rem;
	border-radius: 12px;
	box-shadow: var(--shadow);
	margin-top: 4rem;
	border-top: 4px solid var(--accent);
}

.conclusao p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text);
	margin-bottom: 1.5rem;
	font-family: "Montserrat", sans-serif;
}

.conclusao p.destaque-final {
	font-size: 1.2rem;
	font-style: italic;
	text-align: center;
	color: var(--primary);
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 2px solid var(--accent);
	font-family: "Montserrat", sans-serif;
}

/* Vídeo Section */
.video-section {
	padding: 6rem 0;
	background: var(--gradient-primary);
	color: var(--white);
	position: relative;
}

.video-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
	background-size: cover;
}

.video-section h2 {
	text-align: center;
	font-family: "Cinzel", serif;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	position: relative;
	z-index: 2;
	font-weight: 600;
}

.video-wrapper {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.video-container {
	position: relative;
}

.video-placeholder {
	border-radius: 16px;
	height: 500px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
	cursor: pointer;
}

.video-placeholder:hover {
	transform: scale(1.02);
}

.video-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(44, 85, 48, 0.8);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.3s ease;
}

.video-placeholder:hover .video-thumbnail {
	background: rgba(44, 85, 48, 0.9);
}

.play-button {
	font-size: 5rem;
	margin-bottom: 1.5rem;
	opacity: 0.9;
	transition: all 0.3s ease;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.video-placeholder:hover .play-button {
	opacity: 1;
	transform: scale(1.1);
}

.video-thumbnail p {
	font-size: 1.2rem;
	opacity: 0.9;
	max-width: 400px;
	margin: 0 auto;
	font-family: "Montserrat", sans-serif;
}

/* Vídeo Embed */
.video-embed {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	height: 500px;
}

.video-embed iframe {
	border-radius: 16px;
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	.video-placeholder,
	.video-embed {
		height: 350px;
	}

	.video-embed iframe {
		height: 350px;
	}
}

/* Galeria Section */
.galeria {
	padding: 6rem 0;
	background: var(--white);
}

.galeria h2 {
	text-align: center;
	font-family: "Cinzel", serif;
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--primary);
	font-weight: 600;
}

.galeria-desc {
	text-align: center;
	color: var(--text-light);
	margin-bottom: 4rem;
	font-size: 1.1rem;
	font-family: "Montserrat", sans-serif;
}

.galeria-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
}

.galeria-item {
	height: 280px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	position: relative;
}

.galeria-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-hover);
}

.galeria-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Footer */
.footer {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 4rem 0 2rem;
}

.footer .container {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
	align-items: start;
}

.integrantes h3 {
	font-family: "Cinzel", serif;
	margin-bottom: 1.5rem;
	font-size: 1.3rem;
	font-weight: 600;
}

.nomes {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.nomes span {
	background: rgba(255, 255, 255, 0.15);
	padding: 0.7rem 1.2rem;
	border-radius: 25px;
	font-size: 0.9rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	font-family: "Montserrat", sans-serif;
}

.nomes span:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

.curso {
	text-align: right;
}

.curso p {
	margin-bottom: 0.8rem;
	opacity: 0.9;
	font-size: 1rem;
	font-family: "Montserrat", sans-serif;
}

.ano {
	font-size: 0.9rem;
	opacity: 0.7;
	margin-top: 1rem;
	font-family: "Montserrat", sans-serif;
}

/* Responsividade */
@media (max-width: 768px) {
	.header .container {
		flex-direction: column;
		gap: 1rem;
		padding: 1rem 20px;
	}

	.nav a {
		margin: 0 1rem;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.historia-item {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.historia-item.reverse {
		direction: ltr;
	}

	.historia-imagem {
		height: 280px;
		order: -1;
	}

	.historia-texto h2 {
		font-size: 1.9rem;
	}

	.historia-item.full-width .historia-texto p {
		font-size: 1.1rem;
	}

	.video-placeholder {
		height: 350px;
	}

	.footer .container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 3rem;
	}

	.curso {
		text-align: center;
	}

	.nomes {
		justify-content: center;
	}

	.conclusao {
		padding: 2rem;
	}

	.conclusao p {
		font-size: 1.1rem;
	}

	.conclusao p.destaque-final {
		font-size: 1.2rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

	.historia-texto h2 {
		font-size: 1.7rem;
	}

	.galeria-grid {
		grid-template-columns: 1fr;
	}

	.nomes {
		flex-direction: column;
		align-items: center;
	}

	.video-section h2,
	.galeria h2 {
		font-size: 2rem;
	}

	.play-button {
		font-size: 4rem;
	}
}
