/* ============================================================
   RESPONSIVO MOBILE — PÁGINAS PÚBLICAS
   max-width: 768px
   ============================================================ */

@media (max-width: 768px) {

    /* ---- NAVBAR ---- */
    .navbar-fp {
        padding: 10px 0;
    }

    .navbar-fp-inner {
        height: 52px;
    }

    .navbar-fp-brand img.logo-fp-header {
        max-width: 140px;
        max-height: 44px;
    }

    /* Ícone do toggle visível no fundo escuro */
    .navbar-fp-toggle {
        color: #fff;
    }

    .navbar-fp-toggle i {
        font-size: 28px;
    }

    /* Ajusta espaço abaixo do header fixo */
    main {
        padding-top: 72px;
    }

    /* ---- BOTÕES GLOBAIS ---- */
    .btn-fp-primary,
    .btn-fp-outline {
        height: auto;
        min-width: unset;
        width: 100%;
        font-size: 16px;
        padding: 14px 20px;
        justify-content: center;
        line-height: 1.3;
    }

    .btn-curso-matricular {
        font-size: 14px;
        padding: 10px 12px;
        min-width: unset;
    }

    /* ---- HERO (HOME) ---- */
    .section-hero {
        margin-top: 0;
        background-position: center center;
    }

    .section-hero .content-hero {
        width: 100%;
        min-height: 320px;
        padding: 40px 8px;
    }

    .section-hero .content-hero h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .bt-hero {
        font-size: 15px;
        max-width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    /* ---- SEÇÃO CURSOS (HOME) ---- */
    .section-cursos-home {
        padding: 40px 0 60px;
    }

    .section-cursos-home .card-curso {
        height: auto;
        min-height: unset;
    }

    /* ---- SEÇÃO SOBRE NÓS (HOME) ---- */
    .section-sobre-nos {
        padding: 50px 0;
    }

    .section-sobre-nos .image-sobre {
        text-align: center;
        margin-bottom: 30px;
    }

    .section-sobre-nos .image-sobre img {
        max-width: 100%;
    }

    .section-sobre-nos .content-sobre-nos h2 {
        font-size: 24px;
        padding-bottom: 16px;
    }

    .section-sobre-nos .content-sobre-nos p {
        padding-bottom: 20px;
    }

    .section-sobre-nos .content-sobre-nos a {
        max-width: 100%;
        justify-content: center;
    }

    /* ---- SEÇÃO COMEÇAR (HOME) ---- */
    .section-comecar {
        padding: 50px 0;
    }

    /* Remove imagem decorativa que sobrepõe o conteúdo em mobile */
    .section-comecar::before {
        display: none;
    }

    .section-comecar .content-comecar h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .section-comecar .content-comecar p {
        font-size: 15px;
        line-height: 26px;
    }

    .section-comecar .content-comecar a {
        max-width: 100%;
        justify-content: center;
    }

    /* ---- SEÇÃO PROFESSORES (HOME) ---- */
    .section-professores {
        padding: 50px 0;
    }

    .section-professores .content-professores h2 {
        font-size: 28px;
    }

    .section-professores .card-professores {
        padding: 30px 20px;
        margin: 0 8px;
    }

    .section-professores .card-professores p {
        font-size: 15px;
    }

    /* ---- SEÇÃO DEPOIMENTOS (HOME) ---- */
    .section-depoimento {
        padding: 40px 0;
    }

    .section-depoimento .content-depoimento h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .section-depoimento .card-slide {
        padding: 24px 20px 20px;
        margin: 10px 6px 0;
    }

    /* ---- PÁGINA QUEM SOMOS ---- */
    .banner-quem-somos {
        padding: 80px 0;
        margin-top: 0!important;
    }

    .banner-quem-somos .content-quem-somos h1 {
        font-size: 28px;
        text-align: center;
    }

    .banner-quem-somos .content-quem-somos p {
        font-size: 15px;
        text-align: center;
    }

    .banner-quem-somos .breadcrumb-quem-somos {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 100%;
    }

    .sobre-fundacao {
        padding: 50px 0;
    }

    .sobre-fundacao .content-podemos h2 {
        font-size: 24px;
    }

    .inovacao-podemos {
        padding: 50px 0;
    }

    .inovacao-podemos .content-inovacao {
        margin-top: 24px;
    }

    .inovacao-podemos .content-inovacao h2 {
        font-size: 28px;
    }

    .nosso-diferencial {
        padding: 60px 0;
    }

    /* Remove imagem que sobrepõe o conteúdo em mobile */
    .nosso-diferencial::after {
        display: none;
    }

    .nosso-diferencial .content-diferencial h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .nosso-diferencial .content-diferencial .box {
        flex-direction: column;
        gap: 16px;
    }

    .nosso-diferencial .content-diferencial .box .item {
        width: 100%;
    }

    /* ---- PÁGINA CONTEÚDOS ---- */
    .cursos-page-hero {
        padding: 50px 0 30px;
    }

    .cursos-page-hero h1 {
        font-size: 24px;
    }

    .cursos-page-hero p {
        font-size: 14px;
    }

    .filtros-inner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .filtro-busca {
        width: 100%;
    }

    .filtro-categorias {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .filtro-cat-btn {
        font-size: 12px;
        padding: 6px 12px;
        white-space: nowrap;
    }

    .cursos-page-grid {
        padding-top: 16px;
    }

    .cursos-page-grid .col-sm-6 {
        margin-bottom: 20px;
    }

    .cursos-paginacao {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        margin-top: 24px;
    }

    /* ---- LOGIN ---- */
    .login-section {
        padding: 30px 0 50px;
    }

    .login-card {
        padding: 30px 20px;
        margin: 0 8px;
    }

    .login-titulo {
        font-size: 24px;
    }

    /* ---- CADASTRO ---- */
    .cadastro-section {
        padding: 30px 0 50px;
    }

    .cadastro-card {
        padding: 30px 20px;
        margin: 0 8px;
    }

    .cadastro-titulo {
        font-size: 24px;
    }

    /* ---- RECUPERAR SENHA ---- */
    #section-recuperar {
        padding: 30px 16px;
    }

    #section-recuperar .rec-senha {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    /* ---- FOOTER ---- */
    footer .container .row > [class*="col-"] {
        margin-bottom: 28px;
    }

    /* ---- TIPOGRAFIA GERAL ---- */
    .tit-areas {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    h1, h2, h3 {
        word-break: break-word;
    }

    /* Evita scroll horizontal */
    section,
    .container,
    .container-fluid {
        overflow-x: none;
    }
}

/* ---- Micro-mobile (até 480px) ---- */
@media (max-width: 480px) {
    .navbar-fp-brand img.logo-fp-header {
        max-width: 120px;
    }

    .section-hero .content-hero h1 {
        font-size: 20px;
        line-height: 28px;
    }

    .section-sobre-nos .content-sobre-nos h2,
    .inovacao-podemos .content-inovacao h2,
    .nosso-diferencial .content-diferencial h2,
    .banner-quem-somos .content-quem-somos h1 {
        font-size: 22px;
    }

    .section-depoimento .content-depoimento h2 {
        font-size: 18px;
    }

    .cursos-page-hero h1 {
        font-size: 20px;
    }

    .login-titulo,
    .cadastro-titulo {
        font-size: 20px;
    }

    .btn-fp-primary,
    .btn-fp-outline {
        font-size: 14px;
        padding: 12px 16px;
    }
}
