@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
	--bg: #0b0d12;
	--card: #121520;
	--text: #e6e8ee;
	--muted: #aeb3c2;
	--primary: #2dd4bf;
	--secondary: #259ddd;
	--accent: #f59e0b;
	--border: #1f2430;
}

/* Tema Light - APENAS quando [data-theme="light"] */
[data-theme="light"] {
	--bg: #ffffff;
	--card: #f8fafc;
	--text: #1e293b;
	--muted: #64748b;
	--primary: #0ea5e9;
	--secondary: #3b82f6;
	--accent: #f59e0b;
	--border: #e2e8f0;
}

[data-theme="light"] body {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

[data-theme="light"] .site-header {
	/* background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%); */
	background: linear-gradient(180deg, #f2f2f2 0%, #bac9dc 100%);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(226, 232, 240, 0.6);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .map-embed {
	background: #f8fafc;
	border: 1px solid rgba(226, 232, 240, 0.8);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (min-width: 769px) {
	[data-theme="light"] .map-embed .contact-info-desktop {
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(15px);
		border: 1px solid rgba(14, 165, 233, 0.2);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	}
}

/* Header da seção de associados - aplicado em todas as telas */
.section-associado-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid var(--border);
	margin: 0 0 25px 0;
	gap: 20px;
	flex-wrap: wrap;
}

/* Garantir que o layout funcione corretamente com e sem admin bar */
body.admin-bar .section-associado-header,
body:not(.admin-bar) .section-associado-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid var(--border);
	margin: 0 0 25px 0;
	gap: 20px;
	flex-wrap: wrap;
}

body.admin-bar .associados-grid,
body:not(.admin-bar) .associados-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 20px;
}

body.admin-bar .associado-card,
body:not(.admin-bar) .associado-card {
	background: var(--card);
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: all 0.3s ease;
	border-left: 4px solid var(--border);
	border: 1px solid var(--border);
}

