/* =========================================
   IMPORTS
========================================= */

@import url("navbar.css");
@import url("home.css");
@import url("admin.css");


/* =========================================
   GOOGLE FONT
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================
   RESET
========================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================
   ROOT
========================================= */

:root {

    --primary-color: #2563eb;
    --primary-dark: #1e40af;

    --secondary-color: #3b82f6;

    --white: #ffffff;

    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;

    --dark: #0f172a;

    --shadow-sm:
        0 2px 10px rgba(0,0,0,0.05);

    --shadow-md:
        0 10px 30px rgba(0,0,0,0.08);

    --shadow-lg:
        0 15px 40px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --transition: 0.3s ease;
}


/* =========================================
   HTML
========================================= */

html {

    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;

}


/* =========================================
   BODY
========================================= */

body {

    font-family: 'Poppins', sans-serif;

    background-color: var(--gray-100);

    color: var(--dark);

    overflow-x: hidden;

    min-height: 100vh;
}


/* =========================================
   LINKS
========================================= */

a {

    text-decoration: none;

    color: inherit;
}


/* =========================================
   LISTAS
========================================= */

ul {

    list-style: none;
}


/* =========================================
   IMAGENS
========================================= */

img {

    max-width: 100%;

    display: block;
}


/* =========================================
   BOTÕES
========================================= */

button {

    border: none;

    outline: none;

    cursor: pointer;

    font-family: inherit;

    transition: var(--transition);
}


/* =========================================
   INPUTS
========================================= */

