/* === Variaveis de Cor e Fontes === */
:root {
	--primary-color: #d8a7b1;
	--secondary-color: #fdf2f5;
	--dark-color: #3d3d3d;
	--light-color: #ffffff;
	--gray-color: #f8f9fa;
	--body-font: 'Poppins', sans-serif;
	--base-font-size: 16px;
}

/* sobrescrita */
.navbar-toggler-icon{
	background-color: pink;
}

/*Corrige o problema de se criar uma coluna branca a direita da tela em dispositivos móveis */
html, body{
	overflow-x: hidden;  
}

/* === Estilos Gerais === */
body {
	font-family: var(--body-font);
	color: var(--dark-color);
	background-color: var(--light-color);
	font-size: var(--base-font-size);
	scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

a {
	text-decoration: none;
	color: var(--primary-color);
}

a:hover {
	color: #b88a9a;
}

.section-padding {
	padding: 80px 0;
}

.section-subtitle {
	font-size: 1rem;
	font-weight: 600;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.section-title {
	font-weight: 900;
	color: var(--dark-color);
}

/* === Header === */
.header-transition {
	transition: background-color 0.4s ease, padding 0.4s ease;
}

.header-scrolled {
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding-top: 5px;
	padding-bottom: 5px;
}

.navbar-brand .logo-img {
	height: 60px;
	filter: drop-shadow(0 0 10px white);
	transition: height 0.4s ease;
}

.header-scrolled .navbar-brand .logo-img {
	height: 50px;
}

.navbar-nav .nav-link {
	font-weight: 600;
	color: var(--primary-color);
	margin: 0 10px;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
	color: var(--primary-color);
}

.navbar-toggler {
	border: none;
}
.navbar-toggler:focus {
	box-shadow: none;
}

.btn {
	background-color: var(--primary-color);
	color: var(--light-color);
	border: 2px solid var(--primary-color);
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

/* === Hero Section === */
#inicio {
  position: relative;
  background-image: url("../images/background_hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* escurece a imagem */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}


@media (max-width: 575.98px) {
  #inicio {
    background-position: top center;
    background-size: cover;
    height: auto; /* caso prefira altura flexível no mobile */
    padding: 100px 20px 60px;
  }
}

#typing-text {
	font-weight: 600;
}

.typing-cursor {
	display: inline-block;
	width: 3px;
	height: 1.2em;
	background-color: var(--light-color);
	animation: blink 0.7s infinite;
	vertical-align: bottom;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

#inicio .btn {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--light-color);
}

#inicio .btn:hover {
	background-color: var(--light-color);
	border-color: var(--light-color);
	color: var(--primary-color);
}

/* === Sobre Section === */
#sobre img {
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* === Serviços Section === */
#servicos {
	background-color: var(--secondary-color);
}

.service-card {
	background-color: transparent;
	aspect-ratio: 1 / 1;
	perspective: 1000px;
	border-radius: 15px;
}

.service-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
	transform: rotateY(180deg);
}

.service-card-front, .service-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.service-card-front {
	background-color: var(--light-color);
	color: var(--dark-color);
}

.service-card-front .icon {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.service-card-back {
	background-color: var(--primary-color);
	color: white;
	transform: rotateY(180deg);
}

/* === Portfólio Section === */
.portfolio-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.portfolio-item img {
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}

.portfolio-item:hover img {
	transform: scale(1.1);
}

.portfolio-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(216, 167, 177, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	color: white;
	font-size: 2.5rem;
}

.portfolio-item:hover .portfolio-overlay {
	opacity: 1;
}

/* === Seção Cursos === */
#cursos {
	background-color: var(--secondary-color);
}
#cursos img {
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* === Contato Section === */
#contato {
	background-color: var(--light-color); /*var(--secondary-color);*/
}
.contact-info a, .contact-info div {
	color: var(--dark-color);
	font-weight: 500;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
}
.contact-info a:hover {
	color: var(--primary-color);
}
.contact-info i {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-right: 15px;
	width: 30px; /* For alignment */
	text-align: center;
}


