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

:root {
    --bg-dark: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #c5a028;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --error: #e50914;
    --success: #46d369;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.main-background {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* Efeitos de Glow no Background */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    animation: floatGlow1 12s ease-in-out infinite;
}

.glow-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation: floatGlow2 15s ease-in-out infinite;
}

.glow-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatGlow3 18s ease-in-out infinite;
}

@keyframes floatGlow1 {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(50px, -50px); opacity: 0.5; }
}

@keyframes floatGlow2 {
    0%, 100% { transform: translate(0, 0); opacity: 0.25; }
    50% { transform: translate(-40px, 40px); opacity: 0.45; }
}

@keyframes floatGlow3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Header com Logo e Info da Empresa */
.company-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 32px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 80px rgba(212, 175, 55, 0.1);
}

.logo-triangle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.logo-top {
    display: flex;
    justify-content: center;
}

.logo-img-top {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.logo-left,
.logo-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img-bottom {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-right .logo-img-bottom {
    max-width: 260px;
}

.logo-img-bottom:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.7));
    }
}

.company-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.company-cnpj {
    font-size: 16px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Container do Formulário */
.form-container {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 80px rgba(212, 175, 55, 0.15),
                inset 0 0 60px rgba(212, 175, 55, 0.05);
    margin-bottom: 32px;
}

.form-header {
    margin-bottom: 48px;
    text-align: center;
}

.form-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--gold);
    letter-spacing: -0.8px;
}

.form-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.form-description.highlight {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--gold);
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.form-description strong {
    color: var(--gold);
    font-weight: 600;
}

/* Seção de Benefícios */
.beneficios-section {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 32px;
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    text-align: center;
}

.beneficios-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.beneficios-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.beneficios-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-beneficios {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.img-beneficios:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 12px 32px rgba(212, 175, 55, 0.5));
}

.beneficios-description {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Seções do Formulário */
.form-section {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--gold);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 4px;
}

/* Input Groups */
.input-group {
    margin-bottom: 28px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.required {
    color: var(--error);
    margin-left: 4px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="number"],
.input-group input[type="date"],
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(179, 179, 179, 0.5);
}

.input-group input:focus,
.input-group textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.input-group input:hover:not(:focus),
.input-group textarea:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Input Row (2 colunas) */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.radio-group.vertical {
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

.radio-group.vertical .radio-option {
    flex: auto;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
    border-color: var(--gold);
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: var(--gold);
    font-weight: 600;
}

.radio-label {
    font-size: 14px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* Mensagem de Erro */
.error-message {
    color: var(--error);
    font-size: 14px;
    text-align: center;
    padding: 16px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 12px;
    display: none;
    margin-bottom: 24px;
    animation: shake 0.4s ease;
}

.error-message.show {
    display: block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Botão de Submit */
.btn-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 32px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

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

.btn-submit.loading .btn-text {
    opacity: 0;
}

.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--bg-dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading .loading-spinner {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Modal de Sucesso */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(212, 175, 55, 0.2);
}

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

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    animation: scaleIn 0.5s ease 0.3s backwards;
}

.success-icon {
    background: linear-gradient(135deg, rgba(70, 211, 105, 0.2), rgba(70, 211, 105, 0.1));
    border: 2px solid var(--success);
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

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

.modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--success);
    letter-spacing: -0.5px;
}

.modal-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-modal {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .main-background {
        padding: 24px 16px;
    }

    .container {
        max-width: 100%;
    }

    .company-header {
        padding: 24px;
        margin-bottom: 32px;
    }

    .logo-triangle {
        gap: 30px;
    }

    .logo-img-top {
        max-width: 220px;
    }

    .logo-bottom {
        gap: 40px;
    }

    .logo-img-bottom {
        max-width: 130px;
    }

    .logo-right .logo-img-bottom {
        max-width: 170px;
    }

    .company-name {
        font-size: 22px;
    }

    .company-cnpj {
        font-size: 14px;
    }

    .form-container {
        padding: 32px 24px;
    }

    .form-header h2 {
        font-size: 28px;
    }

    .form-description {
        font-size: 15px;
    }

    .beneficios-section {
        padding: 24px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .beneficios-title {
        font-size: 20px;
    }

    .beneficios-subtitle {
        font-size: 16px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .img-beneficios {
        width: 100%;
    }

    .beneficios-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        min-width: 100%;
    }

    .modal-container {
        padding: 32px 24px;
    }

    .modal-title {
        font-size: 24px;
    }

    .glow-orb {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-header h2 {
        font-size: 24px;
    }

    .company-name {
        font-size: 20px;
    }

    .logo-triangle {
        gap: 20px;
    }

    .logo-img-top {
        max-width: 180px;
    }

    .logo-bottom {
        gap: 20px;
        flex-wrap: wrap;
    }

    .logo-img-bottom {
        max-width: 110px;
    }

    .logo-right .logo-img-bottom {
        max-width: 145px;
    }

    .form-container {
        padding: 24px 20px;
    }

    .beneficios-section {
        padding: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .beneficios-title {
        font-size: 18px;
    }

    .beneficios-subtitle {
        font-size: 13px;
        line-height: 1.6;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .beneficios-subtitle .separator {
        display: none;
    }

    .beneficios-description {
        font-size: 13px;
    }

    .section-title {
        font-size: 18px;
    }

    .btn-submit {
        padding: 16px;
        font-size: 14px;
    }
}
