:root {
/* Paleta de cores global unificada */
    --primary-color: #2E8B57;
    --secondary-color: #90EE90;
    --accent-color: #FFD700;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

/* ======= ESTILO GLOBAL ======= */
body {
background: linear-gradient(135deg, var(--light-bg) 0%, #E8F5E8 100%);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-dark);
min-height: 100vh;
margin: 0;
}

/* ======= ÁREA DE LOGIN ======= */

.login-container {
width: 100%;
max-width: 650px;
padding: 20px;
}

.card {
border: none;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.95);
overflow: hidden;
}

.card-header, .card-headerpass {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: #fff;
text-align: center;
padding: 10px 50px;
border: none;
}

.logo-container {
display: flex;
align-items: center;
margin-bottom: 30px;
}
.logo-container img {
height: 50px;
margin-right: 15px;
}

.card-title {
font-size: 1.8rem;
font-weight: 700;
margin: 0;
}

.card-subtitle {
opacity: 0.9;
margin-top: -30px;
}

.card-body {
padding: 40px 30px;
}

/* ===== FORM ===== */
.form-control {
border-radius: 15px;
border: 2px solid #E0E0E0;
padding: 15px 20px;
font-size: 1rem;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.9);
}
.form-control:focus {
border-color: var(--secondary-color);
box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
background: white;
}

.form-label {
font-weight: 600;
color: var(--dark-color);
margin-bottom: 8px;
}
.input-group {
position: relative;
margin-bottom: 20px;
}
.input-group-text {
background: transparent;
border: none;
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
z-index: 10;
color: var(--primary-color);
}
.form-control.with-icon {
padding-left: 50px;
}

/* ===== BUTTONS ===== */
.btn-primary {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
border: none;
border-radius: 25px;
padding: 15px 30px;
font-size: 1.1rem;
font-weight: 600;
transition: all 0.3s ease;
width: 100%;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}
.btn-primary:disabled {
opacity: 0.6;
transform: none;
box-shadow: none;
}

.forgot-password,
.register-link {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
}
.forgot-password:hover,
.register-link:hover {
color: var(--secondary-color);
text-decoration: underline;
}

/* ====== DIVIDER ====== */
.divider {
text-align: center;
margin: 25px 0;
position: relative;
}
.divider::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: #E0E0E0;
}
.divider span {
background: #f9fafb; /* mesmo tom do fundo */
color: #555;
padding: 0 15px;
display: inline-block;
position: relative;
z-index: 1;
font-size: 0.9rem;
}

/* ===== CAPTCHA / ALERTS ===== */
.captcha-container {
margin: 20px 0;
display: flex;
justify-content: center;
}
.alert {
border-radius: 15px;
border: none;
margin-bottom: 20px;
}
.alert-danger {
background: rgba(244, 67, 54, 0.1);
color: #d32f2f;
}
.alert-success {
background: rgba(76, 175, 80, 0.1);
color: var(--primary-color);
}

/* ====== RESPONSIVO (Login) ====== */
@media (max-width: 650px) {
.login-container { padding: 10px; }
.card-body { padding: 30px 20px; }
}

/* ====== SPINNER ====== */
.loading-spinner {
display: none;
width: 20px;
height: 20px;
border: 2px solid #fff;
border-top: 2px solid transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-right: 10px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* ======= SITE PRINCIPAL / HOME ======= */
.hero-section {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
min-height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-image: url('images/fundo.png');
background-size: cover;
background-position: center;
opacity: 0.1;
z-index: 0;
pointer-events: none;
}
.hero-content {
position: relative;
z-index: 2;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
color: white;
margin-bottom: 1.5rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
font-size: 1.3rem;
color: rgba(255,255,255,0.9);
margin-bottom: 2rem;
line-height: 1.8;
}

/* Botões personalizados */
.btn-primary-custom {
background: var(--accent-color);
border: none;
color: var(--text-dark);
font-weight: 600;
padding: 15px 40px;
font-size: 1.1rem;
border-radius: 50px;
box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
transition: all 0.3s ease;
}
.btn-primary-custom:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
color: var(--text-dark);
}
.btn-secondary-custom {
background: transparent;
border: 2px solid white;
color: white;
font-weight: 600;
padding: 15px 40px;
font-size: 1.1rem;
border-radius: 50px;
transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
background: white;
color: var(--primary-color);
}

