/* ================================================
   PAGE À PROPOS - propos.css
   Design moderne avec typographies premium
   ================================================ */

/* ===================================
   TYPOGRAPHIES PREMIUM
   =================================== */

.hero-about-title,
.approche-title,
.cabinet-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800;
}

.formation-title {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700;
}

.hero-about-description p,
.approche-text p,
.cabinet-details p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* ===================================
   MAIN CONTENT
   =================================== */

.main-content-propos {
    position: relative;
    background: #FFFFFF;
    padding-top: var(--header-height);
}

/* ===================================
   HERO ABOUT SECTION
   =================================== */

.hero-about-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.hero-about-content {
    display: grid;
    grid-template-columns: 1fr 802px;
    gap: 120px;
    align-items: start;
}

.hero-about-text {
    max-width: 643px;
}

.hero-about-title {
    font-size: 52px;
    line-height: 120%;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.hero-about-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-about-description p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 165%;
    letter-spacing: -0.005em;
    margin: 0;
}

/* ===================================
   DEVICE FRAME - Style macOS
   =================================== */

.device-frame {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(15, 15, 15, 0.15);
    display: flex;
    flex-direction: column;
    box-shadow: 
        -6px 8px 32px rgba(0, 0, 0, 0.08),
        -8px 4px 12.8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 521px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.device-frame:hover {
    transform: translateY(-10px);
    box-shadow: 
        -12px 16px 60px rgba(0, 0, 0, 0.15),
        -16px 8px 24px rgba(0, 0, 0, 0.08);
}

.device-titlebar {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(15, 15, 15, 0.12);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    min-height: 40px;
}

.device-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.device-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.device-btn-red {
    background: #FF5F57;
}

.device-btn-yellow {
    background: #FFBD2E;
}

.device-btn-green {
    background: #28CA42;
}

.device-frame:hover .device-btn {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.device-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.device-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.device-frame:hover .device-content img {
    transform: scale(1.08);
}

/* ===================================
   FORMATION SECTION
   =================================== */

.formation-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.formation-section .section-label {
    margin-bottom: 35px;
}

.formation-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1312px;
}

.formation-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    min-height: 88px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Barre colorée animée */
.formation-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.formation-card:hover::before {
    transform: scaleY(1);
}

.formation-card:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateX(10px);
    box-shadow: 
        0 12px 40px rgba(46, 44, 126, 0.15),
        0 6px 16px rgba(255, 255, 255, 0.2);
}

.formation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 50px;
    gap: 60px;
}

.formation-title {
    font-size: 26px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    flex: 1;
    margin: 0;
    transition: color 0.3s ease;
}

.formation-card:hover .formation-title {
    color: var(--primary-color);
}

.formation-year {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.005em;
    min-width: 100px;
    text-align: right;
    transition: all 0.3s ease;
}

.formation-card:hover .formation-year {
    color: var(--primary-color);
    transform: translateX(-5px) scale(1.05);
}

/* ===================================
   APPROCHE SECTION
   =================================== */

.approche-section {
    background: var(--primary-gradient);
    padding: var(--container-padding) 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Effet de profondeur */
.approche-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 18% 50%, rgba(255, 199, 44, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 82% 30%, rgba(158, 155, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.approche-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    position: relative;
}

.approche-content {
    max-width: 1312px;
}

.approche-title {
    color: var(--text-white);
    font-size: 52px;
    line-height: 120%;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.approche-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.approche-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 165%;
    letter-spacing: -0.005em;
    margin: 0;
}

/* ===================================
   CABINET INFO
   =================================== */

.cabinet-info {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 48px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance */
.cabinet-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent
    );
    transition: left 0.6s ease;
}

.cabinet-info:hover::before {
    left: 150%;
}

.cabinet-info:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 199, 44, 0.2);
}

.cabinet-title {
    color: var(--text-white);
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.cabinet-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cabinet-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 165%;
    letter-spacing: -0.005em;
    margin: 0;
}

.cabinet-details strong {
    color: rgba(255, 199, 44, 0.95);
    font-weight: 700;
}

/* ===================================
   RESPONSIVE - TABLETTE
   =================================== */

@media (max-width: 1200px) {
    .hero-about-content {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .device-frame {
        max-width: 802px;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .hero-about-section {
        padding: 80px 0;
    }

    .hero-about-title,
    .approche-title,
    .cabinet-title {
        font-size: 42px;
    }

    .device-frame {
        height: 450px;
    }

    .formation-content {
        padding: 0 30px;
        gap: 30px;
    }

    .formation-title {
        font-size: 22px;
    }

    .formation-year {
        font-size: 16px;
        min-width: 80px;
    }

    .cabinet-info {
        padding: 40px;
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
    .hero-about-section {
        padding: 60px 0;
    }

    .hero-about-title {
        font-size: 36px;
    }

    .approche-title,
    .cabinet-title {
        font-size: 36px;
    }

    .hero-about-description p,
    .approche-text p,
    .cabinet-details p {
        font-size: 17px;
    }

    .device-frame {
        height: 400px;
    }

    .formation-section {
        padding: 40px 0 60px;
    }

    .formation-card {
        min-height: auto;
    }

    .formation-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 24px;
        gap: 16px;
    }

    .formation-title {
        font-size: 20px;
    }

    .formation-year {
        text-align: left;
        min-width: auto;
        font-size: 15px;
    }

    .cabinet-info {
        padding: 32px 24px;
    }

    .cabinet-title {
        font-size: 32px;
    }

    .cabinet-details p {
        font-size: 16px;
    }
}

/* ===================================
   RESPONSIVE - PETIT MOBILE
   =================================== */

@media (max-width: 480px) {
    .hero-about-title {
        font-size: 30px;
    }

    .approche-title,
    .cabinet-title {
        font-size: 28px;
    }

    .device-frame {
        height: 320px;
    }

    .formation-card {
        border-radius: 16px;
    }

    .formation-content {
        padding: 20px 18px;
    }

    .formation-title {
        font-size: 18px;
    }

    .formation-year {
        font-size: 14px;
    }
}