/* ===== BASE / VARIÁVEIS ===== */
:root {
	--fs-h1: clamp(2rem, 4vw + 1rem, 4rem);
	--fs-h2: clamp(1.4rem, 2.2vw + 0.6rem, 2.2rem);
	--fs-body: clamp(0.95rem, 0.6vw + 0.7rem, 1.125rem);

	--gold: #ffcc33;

	--bg-dark: #000;
	--bg-1: #111;
	--bg-2: #0a0a0a;

	--section-pad: clamp(48px, 6vw, 96px);
	--container-max: 1100px;

	--radius: 10px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
}

body {
	font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	font-size: var(--fs-body);
	color: #fff;
	background: var(--bg-dark);
	line-height: 1.5;
	scroll-behavior: smooth;
}

/* ===== CONTAINER ===== */
.container {
	width: min(100%, var(--container-max));
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 24px);
}

/* ===== TOPBAR / NAV ===== */
.topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(0, 0, 0, .85);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.scrolled .topbar {
	opacity: 1;
	pointer-events: auto;
}

.nav {
	width: min(100%, var(--container-max));
	margin-inline: auto;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: nowrap;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	letter-spacing: .5px;
	flex-shrink: 0;
}

.brand__logo {
	width: 26px;
	height: 26px;
	object-fit: contain;
	display: block;
}

/* menu desktop */
.menu {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: nowrap;
}

.menu a {
	color: #fff;
	text-decoration: none;
	opacity: .85;
	padding: 8px 10px;
	border-radius: 8px;
}

.menu a:hover {
	background: rgba(255, 255, 255, .08);
	opacity: 1;
}

.hamb {
	display: none;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 1.6rem;
	cursor: pointer;
}

/* ===== HERO ===== */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	place-items: center;
	text-align: center;
	background: #000;
}

.hero-media,
.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-bg {
	object-fit: cover;
	object-position: 50% 20%;
	display: block;
}

.overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .65));
}

.hero__content {
	position: relative;
	z-index: 2;
	padding: 0 24px;
	max-width: 900px;
}

.hero h1 {
	font-size: var(--fs-h1);
	letter-spacing: 1px;
	text-transform: uppercase;
}

.hero p {
	margin: .75rem auto 0;
	color: var(--gold);
	opacity: .95;
	max-width: 48ch;
}

/* ===== BOTÃO ===== */
.btn {
	display: inline-block;
	margin-top: 1.2rem;
	padding: .9rem 1.4rem;
	background: var(--gold);
	color: #000;
	text-decoration: none;
	border-radius: 10px;
	font-weight: 700;
	transition: .15s transform, .15s filter;
	box-shadow: var(--shadow);
	border: 0;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.btn:disabled {
	opacity: .6;
	cursor: not-allowed;
	transform: none;
}

/* ===== SECÇÕES ===== */
section {
	padding-block: var(--section-pad);
	background: var(--bg-1);
}

section:nth-of-type(even) {
	background: var(--bg-2);
}

h2 {
	font-size: var(--fs-h2);
	color: var(--gold);
	margin: 0 0 .8rem;
}

.lead {
	color: #d7d7d7;
	opacity: .95;
	max-width: 70ch;
}

/* ===== CARREIRA ===== */
.timeline {
	display: grid;
	gap: 12px;
	margin-top: 12px;
	list-style: none;
	padding: 0;
}

.timeline li {
	background: #0f0f0f;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: var(--radius);
	padding: 12px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.badge {
	background: rgba(255, 204, 51, .15);
	color: var(--gold);
	padding: .2rem .55rem;
	border-radius: 999px;
	font-size: .85em;
}

/* ===== GALERIA ===== */
.gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 22px;
	padding-top: 20px;
}

.g1 {
	grid-column: span 7;
}

.g2 {
	grid-column: span 5;
}

.g3 {
	grid-column: span 4;
}

.g4 {
	grid-column: span 8;
}

.card {
	background: #0f0f0f;
	border-radius: 14px;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 10px;
	display: block;
}

/* ===== CONTACTO ===== */
.contact-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1.3fr .7fr;
	margin-top: 14px;
}

.panel {
	background: #0f0f0f;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 14px;
	padding: 18px;
	box-shadow: var(--shadow);
}

label {
	display: block;
	margin: .4rem 0 .2rem;
	color: #ddd;
}

input,
textarea {
	width: 100%;
	padding: .85rem 1rem;
	background: #121212;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 10px;
	outline: none;
}

input:focus,
textarea:focus {
	border-color: rgba(255, 204, 51, .55);
	box-shadow: 0 0 0 3px rgba(255, 204, 51, .12);
}

textarea {
	min-height: 130px;
	resize: vertical;
}

.actions {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 10px;
	flex-wrap: wrap;
}

.muted {
	color: #bdbdbd;
	font-size: .9rem;
}

#formStatus {
	min-height: 1.2em;
}

/* ===== SOCIALS (ÍCONES) ===== */
.socials__title {
	margin: 0 0 12px;
	color: var(--gold);
}

.socials__icons {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

/* o <a> do ícone */
.socials__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .10);
	opacity: 1;
	text-decoration: none;
	transition: transform .15s ease, filter .15s ease, background .15s ease;
}

.socials__icon:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	background: rgba(255, 255, 255, .10);
}

/* trava QUALQUER regra global em SVG */
.socials__icon svg {
	width: 18px !important;
	height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	display: block !important;
	opacity: 1 !important;
	filter: none !important;
}

.socials__icon svg path {
	fill: var(--gold) !important;
}

/* ===== REVEAL ===== */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: .6s ease;
}

.reveal.show {
	opacity: 1;
	transform: none;
}

/* ===== BREAKPOINTS ===== */
@media (min-aspect-ratio: 16/9) {
	.hero-bg {
		object-position: 50% 20%;
	}
}

@media (min-aspect-ratio: 21/9) {
	.hero-bg {
		object-position: 50% 28%;
	}
}

@media (max-width: 1024px) {
	.gallery {
		grid-template-columns: repeat(6, 1fr);
	}

	.g1,
	.g2,
	.g3,
	.g4 {
		grid-column: span 6;
	}
}

@media (max-width: 820px) {
	.hamb {
		display: block;
	}

	.hero-bg {
		object-position: 50% 35%;
	}

	.menu {
		position: fixed;
		left: 0;
		right: 0;
		top: 56px;
		transform: translateY(-120%);
		background: rgba(0, 0, 0, .92);
		backdrop-filter: blur(8px);
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		flex-direction: column;
		gap: 0;
		padding: 8px 12px;
		transition: .2s;
	}

	.menu.open {
		transform: translateY(0);
	}

	.menu a {
		width: 100%;
		padding: 14px;
		border-radius: 8px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.gallery {
		grid-template-columns: 1fr 1fr;
	}

	.g1,
	.g2,
	.g3,
	.g4 {
		grid-column: auto;
	}
}

@media (max-width: 480px) {
	header.hero {
		align-items: flex-end;
		padding-bottom: 14vh;
	}

	.overlay {
		background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .70));
	}

	section {
		padding-block: clamp(36px, 8vw, 56px);
	}

	.gallery {
		grid-template-columns: 1fr;
	}

	.card {
		aspect-ratio: auto;
	}
}

/* NÃO uses content:url aqui porque já tens <picture> no HTML
   Se mantiveres os dois, vais criar confusão.
*/
