/* ===== Reset básico ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Hero / Slider com header sobreposto ===== */
.hero {
	position: relative;
	width: 100%;
	min-height: 92vh;
	overflow: hidden;
}

.hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }

.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

/* ===== Header transparente sobreposto ===== */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 48px;
}

.site-header__logo img {
	max-width: 200px;
	height: auto;
}

.site-header__nav ul {
	display: flex;
	gap: 28px;
}

.site-header__nav a {
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	transition: opacity 0.2s;
}
.site-header__nav a:hover { opacity: 0.75; }

/* ===== Botão hambúrguer (mobile) ===== */
.site-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 22px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 60;
}
.site-header__toggle span {
	display: block;
	height: 3px;
	width: 100%;
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s, opacity 0.3s;
}

/* animação do X quando o menu abre */
.site-header__toggle.is-active span:nth-child(1) {
	transform: translateY(9.5px) rotate(45deg);
}
.site-header__toggle.is-active span:nth-child(2) {
	opacity: 0;
}
.site-header__toggle.is-active span:nth-child(3) {
	transform: translateY(-9.5px) rotate(-45deg);
}

/* ===== Seção: A Brax ===== */
.about {
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 40px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.about__photo img {
	border-radius: 4px;
}

.about__text h2 {
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 14px;
}
.about__text .divider {
	width: 60px;
	height: 3px;
	background: #c9a227;
	margin-bottom: 20px;
}
.about__text p {
	color: #444;
	font-size: 15px;
	line-height: 1.7;
}

/* círculo animado */
.about__circle {
	position: relative;
	width: 100%;
	max-width: 340px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}
.about__circle img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.about__circle-center {
	z-index: 3;
	width: 42% !important;
	height: 42% !important;
	inset: 29% !important;
}
.about__circle-inner {
	z-index: 2;
	width: 72% !important;
	height: 72% !important;
	inset: 14% !important;
	animation: spin-ccw 18s linear infinite;
}
.about__circle-outer {
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	inset: 0 !important;
	animation: spin-cw 26s linear infinite;
}

@keyframes spin-cw {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
@keyframes spin-ccw {
	from { transform: rotate(0deg); }
	to { transform: rotate(-360deg); }
}

@media (max-width: 900px) {
	.about {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 50px 24px;
	}
	.about__text { order: 1; }
	.about__photo { order: 0; }
	.about__circle { order: 2; }
}
@media (max-width: 900px) {
	.site-header {
		padding: 18px 20px;
	}
	.site-header__logo img {
		max-width: 130px;
	}
	.site-header__toggle {
		display: flex;
	}

	.site-header__nav {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: min(75vw, 320px);
		background: rgba(15, 15, 15, 0.97);
		transform: translateX(100%);
		transition: transform 0.35s ease;
		display: flex;
		align-items: center;
		padding: 0 32px;
	}
	.site-header__nav.is-open {
		transform: translateX(0);
	}
	.site-header__nav ul {
		flex-direction: column;
		gap: 26px;
		width: 100%;
	}
	.site-header__nav a {
		font-size: 16px;
	}
}

/* ===== Seção: Tecnologia ===== */
.tech {
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 40px;
}
.tech h2 {
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 14px;
}
.tech .divider {
	width: 60px;
	height: 3px;
	background: #c9a227;
	margin-bottom: 36px;
}

.tech-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 20px;
}
.tech-flip--large {
	grid-row: 1 / 3;
}

.tech-flip {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	min-height: 220px;
	cursor: pointer;
}
.tech-flip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}
.tech-flip__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px 24px;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
	transition: opacity 0.3s;
	z-index: 2;
}
.tech-flip__back {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.88);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 28px;
	font-size: 14px;
	line-height: 1.6;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 3;
}
.tech-flip:hover .tech-flip__back {
	opacity: 1;
}
.tech-flip:hover .tech-flip__title {
	opacity: 0;
}

@media (max-width: 900px) {
	.tech {
		padding: 50px 24px;
	}
	.tech-grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}
	.tech-flip--large {
		grid-row: auto;
	}
	.tech-flip {
		min-height: 260px;
	}
}

/* ===== Seção: Nosso Time ===== */
.team {
	background: #d4a72c;
	text-align: center;
	padding: 60px 24px;
}
.team h2 {
	color: #fff;
	font-size: 26px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
}
.team .divider {
	width: 60px;
	height: 2px;
	background: #fff;
	margin: 0 auto 20px;
}
.team p {
	color: #fff;
	font-size: 15px;
	max-width: 700px;
	margin: 0 auto;
}

/* ===== Seção: Nossos Parceiros ===== */
.partners {
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 40px;
}
.partners h2 {
	font-size: 26px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 14px;
}
.partners .divider {
	width: 60px;
	height: 3px;
	background: #c9a227;
	margin-bottom: 20px;
}
.partners > p {
	color: #444;
	font-size: 15px;
	max-width: 800px;
	margin-bottom: 40px;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}
.partner-flip {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	overflow: hidden;
	cursor: pointer;
}
.partner-flip img {
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
}
.partner-flip__back {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.9);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px;
	font-size: 11.5px;
	line-height: 1.5;
	opacity: 0;
	transition: opacity 0.3s;
}
.partner-flip:hover .partner-flip__back {
	opacity: 1;
}

@media (max-width: 900px) {
	.partners {
		padding: 50px 24px;
	}
	.partners-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}
}
@media (max-width: 480px) {
	.partners-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== Footer ===== */
.site-footer {
	border-top: 1px solid #eee;
	padding: 32px 40px;
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
}
.site-footer__logo img {
	max-width: 160px;
}
.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	color: #333;
}
.site-footer__contact a {
	display: flex;
	align-items: center;
	gap: 8px;
}
.site-footer__contact a svg {
	width: 16px;
	height: 16px;
	fill: #d4a72c;
	flex-shrink: 0;
}
.site-footer__address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: #333;
	max-width: 380px;
}
.site-footer__address svg {
	width: 16px;
	height: 16px;
	fill: #d4a72c;
	flex-shrink: 0;
	margin-top: 3px;
}

@media (max-width: 900px) {
	.site-footer {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px 24px;
	}
}
