/*--------------------------------------------------------------
# Configurações Gerais e Variáveis
--------------------------------------------------------------*/
:root {
	--branco: #FFFFFF;
	--cinza-claro: #00000029;
	--verde: #1F9794; 
	--verde-claro: #D3EFEF;
	--rosa: #FFDAD3;     
	--rosa-claro: #F8F3EC;
	--azul: #2E3A59; 
	--dark-text: #333333;

	--padding-x-global: 3.25rem;
	--padding-x-global-mobile: 1.5rem;
	--section-y-global: 3rem;
	--section-y-global-mobile: 1rem;

	--IBM: "IBM Plex Sans", sans-serif;
	--Inter: "Inter", sans-serif;

	--h1-fs: 3.5rem;
	--h1-lh: 1.2em;
	--h2-fs: 2.2rem;
	--h2-lh: 1.2em;
	--h3-fs: 1.8rem;
	--h3-lh: 1.2em;
	--h4-fs: 1.375rem;
	--h4-lh: 1.2em;
	--h5-fs: 1rem;
	--h5-lh: 1.2em;
	--h6-fs: 1.125rem;
	--h6-lh: 1.2em; 

	--h1-fs-mobile: 2rem;
	--h1-lh-mobile: 1.2em;
	--h2-fs-mobile: 1.75rem;
	--h2-lh-mobile: 1.2em;
	--h3-fs-mobile: 2rem;
	--h3-lh-mobile: 1.2em;
	--h4-fs-mobile: 1.375rem;
	--h4-lh-mobile: 1.2em;
	--h5-fs-mobile: 1.25em;
	--h5-lh-mobile: 1.2em;
	--h6-fs-mobile: 1.125rem;
	--h6-lh-mobile: 1.2em; 

	--bs-offcanvas-mobile-padding-x: 2rem
}

body {
	font-family: var(--IBM);
	color: var(--azul);
	background-color: var(--branco);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	font-family: var(--Inter);
}

a{
	text-decoration: none;
}

a:hover{
	text-decoration: none;
}

.padding{
	padding: var(--section-y-global) 0;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
	/* 	padding: 0 var(--padding-x-global); */
	/* 	max-width: 85rem; */
}

@media(max-width: 576px){
	header .container{
		padding: 0 var(--padding-x-global-mobile);
	}

	.container{
		padding: var(--padding-x-global-mobile);
	}

	.container-person{
		padding: var(--padding-x-global-mobile);
	}

	.wrapper {
		padding: var(--section-y-global-mobile) 0;
	}
	
}

/* --- ANIMAÇÕES DE SCROLL --- */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* TEXTO SUBLINHADO */
.titulo-sublinhado {
	position: relative;
	display: inline-block; 
	padding-bottom: 8px; 
}

@media(max-width: 586px){
	.titulo-sublinhado::after {
		width: 35%;
	}
}

/* BADGE */
.badge-person {
	position: absolute;
	bottom: -0.8rem;
	background-color: var(--verde);
	color: var(--branco);
	padding: 0.3rem 3rem;
	border-radius: 0.3rem;
	font-weight: 400;
}

.titulo-sublinhado::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0; 
	width: 70%; 
	height: 2px;
	background-color: var(--verde);
}

/* BOTÃO PADRÃO*/
.btn-default {
	position: relative;
	isolation: isolate;
	background: #FFFFFF4D 0% 0% no-repeat padding-box;
	color: var(--azul);
	padding: 8px 25px;
	font-weight: 500;
	border: 1px solid var(--branco);
	overflow: hidden;
	max-width: 60%;
}

.btn-default::before {
	content: '';
	position: absolute;
	inset: 0; 
	background: linear-gradient(to top, #00000029, #F8F3EC);
	opacity: 0; 
	transition: opacity 0.5s ease-in-out;
	z-index: -1; 
}

.btn-default:hover::before {
	opacity: 1; 
}

.btn-default:hover {
	color: var(--azul);
}

.btn-default i{
	color: var(--verde);
}

@media(max-width: 586px){
	.btn-default {
		max-width: 100%;
		margin: 0 auto;
	}
}

/*--------------------------------------------------------------
# Cabeçalho / Navegação
--------------------------------------------------------------*/
.navbar-container {
	background-color: var(--rosa);
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	border-bottom-left-radius: 1rem;
	border-bottom-right-radius: 1rem;
}

.menu{
	display: flex;
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

.menu li a {
	color: var(--azul);
	font-weight: 500;
	margin: 0 1rem;
	text-decoration: none; 
	position: relative; 
	transition: color 0.3s ease; 
}

.menu li a:hover {
	color: var(--verde);
}

.menu li a::after {
	content: '';
	position: absolute;
	background-color: var(--verde);
	height: 2px;
	width: 0; 
	bottom: -5px;
	left: 0; 
	transition: width 0.3s ease-in-out;
}

.menu li a:hover::after {
	width: 70%; 
}

.menu-desktop .btn-default{
	position: absolute;
	/* bottom: -1rem; */
	right: 5rem;
	margin-top: 2rem;
}

@media(max-width: 998px){
	.menu-desktop .btn-default{
		position: sticky;
		margin-top: 1rem;
	}

	.menu{
		flex-direction: column;
	}

}

/*--------------------------------------------------------------
# OFFCANVAS
--------------------------------------------------------------*/
#offcanvasMenu {
    background: linear-gradient(180deg, var(--rosa) 0%, var(--rosa-claro) 100%) 0% 0% no-repeat padding-box;
    height: fit-content;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.botao-abrir {
	background-color: transparent;
	border: none;
	display: none;
}

.hamburger-icon {
	display: block;
	width: 40px; 
	height: 3px;  
	background-color: var(--azul);
	position: relative;
	border-radius: 3px;
	transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--azul);
	position: absolute;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.hamburger-icon::before {
	top: -9px; 
}

.hamburger-icon::after {
	bottom: -9px;
}

.botao-fechar {
    border: none;
    background: transparent;
    font-size: 30px;
    font-weight: 300;
}

#offcanvasMenu .menu{
	text-align: center;
}

#offcanvasMenu .menu li{
	margin: 1rem 0;
}

