/* I.C.M PRESTATION - Styles pour les services */

:root {
    --prest-blue: #1f6feb;
    --prest-orange: #f97316;
    --prest-orange-dark: #ea580c;
    --prest-gray-50: #f8fafc;
    --prest-gray-100: #eef2f7;
    --prest-gray-700: #334155;
}

/* Hero Section */
#service-hero {
    background: linear-gradient(135deg, var(--prest-blue) 0%, var(--prest-orange) 100%);
    color: white;
    padding: var(--spacing-8) 0;
    text-align: center;
    margin-top: 0;
}

#service-hero h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-3);
    font-weight: 700;
}

#service-hero p {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-4);
    opacity: 0.92;
}

/* Overview Section */
.overview-section {
    padding: var(--spacing-12) 0;
    background: var(--prest-gray-50);
}

.service-intro {
    text-align: center;
    margin-bottom: var(--spacing-8);
}

.service-intro h3 {
    font-size: var(--font-size-2xl);
    color: var(--prest-gray-700);
    margin-bottom: var(--spacing-3);
}

.service-intro p {
    font-size: var(--font-size-base);
    color: #5b6777;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(31, 111, 235, 0.08);
    border: 1px solid var(--prest-gray-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(31, 111, 235, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--prest-blue) 0%, var(--prest-orange) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
    color: var(--prest-gray-700);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #58667a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--prest-orange);
    font-weight: bold;
}

/* Details Section */
.details-section {
    padding: 4rem 0;
}

.details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.details-text h3 {
    font-size: 2rem;
    color: var(--prest-gray-700);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    gap: 1.5rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: var(--prest-gray-700);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: #5a6b7d;
    line-height: 1.6;
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box,
.contact-box {
    background: #fbfdff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--prest-blue);
}

.info-box h4,
.contact-box h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #2c3e50;
}

.contact-box p {
    margin-bottom: 1rem;
    color: #495057;
}

.contact-box strong {
    color: #2c3e50;
}

/* Booking Section */
.booking-section {
    padding: 4rem 0;
    background: var(--prest-gray-50);
}

.booking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.booking-section p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.booking-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Buttons override to orange/blue */
.btn-primary {
    background: var(--prest-orange);
    color: #fff;
}

.btn-primary:hover {
    background: var(--prest-orange-dark);
}

.btn-secondary {
    background: var(--prest-blue);
    color: #fff;
}

.btn-secondary:hover {
    background: #195ad0;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
}

.next-step,
.prev-step {
    margin-top: 1rem;
}

.confirmation-summary {
    background: #f6f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.confirmation-summary p {
    margin-bottom: 0.5rem;
    color: #495057;
}

.confirmation-summary strong {
    color: #2c3e50;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-section h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-item h4 {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.faq-item h4:hover {
    background: #e9ecef;
}

.faq-item h4::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--prest-blue);
    transition: transform 0.3s ease;
}

.faq-item.active h4::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
    display: none;
}

.faq-item.active p {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    #service-hero h2 {
        font-size: 2rem;
    }
    
    .service-intro h3 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-section h3 {
        font-size: 2rem;
    }
    
    .faq-section h3 {
        font-size: 2rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .info-box,
    .contact-box {
        padding: 1.5rem;
    }
}
