/* ==========================================================================
   ESTILOS ESPECÍFICOS DA PÁGINA INICIAL (home.css)
   ========================================================================== */

/* --- Seção Principal (Hero) --- */
.hero {
    position: relative;
    background-image: url('images/visao4.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 0;
    z-index: 1;
    background-color: var(--azul-noite); 
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(1, 37, 125, 0.4) 0%, rgba(16, 24, 42, 0.8) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}
.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: var(--branco); 
    margin-bottom: 1rem; 
    line-height: 1.2; 
}
.hero p { 
    font-size: 1.2rem; 
    font-weight: 300; 
    margin-bottom: 2.5rem; 
    color: var(--cinza-claro); 
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem !important; }
    .hero p { font-size: 1rem; }
    .hero { background-attachment: scroll; }
}


/* --- Seção Diferenciais --- */
.diferenciais-section {
    border-radius: 12px;
}
.diferenciais-content { 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
}
.diferenciais-text { flex: 1.2; }
.diferenciais-text h2 { 
    text-align: left; 
    margin-bottom: 1.5rem; 
}
.diferenciais-text p { margin-bottom: 1.5rem; }
.diferenciais-text ul { 
    list-style: none; 
    padding-left: 0; 
}
.diferenciais-text ul li { 
    margin-bottom: 1rem; 
    padding-left: 1.5rem; 
    position: relative; 
}
.diferenciais-text ul li::before { 
    content: '✓'; 
    color: var(--ciano-vibrante); 
    position: absolute; 
    left: 0; 
    font-weight: bold; 
}
.diferenciais-image { flex: 1; }
.diferenciais-image img { 
    width: 100%; 
    border-radius: 8px; 
}
@media (max-width: 768px) {
    .diferenciais-content { flex-direction: column; }
}


/* --- Seção Projetos (Específico da Home) --- */
#projects .projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2rem; 
    margin-top: 3rem; 
}
#projects .project-card { 
    background-color: var(--card-bg); 
    border-radius: 12px; 
    overflow: hidden; 
    text-align: left; 
    border: 1px solid rgba(189, 178, 255, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
#projects .project-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); 
}
#projects .project-card video { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; /* Garante que o vídeo cubra o espaço sem distorcer */
}
#projects .project-info { padding: 1.5rem; }
#projects .project-info h3 { 
    font-size: 1.4rem; 
    color: var(--branco); 
    margin-bottom: 0.5rem; 
}
#projects .project-tags { margin: 1rem 0; }
#projects .project-tags span { 
    background-color: var(--azul-noite); 
    color: var(--lavanda-suave); 
    padding: 0.3rem 0.8rem; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    margin-right: 0.5rem; 
}
#projects .link-styled { 
    color: var(--ciano-vibrante); 
    text-decoration: none; 
    font-weight: 500; 
    display: inline-block; 
    margin-top: 0.5rem; 
}
#projects .project-card.placeholder { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 2px dashed rgba(189, 178, 255, 0.4); 
    background-color: transparent; 
}
#projects .placeholder-content { text-align: center; }
#projects .placeholder-content h3 { color: var(--lavanda-suave); }
#projects .placeholder-content p { color: var(--cinza-claro); }