#offcanvasMenu .btn.btn-default {
	background: var(--branco);
	width: 70%;
}

@media(max-width: 998px){
	#offcanvasMenu .container {
		padding: 0 var(--padding-x-global-mobile);
	}
	
	#offcanvasMenu .offcanvas-body {
		text-align: center;
	}
	
	.botao-abrir {
		display: block;
	}
	
}

/*--------------------------------------------------------------
# Seção de Conteúdo (Blog)
--------------------------------------------------------------*/
.content-section {
	padding: 80px 0;
}

.content-section-title {
	font-weight: 700;
	font-size: 2.2rem;
	position: relative;
	padding-bottom: 15px;
}

.content-card {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: #ffffff;
	height: 100%;
}

.content-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
	position: relative;
	height: 12rem;
}

.card-image-wrapper img{
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-text-content {
	padding: 20px;
}

#conteudo .badge-person.conteudo {
	max-width: 80%;
	font-size: 0.9rem;
	padding: 0.2rem 2.5rem;
	text-align: center;
	bottom: -4rem;
	left: -30%;
	transform: translate(50%, -50%);
}

.card-text-content p {
	font-size: 0.9rem;
	color: var(--azul);
	margin: 2rem 0 0 0;
}

/*--------------------------------------------------------------
# Rodapé (Footer)
--------------------------------------------------------------*/
.site-footer {
	background-color: var(--verde);
	color: var(--branco);
	padding-top: 20px;
	position: relative;
	overflow: hidden; /* Garante que o ícone de chat não estoure o layout */
}

.site-footer p,
.site-footer a {
	font-size: 0.95rem;
	color: var(--branco);
}

.footer-description {
	color: rgba(255, 255, 255, 0.8);
	max-width: 90%;
}

footer .menu{
	display: flex;
	align-items: center;
	flex-direction: column;
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
	margin-bottom: 0.8rem;
}

footer .menu li{
	margin-bottom: 1rem;
}

footer .menu li a{
	color: var(--branco);
}

footer .menu li a:hover {
	color: var(--rosa-claro);
}

.footer-heading {
	font-weight: 600;
	color: var(--branco);
	margin-bottom: 1.2rem;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--branco);
}

.social-links i {
	font-size: 1.2rem;
	margin-right: 12px;
	vertical-align: middle;
}

.footer-divider {
	border-color: rgba(255, 255, 255, 0.2);
	opacity: 1;
}

.footer-divider.mobile-divider{
	display: none;
}

.footer-bottom-row {
	padding: 1.5rem 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-row a {
	margin-right: 20px;
}

.footer-bottom-row a:hover {
	color: var(--branco);
}

.copyright-text {
	margin: 0;
}

.tuna-logo {
	filter: brightness(3.5);
}

/* ESTILO DO BOTÃO DE CHAT NA PLATAFORMA BOTPRESS*/

/* Ajustes para telas menores */
@media (max-width: 998px) {
	.footer-description {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.site-footer {
		text-align: center;
	}
	
	.site-footer .social-wrapper-footer{
		margin: auto;
	}
	
	.site-footer .menu-extra-footer{
		display: inline-grid;
	}
	
	.site-footer .menu-extra-footer a{
		margin: 1rem 0;
	}
	
	.site-footer .footer-social-link{
		display: flex;
		align-items: center;
	}
	
	.site-footer i{
		font-size: 2rem;
	}
	
	.footer-bottom-row > div {
		margin-bottom: 10px;
	}
	.footer-bottom-row .text-lg-end {
		text-align: center !important;
	}
	
	.footer-divider.desktop-divider{
		display: none;
	}
	
	.footer-divider.mobile-divider{
		display: block;
	}
}