/* Zero Gym Hyrox — paleta preto/vermelho, estilo dark/CrossFit */

:root {
	--bg: #0a0a0a;
	--bg-alt: #141414;
	--bg-card: #1a1a1a;
	--border: #2a2a2a;
	--red: #e2001a;
	--red-dark: #9e0013;
	--white: #f5f5f5;
	--gray: #a3a3a3;
	--gray-light: #d4d4d4;

	--font-title: 'Anton', sans-serif;
	--font-body: 'Montserrat', sans-serif;

	--container: 1160px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--white);
	font-family: var(--font-body);
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-title);
	color: var(--red);
	letter-spacing: 0.12em;
	font-size: 0.85rem;
	margin-bottom: 12px;
}

h1, h2, h3, h4 {
	font-family: var(--font-title);
	text-transform: uppercase;
	line-height: 1.05;
	letter-spacing: 0.01em;
}

h2 {
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	margin-bottom: 16px;
}

h2 .accent {
	color: var(--red);
}

.section-head {
	max-width: 640px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-head p {
	color: var(--gray);
	font-size: 1.05rem;
}

section {
	padding: 96px 0;
	position: relative;
}

section.alt {
	background: var(--bg-alt);
}

/* Botões */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-title);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.95rem;
	padding: 16px 32px;
	border-radius: 4px;
	border: 2px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--red);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--red-dark);
}

.btn-outline {
	border-color: var(--white);
	color: var(--white);
}

.btn-outline:hover {
	border-color: var(--red);
	color: var(--red);
}

.btn-sm {
	padding: 10px 20px;
	font-size: 0.8rem;
}

.btn-block {
	width: 100%;
	justify-content: center;
	margin-top: 20px;
}

.btn-mt {
	margin-top: 24px;
}

.text-white {
	color: var(--white);
}

/* Header */

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand img {
	height: 48px;
	width: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.brand-name {
	font-family: var(--font-title);
	font-size: 1.1rem;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.brand-name span {
	color: var(--red);
}

.nav-links {
	display: flex;
	gap: 32px;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 600;
}

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

.header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--border);
	border-radius: 50%;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.icon-link:hover {
	border-color: var(--red);
	color: var(--red);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle span {
	width: 24px;
	height: 2px;
	background: var(--white);
}

/* Hero */

.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 76px;
	position: relative;
	background:
		linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.95) 85%),
		repeating-linear-gradient(115deg, rgba(226,0,26,0.06) 0px, rgba(226,0,26,0.06) 2px, transparent 2px, transparent 140px),
		radial-gradient(circle at 20% 20%, rgba(226,0,26,0.15), transparent 45%),
		#0a0a0a;
}