/* === Footer === */
footer {
	background-color: var(--dark-color);
	color: rgba(255, 255, 255, 0.7);
}
footer .social-icons a {
	color: white;
	font-size: 1.5rem;
	transition: color 0.3s ease;
}
footer .social-icons a:hover {
	color: var(--primary-color);
}
footer a {
	color: var(--primary-color);
	font-weight: 500;
}
footer a:hover {
	color: white;
}

/* === Acessibilidade === */
#accessibility-container {
	position: fixed;
	bottom: 9.8%;
	right: 20px;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#accessibility-toggle-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--primary-color);
	color: white;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}

#accessibility-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
}

#accessibility-container.open #accessibility-options {
	transform: scaleY(1);
}

#accessibility-options .btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--dark-color);
	color: white;
}

/* Botão Whatsapp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float i {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .whatsapp-float i {
        margin-top: 13px;
    }
}

/* =================================================================== */
/* CSS REFINADO PARA ALTO CONTRASTE                                    */
/* Substitua todo o seu bloco de "Estilos de Alto Contraste" por este. */
/* =================================================================== */

/* 1. Regra geral: Fundo preto, texto branco por padrão */
body.high-contrast {
	background-color: #000 !important;
	color: #fff !important;
}

/* 2. Garante que seções com imagem de fundo fiquem escuras */
.high-contrast #inicio,
.high-contrast .header-scrolled,
.high-contrast footer {
	background-image: none !important;
	background-color: #000 !important;
}

/* 3. SEÇÕES CLARAS: Ficam com fundo branco e TEXTO PRETO */
.high-contrast #sobre,
.high-contrast #servicos,
.high-contrast #portfolio,
.high-contrast #cursos,
.high-contrast #contato {
	background-image: none !important;
	background-color: #fff !important;
	color: #000 !important;
}

/* Garante que TODOS os elementos filhos (títulos, parágrafos) fiquem com texto preto */
.high-contrast #sobre *,
.high-contrast #servicos *,
.high-contrast #portfolio *,
.high-contrast #cursos *,
.high-contrast #contato * {
	color: #000 !important;
}

/* 4. AJUSTE FINO DE LINKS E ÍCONES */

/* Links e ícones em seções escuras (header, footer) ficam amarelos */
.high-contrast .navbar-nav .nav-link,
.high-contrast footer a {
	color: #FFFF00 !important;
}

/* Links e ícones em seções claras (agora com fundo branco) ficam azuis para destaque */
.high-contrast #contato a,
.high-contrast .contact-info i,
.high-contrast .service-card-front .icon {
	color: #0000FF !important; /* Azul de alto contraste */
	font-weight: bold;
}

/* 5. ESTILO GERAL DE COMPONENTES */

/* Botões ficam com máximo destaque em qualquer fundo */
.high-contrast .btn,
.high-contrast #accessibility-options .btn,
.high-contrast #accessibility-toggle-btn{
	background-color: #FFFF00 !important;
	color: #000 !important;
	border: 2px solid #000 !important;
}

/* Cards de serviço */
.high-contrast .service-card-front {
	border: 2px solid #000 !important;
	background-color: #fff !important;
}
.high-contrast .service-card-back {
	background-color: #000 !important;
	border: 2px solid #FFFF00 !important;
}
.high-contrast .service-card-back * {
	color: #FFFF00 !important;
}

/* Imagens */
.high-contrast img {
	filter: grayscale(100%) contrast(150%) !important;
}

/* Corrige o logo para que não desapareça no modo de alto contraste */
.high-contrast .logo-img {
    filter: drop-shadow(0 0 4px #FFFF00) !important; /* Adiciona um brilho amarelo para destaque */
}


/* Remove sombras */
.high-contrast * {
	text-shadow: none !important;
}


/* =================== MEDIA QUERIES =================== */
/* Responsividade geral para mobile */
@media (max-width: 575.98px) {
  #inicio {
    height: auto;
    padding: 100px 20px 60px;
    background-size: cover;
    background-position: top center;
    background-attachment: scroll;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  .btn {
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }

  .navbar-toggler {
    z-index: 1001;
  }

  .navbar-collapse {
    background-color: white;
    text-align: center;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

  footer {
    padding: 30px 10px;
    font-size: 0.9rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
}
