/* ===============================================
   SOS PAGES - STYLE ÉLÉGANT TYPE OMNIDOC
   Pages: sos-medecin-casablanca.html et similaires
   =============================================== */

/* --- Hero Section Élégant --- */
.sos-hero {
    position: relative;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.sos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/stuff.png') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.95) 0%, rgba(0, 86, 179, 0.95) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sos-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sos-hero h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.sos-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-button.primary {
    background: white;
    color: #007bff;
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.cta-button.whatsapp {
    background: #25D366;
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.cta-button.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #128C7E;
}

.cta-button.large {
    padding: 1.4rem 3rem;
    font-size: 1.2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.feature-icon {
    font-size: 1.5rem;
}

/* --- Section Titles --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* --- Why Choose Section --- */
.why-choose-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #007bff;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* --- Zones Section --- */
.zones-section {
    padding: 5rem 2rem;
    background: white;
}

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

.zone-group {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.zone-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #007bff;
}

.quartiers-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quartier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.quartier-item:hover {
    border-left-color: #007bff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quartier-name {
    font-weight: 600;
    color: var(--heading-color);
}

.quartier-time {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    background: #d4edda;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* --- Villes Environnantes --- */
.nearby-cities {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 12px;
    text-align: center;
}

.nearby-cities .zone-group-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.nearby-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.city-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.city-link:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
}

/* --- Services Médicaux Section --- */
.medical-services-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

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

.service-detailed-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-icon-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.service-detailed-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    text-align: center;
}

.service-detailed-card > p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: #495057;
    font-size: 0.95rem;
    border-bottom: 1px solid #e9ecef;
}

.service-features li:last-child {
    border-bottom: none;
}

/* --- Spécialités Section --- */
.specialties-section {
    padding: 5rem 2rem;
    background: white;
}

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

.specialty-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.specialty-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.specialty-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.8rem;
}

.specialty-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: #007bff;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #007bff;
}

.price-period {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #495057;
    font-size: 0.95rem;
    border-bottom: 1px solid #e9ecef;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.pricing-note p {
    margin: 0;
    color: #495057;
    line-height: 1.7;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 5rem 2rem;
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--heading-color);
    font-size: 1rem;
}

.testimonial-author span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

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

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* --- Final CTA Section --- */
.final-cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.final-cta-content > p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.final-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.final-cta-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* --- Footer Enhancements --- */
.footer-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .sos-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .sos-hero h1 {
        font-size: 2rem;
    }
    
    .sos-hero h2 {
        font-size: 1.3rem;
    }
    
    .sos-hero p {
        font-size: 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button.primary,
    .cta-button.whatsapp {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .benefits-grid,
    .services-detailed-grid,
    .specialties-grid,
    .pricing-cards,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .final-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .final-cta-content > p {
        font-size: 1rem;
    }
    
    .final-cta-buttons {
        flex-direction: column;
    }
    
    .cta-button.large {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.benefit-card,
.service-detailed-card,
.specialty-card,
.pricing-card,
.testimonial-card,
.step-card {
    animation: fadeInUp 0.6s ease-out;
}

