/* ============================
   PÁGINA PROFISSIONAIS
   ============================ */

.profissionais-hero {
    background: linear-gradient(135deg, #003366, #009739);
    color: #fff;
    padding: 100px 20px;
    text-align: center;

    /* Bordas arredondadas inferiores */
    border-radius: 0 0 40px 40px;

    /* Sombra premium */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.profissionais-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #ffb300;
    margin-bottom: 20px;
}

.profissionais-hero p {
    font-size: 18px;
    color: #e6f9e6;
    margin-bottom: 40px;
}

/* ------------------------------
   FORMULÁRIO DE FILTROS
   ------------------------------ */

.filtros-form {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    overflow: hidden; /* evita scroll horizontal */
}

.filtros-form select {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 180px;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-filtrar {
    background: #ff8a00;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-filtrar:hover {
    background: #ffb300;
}

/* ------------------------------
   LISTA DE PROFISSIONAIS
   ------------------------------ */

.profissionais-lista {
    padding: 80px 20px;
}

.profissionais-lista h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #0B2A4A;
    margin-bottom: 50px;
}

/* ------------------------------
   GRID DE PROFISSIONAIS
   ------------------------------ */

.profissionais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ------------------------------
   CARD DE PROFISSIONAL
   ------------------------------ */

.profissional-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.profissional-card:hover {
    transform: translateY(-6px);
}

.profissional-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.profissional-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0B2A4A;
}

.profissional-card p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 10px;
}

.profissional-card .rating {
    color: #ff8a00;
    font-weight: 700;
    margin-bottom: 10px;
}

.profissional-card .preco {
    color: #009739;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ------------------------------
   BOTÃO VER PERFIL
   ------------------------------ */

.btn-ver {
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-ver:hover {
    background: #009739;
}

/* ------------------------------
   FAVORITOS
   ------------------------------ */

.favorito-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.favorito-btn:hover {
    transform: scale(1.1);
}

.favorito-btn.active {
    background: #ff8a00;
    color: #fff;
}

/* ------------------------------
   COMPARAÇÃO
   ------------------------------ */

.comparar-checkbox {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.comparar-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ------------------------------
   PAGINAÇÃO
   ------------------------------ */

.paginacao {
    text-align: center;
    margin-top: 40px;
}

.btn-pagina {
    background: #fff;
    border: 2px solid #009739;
    color: #009739;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pagina:hover {
    background: #009739;
    color: #fff;
}

/* ------------------------------
   RESPONSIVO
   ------------------------------ */

@media (max-width: 992px) {
    .filtros-form {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filtros-form select {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 600px) {
    .filtros-form select {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .btn-filtrar {
        width: 100%;
    }

    .profissionais-hero h1 {
        font-size: 32px;
    }
}

/* ============================
   HERO PROFISSIONAL
   ============================ */

.hero-prof {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #0B2A4A, #009739);
    color: #ffffff;
}

.hero-prof-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

/* Texto principal */
.hero-prof-text h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-prof-text p {
    font-size: 18px;
    max-width: 480px;
    margin-bottom: 25px;
}

/* Benefícios rápidos */
.hero-prof-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
}

.benefit-item i {
    font-size: 18px;
}

/* Card lateral */
.hero-prof-card {
    background: rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 25px 20px;
    max-width: 320px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.hero-prof-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-prof-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-prof-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

/* ============================
   SEÇÃO: FORMULÁRIO PROFISSIONAL
   ============================ */

.prof-form {
    padding: 60px 20px;
    background: #F9FAFB;
}

.prof-form .container {
    max-width: 650px;
    margin: auto;
}

/* Barra de progresso */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    background: #e5e7eb;
    font-weight: 600;
    color: #374151;
    transition: 0.3s ease;
}

.progress-step.active {
    background: #009739;
    color: #fff;
}

/* Card do formulário */
#formProfissional {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Step */
.form-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Campos */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    font-weight: 600;
    color: #0B2A4A;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    font-size: 16px;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #009739;
    box-shadow: 0 0 0 3px rgba(0,151,57,0.15);
}

/* Mensagens de erro */
.error-msg {
    color: red;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

/* Botão */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #009739;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-submit:hover {
    background: #007f2f;
    transform: translateY(-3px);
}
