/* ============================================================
   Pecbol 2026 — main.css
   CSS compartilhado: paleta, reset, tipografia, nav, footer, utilitários.
   Extraído fielmente dos HTMLs v6-FINAL / atletas-listagem / atleta-perfil.
   ============================================================ */

:root {
	--bg:          #F5F2EC;
	--bg-alt:      #EDE9E0;
	--paper:       #FDFBF6;
	--ink:         #0A0A0A;
	--ink-soft:    #2A2A28;
	--ink-mute:    #6B6760;
	--brand:       #0092BC;
	--brand-deep:  #003E50;
	--brand-navy:  #012836;
	--brand-light: #4FB8D4;
	--brand-glow:  #B8E4F0;
	--red:         #C73E1D;
	--green-ok:    #1A6B43;
	--line:        rgba(10,10,10,0.12);

	/* Largura máxima dos containers principais (nav, hero, sections, footer).
	   Estava 1400px hardcoded em ~25 lugares — em monitores largos (2K+/4K)
	   ficava muito gray bar lateral. 1700px é o sweet spot. */
	--container-max: 1700px;
	--nav-h: 76px;

	/* Fundo PADRÃO atrás das fotos transparentes dos atletas (mesma vibe da hero
	   da home: estádio + leve tom da marca). Centralizado aqui e usado em todos os
	   cards de atleta do site (hero, slider de destaques, página de atletas,
	   relacionados). url() resolve relativo a este arquivo (assets/css/). */
	--athlete-photo-bg:
		linear-gradient(135deg, rgba(0,146,188,0.40) 0%, rgba(0,62,80,0.60) 60%, rgba(1,40,54,0.75) 100%),
		url('../img/bg/hero.jpg');
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: 'Inter Tight', -apple-system, sans-serif;
	background: var(--bg);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(0,146,188,0.04) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(0,62,80,0.04) 0%, transparent 50%);
}
/* Paper grain texture (no body) */
body::before {
	content: '';
	position: fixed; inset: 0;
	background-image:
		repeating-linear-gradient(0deg,  rgba(0,0,0,0.008) 0px, transparent 1px, transparent 2px),
		repeating-linear-gradient(90deg, rgba(0,0,0,0.008) 0px, transparent 1px, transparent 2px);
	pointer-events: none; z-index: 1; mix-blend-mode: multiply;
}

img, picture, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

.serif { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; }
.mono-num { font-family: 'Archivo', sans-serif; font-weight: 900; font-variant-numeric: tabular-nums; }

/* Acessibilidade */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 20px; left: 20px;
	background: var(--ink); color: var(--bg);
	padding: 10px 16px; border-radius: 4px;
	z-index: 9999; clip: auto; width: auto; height: auto;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ==========================================================
   NAV (sticky, blur, presente em TODAS as páginas)
   ========================================================== */
.site-nav, nav.topnav {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	/* O glass (fundo + blur) vai num ::before. Se o backdrop-filter ficar na
	   PRÓPRIA barra, ela vira containing-block de position:fixed e prende o
	   menu mobile (.nav-links) no topo em vez de cobrir a viewport inteira. */
}
/* Logado: a admin bar do WP (fixed, 32px) cobriria o nav sticky.
   Empurra o nav pra baixo dela. Só afeta quem está logado (.admin-bar). */
.admin-bar .site-nav, .admin-bar nav.topnav { top: 32px; }
/* 601–782px: a admin bar continua fixed, porém com 46px. */
@media screen and (min-width: 601px) and (max-width: 782px) {
	.admin-bar .site-nav, .admin-bar nav.topnav { top: 46px; }
}
/* ≤600px: a admin bar vira position:absolute e rola junto (some no scroll),
   então o nav fica no topo normal — sem offset, senão sobraria um buraco. */
