/* Reset et base */
* {
    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: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 100px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 12px;
    color: #f97316;
    font-weight: 500;
}

.nav-simple .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-simple .nav-link:hover {
    color: #8b5cf6;
}

/* Page principale */
.reservation-page {
    min-height: calc(100vh - 200px);
}

/* Header du formulaire */
.form-header {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 20px 0 40px;
}

.header-info {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-size: 14px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.form-title-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.form-title-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.form-title-section p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 16px;
}

.form-type-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.form-type-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 250px;
}

.form-type-btn.active,
.form-type-btn:hover {
    background: white;
    color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contenu du formulaire */
.form-content {
    padding: 40px 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Conteneurs de formulaires */
.form-container {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-container.active {
    display: block;
}

/* Indicateur d'étapes */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #8b5cf6;
    color: white;
}

.step span {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.step.active span {
    color: #8b5cf6;
    font-weight: 600;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 15px;
}

/* Formulaires */
.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-difficulties-card {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    padding: 30px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.contact-difficulties-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.3;
}

.contact-method {
    margin-bottom: 20px;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method p,
.contact-method a {
    color: white;
    font-size: 14px;
    margin: 0;
    text-decoration: none;
    line-height: 1.4;
}

.contact-method a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-section h3 {
    color: #8b5cf6;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px;
    text-align: left;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    font-size: 14px;
    line-height: 1.4;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question i {
    transition: transform 0.3s;
    color: #8b5cf6;
}

.faq-answer {
    display: none;
    padding: 0 18px 18px;
    color: #6b7280;
    line-height: 1.5;
    font-size: 14px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: #8b5cf6;
}

.faq-item.active .faq-question {
    background: #f8f4ff;
    color: #8b5cf6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}


.footer-logo .logo-text h3 {
    color: white;
    font-size: 18px;
}

.footer-logo .logo-text p {
    color: #f97316;
}

/* Style pour le logo dans le footer */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-logo-icon {
    width: 250px;
    height: 110px;
    margin-right: 12px;
    border-radius: 6px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .form-header {
        padding: 15px 0 30px;
    }
    
    .header-info {
        margin-bottom: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
        font-size: 13px;
    }
    
    .form-title-section h1 {
        font-size: 28px;
    }
    
    .form-title-section p {
        font-size: 15px;
    }
    
    .form-type-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .form-type-btn {
        min-width: 280px;
        font-size: 13px;
        padding: 12px 25px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-line {
        width: 2px;
        height: 30px;
        margin: 0;
    }
    
    .contact-difficulties-card,
    .faq-section {
        padding: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-type-btn {
        min-width: 100%;
        font-size: 12px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .contact-difficulties-card h3 {
        font-size: 14px;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: fadeIn 0.5s ease;
}

/* Messages de succès/erreur */
.message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}