/* assets/css/style.css */

/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary-color: #0D4290;
    --primary-light: #0070C0;
    --secondary-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container_new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--medium-gray);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-logout {
    background-color: var(--danger-color);
    color: white;
}

.btn-logout:hover {
    background-color: #c82333;
}

/* ===== HEADER ===== */
.main-header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 60px; /* Aumentado de 40px para 60px */
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    color: var(--primary-color);
    font-size: 1.75rem; /* Aumentado para combinar com o logo maior */
    font-weight: 700;
}

/* Responsivo para tablets */
@media (max-width: 768px) {
    .logo img {
        height: 50px; /* Um pouco menor em tablets */
    }

    .logo-text {
        font-size: 1.5rem;
    }
    
    .header-content {
        padding: 1rem 0; /* Menor em mobile */
    }    
}

/* Responsivo para mobile */
@media (max-width: 480px) {
    .logo img {
        height: 45px; /* Menor ainda em celulares */
    }

    .logo-text {
        font-size: 1.25rem;
    }
}


.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}


.nav-login {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-login:hover {
    background-color: var(--primary-light);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-menu {
    display: none;
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
    background-color: var(--medium-gray);
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ===== SEÇÕES ===== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ===== CATEGORIAS ===== */
.categorias-section {
    padding: 3rem 0;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.categoria-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.categoria-card:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.categoria-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.categoria-card h3 {
    font-size: 1rem;
    margin: 0;
}

.categoria-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin: 0.5rem;
}

/* ===== COMO FUNCIONA ===== */
.como-funciona {
    background-color: var(--light-gray);
    padding: 3rem 0;
    margin: 3rem 0;
}

.passos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.passo {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.passo-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.passo h3 {
    margin-bottom: 0.5rem;
}

.passo p {
    margin-bottom: 0;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
    padding: 3rem 0;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.depoimento-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.estrelas {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.autor {
    display: flex;
    flex-direction: column;
}

.autor strong {
    color: var(--primary-color);
}

.autor span {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

/* ===== CTA ===== */
.cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin: 3rem 0;
    border-radius: 8px;
}

.cta-final h2 {
    color: white;
}

.cta-final p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FORMULÁRIOS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 66, 144, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.checkbox-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.checkbox-card input {
    width: auto;
    margin: 0;
}

.checkbox-card:has(input:checked) {
    border-color: var(--primary-color);
    background-color: rgba(13, 66, 144, 0.05);
}

.checkbox-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===== ALERTAS ===== */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* ===== AUTENTICAÇÃO ===== */
.auth-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.auth-box-large {
    max-width: 600px;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-box .subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-links {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.auth-links p {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.auth-links a {
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== DASHBOARD ===== */
.dashboard-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    margin-bottom: 3rem;
}

.profile-card,
.company-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.profile-image,
.company-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img,
.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    font-size: 2rem;
}

.profile-info h1,
.company-info h1 {
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.rating-text {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.profile-stats,
.company-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.stat,
.stat-box {
    display: flex;
    flex-direction: column;
}

.stat strong,
.stat-box .stat-number {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat span,
.stat-box .stat-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.dashboard-content {
    display: grid;
    gap: 2rem;
}

.dashboard-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.dashboard-card h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.dashboard-card h3 {
    margin-bottom: 1rem;
}

.info-card {
    background-color: rgba(13, 66, 144, 0.05);
    border-left: 4px solid var(--primary-color);
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.info-box {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    color: #0c5460;
}

/* ===== BUSCA ===== */
.busca-section {
    padding: 2rem 0;
}

.filtros-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filtros-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filtro-group {
    display: flex;
    flex-direction: column;
}

.filtro-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.filtro-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.filtros-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.creditos-info {
    color: var(--primary-color);
    font-weight: 600;
}

.profissionais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.profissional-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.profissional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    background-color: var(--light-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.75rem;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.card-rating .stars {
    color: var(--warning-color);
}

.rating-count {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.card-bio {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--dark-gray);
}

.empty-state i {
    font-size: 3rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    display: block;
}

/* ===== PAGINAÇÃO ===== */
.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.paginacao-info {
    color: var(--dark-gray);
    font-weight: 600;
}

/* ===== AVALIAÇÕES ===== */
.avaliacoes-list,
.contatos-list {
    display: grid;
    gap: 1rem;
}

.avaliacao-item,
.contato-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.avaliacao-header,
.contato-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.avaliacao-header strong,
.contato-header strong {
    color: var(--primary-color);
}

.stars {
    color: var(--warning-color);
}

.avaliacao-item p,
.contato-item p {
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.avaliacao-item small,
.contato-item small {
    color: #999;
}

/* ===== CRÉDITOS ===== */
.creditos-section {
    padding: 2rem 0;
}

.creditos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.saldo-atual {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--light-gray);
    padding: 1rem 2rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 1.125rem;
}

.saldo-atual strong {
    color: var(--primary-color);
}

.pacotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pacote-card {
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pacote-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pacote-card.recomendado {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(13, 66, 144, 0.05) 0%, rgba(0, 112, 192, 0.05) 100%);
}

.badge-recomendado {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pacote-creditos {
    margin: 1.5rem 0;
}

.pacote-creditos .numero {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pacote-creditos .texto {
    display: block;
    color: var(--dark-gray);
}

.pacote-valor {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1rem 0;
}

.preco {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.por-credito {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.economia {
    background-color: var(--warning-color);
    color: #333;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.creditos-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

.creditos-faq {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.faq-items {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.faq-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.faq-item p {
    margin: 0;
    color: var(--dark-gray);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--danger-color);
}

.info-pagamento {
    text-align: center;
    color: var(--dark-gray);
    margin: 1rem 0;
}

/* ===== RATING INPUT ===== */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: var(--medium-gray);
    transition: var(--transition);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--warning-color);
}

.rating-description {
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* ===== DESBLOQUEAR CONTATO ===== */
.desbloquear-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.desbloquear-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.profissional-preview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    margin: 2rem 0;
}

.preview-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info h2 {
    margin-bottom: 0.5rem;
}

.preview-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.preview-bio {
    margin: 0;
    color: var(--dark-gray);
}

.custo-info {
    display: flex;
    justify-content: space-around;
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.custo-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
}

.custo-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contato-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contato-info h3 {
    margin-bottom: 1rem;
}

/* ===== EDITAR PERFIL ===== */
.editar-perfil-section {
    padding: 2rem 0;
}

.editar-perfil-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.foto-upload {
    text-align: center;
}

.foto-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 1rem auto;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-upload input[type="file"] {
    display: none;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-success {
    background-color: var(--secondary-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: #333;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

.badge-info {
    background-color: var(--info-color);
    color: white;
}

/* ===== CATEGORIAS LIST ===== */
.categorias-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* ===== TEXT UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-warning {
    color: var(--warning-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-success {
    color: var(--secondary-color);
}

.text-muted {
    color: var(--dark-gray);
}

/* ===== MARGIN/PADDING UTILITIES ===== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }


/* ===== CATEGORIAS COM CHECKBOX (REGISTRO PROFISSIONAL) ===== */

/* Grid de categorias */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Label que envolve checkbox + card */
.categoria-checkbox {
    display: block;
    cursor: pointer;
}

/* Esconde o checkbox nativo */
.categoria-checkbox input[type="checkbox"] {
    display: none;
}

/* Card visual da categoria */
.categoria-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Ícone da categoria */
.categoria-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Texto da categoria */
.categoria-card span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Hover no card */
.categoria-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(13, 66, 144, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Estado selecionado (quando checkbox está checked) */
.categoria-checkbox input[type="checkbox"]:checked + .categoria-card {
    border-color: var(--primary-color);
    background-color: rgba(13, 66, 144, 0.15);
    box-shadow: 0 2px 8px rgba(13, 66, 144, 0.2);
}

.categoria-checkbox input[type="checkbox"]:checked + .categoria-card span {
    font-weight: 600;
    color: var(--primary-color);
}


/* ===== BOTÃO OUTLINE (LOGIN) ===== */
.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ===== CTA LOGIN TEXT ===== */
.cta-login-text {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
    color: white;
    opacity: 0.95;
}

.cta-login-link {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition);
}

.cta-login-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* ===== CONTATO DO PROFISSIONAL SELECIONADO ===== */
.contato-profissional {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contato-profissional h5 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contato-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contato-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contato-item label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.contato-item strong {
    font-size: 1rem;
    color: #2e7d32;
}

.whatsapp-number {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #25d366 !important;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.5rem;
}





/* Responsivo para tablets */
@media (max-width: 768px) {
    .categorias-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .categoria-card {
        padding: 0.875rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
    }

    .cta-login-text {
        margin-top: 1.5rem;
        font-size: 0.95rem;
    }    
    
    .contato-info {
        grid-template-columns: 1fr;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* Responsivo para mobile */
@media (max-width: 480px) {
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .categoria-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
    }

    .categoria-card i {
        font-size: 1.75rem;
    }

    .categoria-card span {
        font-size: 0.875rem;
    }
}

/* Estilo para o badge de status "Expirado" */
.status-badge.status-expirado {
    background-color: rgba(150, 150, 150, 0.15); /* Um cinza claro */
    color: #777; /* Texto cinza escuro */
    border: 1px solid #ccc; /* Borda sutil */
}

/* Outros estilos de badge (se você tiver) */
.status-badge.status-aberto {
    background-color: rgba(40, 167, 69, 0.15); /* Verde claro */
    color: #28a745; /* Texto verde */
    border: 1px solid #28a745;
}

.status-badge.status-em-andamento {
    background-color: rgba(255, 193, 7, 0.15); /* Amarelo claro */
    color: #ffc107; /* Texto amarelo */
    border: 1px solid #ffc107;
}

.status-badge.status-finalizado {
    background-color: rgba(0, 123, 255, 0.15); /* Azul claro */
    color: #007bff; /* Texto azul */
    border: 1px solid #007bff;
}

.status-badge.status-cancelado {
    background-color: rgba(220, 53, 69, 0.15); /* Vermelho claro */
    color: #dc3545; /* Texto vermelho */
    border: 1px solid #dc3545;
}
