/* ===== ESTILOS GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #eeeeee;
    color:  #ffffff;
}

html {
    scroll-behavior: smooth;
}

/* ===== CABEÇALHO ===== */
header {
    position: relative;
    height: 130vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("img/todosnova.jpeg") no-repeat center center/cover;
}


/* ===== MENU DE NAVEGAÇÃO ===== */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #021526;
    padding: 20px 0;
    border-bottom: 3px solid #ffffff;
    box-shadow: 0 2px 10px #1a036e;
    z-index: 1000;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.nav-menu a:hover {
    color: #6EACDA;
    transform: scale(1.05);
}

/* ===== TÍTULO ===== */
.hero {
    margin-top: 120px;
    text-align: center;
}

.hero .title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    text-shadow: none;
}

h3 {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 18px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ESTILO DA PRIMEIRA PÁGINA(PROJETO) ===== */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0c2474 0%, #050936 100%);
}

.about-section h2 {
    text-align: center;
    font-size: 3rem;
    color: #c7c7c7;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #8b8b8b;
}

.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b6b6b6;
}

.about-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-card {
    background-color: #1a1a71;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,255,255,0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,255,255,0.3);
}

.about-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffffff;
    transition: transform 0.3s;
}

.about-card:hover .icon {
    transform: rotate(15deg);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-card p {
    font-size: 1rem;
    color: #b0bec5;
}

/* ===== ESTILO DA SEGUNDA PÁGINA(EQUIPE) ===== */
.team-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #01234d 0%, #0e0a6b 100%);
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 por linha */
    gap: 20px;
    justify-items: center;
}

.team-card {
    background: rgb(114, 129, 255);
    border-radius: 15px;
    padding: 15px;
    max-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.info h3 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.info h4 {
    color: #666;
    font-weight: normal;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.info p {
    font-size: 0.85rem;
    color: #444;
}

/* ===== ESTILO DA PAGINA 4(SOBRE A FABRICA PROGRAMADORES) ===== */
.course-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, #dae2ed 0%, #d3daff 100%);
}

.course-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.course-image {
    flex: 1 1 500px; /* antes 300px → deixa a imagem maior */
    max-width: 600px; /* antes 400px */
}

.course-image img {
    width: 100%;
    border-radius: 20px; /* antes 15px */
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2); /* sombra mais forte */
    object-fit: cover;
}

.course-content {
    flex: 2 1 500px;
    color: #cccccc;
    text-align: left;
}

.course-content h2 {
    font-size: 2.8rem;
    color: #f5f5f5;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffffff;
}

.course-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}



/* --- Contato ocupa tela inteira --- */
.course-section {
  min-height: 100vh; /* ocupa a tela inteira */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0c0d54;
  color: #ffffff;
  padding: 90px 90px;
  text-align: center;
}

.course-section h2 {
  font-size: 2.8em; /* título maior */
  margin-bottom: 50px;
}

.contatos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 colunas */
  gap: 40px; /* mais espaçamento */
  width: 100%;
  max-width: 1300px; /* antes 1200px */
  justify-items: center;
}

.contato-card {
  background:rgb(114, 129, 255);
  padding: 30px; /* antes 20px */
  border-radius: 18px; /* antes 12px */
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 240px; /* antes 200px */
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contato-card:hover {
  transform: translateY(-8px);
  background: #3e39c8;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.contato-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.3em;
}

.contato-card p a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em; /* telefone maior */
}

.contato-card i {
  font-size: 2.2em; /* ícones maiores */
  margin-top: 12px;
  color: #fff;
  transition: color 0.3s ease;
}

.contato-card i:hover {
  color: #00d0ff;
}


/* Responsividade para telas menores */
@media (max-width: 900px) {
  .contatos-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no celular */
  }
}

/* ===== RESPONSIVO ===== */
@media(max-width: 900px){
    .about-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .course-container {
        flex-direction: column;
        text-align: center;
    }
    
    .course-content {
        text-align: center;
    }
    
    .nav-menu ul {
        gap: 20px;
    }
} 

/* ESTILOS DA SETA PARA BAIXO */
.scroll-down {
    position: absolute;
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    cursor: pointer;
    z-index: 100;
}
 
.scroll-down-arrow {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 4px solid #fff;
    border-right: 4px solid #fff;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
 
.scroll-down-arrow:nth-child(2) {
    animation-delay: -0.2s;
}
 
.scroll-down-arrow:nth-child(3) {
    animation-delay: -0.4s;
}
 
@keyframes bounce {
    0% {
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* ===== SEÇÕES TELA INTEIRA COM SCROLL SNAP ===== */
header,
.about-section,
.team-section,
.course-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* ===== NOVOS ESTILOS PARA ANIMAÇÃO DOS BOTÕES E LINKS ===== */
button, .nav-menu a {
    transition: all 0.3s ease;
}

button:hover, .nav-menu a:hover {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

button:active, .nav-menu a:active {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}


