/* ============================
   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;
}


/* ==========================
	CARROSEL
========================== */

.carrossel-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #FEF5F5;
	padding: 40px 0;
	margin-top: 30px;
}

.carrossel {
	position: relative;
	width: 1500px;
	height: 320px;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	background-color: #fff;
}

/* Imagens */
.carrossel img {
	width: 1500px;
	height: 320px;
	object-fit: cover;
	display: none;
	transition: opacity 0.5s ease-in-out;
}

.carrossel img.ativo {
	display: block;
	opacity: 1;
}

/* Setas */
.seta {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(192, 192, 192, 0.4);
	color: white;
	border: none;
	font-size: 10px;
	padding: 10px;
	cursor: pointer;
	border-radius: 70%;
	z-index: 10;
	transition: background-color 0.3s ease;
}

.seta:hover {
	background-color: rgb(170, 175, 176, 0.4);
}

.esquerda {
	left: 15px;
}

.direita {
	right: 15px;
}

/* Pontos */
.pontos {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.ponto {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.ponto.ativo {
	background-color: white;
}


/* ============================
   SEÇÃO: Nossa Missão
============================ */
.missao-container {
	padding: 40px 24px;
	text-align: center;
	color: #3b2f3b;
	max-width: 900px;
	font-family: "Libertinus Serif Display", system-ui;
	margin: 20px auto;
	position: relative;
}


.description,
#missaoTextoEstatico {
	font-family: "Libertinus Serif Display", system-ui;
	font-size: 25px;
}

.missao-container h2 {
	font-family: 'Cookie', cursive;
	font-size: 90px !important;
	color: #d7479e;
	text-align: center;
	margin-bottom: 24px;
	font-weight: normal;
}

.missao-container p {
	line-height: 1.7;
	color: rgb(0, 0, 0);
	margin-bottom: 30px;
	font-family: "Libertinus Serif Display", system-ui;
	font-size: 28px;
	text-align: center;
	font-weight: bold;
}

/* Oculta o texto estático quando está em modo de edição */
.missao-text-static.editing {
	display: none !important;
}

/* Garante que o texto estático seja exibido por padrão (e quando não estiver editando) */
.missao-text-static {
	display: block;
}

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

}

.text-muted {
	font-size: 1.2rem;
	color: rgb(60, 60, 60);
	font-weight: bold;
	margin-top: -18px;
}

/* Oculta o formulário de edição */
.form-edicao-missao {
	display: none;
}

.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;
}

/* Estilo da Textarea */
.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;
}

#novoTexto {
	color: black;
}

.botoes-edicao {
	display: flex;
	justify-content: center;
	align-items: 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;
}

.missao-text-static.editing+.form-edicao-missao+#btnMissaoEstatico,
.form-edicao-missao.editing+#btnMissaoEstatico {
	display: none !important;
}

#btnMissaoEstatico {
	position: static;
	z-index: auto;
}


.btn-missao {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 400px;
	height: 50px;
	background-color: #26A69A;
	color: white;
	border-radius: 25px;
	font-size: 30px;
	font-family: "Libertinus Serif Display", system-ui;
	text-decoration: none;
	transition: background-color 0.3s;
	margin-top: 12px;
	border: none;
	cursor: pointer;
	margin-bottom: -70px;
}

.btn-missao:hover {
	background-color: rgb(43, 162, 150);
	color: white !important;
}

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

/* ============================
	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: -60px;
	margin-top: -5px;
}

/* ============================
	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;
}

.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);
}

/* ============================
   BOTÕES DE EDIÇÃO (ADMIN) - APENAS .btn-editar-doacao
============================ */

.titulo-doacao-container {
	display: inline-flex;
	/* mantém tudo junto na mesma linha */
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.btn-editar-doacao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: -30px;
	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-right: 10px;
}

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



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

.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;
}


.form-padrao-edicao {
	display: none;
}

#formEdicaoMissao.mostrar {
	display: block !important;
}

.esconder {
	display: none !important;
}

/* ============================
   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;
}

/* ========================================= */
/* 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;
}

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

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

	.logo-header {
		width: 50px;
	}

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

	/* esconde menu desktop */
	.nav-links {
		display: none;
	}

	.menu-icon {
		display: block;
		width: 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;
		}


	/* -------- CARROSSEL -------- */
	.carrossel-container {
		padding: 8px 0;
		/* menos espaçamento */
	}

	.carrossel {
		width: 80%;
		/* menor largura */
		height: 140px;
		/* menor altura */
		border-radius: 10px;
	}

	.carrossel img {
		width: 100%;
		/* importante ocupar todo o espaço interno */
		height: 100%;
		/* evita deformações */
		object-fit: cover;
		/* mantém proporção da imagem */
		border-radius: 10px;
	}

	.seta {
		padding: 6px;
		font-size: 12px;
	}

	.pontos {
		gap: 6px;
	}

	/* -------- MISSÃO -------- */
	.missao-container {
		padding: 20px 12px;
		max-width: 100%;
		margin: 0 auto;
	}

	btn-editar-doacao {
		margin-left: -60px;
		margin-right: 50px;
	}
	
	.icones-login, .logado {
			width: 180px !important;
			height: 180px !important;
		}

	.missao-container h2 {
		font-size: 50px;
	}

	.missao-container p,#missaoTextoEstatico, .missao-text-static {
		font-size: 22px;
		line-height: 1.6;
	}

	.btn-missao {
		width: 80%;
		height: 45px;
		font-size: 25px;
		margin-top: 8px;
	}

	/* texto do admin */
	.textarea-padrao-custom {
		min-height: 150px;
		font-size: 20px;
	}

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

	/* -------- 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;
	}


	/* -------- TOAST -------- */
	.toast-container {
		right: 10px;
		bottom: 10px;
	}

	.toast-notification {
		max-width: 92%;
		font-size: 14px;
		padding: 10px 14px;
	}
}
/* ============================
   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;
    }
}
@media (max-width: 768px) {
    .carrossel img[src$="Janeiro_pc.png"] {
        content: url("/images/Janeiro_mobile.png");
    }

    .carrossel img[src$="Fevereiro_Pc.png"] {
        content: url("/images/Fevereiro_mobile.png");
    }

    .carrossel img[src$="Marco_Pc.png"] {
        content: url("/images/Marco_mobile.png");
    }

    .carrossel img[src$="Abril_Pc.png"] {
        content: url("/images/Abril_mobile.png");
    }

    .carrossel img[src$="Abril2_Pc.png"] {
        content: url("/images/Abril2_mobile.png");
    }

    .carrossel img[src$="Junho_Pc.png"] {
        content: url("/images/Junho_mobile.png");
    }

    .carrossel img[src$="Julho_Pc.png"] {
        content: url("/images/Julho_mobile.png");
    }

    .carrossel img[src$="Agosto_Pc.png"] {
        content: url("/images/Agosto_mobile.png");
    }

    .carrossel img[src$="Setembro_Pc.png"] {
        content: url("/images/Setembro_mobile.png");
    }

    .carrossel img[src$="Outubro_Pc.png"] {
        content: url("/images/Outubro_mobile.png");
    }

    .carrossel img[src$="Novembro_Pc.png"] {
        content: url("/images/Novembro_mobile.png");
    }

    .carrossel img[src$="Novembro2_Pc.png"] {
        content: url("/images/Novembro2_mobile.png");
    }

    .carrossel img[src$="Novembro3_Pc.png"] {
        content: url("/images/Novembro3_mobile.png");
    }

    .carrossel img[src$="Dezembro_Pc.png"] {
        content: url("/images/Dezembro_mobile.png");
    }
}
/* ======= MODO ESCURO ======= */

