/* ============================
   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: initial;
	font-weight: normal;
	background-color: #FEF5F5
}



/* ============================
   ESTILOS DA PÁGINA "Conheça os Termos"
============================ */

/* Altera a forma como os elementos da MAIN são dispostos na página */
.terms-page-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding-top: 50px;
	padding-bottom: 50px;
}

/* Título Principal: "Conheça os termos:" */
.main-title-terms.card-title-terms {
	font-family: 'Cookie', cursive;
	font-size: 90px;
	color: #d7479e;
	text-align: center;
	margin-bottom: 30px;
	margin-top: 90px;
}

.card-title-terms {
	font-family: 'Cookie', cursive;
	font-size: 40px;
	color: #d7479e;
	text-align: center;
	margin-bottom: 30px;
}


/* Estilo Base do Card para Replicar o Layout da Imagem */
.info-card {
	width: 460px;
	min-height: 220px;
	background-color: #FFF7DF;
	padding: 30px;
	border-radius: 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}

/* Fundo dos Cards */
.glossary-card {
	background-color: #FFF7DF;
}

.exams-card {
	background-color: #FFF7DF;
}

.symptoms-card {
	background-color: #FFF7DF;
}

/* Título Secundário dentro do Card */
.card-title-terms {
	font-family: 'Cookie', cursive;
	font-size: 50px;
	color: #d7479e;
	margin: 10px 0 10px;
	font-weight: normal;
	text-align: center;
}

/* Descrição do Card */
.card-description-terms {
	font-family: 'Quicksand', system-ui, sans-serif;
	font-size: 30px;
	line-height: 1.6;
	color: #3b2f3b;
	margin-bottom: 25px;
	padding: 0 10px;
	flex-grow: 1;
}

/* Botão "Ler mais" */
.read-more-btn {
	display: inline-block;
	padding: 10px 24px;
	background-color: #c74c83;
	color: white;
	text-align: center;
	border-radius: 25px;
	text-decoration: none;
	font-family: "Libertinus Serif Display", system-ui;
	font-size: 28px;
	transition: background-color 0.2s;
	margin: 15px auto 0 auto;
	align-self: center;
	width: 55%;
}

.read-more-btn:hover {
	background-color: #a53a69;
	color: white;
}


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

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

.cards-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	width: 100%;
}


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

	/* Geral */
	body {
		overflow-x: hidden;
	}

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

	.logo-header {
		width: 40px;
	}

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

	.nav-links {
		display: none; /* Esconde menu do header */
	}

	.menu-icon {
		display: block;
		width: 38px;
	}

	.login-header {
		width: 26px;
		height: 26px;
	}

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




	/* TÍTULOS DA PÁGINA */
	.main-title-terms.card-title-terms {
		font-size: 90px;
		margin-top: 40px;
		padding: 0 12px;
	}

	.card-title-terms {
		font-size: 50px;
	}

	/* CONTAINER DE CARDS */
	.cards-container {
		flex-direction: column;
		align-items: center;
		gap: 18px;
		padding: 0 16px;
	}

	.info-card {
		width: 100%;
		min-height: auto;
		padding: 18px;
		border-radius: 18px;
	}

	/* Texto dos Cards */
	.card-description-terms {
		font-size: 20px;
		line-height: 1.45;
		font-weight: bold;
	}

	.read-more-btn {
		font-size: 20px;
		padding: 8px 12px;
		width: 70%;
	}

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

	/* MODAL DE DÚVIDAS MOBILE */
	.duvidas-modal {
		right: 10px;
		width: 88%;
		bottom: 80px;
	}

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

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

	.duvidas-modal .btn-login-modal {
		font-size: 18px;
		padding: 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;
    }
}