input,
textarea,
select {

    outline: none;

    border: none;

    font-family: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {

    width: 100%;

    max-width: 1300px;

    margin: 0 auto;

    padding: 0 30px;
}


/* =========================================
   TÍTULOS
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--dark);

    font-weight: 700;

    line-height: 1.2;
}


/* =========================================
   PARÁGRAFOS
========================================= */

p {

    color: var(--gray-500);

    line-height: 1.8;
}


/* =========================================
   SEÇÕES
========================================= */

section {

    width: 100%;
}


/* =========================================
   BOTÕES GLOBAIS
========================================= */

.btn {

    display: inline-flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    padding: 14px 30px;

    border-radius: var(--radius-md);

    background: var(--primary-color);

    color: var(--white);

    font-weight: 600;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.btn:hover {

    transform: translateY(-3px);

    background: var(--primary-dark);

    box-shadow: var(--shadow-md);
}


/* =========================================
   CARDS
========================================= */

.card {

    background: var(--white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {

    width: 10px;
}

::-webkit-scrollbar-track {

    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {

    background: var(--primary-color);

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {

    background: var(--primary-dark);
}


/* =========================================
   ANIMAÇÕES
========================================= */

.fade-up {

    opacity: 0;

    transform: translateY(40px);

    transition: 0.7s ease;
}

.fade-up.show {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 992px) {

    .container {

        padding: 0 20px;
    }

}


@media (max-width: 768px) {

    h1 {

        font-size: 2.4rem;
    }

    h2 {

        font-size: 2rem;
    }

    p {

        font-size: 15px;
    }

}


.adicionar-curso-container {

    display: flex;
    justify-content: flex-end;

    margin-top: 10px;
}


.btnAdicionarCurso {

    background: #2f66f5;
    color: white;

    border: none;
    border-radius: 12px;

    padding: 14px 28px;

    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    min-width: 310px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
}
.btnAdicionarCurso:hover {
    opacity: .9;
}

.adicionar-curso-container span {
    font-weight: 600;
}

.curso-item {

    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 40px;
}

.curso-item label {

    font-size: 16px;
    font-weight: 700;

    color: #0f2348;
}

.contato-link {

    color: white;

    font-weight: 600;

    display: inline-block;

    margin-top: 10px;
}

.contato-link:hover {

    color: #60a5fa;
}

/* =========================================
   INDICADOR MOBILE
========================================= */

.scroll-indicador {

    display: none;

    justify-content: center;

    gap: 10px;

    margin-top: 20px;
}

.scroll-indicador .dot {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #cbd5e1;

    transition: .3s ease;
}

.scroll-indicador .dot.active {

    background: #2563eb;

    width: 28px;

    border-radius: 999px;
}

@media (max-width: 768px) {

    .scroll-indicador {

        display: flex;
    }
}


/* =========================================
   BOTÃO VOLTAR
========================================= */

.back-button {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    transition: .25s ease;
}

.back-button img {

    width: 100%;
    height: 100%;

    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 1))
        drop-shadow(0 0 15px rgba(255, 255, 255, 0.5))
        drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
}

.back-button:hover {

    transform: scale(1.08);
}



/* =========================================
   BANNER ALUNOS
========================================= */

.banner-alunos {

    width: 100%;

    overflow: hidden;
}

.banner-alunos img {

    width: 100%;

    display: block;

    object-fit: cover;
}

/* MOBILE */

@media (max-width: 768px) {

    .banner-alunos img {

        min-height: 250px;

        object-fit: cover;
    }

}
/* =========================================
   CONTADORES
========================================= */

.contadores {

    padding: 90px 20px;

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );
}

.contadores .container {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 40px;

    flex-wrap: wrap;
}

.contador-item {

    text-align: center;

    min-width: 220px;
}

.contador-icon {

    font-size: 50px;

    margin-bottom: 15px;
}

.contador-item h2 {

    font-size: 4rem;

    font-weight: 800;

    margin-bottom: 10px;
}

.contador {

    color: white;

    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(255,255,255,.3),
        0 0 40px rgba(255,255,255,.2);
}
.contador-item p {

    color: #cbd5e1;

    font-size: 1rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.contador-linha {

    width: 80px;

    height: 4px;

    border-radius: 50px;

    background:
    linear-gradient(
        90deg,
        #60a5fa,
        #2563eb
    );
}

.contador-item:hover {

    transform: translateY(-8px);

    transition: .3s;
}

@media (max-width: 768px) {

    .contadores .container {

        display: flex;

        flex-direction: row;

        flex-wrap: nowrap;

        justify-content: space-evenly;

        gap: 10px;
    }

    .contador-linha {

        display: none;
    }

    .contador-item {

        min-width: auto;
    }

    .contador-item h2 {

        font-size: 2rem;
    }

    .contador-icon img {

        width: 50px;
    }

}

.contador-numero {

    color: white;

    text-shadow:
        0 0 10px rgba(255,255,255,.4),
        0 0 25px rgba(255,255,255,.3);
}

.contador-icon i {

    font-size: 55px;

    color: rgb(40, 99, 226);


}

/* =========================================
   LOGO FIXA
========================================= */

.logo-canto {

    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 9999;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;
}


.logo-canto:hover {

    transform: scale(1.08);
}

.logo-canto img {

    width: 50px;

    height: auto;
}
 
/* =========================================
   LOGO 
   ========================================= */

.logo-home {

    width: 70px;
    height: 70px;

    background: white;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);

    transition: .3s;
}

.logo-home img {

    width: 65px;

    display: block;

    background: transparent;

    border: none;

    box-shadow: none;
}

.logo-home:hover {

    transform: scale(1.08);
}


.hero-btn-estrutura {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  animation: pulsar 2s infinite;
}

.hero-btn-estrutura:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

@keyframes pulsar {
  0%, 100% { box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(245, 158, 11, 0.7); }
}



/* ===== SOFTWARES — Curso Informática ===== */
.curso-softwares {
  padding: 80px 24px;
  background: #ffffff;
}

.softwares-grid {
  max-width: 1000px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.software-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.software-icone {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-icone svg {
  width: 100%;
  height: 100%;
}

.software-texto h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.software-texto p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .softwares-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* Ajuste para imagens reais dos logos */
.software-item img.software-icone {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}





.curso-info-centro .curso-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.curso-info-centro .curso-container p {
    font-size: 2.05rem;
    color: #475569;
    line-height: 1.8;
}

.linha-destaque {
    width: 120px;
    height: 4px;
    background: #2563eb;
    border-radius: 4px;
    margin: 16px auto 24px;
}




/* ===== APROVADOS ===== */
.aprovados-section {
    padding: 80px 24px;
    background: #f8faff;
}

.aprovados-subtitulo {
    color: #64748b;
    font-size: 1.05rem;
    margin-top: 12px;
}

.aprovados-grid {
    max-width: 1100px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.aprovado-foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.aprovado-foto:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
    .aprovados-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .aprovados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}





/* ===== VÍDEO ===== */
.video-section {
    padding: 80px 24px;
    background: #f8faff;
    text-align: center;
}

.video-wrapper {
    max-width: 700px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.video-duplo {
    max-width: 1000px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-duplo .video-wrapper {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 700px) {
    .video-duplo {
        grid-template-columns: 1fr;
    }
}