.hero .container {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.hero-tag {
	display: inline-block;
	font-family: var(--font-title);
	color: var(--red);
	border: 1px solid var(--red);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
}

.hero h1 {
	font-size: clamp(2.6rem, 6vw, 4.5rem);
	margin-bottom: 20px;
}

.hero h1 span {
	color: var(--red);
}

.hero .lead {
	font-size: 1.15rem;
	color: var(--gray-light);
	max-width: 480px;
	margin-bottom: 12px;
}

.hero .lead strong {
	color: var(--white);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

.hero-visual {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}

/* Inauguração banner */

.inauguracao {
	display: flex;
	align-items: center;
	gap: 24px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-left: 4px solid var(--red);
	border-radius: 8px;
	padding: 20px 24px;
	margin-top: 36px;
	max-width: 560px;
}

.inauguracao .data {
	font-family: var(--font-title);
	font-size: 2.2rem;
	color: var(--red);
	line-height: 1;
	white-space: nowrap;
}

.inauguracao .data small {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: var(--gray);
	text-transform: uppercase;
	margin-top: 4px;
}

.inauguracao p {
	font-size: 0.95rem;
	color: var(--gray-light);
}

/* Sobre */

.sobre .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.sobre blockquote {
	font-family: var(--font-title);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	text-transform: none;
	line-height: 1.25;
	border-left: 4px solid var(--red);
	padding-left: 24px;
	margin-bottom: 24px;
}

.sobre p {
	color: var(--gray-light);
	margin-bottom: 16px;
}

.sobre-visual img {
	border-radius: 12px;
	border: 1px solid var(--border);
}

.stat-row {
	display: flex;
	gap: 40px;
	margin-top: 32px;
}

.stat-row .stat strong {
	display: block;
	font-family: var(--font-title);
	font-size: 2.2rem;
	color: var(--red);
}

.stat-row .stat span {
	color: var(--gray);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Formatos Hyrox */

.formatos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}

.formato-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 32px 28px;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.formato-card:hover {
	border-color: var(--red);
	transform: translateY(-4px);
}

.formato-card .tag {
	display: inline-block;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--red);
	border: 1px solid var(--red-dark);
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.formato-card h3 {
	font-size: 1.6rem;
	margin-bottom: 12px;
}

.formato-card p {
	color: var(--gray-light);
	font-size: 0.95rem;
}

.open-pro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.open-pro .box {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 28px;
}

.open-pro .box.pro {
	border-color: var(--red-dark);
}

.open-pro h4 {
	font-size: 1.15rem;
	color: var(--red);
	margin-bottom: 10px;
}

.open-pro p {
	color: var(--gray-light);
	font-size: 0.92rem;
}

/* Planos */

.planos-table-wrap {
	position: relative;
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: 10px;
	margin-bottom: 12px;
}

.scroll-hint {
	display: none;
	text-align: center;
	color: var(--gray);
	font-size: 0.78rem;
	margin-bottom: 28px;
}

table.planos {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

table.planos th, table.planos td {
	padding: 16px 20px;
	text-align: center;
	border-bottom: 1px solid var(--border);
	font-size: 0.92rem;
}

table.planos thead th {
	background: var(--red);
	font-family: var(--font-title);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--white);
	font-size: 0.85rem;
}

table.planos tbody th {
	text-align: left;
	font-family: var(--font-title);
	background: var(--bg-card);
	white-space: nowrap;
}

table.planos tbody th small {
	display: block;
	font-family: var(--font-body);
	color: var(--gray);
	font-weight: 400;
	text-transform: none;
}

table.planos tbody tr:last-child td,
table.planos tbody tr:last-child th {
	border-bottom: none;
}

.planos-extra {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.fidelidade, .fundador {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 28px;
}

.fundador {
	border-color: var(--red);
	background: linear-gradient(135deg, rgba(226,0,26,0.12), rgba(226,0,26,0.02));
}

.fidelidade h4, .fundador h4 {
	font-size: 1.1rem;
	margin-bottom: 16px;
	color: var(--white);
}

.fidelidade ul li, .fundador ul li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	color: var(--gray-light);
	font-size: 0.92rem;
}

.fidelidade ul li:last-child, .fundador ul li:last-child {
	border-bottom: none;
}

.fidelidade ul li span:last-child {
	color: var(--red);
	font-family: var(--font-title);
}

.fundador .price {
	font-family: var(--font-title);
	font-size: 2.4rem;
	color: var(--red);
	margin: 12px 0;
}

.fundador .price small {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--gray);
}

/* Horarios */

.horarios-placeholder {
	text-align: center;
	background: var(--bg-card);
	border: 1px dashed var(--border);
	border-radius: 10px;
	padding: 56px 24px;
	max-width: 560px;
	margin: 0 auto;
}

.horarios-placeholder .icon {
	font-size: 2.4rem;
	margin-bottom: 16px;
}

.horarios-placeholder h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.horarios-placeholder p {
	color: var(--gray);
}

/* Localização */

.localizacao .container {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: stretch;
}

.localizacao-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}

.info-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.info-item .ico {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--bg-card);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red);
	font-size: 1.1rem;
}

.info-item strong {
	display: block;
	margin-bottom: 4px;
}

.info-item span, .info-item a {
	color: var(--gray-light);
	font-size: 0.95rem;
}

.map-frame {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--border);
	min-height: 360px;
}

.map-frame iframe {
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
	filter: grayscale(0.4) invert(0.92) contrast(0.9);
}

/* Footer */

.footer {
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	padding: 56px 0 28px;
}

.footer .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.footer-brand img {
	height: 44px;
	width: 44px;
	object-fit: cover;
	border-radius: 6px;
}

.footer-tagline {
	color: var(--gray);
	font-size: 0.85rem;
}

.footer-social {
	display: flex;
	gap: 14px;
}

.footer-bottom {
	text-align: center;
	color: var(--gray);
	font-size: 0.8rem;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

/* Responsivo */

@media (max-width: 900px) {
	.hero .container,
	.sobre .container,
	.localizacao .container {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		order: -1;
	}

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

	.open-pro {
		grid-template-columns: 1fr;
	}

	.planos-extra {
		grid-template-columns: 1fr;
	}

	.nav-links {
		position: fixed;
		top: 76px;
		left: 0;
		right: 0;
		background: rgba(10, 10, 10, 0.97);
		flex-direction: column;
		gap: 0;
		padding: 8px 24px 20px;
		border-bottom: 1px solid var(--border);
		transform: translateY(-120%);
		transition: transform 0.25s ease;
	}

	.nav-links.open {
		transform: translateY(0);
	}

	.nav-links a {
		padding: 14px 0;
		border-bottom: 1px solid var(--border);
	}

	.nav-toggle {
		display: flex;
	}

	.inauguracao {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	section {
		padding: 64px 0;
	}

	.stat-row {
		gap: 24px;
	}
}

@media (max-width: 520px) {
	/* Logo já traz "ZERO GYM HYROX" escrito — evita quebra de linha e header desalinhado */
	.brand-name {
		display: none;
	}

	.header-actions {
		gap: 10px;
	}

	.scroll-hint {
		display: block;
	}
}
