/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d0d0f;
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   2. HEADER E MENU SUPERIOR
   ========================================================================== */
.header-bar {
    background-color: #141418;
    border-bottom: 2px solid #e50914;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.logo-container .logo-img {
    max-height: 55px;
    width: auto;
    border-radius: 6px;
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    background-color: #e50914;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* ==========================================================================
   3. ESTRUTURA PRINCIPAL E FORMULÁRIOS
   ========================================================================== */
.form-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: #141418;
    border: 1px solid #26262e;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    width: 90%;
}

.form-container h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
    border-bottom: 2px solid #e50914;
    display: inline-block;
    padding-bottom: 5px;
}

.form-container p {
    color: #a0a0ab;
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.cadastro-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cccccc;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #1d1d24;
    border: 1px solid #33333f;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e50914;
}

.btn-submit {
    background-color: #25d366;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #1eb854;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. GRADE DE BOTÕES DE CONTATO
   ========================================================================== */
.botoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1d1d24;
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #2a2a35;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-card:hover {
    background-color: #e50914;
    border-color: #e50914;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================================== */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-flutuante:hover {
    background-color: #1eb854;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   6. RESPONSIVO
   ========================================================================== */
@media (max-width: 768px) {
    .header-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-menu a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .form-container {
        padding: 20px;
        margin: 20px auto;
    }

    .botoes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn-whatsapp-flutuante {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}