/* Variáveis de Cores: Preto, Dourado Rico e Branco */
:root {
    --bg-black: #000000;
    --bg-dark-gray: #111111;
    --gold: #B38728; 
    --gold-hover: #946E1E; 
    --white: #ffffff;
    --text-dark: #222222;
    --text-gray: #555555;
}

/* Reset e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background-color: var(--bg-black);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Cabeçalho */
header {
    background-color: var(--bg-black);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--white);
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover {
    color: var(--gold);
}

.btn-login {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-login:hover {
    background-color: var(--gold);
    color: var(--bg-black);
}

/* Seção Principal (Hero) */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--gold);
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--white);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-black);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
}

/* Títulos das Seções */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 30px auto;
}

/* Nossa Equipe (Fundo Branco) */
.team-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--white);
    color: var(--text-dark);
}

.team-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-gray);
}

/* Áreas de Atuação (Fundo Preto) */
.services {
    padding: 80px 5%;
    background-color: var(--bg-dark-gray);
    text-align: center;
}

.services .section-title {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-black);
    padding: 40px 30px;
    border: 1px solid #333;
    border-bottom: 4px solid var(--gold);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.service-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #cccccc;
    font-size: 0.95rem;
}

/* Contato (Fundo Branco) */
.contact {
    padding: 80px 5%;
    background-color: var(--white);
    color: var(--text-dark);
}

.contact .section-title {
    text-align: center;
}

.contact-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Adicionado "select" aqui para aplicar o mesmo estilo das caixas de texto */
.contact-form input, 
.contact-form textarea, 
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1rem;
    background-color: #fafafa;
    color: var(--text-dark);
}

.contact-form input:focus, 
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
}

/* Estilo para que a seta do select não fique invisível em alguns navegadores */
.contact-form select {
    cursor: pointer;
    appearance: auto;
}

.contact-form button {
    background-color: var(--bg-black);
    color: var(--gold);
    border: 1px solid var(--bg-black);
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.contact-form button:hover {
    background-color: var(--gold);
    color: var(--bg-black);
    border-color: var(--gold);
}

/* Rodapé */
footer {
    background-color: var(--bg-black);
    color: #888;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* Responsividade */
@media(max-width: 768px) {
    nav ul {
        display: none; 
    }
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero {
        height: auto;
        padding: 100px 20px;
    }
}