/* ==========================================
   1. CONFIGURAÇÕES GERAIS E RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9fbfd;
    color: #333;
    overflow-x: hidden;
}

/* ==========================================
   2. TOPO E MENU DE NAVEGAÇÃO (Unificado em Azul)
   ========================================== */
.topo-geral {
    background-color: #003366; /* Tirado o branco, agora tudo segue o azul do CEDESP */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topo-infobar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5% 5px 5%;
}

.logo-topo {
    height: 110px; /* Logo aumentada para dar mais destaque */
    width: auto;
    object-fit: contain;
}

/* Horário destacado em verde dentro da margem azul */
.atendimento-info {
    font-size: 15px;
    font-weight: 700;
    color: #00a651; /* Verde oficial */
    background: #e8f5e9;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #c8e6c9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header {
    padding: 10px 5% 15px 5%;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #5ee173; 
}

/* ==========================================
   3. BANNER PRINCIPAL (Efeito Flutuante)
   ========================================== */
.banner-container {
    width: 100%;
    padding: 40px 5% 20px 5%;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%);
}

.banner-wrapper {
    width: 100%;
    max-width: 1200px;
}

.banner-img-floating {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: floatAnimation 4s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================
   4. SEÇÃO BENEFÍCIOS / PARCEIROS & TRABALHE CONOSCO
   ========================================== */
.slide-info-container {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mudado para aceitar o card novo do PCD harmonicamente */
.slide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.card-beneficio {
    background: #ffffff;
    padding: 20px 15px; /* Deixado um pouco menor conforme pedido */
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.card-beneficio:hover {
    transform: translateY(-5px);
}

.card-beneficio img {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Estilização para o Banner Envie seu Currículo / PCD no meio dos cards */
.card-pcd-envio {
    background: #e8f5e9;
    border: 2px dashed #00a651;
}

.card-pcd-envio img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.card-beneficio h3 {
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-beneficio p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* ==========================================
   5. SEÇÃO SOBRE NÓS MELHORADA
========================================== */

.sobre{
    padding:80px 7%;
    background:linear-gradient(135deg,#00a651,#008c44);
    overflow:hidden;
}

.sobre-container{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
}

.sobre-texto{
    flex:1;
    min-width:320px;
    text-align:left;
}

.sobre-texto h2{
    font-size:42px;
    color:#ffffff;
    margin-bottom:25px;
    font-weight:700;
    letter-spacing:1px;
}

.sobre-texto p{
    font-family:'Poppins',sans-serif;
    font-size:18px;
    line-height:1.9;
    color:#f1f5f9;
    text-align:justify;
}

/* FOTO SOBRE */

.sobre-img-corrigida{
    flex:1;
    min-width:300px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.sobre-img-corrigida img{
    width:100%;
    max-width:500px;
    height:auto;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,0.25);

    animation:flutuarSobre 5s ease-in-out infinite;

    transition:0.4s;
}

/* EFEITO AO PASSAR O MOUSE */

.sobre-img-corrigida img:hover{
    transform:scale(1.03);
}

/* ANIMAÇÃO */

@keyframes flutuarSobre{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* ==========================================
   6. SEÇÃO CURSOS & FOLHETO COMPACTO
   ========================================== */
.cursos-section {
    padding: 70px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.cursos-section h2 {
    text-align: center;
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 40px;
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.card {
    border-radius: 20px;
    padding: 35px 25px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
}

.icone-circulo {
    background: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icone-curso {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    font-size: 18px; /* Fonte aumentada dentro dos cursos conforme solicitado */
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}
/* ==========================================
   FOLHETOS GRANDES FLUTUANDO FORA DOS CURSOS
========================================== */

.folhetos-flutuando-fora{
    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;

    margin-top:20px;
    margin-bottom:20px;

    flex-wrap:wrap;
}

/* FOLHETOS MAIORES */
.folheto-grande{
    width:420px;
    max-width:95%;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,0.20);

    animation:flutuarFolheto 5s ease-in-out infinite;

    transition:0.4s;
}

/* SEGUNDO FOLHETO */
.segundo-folheto{
    animation-delay:2s;
}

/* EFEITO HOVER */
.folheto-grande:hover{
    transform:scale(1.05);
}

/* ANIMAÇÃO */
@keyframes flutuarFolheto{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-18px);
    }

    100%{
        transform:translateY(0px);
    }
}


/* ==========================================
   DIMINUIR PARTE AZUL / RODAPÉ
========================================== */

footer{
    background:#004a99;

    padding:18px 5%;

    text-align:center;

    color:white;

    margin-top:30px;
}

footer p{
    margin:5px 0;

    font-size:14px;
}


/* ==========================================
   RESPONSIVO CELULAR
========================================== */

@media(max-width:768px){

    .folheto-grande{
        width:280px;
    }

    .folhetos-flutuando-fora{
        gap:20px;
    }

    footer{
        padding:15px;
    }

}
/* CORES DOS CARDS */
.card-adm { background-color: #003366; }
.card-cabelo { background-color: #935cb6; }
.card-web { background-color: #7cb342; }
.card-social { background-color: #334155; }

.btn-inscricao {
    display: inline-block;
    background-color: #ffffff;
    color: #333333;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: auto;
}

.btn-inscricao:hover {
    background-color: #f1f5f9;
    transform: scale(1.03);
}

.btn-inscricao-incluso {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   7. RODAPÉ (Tirado o Azul, agora com detalhe Verde)
   ========================================== */
.footer-principal {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 50px 5% 20px 5%;
    margin-top: 60px;
    border-top: 4px solid #00a651; /* Mudado de azul para o VERDE do CEDESP */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-col h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

.contato-info p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 15px;
}

.pcd-area p {
    font-size: 14px;
    line-height: 1.6;
}

.parceiros-rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid #334155;
    flex-wrap: wrap;
}

.parceiros-rodape img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) brightness(150%);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.parceiros-rodape img:hover {
    filter: none;
    opacity: 1;
}

.footer-direitos {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    padding-top: 20px;
}

/* ==========================================
   8. BOTÕES SOCIAIS FLUTUANTES
   ========================================== */
.social-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp { background-color: #25d366; }
.float-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .topo-infobar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .menu {
        gap: 15px;
        flex-wrap: wrap;
    }
    .menu a {
        font-size: 14px;
    }
}
/* ==========================================
   FOLHETOS FLUTUANDO
========================================== */

.folhetos-area{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:25px;
}

.folheto-topo,
.folheto-baixo{
    width:240px;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    animation: flutuar 4s ease-in-out infinite;
}

.folheto-baixo{
    animation-delay:2s;
}

@keyframes flutuar{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* ==========================================
   ÍCONE EMAIL
========================================== */

.icone-footer{
    width:22px;
    vertical-align:middle;
    margin-right:8px;
}

.email-link{
    color:#ffffff;
    text-decoration:none;
}

.email-link:hover{
    color:#5ee173;
}

/* ==========================================
   RODAPÉ BONITO
========================================== */

.footer-principal{
    background:#0f172a;
    color:#fff;
    padding:50px 5% 20px;
    margin-top:60px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
    max-width:1200px;
    margin:auto;
}

.footer-col h3{
    margin-bottom:15px;
    font-size:24px;
}

.contato-info p,
.pcd-area p{
    margin-bottom:15px;
    line-height:1.7;
}

.parceiros-rodape{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
    margin-top:35px;
    flex-wrap:wrap;
}

.parceiros-rodape img{
    height:65px;
    object-fit:contain;
}

.footer-direitos{
    text-align:center;
    margin-top:25px;
    font-size:14px;
    opacity:0.8;
}
/* RESPONSIVO CELULAR */
@media (max-width: 768px) {

    header {
        padding: 15px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 5%;
    }

    .banner img {
        width: 100%;
        max-width: 320px;
    }

    .cursos-grid {
        grid-template-columns: 1fr;
    }

    .sobre-container {
        flex-direction: column;
    }

    .folheto-alunos {
        width: 140px;
    }

    footer {
        padding: 15px;
        font-size: 13px;
    }

    .btn-inscricao,
    .btn-site {
        width: 100%;
        text-align: center;
    }
}
/* ==========================================
   RODAPÉ MENOR E MAIS BONITO
========================================== */

.footer-principal{
    background:#004a99;

    padding:25px 5% 15px;

    color:#fff;

    margin-top:40px;
}

.footer-grid{
    display:flex;

    justify-content:space-between;

    gap:30px;

    flex-wrap:wrap;
}

.footer-col{
    flex:1;
    min-width:250px;
}

.footer-col h3{
    margin-bottom:10px;

    font-size:20px;
}

.footer-col p{
    margin-bottom:8px;

    font-size:14px;

    line-height:1.5;
}

.parceiros-rodape{
    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin-top:20px;

    flex-wrap:wrap;
}

.parceiros-rodape img{
    width:70px;
}

.footer-direitos{
    text-align:center;

    margin-top:15px;

    border-top:1px solid rgba(255,255,255,0.2);

    padding-top:10px;

    font-size:13px;
}


/* ==========================================
   FOLHETOS MAIORES
========================================== */

.folhetos-flutuando-fora{
    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:40px;

    margin-top:25px;

    margin-bottom:10px;

    flex-wrap:wrap;
}

.folheto-grande{
    width:460px;

    max-width:95%;

    border-radius:22px;

    box-shadow:0 15px 35px rgba(0,0,0,0.20);

    animation:flutuarFolheto 5s ease-in-out infinite;

    transition:0.4s;
}

.segundo-folheto{
    animation-delay:2s;
}

.folheto-grande:hover{
    transform:scale(1.05);
}

@keyframes flutuarFolheto{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-18px);
    }

    100%{
        transform:translateY(0px);
    }
}


/* ==========================================
   BOTÕES FLUTUANTES
========================================== */

.social-flutuante{
    position:fixed;

    right:18px;

    bottom:18px;

    display:flex;

    flex-direction:column;

    gap:14px;

    z-index:999;
}

.float-btn{
    width:58px;

    height:58px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:26px;

    text-decoration:none;

    box-shadow:0 8px 20px rgba(0,0,0,0.25);

    transition:0.3s;
}

.float-btn:hover{
    transform:scale(1.1);
}

.whatsapp{
    background:#25D366;
}

.instagram{
    background:linear-gradient(45deg,#833AB4,#FD1D1D,#FCAF45);
}

.site{
    background:#004a99;
}


/* ==========================================
   RESPONSIVO CELULAR
========================================== */

@media(max-width:768px){

    .menu{
        flex-direction:column;

        gap:15px;

        text-align:center;
    }

    .banner-container{
        padding:20px 10px;
    }

    .banner-img-floating{
        width:100%;
    }

    .sobre-container{
        flex-direction:column;
    }

    .sobre-texto{
        text-align:center;
    }

    .cursos-grid{
        grid-template-columns:1fr;
    }

    .slide-grid{
        grid-template-columns:1fr;
    }

    .folheto-grande{
        width:300px;
    }

    .footer-grid{
        flex-direction:column;

        text-align:center;
    }

    .footer-col{
        width:100%;
    }

    .social-flutuante{
        right:12px;

        bottom:12px;
    }

    .float-btn{
        width:52px;

        height:52px;

        font-size:22px;
    }
}
/* SITE OFICIAL RODAPÉ */

.site-cedesp{
    display:inline-block;

    margin-top:8px;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:0.3s;
}

.site-cedesp:hover{
    color:#ffd43b;
}
