* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

header {
    background: #2c3e50; 
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Estilos para dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a252f;
    list-style: none;
    padding: 10px 0;
    border-radius: 4px;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    margin-top: 0;
    pointer-events: auto;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.1s;
}

.dropdown-menu li a:hover {
    background: #2c3e50;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu:hover {
    display: block;
}

#hero {
    height: 100vh; /* Aumentei um pouco a altura para acomodar bem a foto */
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    color: white;
    padding: 0 5%;
}

.hero-container {
    display: flex; /* Faz a foto e o texto ficarem lado a lado */
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 40px; /* Espaço entre a foto e o texto */
}

.hero-image img {
    max-width: 400px; /* Define o tamanho da sua foto */
    height: auto;
    display: block;
}

.hero-content {
    text-align: left; /* Garante que o texto fique alinhado à esquerda */
    flex: 1;
}

/* Scroll down com setinha animada */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-link {
    text-decoration: none;
    color: white;
    cursor: pointer;
    display: block;
}

.scroll-down p {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.arrow {
    color: white;
    font-size: 40px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Ajuste para celular: volta a ficar um embaixo do outro em telas pequenas */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-image img {
        max-width: 250px;
    }
}

.btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #e74c3c; 
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
}

#projetos {
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
}

.grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.TesteNovaSessao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: white;
}