/* ============================================================
   CONTATO.CSS (VERSÃO INDEPENDENTE)
   ============================================================ */

/* 1. CONFIGURAÇÕES GERAIS E CORES */
:root {
    --primary: #3b82f6;
    --bg-page: #0f172a;       /* Fundo Azul Escuro */
    --bg-card: #1e293b;       /* Fundo dos Cards */
    --text-main: #ffffff;     /* TEXTO BRANCO PURO */
    --text-muted: #cbd5e1;    /* Texto Cinza Claro */
    --border: #334155;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 2. CABEÇALHO (Navbar) */
.main-header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    width: 100%;
}

.navbar { height: 80px; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); display: block; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-muted); /* Cinza claro */
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: 0.2s; 
}
.nav-links a:hover, .nav-links a.active { 
    color: white; /* Branco ao passar o mouse ou ativo */
    font-weight: 700;
}

.desktop-only { display: block; }
.mobile-btn { display: none; background: none; border: none; color: white; cursor: pointer; }

/* Menu Mobile */
.mobile-menu {
    display: none; background-color: var(--bg-card); padding: 20px;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a { display: block; color: white; padding: 15px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Botão Azul (Voltar) */
.btn-primary {
    background: var(--primary); color: white; padding: 10px 24px;
    border-radius: 8px; border: none; font-weight: 700; cursor: pointer; 
    transition: 0.2s; font-family: 'Public Sans', sans-serif; 
    text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); background-color: #2563eb; }

/* 3. HERO (TÍTULO) */
.page-hero { padding: 60px 0 50px; text-align: left; }
.page-hero h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 800; line-height: 1.1; color: white; }
.page-hero .subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; line-height: 1.6; }

/* 4. GRID PRINCIPAL */
.contact-section { padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }

/* Coluna Esquerda: Informações */
.contact-info h2 { font-size: 1.8rem; margin-bottom: 15px; color: white; }
.contact-info .text-muted { margin-bottom: 30px; line-height: 1.6; color: var(--text-muted); }

.info-cards { display: flex; flex-direction: column; gap: 15px; }
.info-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 15px;
    transition: 0.2s;
}
.info-card:hover { border-color: var(--primary); transform: translateX(5px); }

.icon-box {
    width: 45px; height: 45px; background: rgba(59, 130, 246, 0.1); color: var(--primary);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.info-card h3 { font-size: 1rem; margin-bottom: 3px; color: white; font-weight: 700; }
.info-card a, .info-card p { font-size: 0.95rem; color: var(--text-muted); text-decoration: none; margin: 0; }
.info-card a:hover { color: var(--primary); }

.map-placeholder {
    margin-top: 25px; height: 150px; border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); opacity: 0.6;
}
.map-placeholder span { font-size: 40px; color: var(--text-muted); }

/* Coluna Direita: Formulário */
.form-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 35px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 25px; color: white; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: white; } /* Label branca */

/* Inputs e Textarea */
.form-group input, .form-group textarea {
    background: #0f172a; border: 1px solid var(--border);
    padding: 12px 16px; border-radius: 8px; color: white;
    font-family: 'Public Sans', sans-serif; font-size: 1rem;
    outline: none; transition: 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #64748b;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-actions { display: flex; justify-content: flex-end; padding-top: 10px; }

/* 5. CTA (Agendar) */
.cta-section { padding-bottom: 80px; }
.cta-card {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    border: 1px solid var(--border); padding: 50px; border-radius: 20px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-content { z-index: 2; max-width: 60%; }
.cta-content h2 { font-size: 2rem; margin-bottom: 10px; color: white; }
.cta-content p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

.cta-button { z-index: 2; }
.btn-white {
    background: var(--primary); color: white; padding: 15px 30px;
    border-radius: 50px; border: none; font-weight: 700; font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: 0.3s;
}
.btn-white:hover { box-shadow: 0 0 25px rgba(59, 130, 246, 0.5); transform: scale(1.05); }

.cta-bg-effect {
    position: absolute; right: -10%; top: -50%; width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: 1; pointer-events: none;
}

/* 6. RODAPÉ */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
    margin-top: auto;
}
.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-content a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-content a:hover { color: white; }

/* RESPONSIVO */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; text-align: center; gap: 30px; padding: 30px; }
    .cta-content { max-width: 100%; }
}

@media (max-width: 768px) {
    .navbar .nav-links, .navbar .desktop-only { display: none; }
    .mobile-btn { display: block; }
    .page-hero h1 { font-size: 2.2rem; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
}