* {
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
    box-sizing: border-box;
}

.page-wrapper {
        overflow-x: hidden;    
        position: relative;
    }

:root {
  /* Cores Principais (Identidade) */
  --azul-pao: rgb(0, 56, 117);          /* Azul oficial do logo e cabeçalhos */
  --azul-claro: rgb(0, 114, 206);        /* Azul das quadras e botões de ação */
  --texto-principal: rgb(50, 50, 50);    /* Cor padrão para parágrafos e textos longos */
  --branco-puro: rgb(255, 255, 255);     /* Para textos sobre fundos escuros */
  --cinza-claro: #f5f5f5; /* Backgorund em fundos de seção */
  --cor-preto: #333333;


  /* Cores de Detalhe e Tradição (130 Anos) */
  --dourado-frio: rgb(197, 168, 115);    /* Cor dos ícones e selo comemorativo  */
  --fundo-off-white: rgb(248, 247, 242); /* Fundo suave para não cansar a vista */
  --azul-aco-divisor: rgb(165, 181, 201);/* Cor para linhas e bordas de separação */
  --azul-marinho-profundo: rgb(15, 35, 70);/* Usado em ícones de serviços */
  --cor-azul-escuro: #004a99; /* Hover de cards azul-pao */
  --cor-laranja-hover: #e65c00; /* Hover para botões laranjas */


  /* Cores de Inovação (Hub e Modernidade) */
  --rosa-hub: rgb(231, 46, 114);         /* Para seções modernas e áreas de convivência */
  --verde-agua-hub: rgb(0, 168, 176);    /* Ótimo para destacar cursos de tecnologia */
   --verde-agua: #00d1d3;  /* Mesma cor aqua azul do site oficial, para dar um destaque nos hovers */
   --azul-footer: #006F9A; /* Mesma cor do footer do site oficial */
  --laranja-alerta: rgb(243, 115, 33);    /* Para sinalizações ou botões de "Doe Agora" */
  --amarelo-hub: rgb(255, 212, 0);       /* Destaque para cursos de gastronomia */


  /* Sombras para cards */
  --sombra-leve: 0 2px 8px rgba(0, 0, 0, 0.1);
  --sombra-media: 0 4px 12px rgba(0, 0, 0, 0.15);
  --sombra-forte: 0 6px 20px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 38px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 20px;
}

p {
    color: var(--texto-principal);
}

.nav-social {
    height: 7vh;
    display: flex;
    background-color: var(--azul-pao);
    align-items: center;
}

.nav-social nav {
    position: absolute;
    right: 3rem;
}

.nav-social nav a{
    margin-left: 16px;
    font-size: 18px;
    color: var(--branco-puro);
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
    background: var(--fundo-off-white); 
    height: 14vh;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
}

.mobile-menu {
    cursor: pointer;
    display: none;
}

.mobile-menu div {
    background: var(--azul-footer);
    width: 28px;
    height: 3px;
    margin: 4px;
    transition: 0.3s;
    border: 1px solid transparent;  
    border-radius: 15px;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin-left: 32px;
    font-weight: bold;
    font-size: 20px;
}

