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

img.recuperar {
	padding-top: 90px;
}

.login-container {
	text-align: center;
	margin-bottom: 20px;
	font-family: "Libertinus Serif Display", system-ui;
}


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

.description-esqueceu {
	font-size: 25px;
	line-height: 1.6;
	margin-bottom: 90px;
	text-align: center;
	font-weight: bold;
	margin-bottom: -10px;
	color: black;
}

/* Campo com ícone e input dentro */
.input-box {
	display: flex;
	align-items: center;
	border: 2px solid #B84088;
	border-radius: 14px;
	margin: 12px auto;
	background: #FFF7DF;
	width: 100%;
	max-width: 400px;
	height: 42px;
	position: relative;
}

/* Ícones dentro do input */
.input-box i:first-child {
	color: #B84088;
	font-size: 18px;
	width: 40px;
	padding: 12px;
	height: 100%;
	border-right: 2px solid #B84088;
	flex-shrink: 0;
}

/* Campos de texto e senha */
.input-box input {
	border: none;
	outline: none;
	background: transparent;
	font-size: 20px;
	padding: 12px;
	flex: 1;
	height: 100%;
}

/* Efeito ao focar nos inputs */
.login-container input:focus {
	border-color: #bd1278;
	box-shadow: 0 0 6px rgba(189, 18, 120, 0.4);
}

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

/* -------------------------------------- */
/* ESTILOS DO MODAL RECUPERAR */
/* -------------------------------------- */

/* Overlay do modal */
.modal-recuperar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

/* Quando o modal é mostrado */
.modal-recuperar.show {
	display: flex;
}