@media screen and (max-width: 600px) {
	.admin-bar .site-nav, .admin-bar nav.topnav { top: 0; }
}
.site-nav::before, nav.topnav::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	z-index: -1;
	pointer-events: none;
}
.nav-inner {
	max-width: var(--container-max); margin: 0 auto;
	padding: 11px 40px; /* ~80% do padding original (18px) */
	display: flex; align-items: center; justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-svg, .logo-wrap svg { width: 94px; height: auto; display: block; } /* 80% de 118px */
.logo-tag {
	font-family: 'Inter Tight', sans-serif;
	font-size: 9px; font-weight: 600;
	color: var(--ink); letter-spacing: 0.1em; text-transform: uppercase;
	padding-left: 14px;
	border-left: 1px solid rgba(10,10,10,0.25);
	line-height: 1.35;
	white-space: nowrap;   /* mantém cada linha inteira (não quebra a credencial em 3 linhas) */
}
.nav-links {
	display: flex; gap: 36px; align-items: center; list-style: none;
	margin-left: auto; /* empurra o menu totalmente pra direita */
}
.nav-links a, .nav-links > li > a {
	color: var(--ink); text-decoration: none;
	font-size: 13px; font-weight: 500;
	letter-spacing: 0.02em;
	position: relative; padding: 4px 0;
	transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a::after {
	content: ''; position: absolute; bottom: -2px; left: 0;
	width: 0; height: 1px; background: var(--brand);
	transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.active::after { width: 100%; height: 2px; }
.nav-cta {
	background: var(--ink) !important; color: var(--bg) !important;
	padding: 10px 18px !important; border-radius: 4px;
	font-weight: 600 !important;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
.nav-cta:hover { background: var(--brand) !important; }
.nav-cta::after { display: none !important; }

.lang-select {
	display: flex; gap: 8px;
	font-size: 11px; color: var(--ink-mute);
	letter-spacing: 0.1em;
}
.lang-select span, .lang-select a { cursor: pointer; padding: 4px 6px; color: var(--ink-mute); text-decoration: none; }
.lang-select .active, .lang-select a.active { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	flex-direction: column; align-items: center; justify-content: center;
	gap: 5px;
}
.nav-toggle span {
	width: 22px; height: 2px;
	background: var(--ink);
	border-radius: 2px;
	/* snap em pixel cheio: evita o 3º traço renderizar "mais grosso" por sub-pixel */
	transform: translateZ(0);
	backface-visibility: hidden;
	transition: transform 0.25s;
}

/* ==========================================================
   BUTTONS (compartilhados — vários estilos)
   ========================================================== */
.btn-primary {
	background: var(--brand); color: #fff;
	padding: 16px 28px; border-radius: 999px;
	font-weight: 600; font-size: 14px;
	text-decoration: none;
	display: inline-flex; align-items: center; gap: 10px;
	transition: all 0.3s;
	border: 1px solid var(--brand);
	box-shadow: 0 12px 30px -8px rgba(0,146,188,0.5);
}
.btn-primary:hover {
	background: #fff; color: var(--brand-deep); border-color: #fff;
	transform: translateY(-2px);
}
.btn-secondary {
	background: transparent; color: #fff;
	padding: 16px 28px; border-radius: 999px;
	font-weight: 600; font-size: 14px;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.5);
	display: inline-flex; align-items: center; gap: 10px;
	transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-ink {
	background: var(--ink); color: var(--bg);
	padding: 16px 26px; border-radius: 999px;
	font-weight: 600; font-size: 13px;
	text-decoration: none;
	display: inline-flex; align-items: center; gap: 10px;
	transition: all 0.3s; border: 1px solid var(--ink);
	letter-spacing: 0.03em;
}
.btn-ink:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-outline {
	background: transparent; color: var(--ink);
	padding: 16px 26px; border-radius: 999px;
	font-weight: 600; font-size: 13px;
	text-decoration: none; border: 1px solid var(--ink);
	display: inline-flex; align-items: center; gap: 10px;
	transition: all 0.3s; letter-spacing: 0.03em;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-brand {
	background: var(--brand); color: #fff;
	padding: 18px 28px; border-radius: 999px;
	font-weight: 700; font-size: 14px;
	text-decoration: none;
	display: inline-flex; align-items: center; gap: 12px;
	transition: all 0.3s;
	letter-spacing: 0.02em;
}
.btn-brand:hover {
	background: #fff; color: var(--brand-deep);
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -10px rgba(0,146,188,0.5);
}
.btn-fill-brand {
	background: var(--brand); color: #fff;
	padding: 16px 24px; border-radius: 999px;
	font-weight: 700; font-size: 14px;
	text-decoration: none;
	display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
	transition: all 0.3s;
}
.btn-fill-brand:hover { background: #fff; color: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost {
	background: transparent; color: #fff;
	padding: 16px 24px; border-radius: 999px;
	font-weight: 600; font-size: 14px;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.3);
	display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
	transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-white {
	background: transparent; color: #fff;
	padding: 18px 28px; border-radius: 999px;
	font-weight: 600; font-size: 14px;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.4);
	display: inline-flex; align-items: center; gap: 12px;
	transition: all 0.3s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Botão "voltar" */
.read-more, .back-link {
	font-size: 13px; font-weight: 600;
	color: var(--ink); text-decoration: none;
	letter-spacing: 0.08em; text-transform: uppercase;
	display: inline-flex; align-items: center; gap: 8px;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 3px;
}
.read-more:hover, .back-link:hover { color: var(--brand); border-color: var(--brand); }

.breadcrumb-actions {
	display: flex; align-items: center; gap: 16px;
}
.breadcrumb-news-link {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: #fff; text-decoration: none;
	background: var(--brand); border-radius: 999px;
	padding: 8px 16px;
	transition: background 0.2s, transform 0.2s;
}
.breadcrumb-news-link:hover { background: var(--brand-deep); transform: translateY(-1px); }

/* ==========================================================
   SECTION HELPERS (compartilhados)
   ========================================================== */
.section-label {
	font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--ink-mute); font-weight: 600;
	display: flex; align-items: center; gap: 12px;
	margin-bottom: 40px;
}
.section-label::before { content: ''; width: 40px; height: 1px; background: var(--ink); }

.section-title {
	font-family: 'Fraunces', serif;
	font-weight: 500;
	font-size: clamp(42px, 6vw, 84px);
	line-height: 0.95;
	letter-spacing: -0.03em;
}
.section-title em { font-style: italic; color: var(--brand); font-weight: 400; }

.section-head {
	display: flex; justify-content: space-between; align-items: flex-end;
	margin-bottom: 48px;
}
.section-link {
	font-size: 13px; font-weight: 600;
	color: var(--ink); text-decoration: none;
	letter-spacing: 0.08em; text-transform: uppercase;
	display: inline-flex; align-items: center; gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--ink);
}
.section-link:hover { color: var(--brand); border-color: var(--brand); }

/* ==========================================================
   PAGINAÇÃO "ESTEIRA" (fisheye por hover) — compartilhada
   Todos os números numa faixa: centro maior, pontas menores
   (alinhados pela base). O tamanho fluido + deslocamento por
   zona de hover ficam em main.js (data-smart-pagination).
   Sem JS: faixa rolável horizontal (overflow-x).
   ========================================================== */
.smart-pagination {
	position: relative;
	width: 100%;
	max-width: 760px;
	height: 64px;
	margin: 56px auto 8px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	user-select: none;
	touch-action: pan-y;
}
.smart-pagination.is-dragging { cursor: grabbing; }
.sp-track {
	position: absolute;
	left: 0; bottom: 12px;
	display: flex;
	align-items: flex-end;
	gap: 26px;
	white-space: nowrap;
	will-change: transform;
}
.smart-pagination .page-numbers {
	display: inline-block;
	flex: 0 0 auto;
	font-family: 'Inter Tight', -apple-system, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--ink-mute, #8a8478);
	text-decoration: none;
	transform-origin: bottom center;
	cursor: pointer;
	transition: color .25s ease;
}
.smart-pagination a.page-numbers:hover { color: var(--brand); }
.smart-pagination .page-numbers.current { color: var(--ink, #1a1a1a); font-weight: 700; }
.smart-pagination .page-numbers.dots { display: none; }

/* ==========================================================
   SKELETON de carregamento (paginação AJAX) — quadradinho
   cinza com um degradê passando ao fundo (shimmer).
   .pag-skel--card = 4/5 (atleta) · .pag-skel--news = 16/9 + linha
   ========================================================== */
.pag-skel--card,
.pag-skel-fill,
.pag-skel-bar {
	position: relative;
	overflow: hidden;
	background: #e7e4dd;
	border-radius: 6px;
}
.pag-skel--card::after,
.pag-skel-fill::after,
.pag-skel-bar::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.65) 50%, transparent 80%);
	transform: translateX(-100%);
	animation: pag-skel-shimmer 1.3s ease-in-out infinite;
}
@keyframes pag-skel-shimmer { 100% { transform: translateX(100%); } }
.pag-skel--card { aspect-ratio: 4 / 5; }

/* Skeleton de notícia/tag: reutiliza a casca real do card (.bio-news-card /
   .news-card) → mesma altura, por isso a página não "pula" quando os dados chegam. */
.pag-skel-news,
.pag-skel-noticia { pointer-events: none; }
.pag-skel-news .pag-skel-fill,
.pag-skel-noticia .pag-skel-fill { position: absolute; inset: 0; border-radius: 0; }
.pag-skel-bar { display: block; height: 11px; border-radius: 3px; }
.pag-skel-bar--cat { width: 38%; height: 8px; margin-bottom: 10px; }
.pag-skel-bar + .pag-skel-bar { margin-top: 7px; }
.pag-skel-bar--text { height: 9px; }
.pag-skel-bar--w70 { width: 70%; }
.pag-skel-bar--w80 { width: 80%; }
.pag-skel-bar--w60 { width: 60%; }
@media (prefers-reduced-motion: reduce) {
	.pag-skel--card::after, .pag-skel-fill::after, .pag-skel-bar::after { animation: none; }
}

/* Breadcrumb (perfil + listagem) */
.breadcrumb-bar {
	max-width: var(--container-max); margin: 0 auto;
	padding: 32px 40px 16px;
	display: flex; justify-content: space-between; align-items: center;
}
.breadcrumb {
	display: flex; gap: 8px; align-items: center;
	font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--ink-mute); font-weight: 500;
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* Flag pequena (compartilhada) */
.flag {
	display: inline-block;
	width: 16px; height: 11px;
	border-radius: 1px;
	background-size: cover; background-position: center;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
	vertical-align: middle;
}

/* Bandeirinha UE (canto da foto) — bandeira real da União Europeia (mesma usada nos .pp-badge.pp-eu) */
.flag-ue {
	position: absolute;
	top: 12px; left: 12px;
	width: 28px; height: 28px;
	background-color: #003399;
	background-image: url('https://flagcdn.com/w80/eu.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	z-index: 4;
	transition:
		transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
		box-shadow 0.45s,
		border-color 0.45s;
}

/* Container de passaportes (canto superior do card) */
.card-passaportes {
	position: absolute;
	top: 12px; left: 12px;
	display: flex;
	gap: 6px;
	z-index: 5;
}
.card-passaportes .pp-badge {
	position: relative;
	display: inline-block;
	width: 34px; height: 34px;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	flex-shrink: 0;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
/* O círculo INTEIRO é a bandeira UE — sem container branco, sem <img> dentro */
.card-passaportes .pp-badge.pp-eu {
	background-color: #003399;
	background-image: url('https://flagcdn.com/w80/eu.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

/* Pulse contínuo no badge UE — o próprio círculo cresce sutilmente e
   ganha borda dourada nos picos. Sem anéis externos. */
.card-passaportes .pp-badge.pp-eu {
	animation: pp-eu-pulse 2.4s ease-in-out infinite;
}
/* Pulse só no BRILHO (borda dourada + halo) — NÃO mexe no transform, pra não
   conflitar/saltar com o scale do hover. */
@keyframes pp-eu-pulse {
	0%, 100% {
		border-color: rgba(255, 255, 255, 0.85);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	}
	50% {
		border-color: #FFCC00;
		box-shadow:
			0 4px 12px rgba(0, 0, 0, 0.4),
			0 0 0 3px rgba(255, 204, 0, 0.3);
	}
}
/* Hover do card: pausa o pulse e aplica o efeito de destaque. */
.athlete-card:hover .card-passaportes .pp-badge.pp-eu,
.frame-slot:hover .card-passaportes .pp-badge.pp-eu {
	animation: none;
}
@media (prefers-reduced-motion: reduce) {
	.card-passaportes .pp-badge.pp-eu {
		animation: none;
	}
}
/* HOVER no card: badge UE ganha destaque (cresce + glow azul) */
.athlete-card:hover .card-passaportes .pp-badge.pp-eu,
.frame-slot:hover .card-passaportes .pp-badge.pp-eu {
	transform: scale(1.35) rotate(-6deg);
	box-shadow:
		0 0 0 4px rgba(184, 228, 240, 0.35),
		0 8px 24px rgba(0, 51, 153, 0.55),
		0 2px 8px rgba(0, 0, 0, 0.3);
	border-color: #FFCC00;
	z-index: 10;
}

/* Bandeira inline na frase "país clube" embaixo do nome */
.card-flag {
	width: 22px; height: auto;
	display: inline-block;
	vertical-align: middle;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
	margin-right: 8px;
	flex-shrink: 0;
}

/* Badge de seleção (canto oposto) */
.selecao-badge {
	position: absolute;
	top: 12px; right: 12px;
	display: inline-flex; align-items: center; gap: 6px;
	white-space: nowrap; flex-wrap: nowrap;
	background: var(--red); color: #fff;
	padding: 4px 10px; border-radius: 999px;
	font-size: 10px; font-weight: 700;
	letter-spacing: 0.1em; text-transform: uppercase;
	z-index: 4;
}
/* Bandeira dentro de qualquer badge/tag (centralizado p/ listagem + perfil) */
.tag-flag { width: 16px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); display: block; flex-shrink: 0; }
.selecao-badge .tag-flag { width: 15px; }
/* Seleção brasileira — verde canarinho, letra amarela, pulso discreto */
.selecao-badge.is-brasil {
	background: #009739 !important;
	color: #FFDF00;
	animation: selecao-pulse 2.8s ease-in-out infinite;
}
@keyframes selecao-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(0, 151, 57, 0.50); }
	50%      { box-shadow: 0 0 0 8px rgba(0, 151, 57, 0); }
}
/* Copa do Mundo — dourado metálico com brilho varrendo */
.selecao-badge.is-copa {
	background: linear-gradient(135deg, #b8870c 0%, #e8c040 50%, #b8870c 100%) !important;
	background-size: 200% 200%;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,0.40);
	animation: copa-shine 3s ease-in-out infinite, selecao-pulse-copa 2.8s ease-in-out infinite;
}
@keyframes copa-shine {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}
@keyframes selecao-pulse-copa {
	0%, 100% { box-shadow: 0 0 0 0 rgba(200, 160, 30, 0.60); }
	50%      { box-shadow: 0 0 0 8px rgba(200, 160, 30, 0); }
}

/* ==========================================================
   FOOTER (compartilhado nas 3 páginas — versão rica do v6)
   ========================================================== */
.site-footer, footer.site-footer {
	background: #1a1a1a; /* chumbo escuro */
	color: rgba(255, 255, 255, 0.85);
	padding: 80px 0 40px;
}
.footer-inner {
	max-width: var(--container-max); margin: 0 auto;
	padding: 0 40px;
}
.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .footer-logo {
	display: inline-block;
	margin-bottom: 28px;
}
.footer-brand .footer-logo svg {
	width: 180px; height: auto;
	display: block;
}
.footer-brand h4,
.footer-brand .footer-headline {
	font-family: 'Fraunces', serif;
	font-weight: 500; font-style: italic;
	font-size: 28px; line-height: 1.2;
	max-width: 340px;
	margin-bottom: 20px;
	color: #fff;
}
.footer-brand h4 em,
.footer-brand .footer-headline em {
	color: var(--brand-light, #4ec3e0);
}
.footer-brand p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	max-width: 360px;
	margin-bottom: 12px;
}
.footer-credentials {
	display: inline-block;
	font-size: 11px !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-light, #4ec3e0) !important;
	font-weight: 600;
	padding: 6px 12px;
	border: 1px solid rgba(78, 195, 224, 0.4);
	border-radius: 4px;
	margin-top: 6px;
}
.footer-col h5 {
	font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
	margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-light, #4ec3e0); }
.footer-col address {
	font-size: 14px; font-style: normal;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.7;
}
.footer-col li { color: rgba(255, 255, 255, 0.7); }
.footer-bottom {
	display: flex; justify-content: space-between;
	padding-top: 40px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}
.footer-bottom a:hover { color: var(--brand-light, #4ec3e0); }

/* ==========================================================
   ANIMATIONS (compartilhadas)
   ========================================================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

/* ==========================================================
   RESPONSIVE — base
   ========================================================== */
@media (max-width: 1024px) {

	/* ── Toggle visível ───────────────────────────────────── */
	.nav-toggle { display: flex; }
	.nav-toggle span {
		transition: transform 0.28s ease, opacity 0.28s ease;
	}
	/* Hamburger → X quando menu está aberto */
	body.nav-open .nav-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	body.nav-open .nav-toggle span:nth-child(2) {
		transform: scaleX(0);
		opacity: 0;
	}
	body.nav-open .nav-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
	/* Scroll lock do body enquanto menu está aberto */
	body.nav-open { overflow: hidden; }

	.logo-tag { display: none; }

	/* Empilhamento DENTRO da barra (.nav-links é filha do nav, então o
	   z-index dela compete aqui dentro): painel atrás, glass + logo + X na frente.
	   Sem isso o painel cobre o logo/X e não dá pra fechar. */
	.topnav::before { z-index: 2; }                 /* glass da barra acima do painel */
	.logo-wrap, .nav-toggle { position: relative; z-index: 3; } /* logo + X sempre por cima */

	/* ── Menu mobile: dropdown translúcido que desce ABAIXO da barra ──
	   Não é tela cheia: desce por trás da barra do topo (z 49 < 50, então o
	   X continua visível e clicável) e tem a mesma cara glass da barra. */
	.nav-links {
		display: flex !important; /* substitui display:none do reset */
		position: fixed;
		top: 0; left: 0; right: 0;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
		/* topo recuado pra os itens começarem logo abaixo da barra */
		padding: calc(var(--nav-h) + 10px) 28px 28px;
		margin-left: 0;
		max-height: 100dvh;
		overflow-y: auto;
		/* mesmo glass da barra do topo (fundo translúcido + blur) */
		background: rgba(255, 255, 255, 0.65);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
		z-index: 1; /* atrás do glass (2) e do logo/X (3) da barra → desce por trás */
		transform: translateY(-100%); /* escondido atrás da barra/acima da viewport */
		visibility: hidden;
		transition:
			transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
			visibility 0s linear 0.4s;
	}
	.nav-links.is-open {
		transform: translateY(0);
		visibility: visible;
		transition:
			transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
			visibility 0s;
	}

	/* Links: tipografia grande, serif, itálica */
	.nav-links li {
		width: 100%;
		border-bottom: 1px solid var(--line);
	}
	.nav-links li:last-child { border-bottom: none; }
	.nav-links a,
	.nav-links > li > a {
		font-family: 'Fraunces', serif;
		font-size: clamp(28px, 7vw, 42px);
		font-weight: 400;
		font-style: italic;
		letter-spacing: -0.02em;
		color: var(--ink);
		padding: 18px 0;
		display: block;
		line-height: 1;
	}
	.nav-links a:hover { color: var(--brand); }
	.nav-links a::after { display: none !important; }
	.nav-links a.active { color: var(--brand); }

	/* CTA "Fale Conosco" — botão preenchido */
	.nav-links .nav-cta {
		display: inline-flex !important;
		margin-top: 28px;
		font-family: 'Inter Tight', sans-serif;
		font-size: 15px;
		font-style: normal;
		font-weight: 600;
		letter-spacing: 0.02em;
		padding: 14px 28px;
	}
	.nav-links .nav-cta::after { display: none !important; }

	/* Footer */
	.footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
	.nav-inner { padding: 14px 20px; }
	/* Dropdown: padding lateral menor em telas estreitas */
	.nav-links { padding: calc(var(--nav-h) + 10px) 22px 24px; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; gap: 12px; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