.nav-list a {
    color: var(--azul-pao);
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-list a:hover {
    color: var(--azul-claro);
}

main {
    background: url(../img/professorjuliano-e-aluno.jpg) no-repeat center center;
    background-size: cover;
    height: 86vh;
    display: flex;
    align-items: center;
}

.main-title {
    color: #fff;
    font-size: 50px;
    font-weight: 900;
    max-width: 100%;
    width: 600px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 2px 1px 2px #333;
}

.info-section {
    background-color: var(--cinza-claro);
    padding: 6rem 0;
}

.info-grid {
    display: flex;
    width: 90%;
    margin: 0 auto;
    gap: 50px;
}

.info-card {
    background-color: #fff;
    padding: 40px;
    border: 1px solid transparent;
    border-radius: 15px;
    text-align: center;
}

.fa-solid {
    color: var(--azul-marinho-profundo);
    font-size: 58px;
    margin-bottom: 30px;
}

.info-card h3 {
    margin-bottom: 15px;
}

.info-card p {
    line-height: 2rem;
}

.cursos-section {
    padding: 4rem 2rem;
}

.cursos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cursos-header h2 {
    color: var(--azul-pao);
    margin-bottom: 3rem;
}


.card-grid {
    display: flex;
    margin: 0 auto;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
}

.cursos-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    max-width: 400px;
    box-shadow: var(--sombra-media);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cursos-card:hover {
    /* transform: translateY(-6px); */
    box-shadow: var(--sombra-forte);
}


.card-image-wrapper {
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    text-transform: uppercase;
    background-color: var(--azul-claro);
    border-radius: 26px;
    padding: 8px;
    color: #fff;
    font-weight: bold;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body p {
    flex: 1;
}

.card-body h3 {
    margin: 15px 0;
    color: var(--azul-claro);
    font-size: 22px;
    min-height: 60px;
}

.btn-details {
    text-decoration: none;
    color: #fff;
    background-color: var(--azul-claro);
    margin-top: 2rem;
    text-align: center;
    border-radius: 12px;
    padding: 1.5rem;
    font-size: 16px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    cursor: pointer;
}

.btn-details:hover {
    transform: translateY(-6px);
    background-color: var(--cor-azul-escuro);
}

aside {
    background-color: var(--azul-pao);
    padding: 3.5rem clamp(1rem, 4vw, 3rem);
}

.aside-title {
    color: #fff;
    margin-bottom: 10px;
}

.aside-paragraphy {
    margin-bottom: 30px;
    color:  rgba(255, 255, 255, .5);;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    justify-content: center;
}

.step-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid transparent;
    border-radius: 15px;
    opacity: 1;
    transform: translateY(0);
    transition: 0.22s cubic-bezier(.4, 0, .2, 1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-card:hover {
    background: rgba(255, 255, 255, .1);
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--azul-marinho-profundo);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.step-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
}

.cta-section {
    padding: 3rem;
    background: var(--fundo-off-white);
    text-align: center;
}

.cta-section h2{
    margin-bottom: 15px;
}

.cta-text p{
    margin-bottom: 35px;
}

.btn-cta {
    border: 1px solid transparent;
    background-color: var(--azul-pao);
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 18px;
    transition: 1s;
}

.btn-cta:hover {
    background-color: var(--azul-marinho-profundo);
}

footer {
    background: var(--azul-footer);
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
}

.logo-footer img {
    height: 100px;
} 

.adress-footer{
    color: #fff;
    line-height: 2rem;
}

.adress-footer p {
    color: #fff;
}

.adress-footer a {
    color: #fff;
}

.copyright {
    color: #fff;
    text-align: center;
    margin-top: 60px;
}


@media (max-width: 999px) {
    .nav-list {
       position: absolute;
        top: 100%;
        right: 0;
        background: var(--fundo-off-white);
        height: 15vh;
        width: 100vw;
        flex-direction: row;
        align-items: center; /* Eixo muda quando coluna  */
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        border: 1px solid transparent;
        border-radius: 0 0 0 25px ;
    }

    .nav-list li {
        margin-left: 0;
        opacity: 0;
        font-size: 1rem;
    }

    .mobile-menu {
        display: block;
    }
}

.nav-list.active {
        transform: translateX(0);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-4px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-2px, -6px);
}

@media (max-width: 855px) {
    .nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--fundo-off-white);
        height: 50vh;
        width: 100vw;
        flex-direction: column;
        align-items: center; /* Eixo muda quando coluna  */
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        border: 1px solid transparent;
        border-radius: 0 0 0 25px ;
    }

    main {
    background: url(../img/professorjuliano-e-aluno.jpg) no-repeat center center;
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
}

    .main-title {
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 2rem;
    }

    .logo img {
    height: 40px;
}

}


@media (max-width: 769px) {
    .nav-social nav {
        position: static;
        display: flex;
        width: 100%;
        right: inherit;
        justify-content: space-around;
    }

    .info-grid {
        flex-wrap: wrap;
    }
}


