/* Cores Base (ajuste conforme a paleta do Prósper) */
:root {
    --primary-color: #007bff; /* Azul padrão do Bootstrap, mas você pode mudar para algo como #1a4f89 do Prósper */
    --secondary-color: #6c757d; /* Cinza do Bootstrap */
    --accent-color: #ffc107; /* Amarelo do Bootstrap, pode ser ajustado para um tom mais laranja/ouro do Prósper */
    --text-dark: #343a40;
    --text-light: #f8f9fa;
	--text-white: #fff;
	--text-orange: #ff6600;
	--text-yellow: #ffff00;
}

@font-face {
font-family: "Cuyabra Regular";
src: url("../fonts/cuyabra.otf");
}

@font-face {
font-family: "Cuyabra Bold";
src: url("../fonts/cuyabra-bold.otf");
}

@font-face {
font-family: "Cuyabra Bold Oblique";
src: url("../fonts/cuyabra-bold-oblique.otf");
}

@font-face {
font-family: "Cuyabra Oblique";
src: url("../fonts/cuyabra-oblique.otf");
}

.cuyabra{
    font-family: 'Cuyabra Regular', sans-serif;
}

.cuyabra-bold{
    font-family: 'Cuyabra Bold', sans-serif;
}

.cuyabra-bold-oblique{
    font-family: 'Cuyabra Bold Oblique', sans-serif;
}

.cuyabra-oblique{
    font-family: 'Cuyabra Oblique', sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Similar à fonte do Prósper */
    color: var(--text-dark);
}

.orange {
	color: var(--text-orange);
}

.blue {
	color: var(--primary-color);
}

.bg-yellow {
	background: #ffff00;
}

.lead {
	font-weight: 350;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color) !important; /* Exemplo: use uma cor forte */
    font-size: 0.85em;
}

/* Navbar (Menu de Navegação Principal) */
.navbar {
    border-bottom: 6px solid #ffcc00;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    z-index: 1030;
    display: flex; /* Adicionado para facilitar o posicionamento dos elementos internos */
    align-items: center; /* Alinha verticalmente os itens da navbar */
    justify-content: space-between; /* Distribui os itens (botão hamburguer, logo, etc) */
}

/* Esconde a top bar quando a logo for maior (opcional, mas comum para liberar espaço) */
/* .top-bar {
    display: none !important;
} */

/* Estilo para a Logomarca Central (desktop) */
.navbar-brand.logo-central {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1040;
    padding: 0;
}

.navbar-brand.logo-central img {
    max-height: 200px;
    width: auto;
    display: block;
    margin: 0;
}

/* Estilo para a Logomarca Mobile (SEMPRE VISÍVEL) */
.navbar-brand.logo-mobile-always-visible {
    position: absolute; /* Posicionamento absoluto para sobrepor e centralizar */
    left: 50%; /* Inicia a 50% da esquerda */
    transform: translateX(-45%); /* Move para trás metade da sua largura para centralizar */
    top: -5px; /* Ajuste a posição vertical conforme necessário */
    z-index: 1040; /* Garante que ela fique acima dos outros elementos */
    display: none; /* Por padrão, esconde em desktop e mostra via media query */
}

.navbar-brand.logo-mobile-always-visible img {
    max-height: 100px; /* Altura desejada para a logo mobile */
    width: auto;
    display: block;
    margin: 0;
}


.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.8rem 1rem;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.nav-link:focus-visible {
	box-shadow: none;
}

.navbar-nav .dropdown-menu {
	--bs-dropdown-padding-y: 0;
	margin-top: -5px;
}

.navbar-nav .dropdown-menu {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    color: var(--text-dark);
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.nav-item .btn {
	background: var(--text-orange);
	color: var(--text-white);
	font-weight: bold;
}

/* Remove a regra anterior de centralização da logo mobile, pois a nova classe assume */
/* .navbar-toggler ~ .navbar-brand.d-lg-none {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */



/* Carousel/Hero Section */
.hero-section .carousel-item {
    height: 600px; /* Altura do slide - ajuste conforme necessário */
    background-size: cover;
    background-position: center;
	border-bottom: 55px solid #ffcc00;
    position: relative; /* Essencial para o posicionamento do caption */
    color: white;
    /* Remover display: flex, align-items, justify-content se estiver causando o problema */
    /* Em vez disso, vamos centralizar o caption com posicionamento absoluto */
}

.hero-section .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Overlay escuro para melhorar a legibilidade do texto */
    z-index: 1; /* Garante que o overlay esteja abaixo do caption */
}

