/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: white;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 40px;
    border-bottom: 1px solid #e9ecef;
    background: white;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffc107;
    font-size: 16px;
}

.rating-text {
    font-size: 14px;
    color: #6c757d;
}

/* Navigation des étapes */
.steps-nav {
    display: flex;
    padding: 20px 40px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    flex: 1;
    min-height: 60px;
    position: relative;
    margin-right: -1px;
}

.step-item:first-child {
    border-radius: 12px 0 0 12px;
}

.step-item:last-child {
    border-radius: 0 12px 12px 0;
    margin-right: 0;
}

.step-item.active {
    background: #e7f3ff;
    border-color: #007bff;
    z-index: 2;
}

.step-item.completed {
    background: #f0f9f0;
    border-color: #28a745;
    z-index: 1;
}

.step-item:hover:not(.active) {
    background: #f8f9fa;
    z-index: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e9ecef;
    color: #6c757d;
}

.step-item.active .step-icon {
    background: #007bff;
    color: white;
}

.step-item.completed .step-icon {
    background: #28a745;
    color: white;
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    color: #495057;
}

.step-item.active .step-title {
    color: #007bff;
}

.step-item.completed .step-title {
    color: #28a745;
}

.step-description {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.3;
}

/* Contenu principal */
.main-content {
    flex: 1;
    padding: 40px;
}

.step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.step-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: left;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0px 0 25px 0;
    color: #495057;
}

