/* Reset e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}
body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    position: relative;
    transition: background 0.3s ease;
}
body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Cores institucionais atualizadas */
:root {
    --azul-escuro: #003366;
    --azul-medio: #0066cc;
    --azul-claro: #4fc3f7;
    --laranja: #ff6600;
    --laranja-escuro: #e65c00;
    --vermelho: #e63946;
    --verde: #4CAF50;
    --verde-escuro: #388E3C;
    --branco: #ffffff;
    --cinza-claro: #f0f4f8;
    --cinza-escuro: #2d3748;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--azul-escuro);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dark-mode-toggle:hover {
    transform: scale(1.1);
}
body.dark-mode .dark-mode-toggle {
    background: var(--laranja);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
    color: var(--branco);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
body.dark-mode header {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--branco);
    text-decoration: none;
    letter-spacing: -1px;
}
.logo-text span {
    color: var(--azul-claro);
}
.header-cta {
    background: var(--laranja);
    color: var(--branco);
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.header-cta:hover {
    background: var(--laranja-escuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
    color: var(--branco);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}
body.dark-mode .hero {
    background: linear-gradient(135deg, #001a33, #003366);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}
.hero h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hero span {
    color: var(--azul-claro);
    font-weight: 800;
}
.destaque-box {
    background: rgba(255,255,255,0.9);
    color: var(--azul-escuro);
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 800;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-left: 5px solid var(--verde);
    text-transform: uppercase;
    font-size: 1.1rem;
}
body.dark-mode .destaque-box {
    background: rgba(0,0,0,0.7);
    color: var(--branco);
    border-left: 5px solid var(--azul-claro);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.trust-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.3);
}
.trust-item i {
    color: var(--azul-claro);
    font-size: 1.2rem;
}

/* Countdown */
.countdown-container {
    background: rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 500px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}
.countdown-title {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 800;
}
.countdown-timer div {
    text-align: center;
    min-width: 70px;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 8px;
}
.countdown-unit {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}
.vagas-restantes {
    background: var(--laranja);
    color: var(--branco);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 20px;
    display: inline-block;
    animation: pulse 1.5s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.vagas-restantes small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}
body.dark-mode .vagas-restantes {
    animation: pulseDark 1.5s infinite;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--branco);
    position: relative;
    overflow: hidden;
}
body.dark-mode .benefits-section {
    background: var(--cinza-escuro);
}
.benefits-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--azul-escuro), var(--verde));
}
.benefits-title {
    text-align: center;
    color: var(--azul-escuro);
    margin-bottom: 50px;
    font-size: 2.2rem;
    position: relative;
    font-weight: 900;
}
body.dark-mode .benefits-title {
    color: var(--branco);
}
.benefits-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--verde);
    margin: 15px auto 0;
    border-radius: 2px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.benefit-card {
    background: var(--branco);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--azul-medio);
    position: relative;
    overflow: hidden;
}
body.dark-mode .benefit-card {
    background: #1a202c;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
body.dark-mode .benefit-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.benefit-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--azul-medio), var(--verde));
    transition: height 0.3s ease;
}
.benefit-card:hover::after {
    height: 8px;
}
.benefit-icon {
    font-size: 2.8rem;
    color: var(--azul-medio);
    margin-bottom: 25px;
}
.benefit-title {
    font-size: 1.4rem;
    color: var(--azul-escuro);
    margin-bottom: 20px;
    font-weight: 800;
}
body.dark-mode .benefit-title {
    color: var(--branco);
}
.benefit-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}
body.dark-mode .benefit-description {
    color: #d1d5db;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(to right, var(--azul-escuro), var(--azul-medio));
    color: var(--branco);
    text-align: center;
}
.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 900;
}
.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn {
    background: var(--laranja);
    color: white;
    padding: 18px 45px;
    border-radius: 30px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cta-btn:hover {
    background: var(--laranja-escuro);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    background-image: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
}
body.dark-mode .form-section {
    background: #1a202c;
    background-image: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
}
.form-container {
    background: var(--branco);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    border-top: 5px solid var(--verde);
    border: 1px solid #e2e8f0;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.3s ease;
}
.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}
body.dark-mode .form-container {
    background: #2d3748;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid #4a5568;
}
.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--azul-escuro);
    font-weight: 900;
    font-size: 2rem;
    position: relative;
}
.form-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--verde);
    margin: 15px auto 0;
    border-radius: 2px;
}
body.dark-mode .form-title {
    color: var(--branco);
}
.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 600;
}
body.dark-mode .form-subtitle {
    color: #d1d5db;
}