.hero-section .carousel-caption {
    text-align: left; /* Alinha o texto do título e da descrição para a esquerda */
    left: 15%; /* Ajusta a posição da legenda a partir da esquerda */
    right: auto; /* Remove o alinhamento padrão da direita */
    width: 90%; /* Garante que o caption ocupe a maior parte da largura para o texto */
    max-width: 600px; /* Limita a largura máxima para o texto não ficar muito espalhado em telas grandes */
    padding-bottom: 100px; /* Opcional: Aumenta o espaçamento inferior se necessário */
}

.hero-section .carousel-caption h5 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 15px; /* Espaço abaixo do título */
}

.hero-section .carousel-caption h4 {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
	color: #ffcc00 !important;
    margin-bottom: 15px; /* Espaço abaixo do título */
}

.hero-section .carousel-caption p {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 25px; /* Espaço abaixo do parágrafo */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-section .carousel-caption .btn {
    font-size: 1.1rem;
	font-weight: bold;
    padding: 10px 30px;
    border-radius: 30px;
    background-color: var(--text-orange);
    border-color: var(--text-white);
	color: var(--text-white);
    transition: all 0.3s ease;
	position: relative;
	z-index: 9;
}

.hero-section .carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* Carousel/Hero Section - PÁGINAS INTERNAS */
.hero-section.interno .carousel-item {
    height: 280px; /* Altura do slide - ajuste conforme necessário */
    background-size: cover;
    background-position: center;
	border-bottom: 15px solid #ffcc00;
    position: relative; /* Essencial para o posicionamento do caption */
    color: white;
    /* Remover display: flex, align-items, justify-content se estiver causando o problema */
    /* Em vez disso, vamos centralizar o caption com posicionamento absoluto */
}


.hero-section.interno .carousel-caption {
    text-align: left; /* Alinha o texto do título e da descrição para a esquerda */
    left: 15%; /* Ajusta a posição da legenda a partir da esquerda */
    right: auto; /* Remove o alinhamento padrão da direita */
    width: 90%; /* Garante que o caption ocupe a maior parte da largura para o texto */
    max-width: 600px; /* Limita a largura máxima para o texto não ficar muito espalhado em telas grandes */
    padding-bottom: 10px; /* Opcional: Aumenta o espaçamento inferior se necessário */
}

/* Ajuste para telas menores */


@media (max-width: 991.98px) { /* Para telas menores que 'lg' */
    .navbar {
        justify-content: space-between; /* Distribui o botão e a logo */
    }
    .navbar-collapse {
        order: 2; /* Garante que o menu colapsado apareça abaixo da logo no mobile */
        padding-top: 15px;
        margin-top: 70px; /* Aumentado para dar mais espaço à logo fixa acima do menu */
        width: 100%; /* Ocupa a largura total para centralizar os itens */
    }
    .navbar-nav {
        width: 100%;
        text-align: center;
    }
    .navbar-nav .nav-item {
        margin-bottom: 8px;
    }

    /* Exibe a logo mobile e esconde a desktop no mobile */
    .navbar-brand.logo-mobile-always-visible {
        display: block; /* Garante que a logo mobile seja exibida */
    }
    .navbar-brand.logo-central {
        display: none !important; /* Esconde a logo desktop no mobile */
    }
    .navbar-nav .btn-primary {
        width: auto;
        margin: 15px auto;
    }
}

@media (min-width: 768px) { /* Para telas maiores que 'lg' */
	.text-md-left {
        text-align: left !important;
    }
	
	.ml-md-4, .mx-md-4 {
        margin-left: 1.5rem !important;
    }
	
	.pl-md-5, .px-md-5 {
        padding-left: 3rem !important;
    }
	
	.pb-md-0, .py-md-0 {
        padding-bottom: 0 !important;
    }
	
	.pt-md-0, .py-md-0 {
        padding-top: 0 !important;
    }
	
	.mr-md-2, .mx-md-2 {
        margin-right: .5rem !important;
    }
	
	.fs-350 {
		font-size: 280%!important;
	}
}

@media (max-width: 767.98px) {
	.navbar-toggler {
		background-color: #ffd800;
	}
	
	.hero-section .carousel-caption h5 {
        font-size: 1.8rem;
    }
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
    
    .top-bar {
        display: none !important; /* Esconde a top bar em telas menores */
    }
    .navbar-nav .nav-item .btn-primary {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
    }
	
	.hero-section .carousel-item {
        height: 480px; /* Altura menor em mobile */
    }
	.hero-section .carousel-caption {
        left: 15%;
        right: 10%;
        width: 70%;
        padding-bottom: 70px; /* Reduz o padding inferior para economizar espaço */
    }
	.hero-section.interno .carousel-caption {
		 left: 5%;
	}
    .hero-section .carousel-caption h5 {
        font-size: 1.5rem;
    }
	.hero-section .carousel-caption h4 {
		font-size: 1.2rem;
	}
    .hero-section .carousel-caption p {
        font-size: 1rem;
		width: 60%;
    }
    .hero-section .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
	
	#pagina-unidade {
		margin-top: -50px;
	}
	
	.texto-interno p {
		font-size: 0.8em;
	}
	
	.texto-interno .contatos p {
		font-size: 0.8em;
	}
	
	.texto-interno .contatos a {
		font-size: 0.9em;
	}
	
	#fotos h2 {
		margin-bottom: 0!important;
	}
	
	.copy span {
		display: block;
	}
	
	.fs-350 {
		font-size: 280%!important;
	}
	
	#texto-sobre-nos {
		background: #fff!important;
		padding: 20px;
		border-radius: 30px;
	}
}