/* Formulaires */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group.full-width {
    flex: 100%;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-control.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-control::placeholder {
    color: #6c757d;
    font-weight: 400;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
    appearance: none;
}

/* Boutons radio - grandes cartes */
.radio-group {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.radio-option {
    flex: 1;
    padding: 25px 30px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    display: block;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option:hover {
    border-color: #007bff;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.radio-option.selected {
    border-color: #007bff;
    background: #e7f3ff;
    transform: translateY(-2px);
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.radio-check {
    width: 24px;
    height: 24px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: white;
}

.radio-option:hover .radio-check {
    border-color: #007bff;
}

.radio-option.selected .radio-check {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.radio-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-option.selected .radio-check svg {
    opacity: 1;
}

.radio-content span {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
}

.radio-option.selected .radio-content span {
    color: #007bff;
}

/* Radio inline pour civilité */
.radio-inline {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.radio-small {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.radio-small input[type="radio"] {
    display: none;
}

.radio-small:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.radio-small.selected {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

/* Sections de contenu */
.section-content {
    margin-top: 30px;
    padding: 30px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* Messages d'erreur personnalisés */
.field-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #ffeaa7;
    border: 1px solid #fdcb6e;
    border-radius: 6px;
    font-size: 14px;
    color: #d63031;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.error-icon {
    color: #d63031;
    font-weight: bold;
    font-size: 16px;
}

.error-text {
    flex: 1;
    font-weight: 500;
}

/* Messages de validation */
.field-valid {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 8px;
}

.valid-icon {
    color: #00b894;
    font-weight: bold;
    font-size: 16px;
    background: #00b894;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* États des champs */
.form-control.error {
    border-color: #d63031 !important;
    box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1);
}

/* SUPPRIMER tous les styles de validation verte */
.form-control.valid {
    /* Supprimé - on ne veut plus d'état visuel "valid" */
}

.form-control.error:focus {
    border-color: #d63031 !important;
    box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.2);
}

/* SUPPRIMER le style valid:focus */
.form-control.valid:focus {
    /* Supprimé - on ne veut plus d'état visuel "valid" */
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #d63031;
}

.notification-success {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #00b894;
}

.notification-info {
    background: #e6f3ff;
    border: 1px solid #7dd3fc;
    color: #0284c7;
}

.notification-icon {
    font-size: 18px;
    font-weight: bold;
}

.notification-text {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Animation pour les champs en erreur */
.form-control.error {
    animation: shake 0.3s ease-in-out;
}

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

/* Radio groupe en erreur */
.radio-group.error {
    border: 2px solid #d63031 !important;
    background-color: #ffeaa7;
    animation: shake 0.3s ease-in-out;
}

/* Amélioration des messages d'erreur existants */
.error-message {
    color: #d63031;
    font-size: 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 12px;

    border-radius: 6px;
}

.error-message::before {
    content: "⚠";
    font-size: 16px;
    color: #d63031;
}

/* Validation en temps réel */
.form-group {
    position: relative;
}

/* Loader pour la validation */
.field-validating {
    position: relative;
}

.field-validating::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Sous-sections */
.subsection-title {
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #495057;
}

.form-section {
    margin-top: 25px;
}

/* Grille de checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

/* Checkbox personnalisées */
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.checkbox-item:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: white;
}

.checkbox-item:hover .checkbox-custom {
    border-color: #007bff;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background: #007bff;
    border-color: #007bff;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    flex: 1;
}

.checkbox-item input[type="checkbox"]:checked ~ .checkbox-label {
    color: #007bff;
}

.checkbox-item input[type="checkbox"]:checked {
    border-color: #007bff;
    background: #e7f3ff;
}

/* Inputs numériques */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Sections conditionnelles */
.conditional-section {
    margin-bottom: 25px;
}

.conditional-content {
    margin-left: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #007bff;
    transition: all 0.3s ease;
}

.conditional-content.show {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour les sections conditionnelles */
@media (max-width: 768px) {
    .conditional-content {
        margin-left: 0;
        padding: 12px;
    }
}

/* Navigation footer */
.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-top: 1px solid #e9ecef;
    background: white;
    margin-top: auto;
}

.footer-nav-right {
    display: flex;
    gap: 15px;
}

/* Boutons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

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

.btn svg {
    width: 16px;
    height: 16px;
}

/* États de chargement */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

.section-content {
    animation: fadeInUp 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .header, .main-content, .footer-nav {
        padding: 20px;
    }

    .steps-nav {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .step-item {
        min-height: auto;
    }

    .step-title {
        color: #1f2937;
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .step-subtitle {
        color: #6b7280;
        font-size: 1rem;
        margin: 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

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

    .radio-option {
        min-height: auto;
        padding: 20px;
    }

    .radio-inline {
        flex-wrap: wrap;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav-right {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .section-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .step-title {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .form-control {
        padding: 12px 16px;
        font-size: 14px;
    }

    .radio-content span {
        font-size: 16px;
    }

}
.plan-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #1f2937;
}

.plan-option:hover {
    border-color: #3b82f6;
}

.plan-option.selected {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-color: #1e3a8a;
}

.popular-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.option-header {
    margin-bottom: 12px;
}

.option-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
}

.option-radio input[type="radio"]:checked {
    accent-color: #f97316;
}

.option-radio label {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
}

.plan-option.selected .option-radio label {
    color: white;
}

.option-offer {
    margin-bottom: 16px;
}

.offer-badge {
    background: #22c55e;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
}

.offer-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.plan-option.selected .offer-text {
    color: rgba(255,255,255,0.8);
}

/* Features communes */
.plan-features, .option-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.checkmark, .cross {
    color: #22c55e;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: bold;
}

.plan-card.selected .checkmark {
    color: #86efac;
}

.cross {
    color: #ef4444;
}

.plan-card.selected .cross {
    color: #fca5a5;
}

.plan-card.selected .feature-item.disabled span {
    opacity: 0.7;
}

/* Features pour plan option */
.plan-option .checkmark {
    color: #22c55e;
}

.plan-option.selected .checkmark {
    color: #86efac;
}

/* Payment Sidebar */
.payment-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.payment-button {
    width: 100%;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.payment-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.payment-summary {
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.summary-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.4;
    flex: 1;
    margin-right: 12px;
}

.summary-price {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.total-label {
    font-weight: 600;
    color: #1f2937;
}

.total-price {
    font-weight: 600;
    color: #1f2937;
}

.payment-security {
    text-align: center;
    margin-bottom: 16px;
}

.security-text {
    font-size: 0.875rem;
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.payment-icons img {
    height: 24px;
    width: auto;
}

.compliance-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.compliance-text {
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.trial-info {
    margin-top: 12px;
    padding: 12px;
    background: #f0f9ff;
    border: 1px solid #0284c7;
    border-radius: 6px;
}

.trial-message {
    font-size: 0.8rem;
    color: #0369a1;
    text-align: center;
    line-height: 1.4;
}

.trial-message small {
    color: #64748b;
    display: block;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 968px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }

    .plan-card, .plan-option, .payment-sidebar {
        flex: none;
    }

    .payment-sidebar {
        position: static;
        order: -1;
    }

    .plan-header {
        flex-direction: column;
        gap: 12px;
    }

    .plan-pricing {
        text-align: left;
    }
}
.plan-card {
    flex: 1;
}

.plan-option {
    flex: 1;
}

.payment-sidebar {
    flex: 1;
    position: sticky;
    top: 20px;
}

/* Plan Card (Bail Simple) - Style carte normale par défaut */
.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: #1f2937;
}

.plan-card:hover {
    border-color: #3b82f6;
}

/* Style bleu quand sélectionné */
.plan-card.selected {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.plan-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
}

.plan-card.selected .plan-radio input[type="radio"]:checked {
    accent-color: #f97316;
}

.plan-radio label {
    display: flex;
    align-items: center;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.plan-card.selected .plan-radio label {
    color: white;
}

.plan-icon {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #3b82f6;
}

.plan-card.selected .plan-icon {
    color: white;
}

.plan-pricing {
    text-align: right;
    color: #1f2937;
}

.plan-card.selected .plan-pricing {
    color: white;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    color: #1f2937;
}

.plan-card.selected .price {
    color: white;
}

.price-suffix {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #6b7280;
}

.plan-card.selected .price-suffix {
    color: rgba(255,255,255,0.8);
}

.divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}

.plan-card.selected .divider {
    background: rgba(255, 255, 255, 0.3);
}
.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.success-icon {
    color: #22c55e;
    font-size: 3rem;
    margin-bottom: 15px;
}

.step-title {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* Popup de paiement */
.payment-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(5px);
    margin: 0 !important;
    padding: 0 !important;
}

.payment-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f3f4f6;
    color: #374151;
}

.payment-modal-body {
    padding: 24px;
}

.payment-form-group {
    margin-bottom: 20px;
}

.payment-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.payment-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: white;
    font-family: inherit;
}

.payment-form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.payment-form-control.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.payment-form-control.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.payment-form-row {
    display: flex;
    gap: 16px;
}

.payment-form-row .payment-form-group {
    flex: 1;
}

.payment-security-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    margin-bottom: 24px;
}

.security-icon {
    font-size: 20px;
    color: #0ea5e9;
}

.security-text {
    flex: 1;
    color: #0369a1;
    font-size: 14px;
    line-height: 1.4;
}

.security-text strong {
    display: block;
    margin-bottom: 2px;
}

.payment-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.payment-modal-footer .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
}

.payment-modal-footer .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.payment-modal-footer .btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.payment-modal-footer .btn-primary {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
}

.payment-modal-footer .btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.payment-modal-footer .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

/* Responsive pour la popup */
@media (max-width: 768px) {
    .payment-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .payment-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .payment-modal-footer {
        flex-direction: column;
    }
    
    .payment-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}