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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-bottom: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    max-width: 280px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter: brightness(0) invert(1);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
}

.contract-content {
    padding: 40px 50px;
}

.main-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.contract-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(249, 250, 251, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contract-section:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contract-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contract-section h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.contract-section p {
    margin-bottom: 10px;
    text-align: justify;
    color: var(--text-dark);
    line-height: 1.8;
}

.contract-section ul {
    margin-left: 25px;
    margin-top: 10px;
}

.contract-section ul li {
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.7;
}

.contract-footer {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contract-footer p {
    font-size: 1.1rem;
}

/* Botão Flutuante */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulseButton 2s infinite;
}

.floating-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
    animation: none;
}

.floating-button:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(16, 185, 129, 0.6);
    }
}

/* Formulário no Modal */
.form-modal {
    max-width: 500px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}

.modal-close-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon.primary {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.modal-header h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.accept-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label svg {
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.accept-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.3);
}

.accept-btn:active {
    transform: translateY(0);
}

.accept-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: modalSlideUp 0.3s ease-out;
}

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

.modal-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 1rem;
}

.modal-info {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.modal-info strong {
    color: var(--primary-color);
}

.modal-considerations {
    margin: 20px 0;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    text-align: center;
}

.considerations-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s, transform 0.2s;
}

.considerations-link:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
    text-decoration: underline;
}

.modal-close {
    margin-top: 25px;
    padding: 12px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.modal-close:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        max-width: 200px;
    }

    .contract-content {
        padding: 25px 20px;
    }

    .contract-section {
        padding: 20px;
    }

    .floating-button {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 16px 24px;
        font-size: 1rem;
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    .form-modal {
        max-width: 95%;
    }
}

