/* styles.css - tema moderno: preto, cinza e amarelo */
:root {
    --primary-color: #222222;      /* preto */
    --primary-light: #444444;      /* cinza escuro */
    --secondary-color: #FFD700;    /* amarelo dourado */
    --secondary-light: #FFEB99;    /* amarelo claro */
    --text-color: #333333;         /* quase preto para texto */
    --light-gray: #f5f5f5;         /* cinza muito claro para fundo */
    --medium-gray: #999999;        /* cinza médio para detalhes */
    --dark-gray: #222222;          /* preto/cinza escuro */
    --white: #ffffff;              /* branco */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form > .container > p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--primary-color);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

textarea:focus {
    min-height: 150px;
}

.tooltip {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
    width: 250px;
}

.tooltip:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--primary-color);
}

.form-group:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

button {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: var(--secondary-color);
}

.captcha-container {
    display: flex;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.logo-footer {
    margin-bottom: 15px;
}

.logo-footer img {
    height: 30px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mensagens de feedback */
.mensagem {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.mensagem.sucesso {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
}

.mensagem.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .logo img {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul li:first-child {
        margin-left: 0;
    }
}