/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #003366;
    font-weight: 600;
}

.header-contact i {
    color: #0099cc;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 153, 204, 0.8));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Container principal */
.container {
    max-width: 800px;
    margin: -2rem auto 2rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Card do formulário */
.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideInUp 0.8s ease;
}

.form-header {
    background: linear-gradient(135deg, #003366, #0099cc);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Seções do formulário */
.form-section {
    padding: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.form-section h3 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: #0099cc;
}

/* Grupos de radio buttons */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.radio-option {
    position: relative;
}

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

.radio-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.radio-option label:hover {
    border-color: #0099cc;
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 204, 0.15);
}

.radio-option input[type="radio"]:checked + label {
    border-color: #0099cc;
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
    color: #003366;
    font-weight: 600;
}

.radio-option label i {
    font-size: 1.2rem;
    color: #0099cc;
}

/* Linhas e grupos de formulário */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group label i {
    color: #0099cc;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #0099cc;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

.form-group input:valid {
    border-color: #28a745;
}

/* Opções de pagamento */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.payment-option {
    position: relative;
}

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

.payment-card {
    display: block;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    text-align: center;
}

.payment-card:hover {
    border-color: #0099cc;
    background: #f0f8ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 153, 204, 0.15);
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: #0099cc;
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 153, 204, 0.2);
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.payment-header i {
    font-size: 1.5rem;
    color: #0099cc;
}

.payment-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
}

.payment-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.payment-description {
    color: #666;
    font-size: 0.9rem;
}

/* Ações do formulário */
.form-actions {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
}

.btn-submit {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1e7e34);
}

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

/* Footer */
.footer {
    background: #003366;
    color: white;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.footer-info {
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #0099cc;
}

.footer-security i {
    font-size: 1.2rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        margin: -1rem auto 1rem;
        padding: 0 1rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 1rem;
    }
}


