@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-yellow: #C4B000; /* Dourado/Mostarda */
    --primary-hover: #a89600;
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f9;
}

/* Background da marca */
.bg-brand {
    background-color: var(--primary-yellow);
}

/* Texto da marca */
.text-brand {
    color: var(--primary-yellow) !important;
}

/* Botões Personalizados */
.btn-brand {
    background-color: var(--dark-bg);
    color: var(--primary-yellow);
    font-weight: 700;
    border: 2px solid var(--dark-bg);
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: transparent;
    color: var(--dark-bg);
}

/* Customização das Abas (Tabs) */
.nav-pills .nav-link {
    color: var(--dark-bg);
    background-color: #e9ecef;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
}

/* Campos de Formulário */
.form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.25rem rgba(196, 176, 0, 0.25);
}

/* --- SELEÇÃO DE OBJETIVO (MODERNO) --- */
.selector-item {
    position: relative;
    width: 100%;
}

/* Esconde a bolinha original do radio */
.selector-item input[type="radio"] {
    position: absolute;
    visibility: hidden;
}

/* O visual do botão desmarcado */
.selector-item label {
    display: block;
    position: relative;
    padding: 20px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
    color: #6c757d;
}

.selector-item label i.main-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.selector-item label .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0; /* Escondido por padrão */
    transform: scale(0.5);
    transition: all 0.3s ease;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

/* --- ESTADO SELECIONADO (CHECKED) --- */
.selector-item input[type="radio"]:checked + label {
    border-color: var(--primary-yellow);
    background-color: rgba(196, 176, 0, 0.05); /* Fundo amarelo bem clarinho */
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.selector-item input[type="radio"]:checked + label i.main-icon {
    color: var(--primary-yellow); /* Ícone fica dourado */
}

.selector-item input[type="radio"]:checked + label .check-icon {
    opacity: 1; /* Check aparece */
    transform: scale(1);
}

/* --- ESTILO DOS CARTÕES DE SELEÇÃO (Fix para PC e Celular) --- */
.selector-item {
    position: relative;
    width: 100%;
    display: block; /* Garante que ocupe o espaço */
}

/* 1. Esconde a bolinha original (o input radio) */
.selector-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    appearance: none; /* Força sumir em navegadores teimosos */
}

/* 2. O visual do quadrado (Label) */
.selector-item label {
    display: flex;             /* Alinha ícone e texto */
    flex-direction: column;    /* Um em cima do outro */
    align-items: center;       /* Centraliza tudo */
    justify-content: center;
    padding: 20px 10px;
    border: 2px solid #e0e0e0; /* Borda cinza suave */
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    height: 100%;             /* Altura igual para os dois */
}

/* Ícone principal (Chapéu/Maleta) */
.selector-item label i.main-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #adb5bd;
    transition: color 0.3s ease;
}

/* Ícone de Check (no canto) */
.selector-item label .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

/* --- ESTADO SELECIONADO (QUANDO CLICA) --- */
.selector-item input[type="radio"]:checked + label {
    border-color: var(--primary-yellow);
    background-color: #fff9c4; /* Amarelo bem clarinho */
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(196, 176, 0, 0.2);
    transform: translateY(-2px); /* Leve efeito de subir */
}

.selector-item input[type="radio"]:checked + label i.main-icon {
    color: var(--primary-yellow);
}

.selector-item input[type="radio"]:checked + label .check-icon {
    opacity: 1;
    transform: scale(1);
}