/* ================================================== */
/* STYLES SPÉCIFIQUES - services.css (REFONTE) */
/* ================================================== */

/* --- 1. HERO SERVICES --- */
.services-hero.hero-cover {
    position: relative;
    min-height: 50vh; /* Hauteur réduite pour aller à l'essentiel */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 60px 0;
    
    background-image: 
        linear-gradient(
            135deg,
            rgba(15, 15, 40, 0.85) 0%,
            rgba(70, 35, 95, 0.8) 100%
        ),
        url("../img/julien-michon-alpha-training-64-sercvices.webp");
    background-size: cover;
    background-position: center;
}

.services-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.services-hero .subtitle {
    color: var(--accent);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 20px;
}

.services-hero .hero-intro {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.services-hero .btn-row {
    justify-content: center;
    gap: 15px;
}

/* --- 2. SECTION BILAN (Design Distinctif) --- */
.section-bilan {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid var(--neutral);
}

.bilan-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.bilan-content {
    flex: 2;
    padding: 40px;
}

.badge-mandatory {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.bilan-content h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
}

.bilan-features {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.bilan-features ul {
    list-style: none;
    padding: 0;
}
.bilan-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bilan-price {
    flex: 1;
    background: var(--neutral);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #ddd;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-sub {
    display: block;
    color: var(--text-muted);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .bilan-wrapper { flex-direction: column; }
    .bilan-price { width: 100%; border-left: none; border-top: 1px solid #ddd; padding: 30px; }
    .bilan-features { flex-direction: column; gap: 10px; }
}

/* --- 3. SECTION PACKS (Grid Layout) --- */
.section-packs {
    padding: 80px 0;
    background-color: var(--neutral);
}

.section-header {
    margin-bottom: 50px;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px; /* Centrer si seulement 2 cartes */
    margin: 0 auto;
}

.pack-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eee;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pack-card.featured {
    border: 2px solid var(--secondary);
}

.badge-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.pack-header {
    padding: 30px;
    text-align: center;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
}

.pack-header h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.pack-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

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

.pack-body {
    padding: 30px;
    flex-grow: 1;
}

.pack-desc {
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-muted);
}

.pack-list {
    list-style: none;
    padding: 0;
}

.pack-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.pack-list li::before {
    content: "✓";
    color: var(--highlight);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pack-footer {
    padding: 20px 30px 30px;
}

/* --- 4. SECTION RÉÉDUCATION (Side by Side) --- */
.section-reeducation {
    padding: 80px 0;
    background: #fff;
}

.reeducation-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.reeducation-text {
    flex: 3;
}

.reeducation-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.premiere-patte-box {
    background: rgba(155, 89, 182, 0.1); /* Teinte Secondary */
    border-left: 4px solid var(--secondary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}
.premiere-patte-box h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.bonus-box {
    background: var(--neutral);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--accent);
}

.reeducation-pricing {
    flex: 2;
    background: var(--text-dark);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.reeducation-pricing h3 {
    color: var(--highlight);
    margin-bottom: 20px;
    text-align: center;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pricing-list li:last-child {
    border-bottom: none;
}
.pricing-list .price {
    font-weight: bold;
    color: var(--highlight);
}

@media (max-width: 992px) {
    .reeducation-layout { flex-direction: column; }
    .reeducation-pricing { width: 100%; }
}

/* --- 5. SECTION COLLECTIF --- */
.section-collectif {
    padding: 60px 0;
    background-color: var(--neutral);
}

.collectif-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e0e0e0;
}

.collectif-content h2 { margin-bottom: 10px; }
.collectif-content .condition {
    color: var(--primary);
    font-weight: bold;
    margin-top: 10px;
    font-size: 0.9rem;
}

.price-circle {
    background: var(--highlight);
    color: var(--primary);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}
.price-circle .amount { font-size: 1.8rem; line-height: 1; }
.price-circle .unit { font-size: 0.8rem; }

@media (max-width: 768px) {
    .collectif-box { flex-direction: column; text-align: center; gap: 20px; }
}

/* --- 6. TABLEAU COMPARATIF --- */
.services-comparison {
    padding: 60px 0;
    background: #fff;
}
.comparison-table {
    overflow-x: auto;
    margin-top: 30px;
}
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th {
    background: var(--primary);
    color: #fff;
    padding: 15px;
    text-align: left;
}
.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.comparison-table tr:nth-child(even) { background: #f9f9f9; }

/* --- 7. CTA FINAL --- */
.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    text-align: center;
}
.services-cta h2 { color: #fff; margin-bottom: 15px; }
.services-cta .btn-row { justify-content: center; margin-top: 30px; gap: 20px; }

/* --- UTILITIES --- */
.full-width { width: 100%; display: block; text-align: center; }
.text-center { text-align: center; }