/* Conteúdo do modal */
.modal-recuperar-content {
	background-color: #fcf6f7;
	border-radius: 15px;
	padding: 40px;
	width: 90%;
	max-width: 350px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

/* Aparecer com animação */
.modal-recuperar.show .modal-recuperar-content {
	transform: scale(1);
}

/* Botão de fechar */
.close-recuperar {
	position: absolute;
	top: 10px;
	right: 15px;
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
}

.close-recuperar:hover {
	color: #e94e77;
}


/* ESTILO DA MENSAGEM DE ERRO*/
.mensagem-erro {
	color: red;
	margin-top: 10px;
}

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

.btn-voltar-custom {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 180px;
	height: 50px;
	background-color: #c74c83;
	color: white;
	border-radius: 25px;
	font-size: 22px;
	font-family: "Libertinus Serif Display", system-ui;
	text-decoration: none;
	transition: background-color 0.3s;
	margin-top: 12px;
	border: none;
	cursor: pointer;

}

.btn-voltar-custom:hover {
	background: #a53a69;
	box-shadow: 0 6px 10px rgba(189, 18, 120, 0.5);
}

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

/*=============================
	BOTÃO ENVIAR
============================ */
.btn-enviar {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 180px;
	height: 50px;
	background-color: #26A69A;
	color: white;
	border-radius: 25px;
	font-size: 22px;
	font-family: "Libertinus Serif Display", system-ui;
	text-decoration: none;
	transition: background-color 0.3s;
	margin-top: 12px;
	border: none;
	cursor: pointer;
}


.btn-enviar:hover {
	background-color: rgb(32, 138, 128);
	color: white !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;
}



/* =============================================
   📱 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 (corrigido) -------- */
		.side-menu {
		  position: fixed;
		  top: 0;
		  right: -260px;                 /* fechado por padrão; JS alterna a classe .open */
		  width: 260px;
		  height: 100%;
		  padding: 16px;
		  background: linear-gradient(180deg, #E45694, #A30F50);
		  color: #fff;
		  box-shadow: -2px 0 12px rgba(0,0,0,0.25);
		  border-radius: 20px 0 0 20px;
		  transition: right 0.28s ease-in-out, box-shadow 0.18s ease;
		  z-index: 1200;                 /* acima da maior parte do conteúdo */
		  display: flex;
		  flex-direction: column;
		  justify-content: space-between;
		  overflow-y: auto;
		}

		/* estado aberto — adicione/remove via JS (por exemplo: sideMenu.classList.toggle('open')) */
		.side-menu.open {
		  right: 0;
		}

		/* === CORREÇÕES PARA O BLOCO DE LOGIN === */
		.login-container {
		  display: flex;
		  flex-direction: column;
		  align-items: center;
		  justify-content: center;
		  padding: 10px 0 20px 0;
		}

		.login-logo {
		  width: 180px;
		  height: auto;
		  margin-bottom: 8px;
		}

		.login-text {
		  text-align: center;
		  font-size: 22px;
		  padding: 5px 0;
		  font-weight: 500;
		  margin-top: 15px;
		  margin-left: 40px;
		}

		/* === 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: 8px 0;
		}

		.side-menu a {
		  font-size: 22px;
		  padding: 6px 10px;
		  display: flex;
		  align-items: center;
		  gap: 10px;
		  text-decoration: none;
		  color: #fff;
		  transition: background-color 0.18s ease, transform 0.12s ease;
		  border-radius: 8px;
		}

		.side-menu a:hover,
		.side-menu a:focus {
		  background-color: rgba(255, 255, 255, 0.06);
		  transform: translateX(2px);
		  outline: none;
		}

		/* ícones ao lado dos links */
		.icones {
		  width: 30px !important;
		  height: 30px !important;
		  margin-right: 8px;
		  flex-shrink: 0;
		  vertical-align: middle;
		}

		/* === BOTÃO FECHAR (estilizado, sem aparência desativada) === */
		.btn-close {
		  background-color: #d7479e !important;
		  color: #ffffff !important;
		  font-weight: normal;
		  padding: 10px 16px;
		  font-size: 20px;
		  border-radius: 25px;
		  cursor: pointer;
		  width: 70%;
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  margin: 20px auto 10px auto;
		  transition: background-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
		  box-shadow: 0 6px 14px rgba(215,71,158,0.14);
		  opacity: 1 !important;
		}

		/* hover / focus mais visíveis, acessíveis por teclado também */
		.btn-close:hover,
		.btn-close:focus {
		  background-color: #b83d85 !important;
		  border-color: #ffffff !important;
		  transform: translateY(-1px);
		  outline: none;
		  box-shadow: 0 8px 18px rgba(184,61,133,0.2);
		}

		.btn-close:focus-visible {
		  outline: 3px solid rgba(215,71,158,0.18);
		  outline-offset: 3px;
		}

		/* evita que botões dentro do menu fiquem com opacidade reduzida por regras gerais */
		.side-menu button,
		.side-menu a {
		  opacity: 1 !important;
		}

		/* adaptações para telas menores */
		@media (max-width: 768px) {
		  .side-menu {
		    width: 240px;
		    right: -240px;
		    border-radius: 0 0 0 0;
		  }

		  .login-logo { width: 140px; }
		  .side-menu a { font-size: 20px; padding: 8px; }
		  .btn-close { font-size: 18px; width: 80%; padding: 10px 14px; }
		}
	/* -------- CONTAINER -------- */
	.container {
	    padding: 20px 20px;
	}

	/* -------- IMAGEM -------- */
	img.recuperar {
	    width: 120px;
	    padding-top: 50px;
	}

	/* -------- TÍTULO -------- */
	.title {
	    font-size: 55px;     
	    margin-top: 15px;
	    margin-bottom: 5px;
	}

	/* -------- DESCRIÇÃO -------- */
	.description-esqueceu {
	    font-size: 18px;       
	    margin: 15px 0 20px;
	    line-height: 1.4;
	    padding: 0 10px;
	}

	/* -------- INPUTS -------- */
	.input-box {
	    max-width: 100%;
	    height: 40px;          
	    margin: 10px auto;
	}

	.input-box i:first-child {
	    font-size: 16px;
	    width: 35px;
	}

	.input-box input {
	    font-size: 16px;     
	}

	/* -------- BOTÕES -------- */
	.btn-enviar,
	.btn-voltar-custom {
	    width: 150px;         
	    height: 45px;
	    font-size: 18px;      
	    margin-top: 10px;
	}

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