/* =====================================================
   contato.css – Página Fale Conosco
   ===================================================== */

/* Hero da página */
.contact-hero {
    background-color: #f5f5f5;
    padding: 70px 20px 60px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-hero-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto 22px;
}

.contact-hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Mapa */
.map-section {
    width: 100%;
    line-height: 0;
}

.map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* Seção principal: formulário + sidebar */
.contact-main {
    background: var(--white);
    padding: 80px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: flex-start;
}

/* Coluna formulário */
.contact-form-col h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-form-col p.form-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

/* Formulário */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fafafa;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(237, 50, 55, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Mensagens de feedback */
.form-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.93rem;
    font-weight: 500;
    display: none;
}

.form-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Botão enviar */
.btn-enviar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.btn-enviar:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(237, 50, 55, 0.3);
}

.btn-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-enviar svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-enviar.loading .btn-text { display: none; }
.btn-enviar.loading .spinner  { display: block; }

/* Sidebar de informações */
.contact-sidebar {
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 36px 32px;
}

.contact-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.sidebar-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sidebar-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-info-text strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.sidebar-info-text span,
.sidebar-info-text a {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    text-decoration: none;
}

.sidebar-info-text a:hover {
    color: var(--primary-color);
}

/* Botão WhatsApp na sidebar */
.sidebar-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp-green);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 24px;
}

.sidebar-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    color: var(--white);
}

.sidebar-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
    flex-shrink: 0;
}

/* Redes sociais */
.sidebar-social {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

/* Seção de FAQ */
.contact-faq {
    background: #f5f5f5;
    padding: 80px 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.faq-intro {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 46px;
    font-size: 0.97rem;
}

/* Responsivo */
@media (max-width: 960px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero-title {
        font-size: 2rem;
    }
}