[data-theme="light"] .site-footer {
	/* background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); */
	background: linear-gradient(180deg, #f2f2f2 0%, #bac9dc 100%);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* Otimizações de performance para mobile */
@media (max-width: 768px) {
	/* Reduzir animações em dispositivos com baixa performance */
	* {
		animation-duration: 0.3s;
		animation-delay: 0s;
		transition-duration: 0.3s;
		transition-delay: 0s;
	}
	
	/* Otimizar rendering */
	.card, .stat, .news-item, .gallery-grid img {
		transform: translateZ(0);
		backface-visibility: hidden;
		perspective: 1000px;
	}
	
	/* Melhorar scroll performance */
	.gallery-grid, .menu {
		will-change: transform;
	}
}
body {
	margin: 0;
	font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji" ;
	background: linear-gradient(180deg, #0b0d12 0%, #0e1220 100%);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
    /* word-break: break-all; */
}
.logo, h1, h2, h3, h4, h5, h6 { font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; color: var(--primary)}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header / Nav */
.site-header {
	position: sticky; top: 0; z-index: 10;
	background: rgba(11,13,18,0.7);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 40px; width: auto; }
.logo-text { color: var(--text); font-weight: 800; letter-spacing: 0.5px; }
.logo:hover .logo-text { color: var(--primary); }
.logo:hover .logo-img { opacity: 0.8; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 8px; }

/* Theme Toggle Button */
.theme-toggle {
	background: none;
	border: 1px solid var(--border);
	color: var(--text);
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: fixed;
	right: 20px;
	top: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.theme-toggle:hover {
	background: rgba(45, 212, 191, 0.1);
	border-color: var(--primary);
	color: var(--primary);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(45, 212, 191, 0.2);
}

.theme-icon {
	font-size: 18px;
	transition: all 0.3s ease;
	position: absolute;
}

.theme-icon-light {
	opacity: 0;
	transform: rotate(180deg);
}

.theme-icon-dark {
	opacity: 1;
	transform: rotate(0deg);
}

/* Light theme styles */
[data-theme="light"] .theme-icon-light {
	opacity: 1;
	transform: rotate(0deg);
}

[data-theme="light"] .theme-icon-dark {
	opacity: 0;
	transform: rotate(-180deg);
}


.menu { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.menu a { color: var(--text); text-decoration: none; opacity: 0.9; }
.menu .active a, .menu a:hover { color: var(--primary); }

/* Hero */
.hero { padding: 72px 0 36px; border-bottom: 1px solid var(--border); height: 550px; position: relative;}
.hero .container { position: relative; z-index: 2; }
.hero-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Hero Backgrounds - Tema Escuro e Claro */
.hero-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: linear-gradient(180deg, rgba(11,13,18,0.45), rgba(11,13,18,0.85)), var(--hero-bg-dark, url('../img/portfolio/portfolio-035.png'));
	transition: background-image 0.5s ease;
}

[data-theme="light"] {

	.hero {
		background: linear-gradient(135deg, rgba(45, 212, 191, 0.05), rgba(37, 157, 221, 0.05));
	}

/* Mostrar banner claro quando tema light estiver ativo */
	.hero-bg {
		background-image: linear-gradient(180deg, rgb(255 255 255 / 30%), rgb(0 0 0 / 70%)), var(--hero-bg-light, url('../img/portfolio/portfolio-020.png'));
	}

/* Melhorar visibilidade dos textos no tema light */
	.hero h1 {
		color: #006796;
        text-shadow: 0 2px 4px #16b6fe;
		font-weight: 800;
	}

	.hero.hero-bg p {
		color: #ffffff;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(14, 165, 233, 0.6);
		font-weight: 600;
	}

	.hero p {
		color: #989898;
        text-shadow: 0 0px 2px #16b6fe;
		font-weight: 600;
	}
	
	.hero .button,
	.hero .link {
		background: rgba(14, 165, 233, 0.9);
		color: white;
		border-color: #0ea5e9;
		box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
		font-weight: 600;
	}

	.hero .button:hover,
	.hero .link:hover {
		background: #0284c7;
		border-color: #0284c7;
		transform: translateX(4px);
		box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
	}
}
.hero h1 { font-size: clamp(28px, 4vw, 48px); margin: 0 0 12px; min-height: 120px; text-transform: uppercase;     min-height: 25vh; text-shadow: 0 2px 3px #fff}
.hero p { color: var(--muted); font-size: 18px;  }
.hero-cta { margin-top: 18px; display: flex; gap: 12px; }
.hero a.button{	color: #fff;}
/* Botões padronizados */
.button, .link { 
	display: inline-block; 
	padding: 12px 20px; 
	border-radius: 8px; 
	border: 1px solid var(--border); 
	color: var(--text); 
	text-decoration: none; 
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.02);
}
.button:hover, .link:hover { 
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.button.primary { 
	background: var(--primary); 
	color: #0b0d12; 
	font-weight: 700; 
	border-color: var(--primary);
}
.button.primary:hover {
	background: #20b5a3;
	border-color: #20b5a3;
	transform: translateX(4px);
}
.button.secondary {
	background: var(--secondary);
	color: white;
	border-color: var(--secondary);
}
.button.secondary:hover {
	background: #1e7bb8;
	border-color: #1e7bb8;
	transform: translateX(4px);
}

/* Cards / Featured */
.featured h2 {
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 40px;
	color: var(--text);
}

/* Atividade Horários */
.atividade-horarios {
	padding: 20px;
	border-radius: 8px;
	margin: 20px 0;
	border-left: 4px solid #007cba;
}

.atividade-horarios h3 {
	margin-top: 0;
	color: #007cba;
	margin-bottom: 3px;
	font-weight: 700;
}

/* Atividade Info (cards na home) */
.atividade-info {
	margin-top: 10px;
	font-size: 0.9em;
	color: #aeb3c2;
}

/* About Highlight Section */
.about-highlight {
	padding: 60px 0;
	background: linear-gradient(135deg, rgba(45, 212, 191, 0.05), rgba(37, 157, 221, 0.05));
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 40px;
}

.about-text h2 {
	color: var(--primary);
	margin-bottom: 20px;
}

.about-text p {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 24px;
	color: var(--muted);
}

.about-image {
	display: flex;
	justify-content: center;
}

.about-image .photo-slot {
	width: 100%;
	max-width: 400px;
	height: 300px;
	border-radius: 12px;
}

.keylines {
	list-style: none;
	padding: 0;
	margin: 0;
}

.keylines li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
}

.keylines li:before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

/* Responsividade para About Highlight */
@media (max-width: 768px) {
	.about-content {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}
	
	.about-text p {
		font-size: 16px;
	}
	
	.about-image .photo-slot {
		height: 250px;
	}
}

/* Lightbox Styles */
.amama-lightbox {
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
	display: block;
	text-decoration: none;
}

.amama-lightbox:hover {
	transform: scale(1.02);
	opacity: 0.9;
}

/* Garantir que o lightbox funcione no carrossel */
body.home .gallery-grid .amama-lightbox {
	position: relative;
	z-index: 1;
}

body.home .gallery-grid .amama-lightbox:hover {
	z-index: 2;
}

.amama-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(5px);
}

.amama-lightbox-overlay img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
	object-fit: contain;
}

.amama-lightbox-overlay::before {
	content: "×";
	position: absolute;
	top: 20px;
	right: 30px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10000;
	transition: opacity 0.2s ease;
}

.amama-lightbox-overlay:hover::before {
	opacity: 0.8;
}

/* Responsividade do Lightbox */
@media (max-width: 768px) {
	.amama-lightbox-overlay img {
		max-width: 95vw;
		max-height: 85vh;
	}
	
	.amama-lightbox-overlay::before {
		top: 15px;
		right: 20px;
		font-size: 30px;
	}
}

.atividade-horarios p {
    margin: 0;
}


.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; position: relative; overflow: hidden; }
.card h3 { margin-top: 0; }
.card-image {
	width: 100%;
	height: 200px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 8px;
	margin-bottom: 16px;
}

/* Gallery */
.gallery { padding: 10px 0 36px; border-top: 1px solid var(--border); }
.gallery h2 { margin: 8px 0 12px; font-size: 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-grid img { 
	width: 100%; 
	height: 220px; 
	object-fit: cover; 
	border-radius: 12px; 
	border: 1px solid var(--border); 
	background: #0e1320; 
	transition: transform 0.2s ease, opacity 0.2s ease;
	will-change: transform;
}
.gallery-grid img:hover {
	transform: scale(1.02);
	opacity: 0.9;
}
.gallery-note { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* Gallery na Home - Carrossel em TODAS as telas (Desktop + Mobile) */
body.home .gallery {
	position: relative;
}

body.home .gallery-grid {
	display: flex;
	grid-template-columns: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 16px;
	padding: 0 0 20px 0;
	margin: 0 -10px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
	scroll-behavior: smooth;
}

/* Setas de navegação para desktop */
body.home .gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(11, 13, 18, 0.9);
	border: 1px solid var(--border);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	color: var(--text);
	font-size: 20px;
	font-weight: bold;
}

body.home .gallery-nav:hover:not(:disabled) {
	background: var(--primary);
	color: #0b0d12;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

body.home .gallery-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	background: rgba(11, 13, 18, 0.5);
}

body.home .gallery-nav:disabled:hover {
	transform: translateY(-50%);
	box-shadow: none;
}

body.home .gallery-nav.prev {
	left: 10px;
}

body.home .gallery-nav.next {
	right: 10px;
}

/* Esconder setas no mobile */
@media (max-width: 768px) {
	body.home .gallery-nav {
		display: none;
	}
}

body.home .gallery-grid::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

body.home .gallery-grid img {
	scroll-snap-align: center;
	min-width: 300px;
	width: auto;
	height: 220px;
	border-radius: 12px;
	flex-shrink: 0;
	object-fit: cover;
	background: #0e1320;
	transition: transform 0.3s ease, opacity 0.3s ease;
	cursor: pointer;
}

body.home .gallery-grid img:hover {
	transform: scale(1.05);
	opacity: 0.9;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.home .gallery-grid img:active {
	transform: scale(0.98);
}

/* Indicador de carrossel para a galeria da home */
body.home .gallery::after {
	content: "← Deslize para ver mais imagens →";
	display: block;
	text-align: center;
	color: var(--muted);
	font-size: 14px;
	margin-top: 15px;
	opacity: 0.7;
	font-style: italic;
}

/* Ajustes específicos para mobile na home */
@media (max-width: 768px) {
	body.home .gallery-grid {
		gap: 12px;
		padding: 0 0 16px 0;
	}
	
	body.home .gallery-grid img {
		min-width: 80%;
		height: 200px;
		border-radius: 8px;
	}
	
	body.home .gallery-grid img:hover {
		transform: scale(1.02);
		box-shadow: none;
	}
}

/* Impact */
.impact { padding: 24px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats.page { padding: 32px 0 60px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; }
.stat strong { font-size: 28px; color: var(--accent); display: block; }
.stat span { color: var(--muted); }

/* Page sections */
.page-hero { padding: 48px 0 16px; border-bottom: 1px solid var(--border); }
.content { padding: 0 0 36px; }
.keylines { padding-left: 18px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.member { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px;display: flex; gap: 1rem; }
.member-photo { margin-bottom: 12px;  }
.member-photo img { width: 10rem; height: 200px; object-fit: cover; border-radius: 8px;  }
.member-info h3 { margin: 0 0 8px; color: var(--text); }
.member-role { color: var(--primary); font-weight: 600; margin: 0 0 8px; }
.member-bio { color: var(--muted); margin: 0; line-height: 1.5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }

/* Contact Info */
.contact-info {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Controle de visibilidade para desktop e mobile */
.contact-info-desktop {
	display: block;
	margin-top: 20px;
}

.contact-info-mobile {
	display: none;
}

/* Estilos específicos para contact-info dentro do map-embed */
.map-embed {
	position: relative;
}

.map-embed .contact-info-desktop {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: rgba(18, 21, 32, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(45, 212, 191, 0.3);
	padding: 16px;
	margin-top: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.map-embed .contact-info-desktop::before {
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	height: 2px;
}

/* Grid de redes sociais */
.contact-social-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	justify-items: center;
}

.contact-social-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: rgba(45, 212, 191, 0.1);
	border: 2px solid rgba(45, 212, 191, 0.3);
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	overflow: visible;
	padding: 0;
	margin: 0;
}

.contact-social-item:hover {
	background: rgba(45, 212, 191, 0.2);
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

.contact-social-item:active {
	transform: translateY(0);
}

.contact-social-item {
	color: var(--muted);
}

.contact-social-item:hover {
	color: var(--primary);
}

.contact-social-item svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	transition: all 0.3s ease;
	display: block;
	flex-shrink: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
}

.contact-social-item:hover svg {
	transform: translate(-50%, -50%) scale(1.1);
}

.contact-icon {
	font-size: 20px;
	transition: transform 0.3s ease;
}

.contact-social-item:hover .contact-icon {
	transform: scale(1.1);
}

/* Endereço */
.contact-address {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	font-size: 12px;
	color: var(--text);
	text-align: center;
	line-height: 1.4;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid transparent;
}

.contact-address:hover {
	background: rgba(45, 212, 191, 0.1);
	border-color: rgba(45, 212, 191, 0.3);
	color: var(--primary);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(45, 212, 191, 0.2);
}

.contact-address:active {
	transform: translateY(0);
}

.contact-address .contact-icon {
	font-size: 14px;
	opacity: 0.8;
	transition: all 0.3s ease;
}

.contact-address:hover .contact-icon {
	opacity: 1;
	transform: scale(1.1);
}


.contact-info h3 {
	margin: 0 0 20px;
	color: var(--primary);
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact-info h3::before {
	content: '📞';
	font-size: 18px;
}

.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.contact-info li {
	margin: 12px 0;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 8px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.contact-info li::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.1), transparent);
	transition: left 0.5s ease;
}

.contact-info li:hover::before {
	left: 100%;
}

.contact-info li strong {
	color: var(--primary);
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.contact-info a {
	color: var(--text);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.contact-info a:hover {
	color: var(--primary);
	text-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}


/* Animação especial para WhatsApp */
.contact-info a[href*="wa.me"] {
	position: relative;
	animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(45, 212, 191, 0);
	}
}
.contact-form-container { 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    padding: 20px; 
    min-height: 320px; /* Mesma altura do mapa */
}

/* Estilos para formulários dentro do container */
.contact-form-container form {
    margin: 0;
}
.contact-form-container label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: var(--text); 
}
.contact-form-container input, 
.contact-form-container textarea,
.contact-form-container select { 
    width: 100%; 
    padding: 12px; 
    border-radius: 8px; 
    border: 1px solid var(--border); 
    background: rgba(255, 255, 255, 0.02); 
    color: var(--text); 
    font-size: 14px;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}
.contact-form-container input:focus, 
.contact-form-container textarea:focus,
.contact-form-container select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}
.contact-form-container button[type="submit"],
.contact-form-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form-container button[type="submit"]:hover:not(:disabled),
.contact-form-container input[type="submit"]:hover:not(:disabled) {
    background: var(--primary-dark);
}
.contact-form-container button[type="submit"]:disabled,
.contact-form-container input[type="submit"]:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Estilos para Contact Form 7 */
.contact-form-container .wpcf7-form {
    margin: 0;
}
.contact-form-container .wpcf7-form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-size: 14px;
    margin-bottom: 15px;
}
.contact-form-container .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}
.contact-form-container .wpcf7-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form-container .wpcf7-submit:hover {
    background: var(--primary-dark);
}

.map-embed { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #0e1320; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Two columns layout */
.layout-2col { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.side-nav { position: sticky; top: 76px; height: max-content; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.anchor-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.anchor-list a { color: var(--muted); text-decoration: none; display: block; padding: 6px 8px; border-radius: 8px; }
.anchor-list a:hover { color: var(--primary); background: #0b0f1a; }
.page-sections h2 { margin-top: 0; }
.page-sections section { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; }

/* Photo slots - definição removida, movida para baixo */
.photo-slot::after { content: attr(data-hint); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* Lists (projects/partners) */
.thumb-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.thumb-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.thumb-card h3 { margin: 8px 0 6px; min-height: 60px; }
.thumb-card p { margin: 0 0 8px; color: var(--muted); }
/* Links específicos mantêm cor secundária */
.thumb-card .link { color: var(--secondary); width: 100%;}

/* Photo slots */
.photo-slot { border: 2px dashed var(--border); background: #0b0f1a; border-radius: 12px; height: 160px; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.photo-slot.with-img { border-style: solid; background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Banner principal das singles - apenas nas páginas de single específicas */
.single-atividade main .photo-slot.with-img:not(.amama-lightbox),
.single-projeto main .photo-slot.with-img:not(.amama-lightbox),
.single-parceiro main .photo-slot.with-img:not(.amama-lightbox),
.single-noticia main .photo-slot.with-img:not(.amama-lightbox),
.single-evento main .photo-slot.with-img:not(.amama-lightbox) {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	border-radius: 0;
	height: 300px;
}

/* Responsividade para mobile - banner principal das singles */
@media (max-width: 768px) {
	.single-atividade main .photo-slot.with-img:not(.amama-lightbox),
	.single-projeto main .photo-slot.with-img:not(.amama-lightbox),
	.single-parceiro main .photo-slot.with-img:not(.amama-lightbox),
	.single-noticia main .photo-slot.with-img:not(.amama-lightbox),
	.single-evento main .photo-slot.with-img:not(.amama-lightbox) {
		height: 200px;
	}
}

/* Template de parcerias - mobile: otimizações completas APENAS NO MOBILE */
@media (max-width: 768px) {
	.page-template-template-parcerias .container {
		width: 95%;
		padding: 0 10px;
		box-sizing: border-box;
	}
	
	.page-template-template-parcerias .content {
		padding: 20px 0 30px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.page-template-template-parcerias .photo-slot {
		width: 100%;
		max-width: 100%;
		height: 140px;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.page-template-template-parcerias .thumb-list {
		grid-template-columns: 1fr;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
	
	.page-template-template-parcerias .thumb-card {
		width: 100%;
		max-width: 100%;
		padding: 16px;
		margin: 0;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.page-template-template-parcerias .thumb-card h3 {
		font-size: 18px;
		line-height: 1.3;
		margin: 12px 0 8px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.page-template-template-parcerias .thumb-card p {
		font-size: 14px;
		line-height: 1.5;
		margin: 0 0 12px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.page-template-template-parcerias .thumb-card .link {
		display: block;
		text-decoration: none;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	/* Archive de atividades - mobile: layout em coluna única */
	.post-type-archive-atividade .thumb-list {
		grid-template-columns: 1fr;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
	
	.post-type-archive-atividade .thumb-card {
		width: 100%;
		max-width: 100%;
		padding: 16px;
		margin: 0;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.post-type-archive-atividade .thumb-card h3 {
		font-size: 18px;
		line-height: 1.3;
		margin: 12px 0 8px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.post-type-archive-atividade .thumb-card p {
		font-size: 14px;
		line-height: 1.5;
		margin: 0 0 12px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.post-type-archive-atividade .thumb-card .link {
		display: block;
		text-decoration: none;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	/* Archive de projetos - mobile: layout em coluna única */
	.post-type-archive-projeto .thumb-list {
		grid-template-columns: 1fr;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
	
	.post-type-archive-projeto .thumb-card {
		width: 100%;
		max-width: 100%;
		padding: 16px;
		margin: 0;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.post-type-archive-projeto .thumb-card h3 {
		font-size: 18px;
		line-height: 1.3;
		margin: 12px 0 8px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.post-type-archive-projeto .thumb-card p {
		font-size: 14px;
		line-height: 1.5;
		margin: 0 0 12px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.post-type-archive-projeto .thumb-card .link {
		display: block;
		text-decoration: none;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	/* Archive de galeria - mobile: 2 colunas */
	.post-type-archive-galeria .gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
	
	.post-type-archive-galeria .gallery-grid img {
		width: 100%;
		height: 150px;
		object-fit: cover;
		border-radius: 8px;
		border: 1px solid var(--border);
		background: #0e1320;
		transition: transform 0.2s ease;
	}
	
	.post-type-archive-galeria .gallery-grid img:active {
		transform: scale(0.98);
	}
}

.gallery-note {
	text-align: center;
	margin-top: 20px;
}
.gallery-note .link {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 8px;
	border: 2px solid var(--primary);
	color: var(--primary);
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s ease;
	background: rgba(45, 212, 191, 0.1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
}
.gallery-note .link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.2), transparent);
	transition: left 0.5s ease;
}
.gallery-note .link:hover::before {
	left: 100%;
}
.gallery-note .link:hover {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	transform: translateX(4px);
	box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
}

/* Footer Moderno */
.site-footer { 
	border-top: 1px solid var(--border); 
	background: linear-gradient(180deg, #0a0c12 0%, #080a0f 100%);
	padding: 60px 0 0;
}
.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	margin-bottom: 40px;
}
.footer-brand {
	max-width: 500px;
}
.footer-logo {
	font-size: 32px;
	font-weight: 800;
	color: var(--primary);
	margin: 0 0 16px;
	letter-spacing: 1px;
}
.footer-description {
	color: var(--muted);
	line-height: 1.6;
	font-size: 16px;
	margin: 0;
}
.footer-social h4 {
	color: var(--text);
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 20px;
}
.social-icons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.social-link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	text-decoration: none;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid var(--border);
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.02);
}
.social-link:hover {
	color: var(--primary);
	border-color: var(--primary);
	background: rgba(45, 212, 191, 0.1);
	transform: translateX(4px);
}
.social-link svg {
	fill: currentColor;
	transition: transform 0.3s ease;
}
.social-link:hover svg {
	transform: scale(1.1);
}
.footer-bottom {
	border-top: 1px solid var(--border);
	padding: 24px 0;
	text-align: center;
}
.footer-bottom p {
	color: var(--muted);
	margin: 0;
	font-size: 14px;
}

/* Partner highlight */
.partner-highlight .card { background: linear-gradient(180deg,rgba(37,157,221,0.08), #0f1422); border: 1px solid var(--secondary); border-radius: 14px; padding: 16px; }

/* Partner highlight para tema light */
[data-theme="light"] .partner-highlight .card {
    background: linear-gradient(180deg, rgba(37, 157, 221, 0.08), #dee7ff);
}

/* Links específicos mantêm cor secundária */
.partner-highlight .link { color: var(--secondary); }

/* Responsive */
@media (max-width: 900px) {
	.grid-3 { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: 1fr; }
	.member{ display: flex;         flex-direction: column;}
	.member-photo img { width: 100%; height: auto;}
	.contact-grid { grid-template-columns: 1fr; }
	.layout-2col { grid-template-columns: 1fr; }
	.side-nav { position: static; }
	/* Footer responsivo */
	.footer-content { 
		grid-template-columns: 1fr; 
		gap: 40px; 
	}
	.footer-brand {
		text-align: center;
		max-width: none;
	}
	.social-icons {
		align-items: center;
	}
	.social-link {
		justify-content: center;
	}
	/* mobile menu */
	.nav-toggle { display: inline-block; }
	.theme-toggle { 
		display: none;
	}
	.theme-toggle .theme-icon {
		font-size: 16px;
	}
	.menu { display: none; position: absolute; left: 0; right: 0; top: 60px; width: 100%; background: var(--card); border: 1px solid var(--border); padding: 12px; border-radius: 10px; flex-direction: column; }
	.menu[aria-expanded="true"] { display: flex; }
	/* gallery carousel - removido para evitar conflito com regra específica da home */
	/* horários de atividades - mobile */
	.atividade-horarios-grid { grid-template-columns: 1fr; }
}

/* Mobile First - Otimizações específicas para mobile */
@media (max-width: 768px) {
	/* Container e espaçamentos */
	.container { 
		width: 95%; 
		padding: 0 10px; 
	}
	
	/* Header mobile */
	.site-header .container { 
		padding: 12px 0; 
		flex-wrap: wrap;
		gap: 10px;
	}
	
	/* Logo mobile */
	.logo { 
		flex: 1; 
		min-width: 0; 
	}
	.logo-img { 
		height: 32px; 
	}
	.logo-text { 
		font-size: 18px; 
		letter-spacing: 0.3px;
	}
	
	/* Navegação mobile melhorada */
	.nav-toggle { 
		display: inline-block; 
		padding: 8px 12px; 
		font-size: 18px; 
		min-width: 44px; 
		min-height: 44px; 
		display: flex; 
		align-items: center; 
		justify-content: center;
	}
	.menu { 
		display: none; 
		position: absolute; 
		right: 10px; 
		top: 100%; 
		background: var(--card); 
		backdrop-filter: blur(10px);
		border: 1px solid var(--border); 
		padding: 20px; 
		border-radius: 12px; 
		flex-direction: column; 
		gap: 8px;
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
		z-index: 1000;
	}
	.menu[aria-expanded="true"] { 
		display: flex; 
	}
	.menu a { 
		padding: 12px 16px; 
		border-radius: 8px; 
		font-size: 16px; 
		font-weight: 500;
		transition: all 0.2s ease;
	}
	.menu a:hover { 
		background: rgba(45, 212, 191, 0.1); 
		color: var(--primary);
	}
	
	/* Hero mobile */
	.hero { 
		padding: 40px 0 24px; 
		height: auto; 
	}
	.hero h1 { 
		font-size: clamp(24px, 6vw, 36px); 
		margin: 0 0 16px; 
		min-height: auto; 
		line-height: 1.2;
		font-weight: 700;
		letter-spacing: -0.02em;
	}
	.hero p { 
		font-size: 16px; 
		line-height: 1.6; 
		margin-bottom: 20px;
		font-weight: 400;
	}
	
	/* Melhorar visibilidade no mobile para tema light */
	[data-theme="light"] .hero h1 {
		text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9);
		font-weight: 800;
	}
	

	[data-theme="light"] .hero p {
		color: #ffffff;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(14, 165, 233, 0.6);
		font-weight: 600;
	}
	.hero-cta { 
		flex-direction: column; 
		gap: 12px; 
		align-items: stretch;
	}
	
	/* Botões mobile - touch friendly */
	.button, .link { 
		padding: 14px 20px; 
		font-size: 16px; 
		min-height: 48px; 
		display: flex; 
		align-items: center; 
		justify-content: center;
		text-align: center;
	}
	
	/* Cards mobile */
	.card { 
		padding: 20px; 
		margin-bottom: 16px;
	}
	.card h3 { 
		font-size: 20px; 
		margin-bottom: 12px; 
		line-height: 1.3;
	}
	.card p { 
		font-size: 15px; 
		line-height: 1.5; 
		margin-bottom: 16px;
	}
	.card-image { 
		height: 180px; 
		margin-bottom: 16px;
	}
	
	/* Galeria mobile otimizada - removido para evitar conflito com regra específica da home */
	
	/* Stats mobile */
	.stats { 
		grid-template-columns: repeat(2, 1fr); 
		gap: 12px; 
		padding: 20px 0;
	}
	.stat { 
		padding: 16px 12px; 
		text-align: center;
	}
	.stat strong { 
		font-size: 24px; 
		display: block; 
		margin-bottom: 4px;
	}
	.stat span { 
		font-size: 13px; 
		line-height: 1.3;
	}
	
	/* About highlight mobile */
	.about-content {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}
	.about-text p {
		font-size: 16px;
		line-height: 1.6;
	}
	.about-image .photo-slot {
		height: 200px;
	}
	
	/* News mobile */
	.news-item { 
		grid-template-columns: 1fr; 
		gap: 12px;
		padding: 16px;
	}
	.news-item-grid {
		grid-template-columns: 1fr;
	}
	.news-img, .news-placeholder {
		height: 160px;
	}
	.news-content {
		padding: 16px;
	}
	.news-content .news-title {
		font-size: 18px;
		line-height: 1.3;
	}
	
	/* Footer mobile */
	.footer-content { 
		grid-template-columns: 1fr; 
		gap: 32px; 
		text-align: center;
	}
	.footer-logo-img {
		height: 35px;
	}
	.footer-logo-text {
		font-size: 1.2em;
	}
	.footer-description {
		font-size: 15px;
		line-height: 1.5;
	}
	.social-link {
		padding: 14px 16px;
		font-size: 15px;
	}
	
	
	/* Horários de atividades mobile */
	.atividade-horarios-grid { 
		grid-template-columns: 1fr; 
		gap: 8px;
	}
	.atividade-horarios-grid p {
		padding: 10px 12px;
		font-size: 14px;
	}
	
	/* Contact form mobile */
	.contact-form-container {
		padding: 16px;
	}
	.contact-form-container input, 
	.contact-form-container textarea,
	.contact-form-container select {
		padding: 14px 12px;
		font-size: 16px; /* Previne zoom no iOS */
	}
	
	/* Lightbox mobile */
	.amama-lightbox-overlay img {
		max-width: 95vw;
		max-height: 80vh;
	}
	.amama-lightbox-overlay::before {
		top: 15px;
		right: 20px;
		font-size: 28px;
	}
	
	/* Mascote mobile */
	#mascote {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}
	#mascote .mascote-image .photo-slot {
		height: 200px;
	}
	#mascote .mascote-content h2 {
		font-size: 1.4em;
	}
	#mascote .mascote-content p {
		font-size: 15px;
		line-height: 1.6;
	}
}

/* Mobile extra small (320px - 480px) */
@media (max-width: 480px) {
	.container { 
		width: 98%; 
		padding: 0 8px; 
	}
	
	.hero h1 { 
		font-size: 22px; 
		line-height: 1.2;
	}
	.hero p { 
		font-size: 15px; 
	}
	
	/* Melhorar visibilidade em telas muito pequenas para tema light */
	[data-theme="light"] .hero h1 {
		text-shadow: 0 2px 8px rgba(255, 255, 255, 0.95);
		font-weight: 800;
	}
	
	[data-theme="light"] .hero p {
		color: #ffffff;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(14, 165, 233, 0.6);
		font-weight: 600;
	}
	
	.card { 
		padding: 16px; 
	}
	.card h3 { 
		font-size: 18px; 
	}
	.card p { 
		font-size: 14px; 
	}
	
	.stats { 
		grid-template-columns: 1fr; 
		gap: 10px;
	}
	.stat strong { 
		font-size: 20px; 
	}
	
	/* Regra conflitante removida */
	
	.button, .link { 
		padding: 12px 16px; 
		font-size: 15px; 
		min-height: 44px;
	}
	
	.footer-logo-img {
		height: 30px;
	}
	.footer-logo-text {
		font-size: 1.1em;
	}
}

/* Horários de Atividades */
.atividade-horarios {
	border-radius: 12px;
	padding: 16px;
	margin: 20px 0;
}
.atividade-horarios h3 {
	margin-top: 0;
	margin-bottom: 16px;
	color: var(--text);
}
.atividade-horarios-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    text-align: center;
}
.atividade-horarios-grid p {
	margin: 0;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
}
.atividade-horarios-grid p strong {
	color: var(--primary);
}

/* Notícias/Eventos */
.news-list { display: grid; gap: 20px; }
/* Grid para notícias na Home */
.news-home .news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .news-home .news-list { grid-template-columns: 1fr; } }

/* Layout para página de notícias */
.news-item { 
	border-left: 4px solid #007cba; 
	background: var(--card); 
	border: 1px solid var(--border); 
	border-radius: 12px; 
	padding: 12px; 
	display: grid; 
	grid-template-columns: 120px 1fr; 
	gap: 12px; 
	align-items: start; 
}
.news-date { color: var(--muted); font-weight: 600; font-size: 0.9em; margin: 0 0 8px 0; }
.news-title { margin: 0 0 6px; }
.news-title a { color: var(--text); text-decoration: none; }
.news-title a:hover { color: var(--secondary); }
.news-meta { color: var(--muted); font-size: 13px; margin: 0 0 8px 0; }
.news-item p { margin: 0 0 12px 0; line-height: 1.5; }
.news-item .button { margin-top: 8px; }
@media (max-width: 900px) { .news-item { grid-template-columns: 1fr; } }

/* Layout de notícias na Home - estilo card */
.news-home .news-item {
	display: block;
	grid-template-columns: none;
	padding: 16px;
}
.news-home .news-item > div:first-child {
	margin-bottom: 12px;
}
.news-home .news-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 8px;
}
.news-home .news-item .news-date {
	margin-bottom: 8px;
}
.news-home .news-item .news-title {
	margin: 0 0 8px;
}
.news-home .news-item .news-meta {
	margin-bottom: 8px;
}
.news-home .news-item p:last-child {
	margin: 0;
}

/* Novo layout de grid para página de notícias */
.news-item-grid {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-item-grid:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.news-image {
	position: relative;
	overflow: hidden;
}
.news-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.news-item-grid:hover .news-img {
	transform: scale(1.05);
}
.news-placeholder {
	width: 100%;
	height: 200px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.news-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.news-content .news-title {
	margin: 0;
	font-size: 1.3em;
	line-height: 1.3;
}
.news-content .news-title a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}
.news-content .news-title a:hover {
	color: var(--primary);
}
.news-content .news-date {
	color: var(--muted);
	font-size: 0.9em;
	font-weight: 600;
	margin: 0;
}
.news-content .news-meta {
	color: var(--muted);
	font-size: 0.85em;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.news-content .news-excerpt {
	color: var(--text);
	line-height: 1.6;
	margin: 0;
	flex-grow: 1;
}
.news-content .button {
	align-self: flex-start;
	margin-top: 8px;
}

/* Responsividade para página de notícias */
@media (max-width: 768px) {
	.news-item-grid {
		grid-template-columns: 1fr;
	}
	.news-img,
	.news-placeholder {
		height: 180px;
	}
	.news-content {
		padding: 16px;
	}
	.news-content .news-title {
		font-size: 1.2em;
	}
}

/* Mascote Section - Two Columns Layout */
#mascote {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	align-items: center;
	margin: 40px 0;
}
#mascote .mascote-image {
	position: relative;
}
#mascote .mascote-image .photo-slot {
	width: 100%;
	height: 300px;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
#mascote .mascote-content h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: var(--primary);
	font-size: 1.8em;
}
#mascote .mascote-content p {
	font-size: 1.1em;
	line-height: 1.7;
	color: var(--text);
	margin: 0;
}
@media (max-width: 768px) {
	#mascote {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}
	#mascote .mascote-image .photo-slot {
		height: 250px;
	}
	#mascote .mascote-content h2 {
		font-size: 1.6em;
	}
	#mascote .mascote-content p {
		font-size: 1em;
	}
}

/* Footer Logo */
.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}
.footer-logo-img {
	height: 50px;
	width: auto;
}
.footer-logo-text {
	margin: 0;
	color: var(--primary);
	font-size: 1.5em;
	font-weight: 700;
}

/* Footer Address */
.footer-address {
	margin-top: 15px;
	color: var(--muted);
	font-size: 0.9em;
}

/* Paginação Estilizada - Padronizada com o tema */
.pagination-wrapper {
	margin: 40px 0;
	text-align: center;
}

/* Especificidade aumentada para garantir aplicação em todas as páginas */
.container .pagination-wrapper {
	margin: 40px 0;
	text-align: center;
}

.pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Especificidade aumentada */
.container .pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination-wrapper .page-numbers li {
	margin: 0;
	padding: 0;
}

/* Base styles para todos os elementos de paginação - seguindo padrão dos botões */
.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
}

/* Especificidade aumentada para elementos de paginação */
.container .pagination-wrapper .page-numbers a,
.container .pagination-wrapper .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
}

/* Estados específicos - seguindo padrão dos botões */
.pagination-wrapper .page-numbers a:hover {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Especificidade aumentada para hover */
.container .pagination-wrapper .page-numbers a:hover {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination-wrapper .page-numbers .current {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(45, 212, 191, 0.2);
}

/* Especificidade aumentada para current */
.container .pagination-wrapper .page-numbers .current {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(45, 212, 191, 0.2);
}

/* Estilos para estrutura HTML real da paginação (sem ul/li) */
.pagination-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pagination-wrapper .page-numbers:hover {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination-wrapper .page-numbers.current {
	background: var(--primary);
	color: #0b0d12;
	border-color: var(--primary);
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(45, 212, 191, 0.2);
}

.pagination-wrapper .page-numbers.dots {
	background: transparent;
	border: none;
	color: var(--muted);
	cursor: default;
}

.pagination-wrapper .page-numbers.dots:hover {
	background: transparent;
	color: var(--muted);
	transform: none;
	box-shadow: none;
}

.pagination-wrapper .page-numbers.next,
.pagination-wrapper .page-numbers.prev {
	min-width: auto;
	padding: 8px 16px;
	font-weight: 600;
}

.pagination-wrapper .page-numbers.next:hover,
.pagination-wrapper .page-numbers.prev:hover {
	background: var(--secondary);
	border-color: var(--secondary);
	color: white;
	transform: translateX(4px);
}

/* Responsividade para estrutura real da paginação */
@media (max-width: 768px) {
	.pagination-wrapper {
		gap: 6px;
	}
	
	.pagination-wrapper .page-numbers {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
		padding: 6px 10px;
	}
	
	.pagination-wrapper .page-numbers.next,
	.pagination-wrapper .page-numbers.prev {
		padding: 6px 12px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.pagination-wrapper {
		gap: 4px;
	}
	
	.pagination-wrapper .page-numbers {
		min-width: 32px;
		height: 32px;
		font-size: 12px;
		padding: 4px 8px;
	}
	
	.pagination-wrapper .page-numbers.next,
	.pagination-wrapper .page-numbers.prev {
		padding: 4px 8px;
		font-size: 12px;
	}
}

.pagination-wrapper .page-numbers .dots {
	background: transparent;
	border: none;
	color: var(--muted);
	cursor: default;
}

.pagination-wrapper .page-numbers .dots:hover {
	background: transparent;
	color: var(--muted);
	transform: none;
	box-shadow: none;
}

/* Navegação (Anterior/Próxima) - seguindo padrão dos botões */
.pagination-wrapper .page-numbers .prev,
.pagination-wrapper .page-numbers .next {
	min-width: auto;
	padding: 8px 16px;
	font-weight: 600;
}

.pagination-wrapper .page-numbers .prev:hover,
.pagination-wrapper .page-numbers .next:hover {
	background: var(--secondary);
	border-color: var(--secondary);
	color: white;
	transform: translateX(4px);
}

/* Responsividade da paginação - Otimizada */
@media (max-width: 768px) {
	.pagination-wrapper .page-numbers {
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px;
	}
	
	.pagination-wrapper .page-numbers a,
	.pagination-wrapper .page-numbers span {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
		padding: 6px 10px;
	}
	
	.pagination-wrapper .page-numbers .prev,
	.pagination-wrapper .page-numbers .next {
		padding: 6px 12px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.pagination-wrapper .page-numbers {
		gap: 4px;
	}
	
	.pagination-wrapper .page-numbers a,
	.pagination-wrapper .page-numbers span {
		min-width: 32px;
		height: 32px;
		font-size: 12px;
		padding: 4px 8px;
	}
	
	.pagination-wrapper .page-numbers .prev,
	.pagination-wrapper .page-numbers .next {
		padding: 4px 8px;
		font-size: 12px;
	}
}

/* WhatsApp Float Button */
.whatsapp-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	z-index: 1000;
	transition: all 0.3s ease;
	text-decoration: none;
	color: white;
	visibility: visible;
	opacity: 1;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
	color: white;
	text-decoration: none;
}

.whatsapp-float svg {
	transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
	transform: scale(1.1);
}

.whatsapp-tooltip {
	position: absolute;
	right: 70px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	pointer-events: none;
}

.whatsapp-tooltip::after {
	content: '';
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 6px solid transparent;
	border-left-color: rgba(0, 0, 0, 0.8);
}

.whatsapp-float:hover .whatsapp-tooltip {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 768px) {
	.whatsapp-float {
		bottom: 100px;
		right: 15px;
		width: 55px;
		height: 55px;
		display: flex;
		position: fixed;
		z-index: 1000;
		visibility: visible;
		opacity: 1;
	}
	
	.whatsapp-float svg {
		width: 24px;
		height: 24px;
	}
	
	.whatsapp-tooltip {
		display: none;
	}
	
	/* Theme Toggle Fixo no Mobile */
	.theme-toggle-fixed {
		position: fixed;
		bottom: 100px;
		left: 15px;
		width: 55px;
		height: 55px;
		background: var(--card);
		border: 1px solid var(--border);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
		z-index: 1000;
		transition: all 0.3s ease;
		text-decoration: none;
		color: var(--text);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		user-select: none;
		pointer-events: auto;
	}
	
	.theme-toggle-fixed:hover {
		transform: scale(1.1);
		box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
		color: var(--primary);
		text-decoration: none;
	}
	
	.theme-toggle-fixed .theme-icon {
		font-size: 20px;
		transition: transform 0.3s ease;
	}
	
	.theme-toggle-fixed:hover .theme-icon {
		transform: scale(1.1);
	}
}

/* Esconder theme toggle fixo no desktop */
@media (min-width: 769px) {
	.theme-toggle-fixed {
		display: none;
	}
}

/* Logo Responsivo */
@media (max-width: 768px) {
	.logo-img {
		height: 35px;
	}
	.logo-text {
		font-size: 20px;
	}
	.footer-logo-img {
		height: 40px;
	}
	.footer-logo-text {
		font-size: 1.3em;
	}
}

/* Contact Info Responsivo */
@media (max-width: 768px) {
	/* Trocar visibilidade: esconder desktop, mostrar mobile */
	.contact-info-desktop {
		display: none !important;
	}
	
	.contact-info-mobile {
		display: block;
		padding: 20px 16px;
		margin-top: 20px;
	}
	
	/* Tema Light para Contact Info Mobile */
	[data-theme="light"] .contact-info-mobile {
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(15px);
		border: 1px solid rgba(14, 165, 233, 0.2);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
		border-radius: 12px;
	}
	
	.contact-info h3 {
		font-size: 18px;
		margin-bottom: 16px;
	}
	
	.contact-info li {
		padding: 10px 12px;
		margin: 8px 0;
	}
	
	.contact-info li strong {
		font-size: 13px;
	}
	
	.contact-info a {
		font-size: 14px;
	}
	
	/* Reduzir animação de pulsação no mobile para economizar bateria */
	.contact-info a[href*="wa.me"] {
		animation: pulse-whatsapp-mobile 3s infinite;
	}
	
	@keyframes pulse-whatsapp-mobile {
		0%, 100% {
			box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.3);
		}
		50% {
			box-shadow: 0 0 0 6px rgba(45, 212, 191, 0);
		}
	}
}

/* ========================================
   PÁGINA DE ASSOCIADOS
   ======================================== */

/* Header da página de associados */
.associados-header {
    background: var(--card);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--border);
}

.associados-header h1 {
    margin: 0 0 15px 0;
    color: var(--text);
    font-size: 2.5em;
}

.associados-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--bg);
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 0.9em;
    color: var(--text);
}

.search-form-container {
    padding: 20px;
    border-radius: 8px;
}

/* Formulário de Busca */
.search-form {
    margin-bottom: 0;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg);
    color: var(--text);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

.search-input::placeholder {
    color: var(--muted);
}

.search-button {
    background: var(--primary);
    color: var(--bg);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-button:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.search-icon {
    font-size: 14px;
}

.clear-search {
    background: var(--muted);
    color: var(--bg);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.clear-search:hover {
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    transform: translateY(-1px);
}

.clear-icon {
    font-size: 12px;
}

.search-results-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--primary);
    border-radius: 6px;
    border-left: 4px solid var(--primary);
}

.search-results-info p {
    margin: 0;
    color: var(--primary);
    font-size: 14px;
}

/* Seções de associados */
.associados-section {
    margin-bottom: 40px;
}


.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
    color: var(--text);
    font-size: 1.5em;
}

.section-title.ativos {
    color: #28a745;
}

.section-title.inativos {
    color: #dc3545;
}

.associados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Cards de associados */
.associado-card {
    background: var(--card);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--border);
    border: 1px solid var(--border);
}

.associado-card.ativo {
    border-left-color: #28a745;
}

.associado-card.inativo {
    border-left-color: #dc3545;
    opacity: 0.8;
}

.associado-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-header {
    padding: 20px 20px 15px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    margin: 0 0 10px 0;
    color: var(--text);
    font-size: 1.3em;
    min-height: 65px;
}

.card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.card-content {
    padding: 20px;
}

.associado-info p {
    margin: 0 0 8px 0;
    color: var(--muted);
    font-size: 0.9em;
}

.associado-info p:last-child {
    margin-bottom: 0;
}

.card-footer {
    padding: 15px 20px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

/* Badges */
.status-badge, .plano-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-ativo {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-inativo {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.plano-individual {
    background-color: rgba(45, 212, 191, 0.2);
    color: var(--primary);
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.plano-familia {
    background-color: rgba(37, 157, 221, 0.2);
    color: var(--secondary);
    border: 1px solid rgba(37, 157, 221, 0.3);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
}

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

.btn-primary:hover {
    background: var(--secondary);
    color: var(--bg);
}

.btn-secondary {
    background: var(--muted);
    color: var(--bg);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--bg);
}


/* Conteúdo vazio */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.no-content h2 {
    margin: 0 0 15px 0;
    color: var(--text);
}

/* Responsivo para página de associados */
@media (max-width: 768px) {
    .associados-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.3em;
    }
    
    .card-header h3 {
        font-size: 1.2em;
    }
    
    .search-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: auto;
        width: 100%;
    }
    
    .search-button,
    .clear-search {
        justify-content: center;
        width: 100%;
    }
}

/* ========================================
   SINGLE ASSOCIADO
   ======================================== */

/* Container principal */
.single-associado {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header do associado */
.associado-header {
    background: var(--card);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--border);
}

.associado-title {
    margin: 0 0 15px 0;
    color: var(--text);
    font-size: 2.5em;
}

.associado-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.associado-id {
    background: var(--bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Seções do associado */
.associado-section {
    background: var(--card);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}

.associado-section h2 {
    color: var(--primary);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.associado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.associado-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.associado-field label {
    font-weight: bold;
    color: var(--muted);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.associado-field span {
    color: var(--text);
    font-size: 1.1em;
}

/* Badges do single associado */
.single-associado .status-badge, 
.single-associado .plano-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-associado .status-ativo {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.single-associado .status-inativo {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.single-associado .status-suspenso {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.single-associado .status-indefinido {
    background-color: var(--bg);
    color: var(--muted);
    border: 1px solid var(--border);
}

.single-associado .plano-individual {
    background-color: rgba(45, 212, 191, 0.2);
    color: var(--primary);
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.single-associado .plano-familia {
    background-color: rgba(37, 157, 221, 0.2);
    color: var(--secondary);
    border: 1px solid rgba(37, 157, 221, 0.3);
}

/* Pagamentos */
.pagamentos-container {
    margin-top: 20px;
}

.pagamentos-ano {
    margin-bottom: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card);
}

.pagamentos-ano h3 {
    background: var(--bg);
    margin: 0;
    padding: 15px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.pagamentos-grid {
    display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.pagamento-mes {
    background: var(--card);
    padding: 15px;
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
	text-align: center;
}

.mes-nome {
    font-weight: bold;
    color: var(--text);
}

.mes-valor {
    font-weight: bold;
    color: var(--text);
}

.nao-pago {
    color: #dc3545;
}

.sem-info {
    color: var(--muted);
    font-style: italic;
}

/* Dependentes */
.dependentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dependente-card {
    background: var(--bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.dependente-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dependente-card h3 {
    margin: 0 0 10px 0;
    color: var(--text);
}

.dependente-card p {
    margin: 0 0 15px 0;
    color: var(--muted);
}

/* Encomendas */
.encomendas-list {
    display: grid;
    gap: 15px;
}

.encomenda-item {
    background: var(--bg);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.encomenda-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.encomenda-item h4 {
    margin: 0 0 5px 0;
}

.encomenda-item h4 a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.encomenda-item h4 a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.encomenda-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9em;
}

.no-encomendas {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    background: var(--card);
    border-radius: 8px;
    border: 2px dashed var(--border);
}

.no-encomendas p {
    margin: 0;
    font-size: 1.1em;
}

/* Botões do single associado */
.single-associado .btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.single-associado .btn-secondary {
    background: var(--muted);
    color: var(--bg);
}

.single-associado .btn-secondary:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-1px);
}

/* Conteúdo vazio */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.no-content h1 {
    margin: 0 0 15px 0;
    color: var(--text);
}

/* Responsivo para single associado */
@media (max-width: 768px) {
    .associado-grid {
        grid-template-columns: 1fr;
    }
    
    .associado-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pagamentos-grid {
        grid-template-columns: 1fr;
    }
    
    .dependentes-grid {
        grid-template-columns: 1fr;
    }
    
    .associado-title {
        font-size: 2em;
    }
    
    .associado-section {
        padding: 20px;
    }
}


/* Item seja um Associado do menu */
#menu-item-2418 a{
    color: var(--primary);
    font-weight: 600;
}

/* termos e condições */
div#modal-termos{

	h4{
		margin-bottom: 0;
	}
	p, ul {
		margin-top: 0;
	}
}
a#abrir-termos{
	color: var(--primary);
}