@media (max-width: 1200px) {
    .main-title {
        font-size: 3.5rem;
    }

    .main-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 15px 40px;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .content-left {
        order: 2;
        padding-top: 20px;
        max-width: 100%;
    }

    .content-right {
        order: 1;
        justify-content: center;
        padding-top: 20px;
        display: flex;
        width: 100%;
    }

    .profile-container {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .profile-image {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .statistics {
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 30px;
    }

    .stat-item {
        align-items: center;
        text-align: center;
    }

    .priorities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .priorities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Style mobile pour le hero index */
    .main-content {
        flex-direction: column;
        padding: 40px 20px 20px;
        gap: 30px;
        text-align: center;
        align-items: center;
        /* background: #081236; */
        background: linear-gradient(135deg, #081236 0%, #0f2b5c 45%, #1b6fb4 100%);
        min-height: auto;
        margin-top: 0 !important;
        padding-top: 20px;
    }

    .content-right {
        order: 1;
        padding-top: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .content-left {
        order: 2;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        width: 100%;
    }

    /* Typography style mobile comme l'image */
    .main-title {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
        font-weight: 900;
        line-height: 0.9;
        margin-bottom: 0;
        margin-top: 20px;
        text-align: center;
        font-family: 'Proxima Nova', Arial, sans-serif;
    }

    .title-white {
        color: white;
        display: block;
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    /* Bouton CTA style comme l'image */
    .cta-button {
        background: #e91e63;
        color: white;
        border: none;
        padding: 16px 32px;
        font-size: clamp(14px, 3vw, 16px);
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 30px auto 40px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Proxima Nova', Arial, sans-serif;
        box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .cta-button:hover {
        background: #c2185b;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    }

    .cta-button-2 {
        background: #47aa05;
        color: white;
        border: none;
        padding: 16px 32px;
        font-size: clamp(14px, 3vw, 16px);
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 30px auto 40px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Proxima Nova', Arial, sans-serif;
        box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .cta-button-2:hover {
        background: #076404;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    }

    .cta-button:focus,
    .cta-button:focus-2 {
        outline: 2px solid #e91e63;
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.2);
    }

    .subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 16px;
        padding: 0 10px;
    }

    .profile-image {
        width: min(320px, 85vw);
        height: min(320px, 85vw);
        margin: 0 auto;
        position: relative;
        display: block;
    }

    .profile-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    .profile-image img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 8px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Statistics style responsive amélioré */
    .statistics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        max-width: 400px;
        margin: 30px auto 0 auto;
        padding: 0;
    }

    .stat-item {
        text-align: center;
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-number {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        font-weight: 900;
        color: white;
        line-height: 1;
        margin-bottom: 8px;
        font-family: 'Proxima Nova', Arial, sans-serif;
    }

    .stat-label {
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        color: rgba(255, 255, 255, 0.9);
        font-weight: 400;
        line-height: 1.2;
        font-family: 'Proxima Nova', Arial, sans-serif;
    }

    .priorities-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .priority-card {
        padding: 25px 20px;
    }
    
    .priority-card p {
        color: #555;
    }

    .biography-section {
        padding: 60px 0;
    }

    .bio-image {
        object-fit: contain;
    }

    .bio-title {
        font-size: 1.3rem;
    }

    .bio-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .bio-image {
        object-fit: contain;
    }

    .bio-title {
        font-size: 1.2rem;
    }

    .bio-text {
        font-size: 0.9rem;
    }
  
    .main-content {
        padding: 30px 15px;
        gap: 30px;
    }

    .profile-image {
        width: min(240px, 75vw);
        height: min(240px, 75vw);
    }

    .main-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .stat-number {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .priorities-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .priorities-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .priority-card {
        padding: 20px 15px;
    }
    
    .cta-button,
    .cta-button-2 {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .statistics {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 280px;
    }

    .stat-item {
        padding: 12px 8px;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    /* Grid layouts */
    .priorities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sections */
    .priorities-section{
        padding: 60px 20px 50px;
        height: auto;
        min-height: auto;
    }

    /* Components */
    .priority-card{
        padding: 20px 16px;
        margin-bottom: 15px;
    }

    .cta-button,
    .cta-button-2 {
        padding: 14px 24px;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
        min-height: 44px;
    }
}

@media (max-width: 360px) {
    .priority-card {
        margin-bottom: 15px;
    }

    .priority-card h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .priorities-section {
        padding: 40px 20px;
    }

    .main-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }
    
    .cta-button,
    .cta-button-2 {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {

    .main-content {
        padding: 20px;
        gap: 30px;
    }

    .profile-image {
        width: min(200px, 60vw);
        height: min(200px, 60vw);
    }

}