/* Programme Detail Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    min-height: 100vh;
}

/* Masquer le dropdown utilisateur sur les pages de programmes */
.user-dropdown-menu {
    display: none !important;
}

/* Masquer complètement le menu de navigation et footer */
.nav-links,
.footer {
    display: none !important;
}

/* Navigation simplifiée pour pages programmes */
.nav-container {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 0;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #16BC83;
    text-decoration: none;
}

body {
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(-5px);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
}

.price-section {
    background: #f9fafb;
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid #16BC83;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #16BC83;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
}

.content {
    padding: 3rem 2rem;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section h2 i {
    color: #16BC83;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
}

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

.equipment-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.equipment-card:hover {
    border-color: #16BC83;
    box-shadow: 0 10px 30px rgba(22, 188, 131, 0.2);
    transform: translateY(-5px);
}

.equipment-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.equipment-content {
    padding: 1.5rem;
}

.equipment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.equipment-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
}

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

.features-list i {
    color: #16BC83;
    font-size: 1.1rem;
}

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

.advantage-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #16BC83;
}

.advantage-card i {
    font-size: 2rem;
    color: #16BC83;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: #6b7280;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #16BC83;
}

.btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #16BC83;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
}

/* Programme Hero Section */
.programme-hero {
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    padding: 3rem 0;
}

.programme-hero .container {
    background: transparent;
    box-shadow: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(-5px);
}

.programme-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.programme-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.programme-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.badge-defiscalisation,
.programme-badge.badge-defiscalisation {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.badge-cee,
.programme-badge.badge-cee {
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    color: white;
}

.programme-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin: 0;
}

.programme-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
}

.programme-amount-hero {
    font-size: 2.5rem;
    font-weight: 800;
    color: #16BC83;
}

.programme-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.programme-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
}

/* Programme Details Section */
.programme-details {
    background: white;
    padding: 3rem 0;
}

.programme-details .container {
    background: transparent;
    box-shadow: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.detail-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
}

.detail-card:hover {
    border-color: #16BC83;
    box-shadow: 0 10px 30px rgba(22, 188, 131, 0.2);
    transform: translateY(-5px);
}

.highlight-card {
    border-color: #16BC83;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.detail-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.detail-note {
    color: #6b7280;
    line-height: 1.7;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.detail-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    color: #92400e;
    font-weight: 500;
}

.detail-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.check-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4b5563;
    line-height: 1.6;
}

.check-list i {
    color: #16BC83;
    font-size: 1.1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ProgDom Services Section */
.progdom-services {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.progdom-services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2.5rem;
}

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

.service-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(22, 188, 131, 0.2);
}

.service-item i {
    font-size: 2.5rem;
    color: #16BC83;
    margin-bottom: 1rem;
}

.service-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-item p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Programme CTA Section */
.programme-cta {
    background: linear-gradient(135deg, #16BC83 0%, #0B84A5 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.programme-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.programme-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #16BC83;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #16BC83;
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .programme-hero-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .programme-hero-text h1 {
        font-size: 1.8rem;
    }

    .programme-amount-hero {
        font-size: 2rem;
    }

    .programme-hero-image {
        max-height: 300px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .equipments-grid {
        grid-template-columns: 1fr;
    }
}