/*
 * Arquivo: style.css
 * Descrição: Estilos para a Escola Cultural Brasileira.
*/

/* 1. VARIÁVEIS DE COR E FONTES */
:root {
    --bs-blue: #0038a8;
    --bs-green: #fc762b;
    --bs-yellow: #00adee;
    --bs-red: #e32b2d;
    --dark-blue:#0b77c1;
    --light-yellow-bg: #fffde7;
    
    --font-headings: "Montserrat", sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* 2. ESTILOS GERAIS */
body {
    font-family: var(--font-body);
    color: #333;
    padding-top: 85px; 
    scroll-behavior: smooth;
    
}

/* Estilo do botão flutuante */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 20px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #999;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none; 
        }
        
        .whatsapp-float:hover {
            background-color: #128C7E;
        }


        .whatsapp-float img {
            width: 35px;
            height: 35px;
        }

.section-title {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 2.5rem;
    position: center;
    text-align: center;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-yellow), var(--bs-green));
    margin: 10px auto 0;
    border-radius: 5px;
}

/*.bg-light-yellow { background-color: var(--light-yellow-bg); }*/
.bg-light-yellow { background-color:#FFc06750; }
.bg-dark-blue { background-color: var(--dark-blue); }

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 60px;
}

.navbar .nav-link {
    font-family: var(--font-headings);
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0 0.7rem;
    position: relative;
    /* Adicionado para garantir que o sublinhado não apareça em botões */
    display: inline-block;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--bs-green);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    /* Fundo e sombra iguais aos do navbar */
    background-color: var(--bs-light);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    border: none;
    border-radius: 0.5rem;
}

.dropdown-item {
    /* Usa a mesma fonte e cor dos links principais */
    font-family: var(--font-headings);
    font-weight: 500;
    color: var(--dark-blue);
    position: relative;
    overflow: hidden; /* Garante que o sublinhado não saia do card */
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: transparent;
    color: var(--bs-green); 
}


.dropdown-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-green);
    transition: width 0.3s ease;
}

.dropdown-item:hover::after {
    width: 100%;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


/* 4. BANNER */


/* ======= Estrutura principal ======= */
.c-item {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.c-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

/* ======= Legendas (se usadas) ======= */
.carousel-caption {
    bottom: 25%;
}

/* ======= Botões principais ======= */
.btn-primary {
    border-radius: 999px;
}

.btn.btn-lg {
    padding: 0.6rem 3.5rem;
    font-size: 1.25rem;
}

.btn.btn-lg:hover {
    background-color: #fc762b;
    transform: scale(1.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.strong {
    font-weight: 600;
}

/* ===============================
   SETAS PERSONALIZADAS DO CARROSSEL
   =============================== */


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    filter: invert(1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(252, 118, 43, 0.9);
    transform: scale(1.15);
}

.carousel-control-prev { left: 2%; }
.carousel-control-next { right: 2%; }

/* ===============================
   RESPONSIVIDADE - MOBILE
   =============================== */

@media (max-width: 767.98px) {

    /* Container do banner */
    .c-item {
        height: auto;              /* remove altura fixa */
        min-height: 180px;         /* garante presença mínima */
    }

    /* Imagem ajusta naturalmente */
    .c-img {
        width: 100%;
        height: auto;
        object-fit: contain;       /* mostra a imagem inteira */
        object-position: center;
        display: block;
        margin: 0 auto;
        background-color: #1453a5; /* mantém cor base */
    }

    /* Setas centralizadas verticalmente */
    .carousel-control-prev,
    .carousel-control-next {
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        opacity: 0.9;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.5);
        background-size: 50%;
        border-radius: 50%;
        filter: invert(1);
    }

    .carousel-control-prev { left: 3%; }
    .carousel-control-next { right: 3%; }

    /* Remove qualquer espaço abaixo */
    #banner {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Ajuste das legendas, se existirem */
    .carousel-caption {
        bottom: 1%;
        text-align: center;
        padding: 0 0.5rem;
    }
}




/* 5. LINHA DO TEMPO */
.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #ddd;
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bs-blue);
    border: 4px solid var(--light-yellow-bg);
}
.timeline-item:nth-child(odd)::after {
    right: -10px;
    transform: translateX(50%);
}
.timeline-item:nth-child(even)::after {
    left: -10px;
    transform: translateX(-50%);
}
.timeline-year {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bs-green);
}
.timeline-title { color: var(--dark-blue); }

