/* ===================================
   PAGE À PROPOS - STYLES
   =================================== */

.page-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

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

.page-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.intro-content > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.highlight-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.highlight-box i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.highlight-box p {
    color: var(--text-light);
    font-size: 14px;
}

/* Formation Process */
.formation-process {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title-center {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    font-size: 17px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Process Steps */
.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 49px;
    top: 100px;
    width: 2px;
    height: calc(100% - 100px);
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.process-step:last-child::after {
    display: none;
}

.process-step.reverse {
    grid-template-columns: 1fr 100px;
}

.process-step.reverse::after {
    left: auto;
    right: 49px;
}

.process-step.reverse .step-number {
    order: 2;
}

.process-step.reverse .step-content {
    order: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
    flex-shrink: 0;
}

.step-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
}

.step-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.step-details h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-details h4 i {
    color: var(--primary-color);
}

/* Documents List */
.documents-list {
    list-style: none;
    padding: 0;
}

.documents-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-bg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.documents-list li i {
    color: var(--success);
    font-size: 18px;
}

/* Pricing Options */
.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.price-card {
    background: var(--light-bg);
    padding: 30px 25px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.price-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.price-card.featured .price {
    color: var(--white);
}

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

.price-card ul li {
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    padding-left: 25px;
}

.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.price-card.featured ul li::before {
    color: var(--white);
}

/* Formation Content Block */
.formation-content-block {
    margin: 30px 0;
}

.formation-content-block h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.formation-content-block h4 i {
    color: var(--primary-color);
}

/* Program Grid - Layout en grille 2x2 */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.program-item {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.program-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.program-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.program-text {
    width: 100%;
}

.program-text h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.program-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Course Details Section */
.course-details-section {
    margin-top: 40px;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
}

.course-details-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-details-section h4 i {
    color: var(--primary-color);
}

.course-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.course-info-item {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: var(--transition);
}

.course-info-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.info-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Timeline List */
.timeline-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.timeline-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Exam Info */
.exam-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.info-box {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.info-box i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.info-box p {
    font-size: 14px;
    color: var(--text-light);
}

/* Exam Preparation */
.exam-preparation {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.exam-preparation ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.exam-preparation ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.exam-preparation ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Driving Phases */
.driving-phases {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.phase {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.phase-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.phase-header h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
}

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

.phase ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 14px;
}

.phase ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 20px;
}

/* Vehicle Features */
.vehicle-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Exam Parts */
.exam-parts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.exam-part {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
}

.exam-part h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exam-part h5 i {
    color: var(--primary-color);
}

.exam-part p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.exam-part ul {
    list-style: none;
    padding: 0;
}

.exam-part ul li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
}

.exam-part ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Success Tips */
.success-tips {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.success-tips h4 {
    color: var(--secondary-color) !important;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.tips-list li i {
    color: var(--success);
    font-size: 18px;
}

/* Admin Steps */
.admin-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.admin-step {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.step-icon-small {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.admin-step h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.admin-step p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Post License */
.post-license {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.post-license ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.post-license ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.post-license ul li i {
    color: var(--success);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn-large {
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    text-decoration: none;
}

.cta-btn-large.primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-btn-large.secondary {
    background: var(--white);
    color: var(--secondary-color);
}

.cta-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .process-step {
        grid-template-columns: 80px 1fr;
        gap: 30px;
    }

    .process-step::after {
        left: 39px;
        top: 80px;
    }

    .process-step.reverse {
        grid-template-columns: 1fr 80px;
    }

    .process-step.reverse::after {
        left: auto;
        right: 39px;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }

    .course-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .section-title-center {
        font-size: 32px;
    }

    .process-step,
    .process-step.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step::after {
        display: none;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-content {
        padding: 30px 20px;
    }

    .pricing-options,
    .exam-info,
    .exam-parts {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .formation-content-block h4 {
        font-size: 1.3rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-details-section {
        padding: 20px;
    }

    .course-details-section h4 {
        font-size: 1.3rem;
    }

    .course-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .cta-btn-large {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .section-title-center {
        font-size: 24px;
    }

    .step-content {
        padding: 25px 15px;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .price-card {
        padding: 20px 15px;
    }

    .price {
        font-size: 1.3rem;
    }

    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .program-text h5 {
        font-size: 0.95rem;
    }

    .program-text p {
        font-size: 0.8rem;
    }

    .course-info-item {
        padding: 15px;
    }

    .info-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .info-content strong {
        font-size: 0.9rem;
    }

    .info-content p {
        font-size: 0.85rem;
    }

    .intro-highlights {
        gap: 20px;
    }

    .highlight-box {
        padding: 30px 20px;
    }

    .highlight-box h3 {
        font-size: 18px;
    }
}
