.hero {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.489), rgba(0, 0, 0, 0.445));
    z-index: -1;
}

.tagline {
    color: var(--accent-color);
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* --- LAYOUT PRINCIPAL --- */
.contact-section {
    background-color: var(--primary-color);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info { flex: 1; }
.contact-form-container { flex: 1; }

/* --- INFORMAÇÕES (Esquerda) --- */
.divider-left {
    width: 60px; height: 3px;
    background: var(--accent-color);
    margin: 20px 0 40px 0;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.icon-box {
    width: 50px; height: 50px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--title-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.info-item a { margin: 0; transition: 0.3s; }
.info-item a:hover { color: var(--accent-color); }
.phone { color: var(--white) !important; font-weight: 600; margin-top: 5px !important; }


/* --- FORMULÁRIO DINÂMICO (Direita) --- */
.contact-form-container {
    background: var(--card-bg-color);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dynamic-form h3 {
    color: var(--title-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* O Segredo do Floating Label */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

/* Estilo Base dos Inputs */
.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

/* Estilo do Select (Correção de cor) */
.input-group select option {
    background: var(--card-bg-color);
    color: var(--text-color);
}

/* A Label Inicial (Texto dentro do input) */
.input-group label {
    position: absolute;
    left: 15px;
    top: 10px;
    color: var(--text-muted);
    pointer-events: none; /* Permite clicar através do texto */
    transition: 0.3s ease all;
    background-color: var(--card-bg-color); /* Fundo igual ao card para esconder a linha */
    padding: 0 5px;
}

/* --- ANIMAÇÃO (Quando clica ou tem texto) --- */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.1);
}

/* Mover a label para cima quando: Foco OU Placeholder não mostrado (tem texto) */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group select:valid ~ label {
    top: -25px;
    left: -5px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

textarea {
resize: none;
}

/* Botão */
.full-width {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    cursor: pointer;
}

/* --- MAPA --- */
.map-container {
    height: 450px;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
        width: 100%;
    }
}