:root {
    --makita-teal: #00a0a5;
    --makita-red: #d21a2c;
    --makita-dark: #121212;
    --makita-darker: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--makita-darker);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* Dynamic background */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(0, 160, 165, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(210, 26, 44, 0.1), transparent 40%);
    z-index: -1;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Header Info */
.training-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.logos {
    margin-bottom: 2rem;
}

.logo-sindileq {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}



.training-info h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.highlight {
    color: var(--makita-teal);
}

.training-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.subtitle {
    display: inline-block;
    background: var(--makita-teal);
    color: var(--makita-darker);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.incluso-grid {
    margin-top: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

@media (max-width: 768px) {
    .incluso-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem 1rem;
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    border-color: var(--makita-teal);
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item strong {
    color: var(--makita-teal);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Form Styles */
.form-wrapper {
    background: rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    border-bottom: 2px solid var(--makita-teal);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.full-width {
    margin-bottom: 1.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
}

input[type="text"],
input[type="email"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--makita-teal);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 160, 165, 0.1);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-main);
}

.radio-label input[type="radio"] {
    accent-color: var(--makita-teal);
    width: 1.2rem;
    height: 1.2rem;
}

/* Turma Selector Cards */
.turma-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.turma-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.turma-card:hover:not(.disabled) {
    border-color: rgba(0, 160, 165, 0.5);
    background: rgba(0, 160, 165, 0.05);
}

.turma-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.turma-card:has(input[type="radio"]:checked) {
    border-color: var(--makita-teal);
    background: rgba(0, 160, 165, 0.15);
    box-shadow: 0 0 20px rgba(0, 160, 165, 0.2);
}

.turma-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.3);
}

.turma-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.turma-status {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn {
    width: 100%;
    background: var(--makita-teal);
    color: #000;
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.submit-btn:hover {
    background: #008a8e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 160, 165, 0.3);
}

/* Success Page Specific */
.success-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

/* Loading Spinner */
.spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

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

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    display: none;
}

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

.success-icon {
    font-size: 4rem;
    color: var(--makita-teal);
    margin-bottom: 1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

.pix-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--makita-teal);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.pix-key {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin: 1rem 0 0.5rem 0;
    user-select: all;
    word-break: break-all;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--makita-teal);
    color: var(--makita-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.copy-btn:hover {
    background: var(--makita-teal);
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

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

    .training-info h1 {
        font-size: 2.2rem;
    }

    .training-info h2 {
        font-size: 1.2rem;
    }

    .container {
        padding: 1.2rem;
        gap: 1.5rem;
        border-radius: 16px;
    }

    .form-wrapper {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .radio-group {
        gap: 1rem;
    }

    .pix-key {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .success-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .training-info h1 {
        font-size: 1.8rem;
    }

    .info-item {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .whatsapp-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Footer Mais Negocios */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.site-footer:hover {
    opacity: 1;
}
.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-logo {
    height: 24px;
    max-height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.site-footer:hover .footer-logo {
    transform: scale(1.05);
}