/* Seções principais */
.features-section, .testimonials-section, .pricing-section {
padding: 100px 0;
background: #f8f9fa;
}
.feature-card, .testimonial-card, .pricing-card {
background: white;
border-radius: 20px;
padding: 40px 30px;
text-align: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.feature-card:hover, .pricing-card:hover { transform: translateY(-10px); }

/* Footer e CTA */
.cta-section {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
padding: 100px 0;
text-align: center;
color: white;
}
.footer {
background: var(--text-dark);
color: white;
padding: 60px 0 30px;
}

/* Responsivo para Home */
@media (max-width: 768px) {
.hero-title { font-size: 2.5rem; }
.hero-subtitle { font-size: 1.1rem; }
.section-title { font-size: 2rem; }
}

/* ======== ESTILO TELA DE RECUPERAR SENHA ======== */
.hero-section {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #43A047 0%, #81C784 100%);
}

/* Centraliza o conteúdo */
.container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

/* Card padrão */
.main-card {
width: 100%;
max-width: 750px;
}

/* Centraliza o logo e dá espaçamento */
.main-card img {
display: block;
margin: 0 auto 50px;
width: 250px;
}



.hero-content {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.login-container {
max-width: 740px; /* ligeiramente mais largo */
width: 100%;
margin: 0 auto;
}

.card {
border: none;
border-radius: 20px;
background: rgba(255,255,255,0.98);
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Header do card */
.card-header {
background: linear-gradient(135deg, #66BB6A, #81C784);
color: #fff;
text-align: center;
padding: 15px 50px;
border: none;
}

.card-header h4 {
margin: 0;
font-weight: 600;
}

/* Body */
.card-body {
padding: 40px 35px;
}

/* Texto */
.card-body p.text-muted {
text-align: center;
color: #555;
font-size: 0.95rem;
line-height: 1.6;
margin-bottom: 2rem;
}

/* Inputs */
.form-control {
border: 2px solid #ddd;
border-radius: 15px;
padding: 15px 20px;
font-size: 1rem;
transition: all 0.3s ease;
}

.form-control:focus {
border-color: #81C784;
box-shadow: 0 0 0 3px rgba(129, 199, 132, 0.25);
background: #fff;
}

.form-label {
font-weight: 600;
color: #1B5E20;
margin-bottom: 6px;
}

/* ======== BOTÕES IGUAIS ======== */
.d-flex.gap-2 {
display: flex;
justify-content: space-between;
gap: 10px;
}

.btn-primary, 
.btn-secondary {
    flex: 1; /* Mesmo tamanho */
    padding: 12px 18px;
    font-size: 1.0rem;
    border-radius: 8px; /* menos arredondado, como a segunda imagem */
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    text-transform: none; /* remover caixa alta */
}

/* Enviar link - verde */
.btn-primary {
    background: #2e7d32; /* verde sólido */
    color: #fff;
    border: 1px solid #2e7d32;
}
.btn-primary:hover {
    background: #256c2a;
    border-color: #256c2a;
}

/* Voltar ao login - branco com borda */
.btn-secondary {
    background: #2e7d32; /* igual ao botão da segunda imagem */
    color: #fff;
    border: 1px solid #2e7d32;
}
.btn-secondary:hover {
    background: #256c2a;
    border-color: #256c2a;
}

/* Responsivo */
@media (max-width: 600px) {
.card-body { padding: 30px 20px; }
.btn-primary, .btn-secondary { font-size: 0.95rem; }
}

h4.mb-3 {
    font-weight: 900;
    color: #81C784; /* cor do texto, destacada */
    text-shadow:
    1px 1px 0 #2E7D32,
    2px 2px 0 #2E7D32,
    3px 3px 0 #2E7D32;
    /* gera uma sombra grossa sobreposta */
    letter-spacing: 5px;
}