/* 6. PROPOSTA PEDAGÓGICA (FEATURE CARD) */
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
}
.feature-icon.bg-blue { background-color: var(--bs-blue); }
.feature-icon.bg-green { background-color: var(--bs-green); }
.feature-icon.bg-yellow { background-color: var(--bs-yellow); }

/* =========================
7. SEGMENTOS 
   ========================= */

.segment-card {
    max-width: 320px;                      
    margin: 0 auto;                          
    border: none;                            
    border-radius: 15px;                   
    overflow: hidden;                        
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
    transition: transform 0.3s, box-shadow 0.3s; 
    display: flex;                          
    flex-direction: column;      
    height: 100%;                         
}

/* Efeito hover */
.segment-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Imagem do card */
.segment-card img {
    width: 100%;            /* Ocupa toda largura do card */
    height: auto;           /* Mantém proporção */
    object-fit: cover;      /* Cobre o espaço sem distorcer */
}

/* Corpo do card */
.segment-card .card-body {
    background-color: white;
    text-align: center;
    flex: 1;                /* Preenche o espaço restante do card */
    display: flex;
    flex-direction: column; /* Permite alinhar botão na parte inferior */
    justify-content: space-between;
    padding: 1.5rem;
}

/* Título do card */
.segment-card h5 {
    font-family: var(--font-headings);
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Descrição do card */
.segment-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Botão dentro do card */
.segment-card .btn {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
    align-self: center;        /* Centraliza botão */
}

@media (max-width: 991.98px) {
    .segment-card {
        max-width: 280px;
    }
}

/* Mobile: 1 card por linha */
@media (max-width: 767.98px) {
    .segment-card {
        max-width: 100%;        /* Ocupa toda largura disponível */
        
    }
}


/* 8. CTA MATRÍCULAS */
/* ===== SEÇÃO MATRÍCULAS BILÍNGUE ===== */
#matriculas {
	background: linear-gradient(135deg, darkblue 0%, lightblue 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#matriculas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
}

#matriculas .container {
    position: relative;
    z-index: 2;
}

#matriculas h2 {
    font-family: var(--font-headings);
    font-weight: 800;
    letter-spacing: 0.5px;
}

#matriculas p.lead {
    font-size: 1.15rem;
    color: #f1f1f1;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Botão CTA (seguindo seu estilo base) */
.btn-custom-cta {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: #ff4c01;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-custom-cta:hover {
    background-color: #417bb9;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

/* Responsividade */
@media (max-width: 768px) {
    #matriculas h2 {
        font-size: 1.8rem;
    }
    #matriculas p.lead {
        font-size: 1rem;
        padding: 0 1rem;
    }
}




/* 10. CONTATO */
.contact-form .form-control {
    border-radius: 10px;
    padding: 12px;
}
.contact-form .form-control:focus {
    border-color: var(--bs-green);
    box-shadow: 0 0 0 0.25rem rgba(0, 150, 63, 0.25);
}
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-info .info-item i {
    font-size: 2rem;
    color: var(--bs-green);
    margin-right: 1.5rem;
    margin-top: 5px;
}

/* 11. RODAPÉ */
.footer a.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.footer a.footer-link:hover { color: var(--bs-yellow); }
.text-yellow { color: var(--bs-yellow); }
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s;
}
.social-icon:hover { background-color: var(--bs-yellow); color: var(--dark-blue); }

.text-orange {
    color:  #0038a8;
}

/* 12. MEDIA QUERIES PARA RESPONSIVIDADE */
@media (max-width: 767.98px) {
    .timeline::before { left: 1rem; }
    .timeline-item { width: 100%; padding-left: 3rem; padding-right: 1rem; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd) { text-align: left; }
    .timeline-item:nth-child(odd)::after { left: 1rem; transform: translateX(-50%); }
    .timeline-item:nth-child(even)::after { left: 1rem; transform: translateX(-50%); }
    .c-item { height: 60vh;
    margin-top: 5rem; }
    .carousel-caption h1 { font-size: 2.5rem; }
}

