:root {
    --cor-primaria: #E91E63;
    --cor-secundaria: #C2185B;
    --cor-fundo: #FAFAFA;
    --cor-texto: #333;
    --cor-branco: #FFFFFF;
    --sombra: 0 4px 20px rgba(0,0,0,0.1);
    --borda-radius: 12px;
    --transicao: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: var(--cor-texto);
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header com Imagem de Perfil */
.profile-section {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--cor-branco);
    box-shadow: var(--sombra);
    margin-bottom: 20px;
    transition: var(--transicao);
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Cards */
.card {
    background: var(--cor-branco);
    border-radius: 0;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: none;
    border-bottom: 1px solid #eee;
    animation: fadeInUp 0.8s ease;
}

/* Títulos */
h1 {
    font-size: 1.8rem;
    color: var(--cor-primaria);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Botão CTA Principal */
.btn-principal {
    display: block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: var(--cor-branco);
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
    transition: var(--transicao);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.5);
}

.btn-principal:active {
    transform: translateY(-1px);
}

.btn-principal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-principal:active::after {
    width: 300px;
    height: 300px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp::before {
    content: "💬";
    font-size: 1.4rem;
}

/* Contador de Vagas */
.vagas-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: var(--cor-branco);
    padding: 20px;
    border-radius: var(--borda-radius);
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.vagas-box::before {
    content: "⚡";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.vagas-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.vagas-numero {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.vagas-urgencia {
    font-size: 0.95rem;
    font-weight: 600;
    animation: blink 1.5s infinite;
}

/* Benefícios */
.beneficios {
    margin-top: 30px;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 0;
    transition: var(--transicao);
    border-bottom: 1px solid #eee;
}

.beneficio-item:last-child {
    border-bottom: none;
}

.beneficio-item:hover {
    background: #fafafa;
}

.beneficio-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    color: var(--cor-primaria);
}

.beneficio-content h3 {
    color: var(--cor-primaria);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.beneficio-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Depoimento */
.depoimento {
    background: #ffffff;
    color: var(--cor-texto);
    padding: 25px;
    border-radius: 0;
    margin: 30px 0;
    position: relative;
    font-style: normal;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.depoimento::before {
    content: """;
    font-size: 2rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
    font-family: Georgia, serif;
    color: var(--cor-primaria);
}

.depoimento-texto {
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    color: #555;
}

/* Modal/Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--cor-branco);
    padding: 30px;
    border-radius: 0;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease;
    border: 1px solid #eee;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

.modal-title {
    color: var(--cor-primaria);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.modal-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contador-redirecionamento {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cor-primaria);
    margin: 15px 0;
}

/* Formulário */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--cor-texto);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transicao);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

/* Selos de segurança */
.selos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.selo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.selo-icon {
    font-size: 1.2rem;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsivo */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .vagas-numero {
        font-size: 2.5rem;
    }
    
    .btn-principal {
        font-size: 1rem;
        padding: 18px;
    }
}

/* Efeito de carregamento */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--cor-branco);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alertas */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    display: none;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Popups de depoimentos */
.popup-depoimento {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    max-width: 320px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--cor-primaria);
    font-size: 0.9rem;
}

.popup-depoimento.mostrar {
    transform: translateX(0);
}

.popup-conteudo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.popup-imagem {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--cor-primaria);
    flex-shrink: 0;
}

.popup-texto {
    flex: 1;
    line-height: 1.4;
}

.popup-nome {
    font-weight: 600;
    color: var(--cor-primaria);
    margin-bottom: 3px;
}

.popup-tempo {
    font-size: 0.8rem;
    color: #888;
    margin-top: 3px;
}

/* Estilos para o painel administrativo */
.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.admin-main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.estatisticas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-estatistica {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-estatistica h3 {
    color: #666;
    margin-bottom: 0.5rem;
}

.card-estatistica p {
    font-size: 2rem;
    font-weight: bold;
    color: var(--cor-primaria);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 0.8rem;
    text-align: left;
}

th {
    background: #f2f2f2;
}

.status-convertido {
    background: #d4edda;
    color: #155724;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.status-pendente {
    background: #fff3cd;
    color: #856404;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.btn-alterar {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 0.5rem;
}

.btn-excluir {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
}

/* Estilos para a página de login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5;
}

.login-form {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.login-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.login-form button {
    width: 100%;
    background: var(--cor-primaria);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.mensagem {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 5px;
    text-align: center;
}

.error {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    text-align: center;
}

/* Estilos para formulários de configuração */
.form-config {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.grupo-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.grupo-inputs > div {
    display: flex;
    flex-direction: column;
}

.grupo-inputs label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.grupo-inputs input, .grupo-inputs textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.grupo-checkbox {
    margin: 1.5rem 0;
}

.form-config button {
    background: var(--cor-primaria);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Estilos para paginação */
.paginacao {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.paginacao a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.paginacao a.ativo {
    background: var(--cor-primaria);
    color: white;
}

/* Estilos para filtros */
.filtro-busca {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.filtro-busca form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filtro-busca input, .filtro-busca select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.filtro-busca button {
    background: var(--cor-primaria);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
}