/**
 * Styles de la page services - Design cohérent et professionnel
 */

@import url("variables.353f80c67c08.css");
@import url("components.f4c17d4e9c01.css");

/* Align service hero CTAs with home CTA styles (high specificity to avoid header inline overrides) */
.services-hero .d-flex.align-items-center.gap-3 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Base - mirror home .btn sizing */
.services-hero .d-flex.align-items-center.gap-3 > .btn,
.services-hero .d-flex.align-items-center.gap-3 .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem; /* same as home */
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    vertical-align: middle;
    min-height: 44px;
}

.services-hero .d-flex.align-items-center.gap-3 > .btn i,
.services-hero .d-flex.align-items-center.gap-3 .btn i {
    transition: transform var(--transition-fast);
}

.services-hero .d-flex.align-items-center.gap-3 > .btn:hover:not(:disabled) i,
.services-hero .d-flex.align-items-center.gap-3 .btn:hover:not(:disabled) i {
    transform: translateX(1px);
}

/* Colors - use highly-specific selectors and explicit values to match home header buttons */
.services-hero .d-flex.align-items-center.gap-3 > a.btn.btn-warning,
.services-hero .d-flex.align-items-center.gap-3 > a.btn.btn-warning.text-white {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #fff !important;
}
.services-hero .d-flex.align-items-center.gap-3 > a.btn.btn-warning:hover:not(:disabled) {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
}

.services-hero .d-flex.align-items-center.gap-3 > a.btn.btn-success {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}
.services-hero .d-flex.align-items-center.gap-3 > a.btn.btn-success:hover:not(:disabled) {
    background-color: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
}

.services-hero .d-flex.align-items-center.gap-3 > a.btn.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
.services-hero .d-flex.align-items-center.gap-3 > a.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


/* ======================================
   HERO SECTION SERVICES
====================================== */
.services-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-alt) 100%);
    padding: 4rem 0;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
}

.services-hero .lead {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-hero ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.services-hero ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.125rem;
    opacity: 0.9;
}

.services-hero ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Hero Profile Image */
.services-hero .position-relative {
    max-width: 300px;
    margin: 0 auto;
}

.services-hero img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal);
}

.services-hero img:hover {
    transform: scale(1.05);
}

/* ======================================
   SERVICE CARDS
====================================== */
.service-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    overflow: hidden;
    position: relative;
}

.service-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

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

.service-card .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.service-card .price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ======================================
   TESTIMONIALS
====================================== */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonial-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-emphasis);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ======================================
   ALERT STYLES
====================================== */
.alert {
    padding: 1rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #92400e;
}

/* ======================================
   BADGES
====================================== */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.bg-info {
    background-color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* ======================================
   SERVICE META
====================================== */
.service-meta {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero {
        padding: 3rem 0;
        text-align: center;
    }
    
    .services-hero .position-relative {
        max-width: 250px;
        margin: 2rem auto 0;
    }
    
    .section-white,
    .section-light {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 2rem 0;
    }
    
    .services-hero h1 {
        font-size: 1.75rem;
    }
    
    .services-hero .lead {
        font-size: 1rem;
    }
    
    .services-hero ul li {
        font-size: 1rem;
    }
    
    .services-hero .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .services-hero .position-relative {
        max-width: 200px;
        margin: 1.5rem auto 0;
    }
    
    .section-white,
    .section-light {
        padding: 2rem 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}