/* Benefícios acima do formulário */
.form-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}
.form-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-escuro);
    background: rgba(0, 102, 204, 0.1);
    padding: 10px 15px;
    border-radius: 30px;
    white-space: nowrap;
}
body.dark-mode .form-benefit {
    color: var(--branco);
    background: rgba(0, 102, 204, 0.2);
}
.form-benefit i {
    color: var(--verde);
    font-size: 1.1rem;
}

/* Garantia */
.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(76, 175, 80, 0.15);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px dashed var(--verde);
    text-align: center;
}
.guarantee-badge i {
    color: var(--verde);
    font-size: 1.8rem;
    flex-shrink: 0;
}
.guarantee-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--azul-escuro);
}
body.dark-mode .guarantee-text {
    color: var(--branco);
}

/* Barra de progresso */
.progress-container {
    margin-bottom: 30px;
    background: rgba(0, 102, 204, 0.05);
    padding: 15px;
    border-radius: 8px;
}
body.dark-mode .progress-container {
    background: rgba(0, 102, 204, 0.1);
}
.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--azul-escuro);
}
body.dark-mode .progress-info {
    color: var(--branco);
}
.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}
body.dark-mode .progress-bar {
    background: #4a5568;
}
.progress {
    height: 100%;
    width: 85%;
    background: linear-gradient(to right, var(--azul-medio), var(--verde));
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}
.progress-text {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
body.dark-mode .progress-text {
    color: #d1d5db;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #555;
}
body.dark-mode .form-group label {
    color: #d1d5db;
}
.form-group label i {
    margin-right: 8px;
    color: var(--azul-medio);
    width: 20px;
    text-align: center;
}
.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}
body.dark-mode .form-control {
    background-color: #4a5568;
    border-color: #4a5568;
    color: #f1f1f1;
}
.form-control:focus {
    outline: none;
    border-color: var(--azul-medio);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
    background-color: var(--branco);
}
body.dark-mode .form-control:focus {
    background-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.4);
}
.form-control::placeholder {
    color: #aaa;
    font-size: 0.95rem;
}
body.dark-mode .form-control::placeholder {
    color: #a0aec0;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}
body.dark-mode select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234CAF50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Validação em tempo real */
.form-group .valid-feedback,
.form-group .invalid-feedback {
    display: none;
    margin-top: 8px;
    font-size: 0.85rem;
}
.form-group .valid-feedback {
    color: var(--verde);
}
.form-group .invalid-feedback {
    color: var(--vermelho);
}
.form-group.is-valid .valid-feedback {
    display: block;
}
.form-group.is-invalid .invalid-feedback {
    display: block;
}
.form-group.is-valid .form-control {
    border-color: var(--verde);
}
.form-group.is-invalid .form-control {
    border-color: var(--vermelho);
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 102, 204, 0.05);
    padding: 15px;
    border-radius: 8px;
}
body.dark-mode .checkbox-group {
    background: rgba(0, 102, 204, 0.1);
}
.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--azul-medio);
    cursor: pointer;
    flex-shrink: 0;
}
body.dark-mode .checkbox-group input[type="checkbox"] {
    accent-color: var(--verde);
}
.checkbox-group label {
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}
body.dark-mode .checkbox-group label {
    color: #f1f1f1;
}

/* Friend Fields */
.friend-fields {
    display: none;
    background: rgba(0, 102, 204, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px dashed var(--azul-medio);
    animation: fadeIn 0.5s ease;
}
body.dark-mode .friend-fields {
    background: rgba(0, 102, 204, 0.1);
    border-color: var(--verde);
}
.friend-fields .form-group:last-child {
    margin-bottom: 0;
}
.friend-title {
    font-size: 0.95rem;
    color: var(--azul-escuro);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}
body.dark-mode .friend-title {
    color: var(--branco);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(to right, var(--azul-medio), var(--verde));
    color: var(--branco);
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.submit-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.submit-btn:hover::after {
    left: 100%;
}
.submit-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}
.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.submit-btn:active {
    transform: translateY(1px);
}

/* Selos de segurança e LGPD */
.security-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap