/*
Theme Name: ManivaStudio
Theme URI: https://manivastudio.com
Author: Rafael Fernandes
Description: Tema otimizado e organizado.
Version: 3.1
License: GNU General Public License v2 or later
Text Domain: manivastudio
*/

/* ==================================================
   RESET & BASE
================================================== */

body {
    background-color: #c6c6c6;
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}
.descricao {
  display: none;
  transition: all 0.3s ease;
  text-align: justify;
}

/* ==================================================
   NAVBAR
================================================== */

#mainNavbar a{
	color: #fff !important;
    background: transparent;
    transition: background 0.4s ease, padding 0.3s ease;
	text-decoration:none;
    padding: 5px 0;
}

#mainNavbar a:hover{
	color: #7ad5ff !important;

}

/* Quando rolar */
#mainNavbar.scrolled {
    background: rgba(44, 51, 56, 0.95);
    backdrop-filter: blur(6px);
    padding: 5px 0;
}

/* Links */
#mainNavbar a .nav-link {
    color: #fff !important;
	text-decoration:none;
}

/* Logo pequena ao rolar */
#mainNavbar.scrolled .logo-maniva {
    height: 60px;
}

#mainNavbar .navbar-nav {
    gap: 25px;
}
.logo-maniva {
    height: 50px;
    transition: 0.3s ease;
}

.logo-maniva:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #90c684 !important;
}

/* Espaço para não ficar atrás do menu */
body {
    padding-top: 90px;
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 991px) {

    #mainNavbar {
        background: none;
    }

    .navbar-collapse {
        
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
    }
	
	.navbar-nav .dropdown-menu {
    background: #2C3338;
    border: none;
}

	.navbar-nav .dropdown-item {
		color: #fff;
	}

	.navbar-nav .dropdown-item:hover {
		background: #90c684;
		color: #000;
	}
}




.logo-maniva {
    height: 45px;
    width: auto;
    transition: 0.3s ease;
}

.logo-maniva:hover {
    transform: scale(1.05);
}


/* Logo animação */
.logo-maniva {
    height: 50px;
    transition: 0.4s;
}


/* Style the active link (or home/logo) */
.active {
  background-color: #04AA6D;
  color: white;
}

/* Evita que conteúdo fique atrás do menu */
body {
    padding-top: 90px;
}


/* IMAGEM DE DESTAQUE FULL WIDTH */
.page-hero-image {
    width: 100%;
    height: 30vh; /* altura visual elegante */
    overflow: hidden;
    position: relative;
	margin-top:-90px;
}

.page-hero-image img.img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HERO SINGLE */
.single-hero-image {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
	margin-top:-90px;
	padding-bottom:5px;
}

.single-hero-image img.img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay escuro elegante */
.single-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    top: 0;
    left: 0;
}

/* Conteúdo sobre imagem */
.single-hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

/* ==================================================
   BANNERS & SECTIONS
================================================== */

.bannerPresencial,
.bannerCentral,
.bannerCentral2 {
    color: #fff;
    padding: 3rem 1rem;
    text-align: justify;
}

.bannerPresencial {
    background-color: #4e65a7;
}

.bannerCentral,
.bannerCentral2 {
    background-color: #5280bd;
}

/* ==================================================
   CONTAINERS FLEX
================================================== */

.container-flex2 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.boxCard {
    padding: 50px;
    margin: 30px;
    text-align: justify;
}

/* ==================================================
   IMAGENS DE FUNDO
================================================== */

.img-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
}

.img-pattern {
    background-repeat: repeat;
}

/* ==================================================
   CARDS
================================================== */

.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 1.5rem;
}

/* ==================================================
   SLICK
================================================== */

.items {
    width: 90%;
    margin: auto;
}

.slick-slide {
    margin: 10px;
}

/* ==================================================
   BOTÃO WHATSAPP
================================================== */

.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: 0.3s;
    z-index: 999;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* ==================================================
   BOTÃO GO TOP
================================================== */

.go-top {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: rgba(144,198,132,0.9);
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

/* ==================================================
   TIPOGRAFIA
================================================== */

h1, h2, h3, h4 {
    font-weight: 700;
    color: #fff;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

h5 {
    font-size: 20px;
    font-weight: 600;
    color: #008df2;
}

h6 {
    font-size: 16px;
    font-weight: 600;
    color: #00b0e5;
}

/* HERO VIDEO */
.hero-video {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
	margin-top:-90px;
    color: #fff;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* ==================================================
   GALERIA POPUP
================================================== */

.gallery {
display:grid;
grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
gap:20px;
}

.gallery-item {
margin:0 !important;
}

.gallery-icon {
overflow:hidden;
border-radius:8px;
}

.gallery-icon img{
width:100%;
height:100%;
object-fit:cover;
transition:0.4s;
border-radius:8px;
}

.gallery-icon img:hover{
transform:scale(1.08);
}

/* LIGHTBOX */

.lightbox-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.lightbox-overlay img{
max-width:90%;
max-height:90%;
border-radius:6px;
}

.lightbox-close{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

/* ==================================================
   RESPONSIVO
================================================== */

@media (max-width: 768px) {
    .boxCard {
        padding: 20px;
		margin: 10px;
	}
    .single-hero-image {
        height: 40vh;
    }
	.page-hero-image {
        height: 40vh;
    }
}
}