/* Variáveis de Cores e Fontes */
:root {
    --primary-color: #2C3E50; 
    --accent-color: #F4D03F; 
    --bg-color: #FDFDFD;
    --text-color: #4A4A4A;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/fundo.jpg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.1; 
    z-index: -1; 
}

a:focus, button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px; 
    text-decoration: none;
}

.logo {
    max-height: 50px; 
    width: auto;
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7f8c8d;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- BANNER RESPONSIVO --- */
.banner-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background-color: #000; 
    display: block;
}

.banner-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 300; 
    object-fit: contain; /* Garante que nada seja cortado */
    object-position: center; 
    display: block;
}

.content-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- ESTILOS DO FORMULÁRIO DE CONTATO --- */
.contact-container {
    max-width: 720px;
    margin: 40px auto 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .col {
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f8fafc;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Botões de Seleção (Radio Toggles) */
.radio-group {
    display: flex;
    gap: 15px;
}

.radio-label {
    flex: 1;
    position: relative;
}

.radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    transition: 0.2s;
}

.radio-label input:checked + .radio-tile {
    background-color: #fdfaf0;
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

/* --- RODAPÉ --- */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.95rem;
    margin-top: 40px;
}

footer p {
    margin-bottom: 2px;
    line-height: 1.3;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .creditos {
    margin-top: 10px; 
    font-size: 0.85rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .brand-text { font-size: 1rem; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    
    /* --- BANNER CELULAR --- */
    .banner-img { 
        aspect-ratio: 1920 / 300; /* Mantém a proporção real para não cortar no mobile */
        height: auto;
    }
    
    .content-section, .content-section.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .image-content { width: 100%; }
    
    /* Responsividade do Formulário */
    .contact-container {
        padding: 25px;
        margin: 20px 15px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row .col {
        margin-bottom: 25px;
    }
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}