/* Regras para telas de tablets (Modo paisagem) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .c-item {
        height: 60dvh; 
    }
    .carousel-caption {
        bottom: 20%; /* Posição da legenda ajustada para tablets */
    }
}

/* Regras para telas de smartphones (Modo retrato) */
@media (max-width: 767.98px) {
    .c-item {
        height: 70vh; /* Altura do banner menor para smartphones */
        margin-top: 0.5rem;
    }
    .carousel-caption {
        bottom: 15%; /* Posição da legenda ajustada para smartphones */
    }
    .carousel-caption h1 {
        font-size: 2.5rem; /* Tamanho da fonte do título ajustado */
    }
    .carousel-caption p {
        font-size: 1rem; /* Tamanho da fonte do parágrafo ajustado */
    }
    .section-title {
        font-size: 1.8rem; /* Tamanho da fonte do título da seção ajustado */
    }
}

/* 13. SEÇÃO EQUIPE ATIVIDADES EXTRA */
.team-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding: 1.5rem;
    padding-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--bs-yellow);
}

.team-img {
    width: 60px;
    height: 65px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
}

.team-card:hover .team-img {
    box-shadow: 0 0 0 5px var(--bs-green);
}

.team-name {
    font-family: var(--font-headings);
    color: var(--dark-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--bs-green);
    font-weight: 600;
    margin-bottom: 0;
}

    .btn-custom {
        display: inline-block;
        padding: 12px 28px;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        background-color:#ff4c01;
        border: none;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-custom:hover {
        background-color:#417bb9;
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
        transform: translateY(-2px);
    }

    /* Wrapper flexível */
.mascote-mapa-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Para mobile empilhar */
}

/* Mantém os cards sempre alinhados em 3 colunas no desktop */
@media (min-width: 992px) {
    #atividades .team-card {
        margin: 0 auto;
        max-width: 300px;
    }
}

/* Ajuste no espaçamento em telas menores */
@media (max-width: 768px) {
    #atividades .team-card {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Imagem do mapa mental */
.mascote-mapa-wrapper {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(212, 65, 29, 0.5);
}

/* Garante centralização vertical do texto */
#sobre .row {
  display: flex;
  align-items: center;
}

/* Ajuste para tablets */
@media (max-width: 991.98px) {
  .mascote-mapa-wrapper {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* Ajuste para mobile */
@media (max-width: 767.98px) {
  #sobre .row {
    flex-direction: column;
    text-align: center;
  }

  .mascote-mapa-wrapper {
    max-width: 100%;
  }

  #sobre .content-wrapper {
    margin-top: 1.5rem;
  }
}



/*FELIPE*/

.navbar{
	background-color:#003366 !important;
	box-shadow: 1px 1px 5px 2px rgba(0,0,0,0.4) !important;
}

.navbar a{
	color:#ffffff !important;
	font-weight:bold !important;
}

.navbar-brand{
	background-color:#f5f5f5;
	width:200px;
	height:180px;
	margin-top:-50px;
	border-radius:10px;
	box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.4) !important;
	position:fixed;
}

.navbar-brand img{
	height:90px;
	padding-inline:12px;
	margin-top:80px;
}

.lp-mat-header{
	margin-top:-20px !important;
}

.carousel-inner{
	margin-top:-40px !important;
}

/*.dropdown{
	background-color:#fe6b01;
	border-radius:12px;
}*/

.dropdown-menu{
	background-color:#fe6b01;
	border:4px solid #003366;
	box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.4) !important;
}

.dropdown-item:hover{
  background-color: rgba(255, 255, 255, 0.3);
}

.logoRodape{
  /*background-color: rgba(255, 255, 255, 0.8);
  border-radius:32px;*/
  filter: brightness(0) invert(1);
  opacity:0.6;
}

.internasFelipe{
  border-radius:22px !important;
  border:4px solid #0080D5;
}



