/* ============================================= */
/* --- ARQUIVO: pages.css (VERSÃO FINAL) --- */
/* ============================================= */

/* Estilos gerais para páginas de conteúdo */
.page-section {
    padding-top: 140px; /* AUMENTE ESTE VALOR para afastar do menu */
    padding-bottom: 80px; /* Mantém o espaço na parte de baixo */
}
.page-header {
    text-align: center;
    margin-bottom: 60px;
}
.page-header h1 {
    font-family: var(--font-headings);
    color: var(--dark-color);
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.page-content h2 {
    font-family: var(--font-headings);
    color: var(--dark-color);
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
}
.page-content p {
    margin-bottom: 20px;
}

/* Estilos para a página de Login */
.login-form {
    max-width: 450px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.login-form .form-group {
    margin-bottom: 20px;
}
.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.login-form input, .login-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-body); /* Adicionado para consistência de fonte */
}
.login-form textarea {
    resize: none;
}
.login-form .btn {
    width: 100%;
    padding: 15px;
}
.login-form .form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Estilos para a página de Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.blog-post-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}
.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-post-card__content {
    padding: 25px;
}
.blog-post-card__content h3 {
    font-family: var(--font-headings);
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* [INÍCIO] ESTILOS CORRIGIDOS E COMPLETOS PARA O FAQ INTERATIVO */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}
.faq-question {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    color: var(--dark-color);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}
.faq-question:hover {
    background-color: #f9f9f9;
}
.faq-question::after {
    content: '\2b'; /* Código do caractere '+' */
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease-out;
    font-weight: bold;
}
.faq-item.active .faq-question {
    color: var(--primary-color);
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg); /* Transforma o '+' em 'x' */
}
.faq-answer {
    max-height: 0; /* Começa fechado */
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 20px;
}
.faq-answer p {
    margin: 0;
    padding-bottom: 20px; /* Adiciona espaçamento interno na resposta */
}
.faq-item.active .faq-answer {
    max-height: 300px; /* Altura suficiente para o conteúdo */
    padding: 0 20px 0 20px;
}

/* No arquivo: assets/css/pages.css (adicionar no final) */

.payment-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.plan-summary {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
}
.plan-summary h3 {
    margin: 0;
    color: var(--dark-color);
}
.plan-summary p {
    margin: 5px 0 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-group {
    flex: 1;
}

.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.payment-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.2);
}

/* ============================================= */
/* --- ESTILOS DO NOVO CADASTRO PROFISSIONAL --- */
/* ============================================= */

/* Alinha o subtítulo e dá destaque */
#signup-subtitle {
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px; /* Adiciona espaço abaixo */
}

/* --- Container do Formulário de Cadastro --- */
.signup-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* --- BARRA DE PROGRESSO --- */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 90%;
    max-width: 600px;
    margin: 30px auto 50px auto;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    z-index: 1;
}
.progress-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    /* A largura é controlada via JS */
    width: var(--progress-width, 0%);
    background-color: var(--primary-color);
    z-index: 2;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.progress-step {
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-headings);
    font-weight: 700;
    color: #999;
    z-index: 3;
    transition: all 0.4s ease;
    position: relative;
}
.progress-step.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}
.progress-step::after { /* Título do passo */
    content: attr(data-title);
    position: absolute;
    top: 50px;
    font-size: 0.9rem;
    color: #666;
    width: 120px;
    text-align: center;
    transition: color 0.4s ease;
}
.progress-step.active::after {
    color: var(--primary-color);
    font-weight: 700;
}


/* --- ANIMAÇÕES E ESTILO DOS PASSOS --- */
.signup-form {
    overflow-x: hidden;
}
.form-step {
    display: none;
    animation: slideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
.form-step.active {
    display: block;
}
.form-step.exiting {
    display: block;
    animation: slideOut 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-50px); }
}


/* --- MELHORIAS VISUAIS GERAIS --- */
.step-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 20px;
    margin-bottom: 30px;
}
/* --- AJUSTE DE ALINHAMENTO (DESKTOP): Título do Formulário de Cadastro --- */
.signup-form #signup-title {
    text-align: center;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
}
.signup-form .form-group {
    margin-bottom: 20px;
}

