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

html,
body {
	height: 100%;
	min-height: 100vh;
	font-family: "Libertinus Serif Display", system-ui;
	background-color: #FEF5F5;
	background-attachment: fixed;
	background-size: cover;
	color: #3b2f3b;
	font-weight: normal;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: #FEF5F5 !important;

}

main {
	flex: 1;
	background-color: transparent !important;
}



/* ============================
   HEADER
============================ */
.header {
	flex-wrap: nowrap;
	background-color: #DC3B82;
	color: white;
	padding: 4px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.home-link,
.home-link:visited,
.home-link:hover,
.home-link:active {
	text-decoration: none;
}

.logo-text {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Logo */
.logo-header {
	width: 60px;
	height: auto;
	display: block;
}

/* Texto "Chá de Vida" */
.header-title {
	font-family: 'Cookie', cursive;
	font-size: 50px;
	color: white;
	line-height: 1;
	position: relative;
	top: 2px;
	user-select: none;
}

/* Navegação */
.nav-links ul {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 23px;
	padding: 6px 10px;
	border-radius: 6px;
	transition: background 0.2s, color 0.2s;
	font-family: "Libertinus Serif Display", system-ui;

}

.nav-links a:hover {
	opacity: 0.8;
}

/* Ícones de login e menu */
.login-header {
	width: 30px;
	height: 30px;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.menu-icon {
	width: 46px;
	cursor: pointer;
	display: none;
}


.nav-links a:hover {
	color: #FFD6EB;
	background: #e082b5;
}


/* ============================
   MENU LATERAL (HAMBÚRGUER)
============================ */
.side-menu {
	position: fixed;
	top: 0;
	right: -260px;
	width: 260px;
	height: 100%;
	background: linear-gradient(180deg, #E45694, #A30F50);
	color: white;
	padding: 20px;
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
	border-radius: 20px 0 0 20px;
	transition: right 0.3s ease-in-out;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.side-menu.open {
	right: 0;
}

.side-menu .menu-header {
	text-align: center;
	margin-bottom: 30px;
	font-size: 18px;
}

.side-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.side-menu li {
	margin: 0;
}

.side-menu a {
	text-decoration: none;
	color: white;
	font-size: 22px;
	font-weight: bold;
	display: block;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: background 0.2s;
}

.side-menu a:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Botão de fechar */
.btn-close {
	background: #BD1278;
	border: none;
	padding: 12px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	color: white;
	transition: background 0.2s;
	margin-top: 20px;
}

.btn-close:hover {
	background: #a01065;
}

/* ============================
   LAYOUT PRINCIPAL
============================ */
.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 60px;
	text-align: center;
	font-weight: normal;
	background-color: #FEF5F5
}

/* ============================
   BOTÕES DE EDIÇÃO (ADMIN) 
============================ */

.titulo-doacao-container {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.titulo-edicao {
	font-family: 'Cookie', cursive;
	color: #d7479e;
	font-size: 60px;
	margin-bottom: 5px;

}

.btn-editar-doacao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 50%;
	background-color: #DC3B82;
	border: none;
	cursor: pointer;
	color: #fff;
	transition: background-color 0.2s ease, transform 0.2s ease;
	margin-top: 90px;
}

.btn-editar-doacao img {
	width: 40px;
	height: 40px;
}


.btn-editar-doacao:hover img {
	transform: scale(1.1);
}

/* ============================
   LOGO E TÍTULO NO CONTEÚDO
============================ */
.logo {
	width: 140px;
}

.title {
	font-family: 'Cookie', cursive;
	font-size: 80px;
	color: #d7479e;
	margin: 30px 0 10px;
	text-align: center;
	font-weight: normal;
	margin-top: 90px;
}

.title-painel {
	font-family: 'Cookie', cursive !important;
	font-size: 4.5rem;
	text-align: center;
	margin-top: 70px !important;
	margin-bottom: -20px !important;
	color: #d7479e;
	margin: 30px 0 10px;
	font-weight: normal;
}

.contador-caracteres {
	display: block;
	/* ocupa linha própria */
	text-align: right;
	/* alinhado à direita */
	font-size: 1.2rem;
	color: rgb(60, 60, 60);
	font-weight: bold;
	margin-top: 4px;
	/* espaço entre textarea e contador */
}



/* ============================
	LAÇOS 
============================ */
.lacos-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 32px;
	gap: 12px;
	flex-wrap: wrap;
	position: relative;
}

.lacos-container img {
	height: 700%;
	width: 700%;
	margin-bottom: -41px;
	margin-top: -130px;
}

#btnMissaoEstatico {
	position: relative;
	z-index: 9999;
}


/* ============================
   TEXTO PRINCIPAL
============================ */
.description {
	font-size: 28px;
	line-height: 1.6;
	margin-bottom: 90px;
	text-align: center;
	font-weight: bold;
	color: black;
}

.description-doacao {
	margin-top: -45px;
	font-size: 28px;
	line-height: 1.6;
	margin-bottom: 90px;
	text-align: center;
	font-weight: bold;
	color: black;
}


/* ============================
   COPIAR PIX + BOTÃO ONG
============================ */
.pix-area {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.copy-box {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	color: #d7479e;
	font-size: 30px;
	font-weight: bold;
	padding: 14px 22px;
	border-radius: 25px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.2s ease;
	border: 2px solid transparent;
	margin-top: -60px;
	margin-bottom: 40px;
}



.copy-box:hover {
	background: #ffe0f0;
	border-color: #BD1278;
	transform: scale(1.02);
}

.pix-copy-icon {
	width: 36px;
	height: 36px;
	transition: transform 0.2s ease;
}

.copy-box:hover .pix-copy-icon {
	transform: scale(1.1);
}

/* ========================= ÁREA PIX ========================= */
.pix-container {
	display: flex;
	justify-content: center;
	margin: 30px 0;
}

.pix-box {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background-color: #BD1278;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding: 16px 24px;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
	max-width: 400px;
	width: 100%;
}

.pix-box:hover {
	background-color: #e53981;
	transform: scale(1.03);
}

.pix-text {
	word-break: break-all;
}

.btn-copiar {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: #fff;
	color: #BD1278;
	border: none;
	border-radius: 8px;
	padding: 8px 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-copiar:hover {
	background-color: #ffe0f0;
}

/* Ícone dentro do botão copiar */
.btn-copiar img {
	width: 20px;
	height: 20px;
	transition: transform 0.2s ease;
}

.btn-copiar:hover img {
	transform: scale(1.2);
}


/* ========================= MODAL PIX ========================= */
.modal-pix {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}

.modal-pix.show {
	display: flex;
}

.modal-pix-content {
	background-color: #FFF7DF;
	padding: 30px 40px;
	border-radius: 14px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-pix-header {
	font-size: 35px;
	font-weight: bold;
	color: #d7479e;
	margin-bottom: 15px;
}

.modal-pix-message {
	font-size: 16px;
	margin-bottom: 10px;
}

.modal-pix-key,
.texto-pix {
	margin-top: 10px;
	font-size: 27px;
	font-weight: bold;
	color: rgb(0, 0, 0);
	word-break: break-all;
	margin-bottom: 20px;
}

.modal-pix-button {
	padding: 10px 25px;
	background-color: #c74c83;
	color: #fff;
	border: none;
	border-radius: 20px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-top: 15px;
}

.modal-pix-button:hover {
	background-color: #a53a69;
}

/* Botão Conheça a ONG */
.btn-ong {
	display: inline-block;
	margin-top: 20px;
	background: #c74c83;
	color: white;
	font-size: 28px;
	padding: 12px 24px;
	border-radius: 25px;
	text-decoration: none;
	width: 35%;
	transition: background 0.2s;
	margin-bottom: -80px;
	position: relative;
	z-index: 10 !important;
}

.btn-ong:hover {
	background: #a53a69;
}



.form-padrao-edicao {
	background-color: #FFF7DF;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border: 1px solid #FFF7DF;
	margin: 20px auto;
	max-width: 800px;
}


.textarea-padrao-custom {
	width: 100%;
	min-height: 200px;
	padding: 10px 15px;
	margin-bottom: 15px;
	background-color: #FFF3D0 !important;
	border: 1px solid #FFF3D0 !important;
	border-radius: 8px !important;
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	resize: vertical;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.textarea-padrao-custom:focus {
	border-color: #DC3B82 !important;
	box-shadow: 0 0 0 0.25rem rgba(220, 59, 130, 0.25) !important;
}

.botoes-edicao {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}


.btn-salvar,
.btn-cancelar-edicao {
	padding: 10px 20px;
	border: none;
	border-radius: 12px;
	font-weight: bold;
	cursor: pointer;
	margin-left: 10px;
	transition: background-color 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-publicar-custom {
	width: 200px;
	background: #26A69A;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 20px;
	font-weight: normal;
	cursor: pointer;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.3s, box-shadow 0.3s;
	box-shadow: 0 4px 8px rgba(220, 59, 130, 0.4);
}

.btn-publicar-custom:hover {
	background: rgb(32, 138, 128);
}

.btn-voltar-custom {
	width: 200px;
	background: #c74c83;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 20px;
	font-weight: normal;
	cursor: pointer;
	font-family: "Libertinus Serif Display", system-ui;
	transition: background 0.3s, box-shadow 0.3s;
	box-shadow: 0 4px 8px rgba(220, 59, 130, 0.4);
}

.btn-voltar-custom:hover {
	background: #a53a69;
}

/* ========================================= */
/* ESTILOS PARA O TOAST DE NOTIFICAÇÃO */
/* ========================================= */
.toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1060;
	pointer-events: none;
}

.toast-notification {
	background-color: #28a745;
	color: #fff;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 15px;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
	pointer-events: auto;
	font-family: 'Quicksand', sans-serif;
	font-weight: bold;
	max-width: 380px;
}

.toast-notification.show {
	opacity: 1;
	transform: translateY(0);
}

.toast-success {
	background-color: #28a745;
}

.toast-error {
	background-color: #dc3545;
}

.toast-warning {
	background-color: #fd7e14;
}

.toast-icon {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

/* ============================
	DUVIDAS
============================= */
/* Botão de dúvidas fixo */
.duvidas-btn {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #26A69A;
	color: white;
	border: none;
	cursor: pointer;
	font-size: 28px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	content: '?';
	font-weight: bold;
	line-height: 1;
}

.duvidas-btn::before {
	content: '?';
	color: white;
	font-size: 28px;
	font-weight: bold;
	line-height: 1;
	display: block;
}


.duvidas-btn img {
	display: none;
}

/* Modal de dúvidas */
.duvidas-modal {
	display: none;
	position: fixed;
	bottom: 120px;
	right: 30px;
	width: 300px;
	background-color: #FFF7DF;
	border-radius: 20px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	padding: 20px;
	z-index: 1000;
	font-family: "Quicksand", sans-serif;
}

.duvidas-modal h3 {
	font-size: 40px;
	color: #DC3B82;
	margin-bottom: 10px;
	font-family: 'Cookie', cursive;
	font-weight: normal;
}

.duvidas-modal p {
	font-size: 19px;
	line-height: 1.4;
	margin-bottom: 15px;
	color: rgb(0, 0, 0);
}

.duvidas-modal .btn-login-modal {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #26A69A;
	color: white;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 25px;
	font-weight: normal;
	text-align: center;
	align-items: center;
	font-family: "Libertinus Serif Display", system-ui;
}


.duvidas-modal .close-modal {
	position: absolute;
	top: 8px;
	right: 10px;
	font-size: 30px;
	cursor: pointer;
	color: rgb(0, 0, 0);
}

/* ============================
	   FOOTER
	============================ */
.footer {
	background: #FF9DC9;
	color: white;
	text-align: center;
	padding: 12px 20px;
	font-size: 20px;
	border-top: 4px solid #FF9DC9;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: auto;
}

.footer .footer-logo {
	font-family: 'Cookie', cursive;
	font-size: 40px;
	margin: 0;
}

.footer p {
	margin: 0;
	font-size: 30px;
}

.footer .social-icons {
	display: flex;
	gap: 10px;
	align-items: center;
}

.footer a {
	color: white;
	font-size: 18px;
	display: inline-block;
	transition: transform 0.2s ease;
}

.footer a:hover {
	transform: scale(1.2);
	color: #FFD6EB;
}

/* =========================
   📱 MOBILE GLOBAL
========================= */
@media (max-width: 768px) {

	/* Layout */
	.container {
		padding: 20px 15px;
		max-width: 100%;
	}

	/* Títulos principais */
	.title,
	.titulo-edicao {
		font-size: 40px;
		margin-top: 40px;
	}

	.description,
	.description-doacao {
		font-size: 20px;
		line-height: 1.4;
		margin: 25px 0 40px;
		padding: 0 10px;
	}

	/* Logo principal */
	.logo {
		width: 90px;
	}

	/* =========================
	   HEADER MOBILE
	========================= */
	.header {
		padding: 6px 12px;
	}

	.logo-header {
		width: 45px;
	}

	.header-title {
		font-size: 32px;
	}

	/* Esconde navegação desktop */
	.nav-links {
		display: none;
	}

	/* Mostra menu hamburguer */
	.menu-icon {
		display: block;
		width: 36px;
	}
	
	.title{
		font-size: 50px;
		margin-top: 100px;
	}
	
	.description, #doacaoTextoEstatico{
		font-size: 25px;
	}

	
	
	.btn-editar-galeria{
			margin-left: -40px;
			margin-right: 40px;
		}

		/* -------- MENU LATERAL -------- */
			.side-menu {
				width: 240px;
				padding: 16px;
			}

			/* === CORREÇÕES PARA O BLOCO DE LOGIN === */
			.login-container {
				display: flex;
				flex-direction: column;
				/* Icone em cima do texto */
				align-items: center;
				/* Centraliza horizontalmente ícone e texto */
				justify-content: center;
				padding: 10px 0 20px 0;
				/* Espaço inferior para separar dos links */
			}

			.login-logo {
				width: 180px;
				/* Tamanho ajustado */
				height: auto;
				margin-bottom: 5px;
				/* Separação do ícone para o texto */
			}

			.login-text {
				text-align: center;
				border: none;
				font-size: 22px;
				padding: 5px 0;
				font-weight: normal;
				margin-top: -35px;
				align-items: center;
				/* Centraliza horizontalmente ícone e texto */
				justify-content: center;
				margin-left: 40px;
			}

			/* === FIM DAS CORREÇÕES PARA O BLOCO DE LOGIN === */

			/* === CORREÇÕES PARA OS LINKS DO MENU LATERAL === */
			.side-menu ul {
				list-style: none;
				padding: 0;
				margin: 0;
				display: block;
				margin-top: 10px;
			}

			.side-menu li {
				width: 100%;
				text-align: left;
				padding: 10px 0;
			}

			.side-menu a {
				font-size: 22px;
				padding: 0 10px;
				border: none;
				display: flex;
				align-items: center;
				justify-content: flex-start;
				width: 100%;
				text-decoration: none;
				height: 100%;
				transition: background-color 0.3s ease;
			}

			.side-menu a:hover {
				background-color: rgba(255, 255, 255, 0.1);
			}

			.icones {
				width: 30px !important;
				height: 30px !important;
				margin-right: 8px;
				flex-shrink: 0;
				vertical-align: middle;
			}

			/* === FIM DAS CORREÇÕES PARA OS LINKS DO MENU LATERAL === */

			.btn-close {
				background-color: #d7479e;
				color: rgb(255, 255, 255) !important;
				font-weight: bold;
				padding: 10px 16px;
				font-size: 20px;
				border: 2px solid rgb(255, 255, 255) !important;
				border-radius: 25px;
				cursor: pointer;
				width: 70%;
				display: flex; /* Adicionado para ativar o Flexbox */
				justify-content: center; /* Centraliza horizontalmente o texto */
				align-items: center; /* Centraliza verticalmente o texto */
				margin: 20px auto 10px auto;
				transition: background-color 0.3s ease, transform 0.3s ease;
			}

			.btn-close:hover {
				background-color: #b83d85;
				border-color: rgb(255, 255, 255);
				transform: scale(0.98);
				color: rgb(255, 255, 255) !important;
			}



	/* =========================
	   PIX / BOTÕES
	========================= */
	.pix-area {
		flex-direction: column;
		gap: 10px;
	}

	.copy-box {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		background: #fff;
		border: 1.5px solid #f3c0d7;
		border-radius: 999px;
		padding: 14px 18px;
		cursor: pointer;
		box-shadow: 0 4px 10px rgba(220,59,130,0.12);
		transition: all .25s ease;
		margin-top: 10px;
	}
	
	.copy-box:hover {
		border-color: #dc3b82;
		box-shadow: 0 5px 12px rgba(220,59,130,0.18);
		transform: translateY(-2px);
	}
	
	.pix-copy-icon {
		width: 24px;
		height: 24px;
	}

	.btn-ong {
		width: 80%;
		font-size: 25px;
		padding: 12px;
		margin-bottom: 20px;
		margin-top: -20px;
	}

	.pix-box {
		width: 95%;
		font-size: 17px;
		padding: 12px 14px;
	}

	.btn-copiar {
		font-size: 14px;
		padding: 6px 10px;
	}

	/* =========================
	   LACINHOS
	========================= */
	.lacos-container img {
		width: 100%;
		height: auto;
		margin: 0;
		margin-bottom: -20px;
	}

	/* =========================
	   FORM DE EDIÇÃO
	========================= */
	.textarea-padrao-custom {
		min-height: 150px;
		font-size: 15px;
	}

	.contador-caracteres {
		font-size: 14px;
	}

	.botoes-edicao {
		flex-direction: column;
	}

	.btn-voltar-custom,
	.btn-publicar-custom {
		width: 100%;
		font-size: 18px;
		margin-left: 0;
	}

	/* =========================
	   MODAL PIX
	========================= */
	.modal-pix-content {
		width: 90%;
		padding: 20px;
	}

	.modal-pix-header {
		font-size: 26px;
	}

	.modal-pix-key {
		font-size: 18px;
	}

	.modal-pix-button {
		width: 100%;
		font-size: 16px;
	}

	#pixQRCodeModal {
		width: 160px !important;
	}

	/* -------- BOTÃO DE DÚVIDAS -------- */
		.duvidas-btn {
			width: 52px;
			height: 52px;
			right: 16px;
			bottom: 70px;
			font-size: 24px;
		}

		.duvidas-modal {
			width: 88%;
			right: 6%;
			bottom: 88px;
			padding: 16px;
			border-radius: 16px;
		}

		.duvidas-modal h3 {
			font-size: 30px;
		}

		.duvidas-modal p {
			font-size: 16px;
		}

		.btn-login-modal {
			padding: 8px 16px;
			font-size: 17px;
		}

		/* -------- FOOTER -------- */
		.footer {
			padding: 16px 10px;
			gap: 8px;
			text-align: center;
		}

		.footer-logo {
			font-size: 28px;
		}

		.footer p {
			font-size: 18px;
		}

		.social-icons a {
			font-size: 18px;
		}

}
/* ============================
   FOOTER - MOBILE
============================ */
@media (max-width: 600px) {
    .footer {
        padding: 8px 6px;
        font-size: 14px;
    }

    .footer-logo {
        font-size: 18px !important;
    }

    .footer p {
        font-size: 10px;
        margin: 3px 0;
    }

    .footer span {
        font-size: 10px;
    }

    .social-icons img {
        width: 16px;
        height: 16px;
    }

    .social-icons {
        gap: 8px;
        margin-top: 6px;
    }
}