@media (min-width: 992px) { /* Para telas maiores que 'lg' */
    .navbar {
        justify-content: center; /* Centraliza o conteúdo da navbar em desktop */
    }
    .navbar-collapse {
        display: flex !important;
        flex-grow: 1;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-nav.me-auto,
    .navbar-nav.ms-auto {
        flex: 0 1 auto;
    }
    .navbar-brand.logo-central {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Esconde a logo mobile em desktop */
    .navbar-brand.logo-mobile-always-visible {
        display: none !important;
    }
}



/* Seções de Conteúdo */
section {
    padding: 80px 0; /* Espaçamento padrão para seções */
}

section h2 {
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.bw-4 {
    border-width: 4px !important;
}

.fs-350 {
    font-size: 350%;
	line-height: 1.3em;
}

.border-bottom {
    border-bottom: 6px solid #dee2e6 !important;
}

#sobre-nos {
	background-image: url(../imgs/bg-material-escolar.jpg);
}

#sobre-nos .btn {
	font-size: 1.1rem;
    font-weight: bold;
}

#diferenciais {
	position: relative;
	background-color: var(--primary-color);
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0em 0em 3em 0em;
    z-index: 15;
}

#diferenciais .background-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	display: list-item;
	background-color: var(--primary-color);
    background-image: url(../imgs/bg-diferenciais.jpg);
    opacity: 0.1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

#diferenciais .container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
	align-items: center;
}

#diferenciais .card-body i {
	background: var(--text-yellow);
	border: 6px var(--primary-color) solid;
    color: var(--text-orange)!important;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 2.2em;
}

#diferenciais h2 {
	color: var(--text-white);
}

#diferenciais h4 {
	font-size: 1.3em;
}

#numeros h2 {
	font-size: 2.5em;
}

#numeros h4 {
	margin-top: -30px;
	font-family: "Dancing Script", cursive;
	font-optical-sizing: auto;
	font-size: 2.5em;
	font-weight: 400;
	font-style: normal;
}

#numeros .card {
	background: var(--primary-color);
	border-bottom: 6px var(--text-yellow) solid!important;
}

#numeros .numbers {
    font-family: "Bebas Neue", Sans-serif;
    font-size: 6em;
    color: var(--text-white)!important;
}

#numeros .number-text {
	align-items: center;
    display: flex;
    flex: 1;
    font-size: 1.7em;
    font-weight: 500;
	color: var(--text-white)!important;
    justify-content: center;
}

#unidades .card {
	border-radius: 20px!important;
	box-shadow: 0 10px 10px rgba(0,0,0,0.1)!important;
}

#unidades .logo-escola {
	position: absolute;
	z-index: 3;
	width: 50%;
	top: -60px;
	left: 25%;
}

#unidades .card-img-top {
	border-radius: 20px 20px 0 0!important;
	border-bottom: 10px solid #ffcc00;
}

#unidades .card-title {
	color: var(--primary-color);
}

#unidades .card-text {
	font-weight: bold;
}

#unidades .btn {
	font-size: 1.1rem;
    font-weight: bold;
}

/* Cards (Diferenciais, Segmentos, Unidades, Atividades) */
.card {
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card .card-body {
    padding: 25px;
}

.diferenciais .card-body {
	border-bottom: 4px solid var(--primary-color);
}

.diferenciais .card-body strong {
	color: var(--primary-color); /* Cor dos ícones */
}

.diferenciais .card-text {
	font-size: large;
}

.atividades .card-body {
	border-bottom: 4px solid var(--primary-color);
}

.atividades .card-body strong {
	color: var(--primary-color); /* Cor dos ícones */
}

.atividades .card-text {
	font-size: large;
}

#segmentos .card-img-top {
	border-bottom: 6px var(--text-orange) solid;
}

#segmentos .card-title {
	color: var(--primary-color);
}

#segmentos .btn {
	font-size: 1.1rem;
    font-weight: bold;
	background: var(--text-orange);
	border: 0;
}

.fotos .card-body {
	border-bottom: 4px solid var(--primary-color);
}