.signup-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.2);
}
.signup-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--white-color);
    -webkit-appearance: none; /* Remove a aparência padrão no Chrome/Safari */
    -moz-appearance: none;    /* Remove a aparência padrão no Firefox */
    appearance: none;          /* Remove a aparência padrão em outros navegadores */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.2);
}

.services-checkbox-group p.text-muted {
    padding: 20px;
    font-style: italic;
}
.text-center { text-align: center; }
.text-muted { color: #888; }
i.fa-solid { margin-left: 8px; }
.btn i.fa-solid { margin-right: 0; margin-left: 8px; }
.btn .fa-arrow-left { margin-right: 8px; margin-left: 0; }


/* --- SELEÇÃO DE SERVIÇOS DINÂMICA --- */
.services-checkbox-group {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #fdfdfd;
}
.services-checkbox-group div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: var(--white-color);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.services-checkbox-group div:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.services-checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
    top: -1px;
    transition: all 0.2s;
}
.services-checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.services-checkbox-group input[type="checkbox"]:checked::after {
    content: '✔';
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.services-checkbox-group label {
    flex-grow: 1;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

/* --- TELA DE REVISÃO --- */
.review-box {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid #e0e0e0;
}
.review-box h4 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}
.review-box p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}
.review-box ul {
    list-style: none;
    padding-left: 0;
}
.review-box ul li {
    background-color: var(--white-color);
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 5px;
    border: 1px solid #eee;
}

/* --- BOTÕES DE NAVEGAÇÃO --- */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
}
.form-navigation .btn {
    flex-grow: 1;
}

/* --- PÁGINA DE SUCESSO DO CADASTRO --- */
.success-box {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    padding: 40px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.success-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.success-box h1 {
    font-family: var(--font-headings);
    color: var(--dark-color);
    margin-bottom: 15px;
}
.success-box p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
}
.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ============================================= */
/* --- ESTILOS PARA PÁGINA DE TERMOS E PRIVACIDADE --- */
/* ============================================= */

.terms-content .terms-intro {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
}

.terms-content h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block; /* Faz a borda ficar só no tamanho do texto */
}

.terms-content h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.terms-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.terms-content ul {
    list-style: none; /* Remove os bullets padrão */
    padding-left: 0;
    margin-bottom: 1.5em;
}

.terms-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

.terms-content ul li::before {
    content: '\f058'; /* Ícone de check-circle do Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900; /* Necessário para ícones sólidos */
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 4px;
}

.terms-content hr {
    border: 0;
    height: 1px;
    background-color: var(--light-color);
    margin: 60px auto;
}

.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.terms-content a:hover {
    border-bottom-color: var(--primary-color);
}

/* Bloco de Código Corrigido e Simplificado */

.terms-content .contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline; /* AQUI ESTÁ A CORREÇÃO: 'baseline' alinha pela base do texto */
    gap: 10px;
}

.terms-content .contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem; /* Leve ajuste para harmonia */
    width: 25px; 
    text-align: center;
}

.terms-content .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* ============================================= */
/* --- ESTILOS DA NOVA PÁGINA DE BLOG --- */
/* ============================================= */

#page-blog .page-section {
    background-color: #f8f9fa; /* Um fundo suave para a seção */
}

#page-blog .page-header h1 {
    font-size: 3.5rem;
}

/* --- POST EM DESTAQUE --- */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.featured-post__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.4s ease;
}

.featured-post:hover .featured-post__image img {
    transform: scale(1.05);
}

.featured-post__content {
    padding: 20px;
}

.featured-post__content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 15px 0;
    border: none;
    padding: 0;
}

