/* ==================================================
   RESET E ESTILOS GERAIS
   ================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, p {
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==================================================
   CABEÇALHO (HEADER)
   ================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Em desktop, logo e menu ficam lado a lado */
    padding: 1rem 5%;
    z-index: 1000;
}

header .logo img {
    height: 50px;
}

header nav ul {
    display: flex;
    gap: 1.2rem;
}

header nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    transition: all 0.3s ease;
    color: white;
}

header nav ul li a:hover {
    color: #007BFF;
    transform: scale(1.05);
    text-shadow: 0px 0px 10px rgba(0, 123, 255, 0.6);
}

/* ================================================
   MENU EMPILHADO EM TELAS MENORES
   ================================================ */
@media (max-width: 768px) {
    /* Empilha logo e menu */
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem 2%;
    }
    
    /* Links empilhados no centro */
    header nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0.5rem;
    }
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    background: url('fotomeusite.jpg') no-repeat center center/cover;
    color: white;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-size: 5vw; /* Responsivo */
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .hero {
        /* Remove a altura mínima em telas pequenas para que a seção
           se ajuste ao conteúdo, semelhante à seção de serviços */
        min-height: auto;
        
        /* Aumenta o padding superior para não ficar escondido atrás do header fixo */
        padding: 100px 20px 40px; 
        /* 100px em cima, 20px nas laterais, 40px embaixo */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
}

/* ==================================================
   SEÇÃO SOBRE NÓS
   ================================================== */
.about {
    background-color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 90vh;
}

.about h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Responsivo */
@media (max-width: 768px) {
    .about {
        padding: 60px 20px;
        min-height: auto;
    }
}

/* ==================================================
   SEÇÃO MISSÃO, VISÃO E VALORES
   ================================================== */
.values-section {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 100px 20px;
    min-height: 90vh;
}

.values-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.value-card {
    background: #fff;
    color: #007BFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.value-card img {
    width: 60px;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .values-section {
        padding: 60px 20px;
        min-height: auto;
    }
    .values {
        flex-direction: column;
        align-items: center;
    }
    .value-card {
        max-width: 100%;
    }
}

/* ==================================================
   SEÇÃO EQUIPE
   ================================================== */
.team {
    background-color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 90vh;
}

.team h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.team-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.team-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 1rem;
    color: #555;
}

.team-card span {
    font-size: 0.9rem;
    color: #007BFF;
}

/* Responsivo */
@media (max-width: 768px) {
    .team {
        padding: 60px 20px;
        min-height: auto;
    }
    .team-cards {
        flex-direction: column;
        align-items: center;
    }
    .team-card {
        max-width: 100%;
    }
}

/* ==================================================
   RODAPÉ (FOOTER)
   ================================================== */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    font-size: 12px;
}