.fotos .card-body strong {
	color: var(--primary-color); /* Cor dos ícones */
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* CTA Section */
.cta-matricula {
    background-color: var(--primary-color) !important; /* Cor principal */
    background-image: linear-gradient(to right, var(--primary-color), #2196f3); /* Gradiente sutil */
}

.cta-matricula h2 {
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-matricula p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-matricula .btn-lg {
    padding: 15px 40px;
    font-size: 1.3rem;
    border-radius: 50px; /* Botão mais arredondado */
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-matricula .btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.cta-matricula-2 .btn-lg {
    padding: 15px 40px;
    font-size: 1.3rem;
    border-radius: 50px; /* Botão mais arredondado */
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-matricula-2 .btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background-color: #00045a !important;
    color: rgba(255, 255, 255, 0.7);
	border-top: 6px var(--text-yellow) solid;
}

.footer img {
    margin-bottom: 15px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer .list-unstyled li a {
    font-size: 1.2em;
	color: var(--text-yellow);
    transition: color 0.3s ease;
	text-decoration: none;
}

.footer .list-unstyled li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
	text-decoration: none;
}

.social-icons a {
    color: var(--primary-color) !important;
    margin-right: 15px;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color) !important;
}


.footer .creditos a {
	color: var(--text-yellow);
}

.whatsapp {
    position: fixed;
    z-index: 99;
    right: 80px;
    bottom: 100px;
    width: 60px;
    height: 60px;
}

.whatsapp a {
	background: #00E676;
	border-radius: 50%;
	box-shadow: 0 5px 10px 0 rgba(35, 50, 56, 0.1);
	-webkit-transform-origin: center;
	transform-origin: center;
	position: relative;
	height: 60px;
	width: 60px;
	text-align: center;
	line-height: 60px;
	font-size: 1.3em;
	color: #fff;
	z-index: 1;
	display: block;
}

.whatsapp .ripple,
.whatsapp .ripple:before,
.whatsapp .ripple:after {
	-webkit-animation: ripple 3s infinite;
	animation: ripple 3s infinite;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(16, 231, 126, 0.3);
	top: 0;
	height: 60px;
	position: absolute;
	width: 60px;
	left: -1px;
}

.whatsapp .ripple:before {
	-webkit-animation-delay: .9s;
	animation-delay: .9s;
	content: "";
	position: absolute;
	top: 0;
}

.whatsapp .ripple:after {
	-webkit-animation-delay: .6s;
	animation-delay: .6s;
	content: "";
	position: absolute;
	top: 0;
}

@-webkit-keyframes ripple {
  70% {
    box-shadow: 0 0 0 50px transparent; }
  100% {
    box-shadow: 0 0 0 0 transparent; }
}
@keyframes ripple {
  70% {
    box-shadow: 0 0 0 50px transparent; }
  100% {
    box-shadow: 0 0 0 0 transparent; }
}
@media (max-width: 767px) {
	.whatsapp {
		position: fixed;
		z-index: 99;
		left: 25px;
		bottom: 100px;
		width: 60px;
		height: 60px;
	}

	.whatsapp a {
		background: #00E676;
		border-radius: 50%;
		box-shadow: 0 5px 10px 0 rgba(35, 50, 56, 0.1);
		-webkit-transform-origin: center;
		transform-origin: center;
		position: relative;
		height: 60px;
		width: 60px;
		text-align: center;
		line-height: 60px;
		font-size: 1.3em;
		color: #fff;
		z-index: 1;
		display: block;
	}
}


.texto-interno {
	font-size: 1.6em;
}

.texto-interno p {
	text-align: justify;
}

.texto-interno .contatos a {
	text-decoration: none;
}

/*ATIVIDADES*/

#atividades {
	position: relative;
	background-color: var(--primary-color);
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0em 0em 3em 0em;
    z-index: 15;
}

#atividades .background-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	display: list-item;
	background-color: var(--primary-color);
    background-image: url(../imgs/bg-diferenciais.jpg);
    opacity: 0.1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

#atividades .container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
	align-items: center;
}

#atividades .card-body i {
	background: var(--text-yellow);
	border: 6px var(--primary-color) solid;
    color: var(--text-orange)!important;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 2.2em;
}

#atividades h2 {
	color: var(--text-white);
}

#atividades h4 {
	font-size: 1.3em;
}


/*PÁGINA UNIDADES*/
#pagina-unidade .card-img-foto {
	border-radius: 20px 20px 0 0!important;
	border-bottom: 10px solid #ffcc00;
}


/*FOTOS*/

#fotos {
	position: relative;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0em;
    z-index: 15;
}

#fotos .background-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	display: list-item;
	background-color: var(--primary-color);
    background-image: url(../imgs/bg-material-escolar.jpg);
    opacity: 0.1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

#fotos .container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
	align-items: center;
}

#fotos .card-body i {
	background: var(--text-yellow);
	border: 6px var(--primary-color) solid;
    color: var(--text-orange)!important;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 2.2em;
}