.featured-post__content h2 a {
    color: var(--dark-color);
    text-decoration: none;
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.featured-post__content h2 a:hover {
    background-size: 100% 2px;
}

.featured-post__content p {
    font-size: 1.1rem;
    color: #555;
}

/* --- CATEGORIA E METADADOS DO POST --- */
.post-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.post-meta {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
    display: flex;
    gap: 20px;
}

/* --- ESTILOS DOS CARDS DO BLOG --- */

.blog-grid {
    display: grid;
    /* 3 colunas em desktop, 2 em tablet, 1 em celular */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.blog-post-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.blog-post-card__image-container {
    position: relative;
    height: 220px;
}

.blog-post-card__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-card__image-container img {
    transform: scale(1.1);
}

.blog-post-card__image-container .post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.blog-post-card__content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card__content h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-post-card__content h3 a {
    color: var(--dark-color);
    text-decoration: none;
}
.blog-post-card__content h3 a:hover {
    color: var(--primary-color);
}

.blog-post-card__content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.blog-post-card__content .post-meta {
    margin-top: auto; /* Alinha a data no final do card */
}


/* --- PAGINAÇÃO --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 80px;
}
.page-link {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ddd;
    background-color: var(--white-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: all 0.2s ease;
}
.page-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.page-link.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}


/* --- RESPONSIVIDADE DO BLOG --- */
@media (max-width: 992px) {
    .featured-post {
        grid-template-columns: 1fr; /* Coluna única em tablets */
        gap: 0;
    }
    .featured-post__image img {
        height: 300px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

@media (max-width: 768px) {
    #page-blog .page-header h1 {
        font-size: 2.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr; /* Coluna única em celulares */
    }
}

/* ============================================= */
/* --- ESTILOS DA NOVA PÁGINA DE BLOG FINAL --- */
/* ============================================= */


/* ============================================= */
/* --- ESTILOS DO NOVO SELETOR DE PLANOS --- */
/* ============================================= */

.plan-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.plan-option {
    background-color: var(--white-color);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.plan-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(93, 0, 255, 0.1);
}

.plan-option.active {
    border-color: var(--primary-color);
    background-color: #f0eaff; /* Um fundo roxo bem claro */
    box-shadow: 0 8px 25px rgba(93, 0, 255, 0.15);
    transform: translateY(-5px);
}

.plan-option .plan-name {
    display: block;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.plan-option .plan-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Adiciona um checkmark no plano ativo para clareza visual */
.plan-option.active::before {
    content: '\f058'; /* Código do ícone de check-circle do Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    position: absolute;
    top: -14px;
    right: -14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ================================================================ */
/* --- CSS FINAL P/ BARRA DE PROGRESSO (COM AJUSTE DE ETAPA ATIVA) --- */
/* ================================================================ */

/* --- O CONTAINER GERAL --- */
.progress-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 30px auto 80px auto;
}

/* --- A LINHA DE FUNDO DA BARRA --- */
.progress-container::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #f0f2f5;
    z-index: 1;
}

/* --- A BARRA DE COR ANIMADA --- */
.progress-bar-animated {
    position: absolute;
    top: 18px;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    background: var(--primary-color);
    border-radius: 4px;
    z-index: 2;
    transition: width 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

/* --- O CONTAINER DOS CÍRCULOS --- */
.progress-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 3;
}

/* --- ESTILO BASE DE CADA CÍRCULO --- */
.progress-step {
    width: 36px;
    height: 36px;
    background-color: var(--white-color);
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: #a0aec0;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- O TÍTULO ABAIXO DE CADA CÍRCULO --- */
.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: 135%;
    font-size: 0.8rem;
    font-weight: 500;
    color: #718096;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ================================================================ */
/* --- ESTADOS INTERATIVOS (COM SEU AJUSTE) --- */
/* ================================================================ */

/* --- ETAPA ATIVA: Borda roxa, fundo branco, NÚMERO VISÍVEL --- */
.progress-step.active {
    border-color: var(--primary-color);
    background-color: var(--white-color); /* << ALTERAÇÃO PRINCIPAL */
    color: var(--primary-color);           /* << ALTERAÇÃO PRINCIPAL */
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(93, 0, 255, 0.12);
}
.progress-step.active::after {
    color: var(--primary-color);
    font-weight: 700;
    opacity: 1;
}

/* --- ETAPA CONCLUÍDA: Fundo roxo, com ÍCONE DE CHECK --- */
.progress-step.completed {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: transparent; /* Esconde o número para mostrar o check */
    animation: pop 0.3s ease-out;
}
.progress-step.completed::after {
    color: #4a5568;
    opacity: 1;
}
/* Adiciona o ícone de "V" (check) */
.progress-step.completed::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--white-color);
    position: absolute;
    line-height: 1;
    transform: scale(0);
    animation: popIn 0.3s 0.2s forwards;
}

/* --- ANIMAÇÕES --- */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============================================= */
/* --- ESTILO PARA MENSAGEM DE ERRO EM FORMULÁRIOS --- */
/* ============================================= */
.form-error-message {
    color: #e74c3c; /* Vermelho para erros */
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 500;
    min-height: 1.2em; /* Garante que o layout não "pule" quando a msg aparece */
}