/* ============================================
   SECTION EXPERTISE SERVICES - DESIGN VIOLET & OR
   Carrousel avec navigation et thème violet/or - 50/50 sans espaces
   ============================================ */

/* Section principale - Pleine largeur sans cadre */
.focus-metier {
    padding: 0;
    margin: 0;
    background: #3b1c42; /* Couleur exacte du violet */
    position: relative;
    overflow: hidden;
    color: white;
    cursor: default !important;
    width: 100vw; /* Prend toute la largeur de la fenêtre */
    margin-left: calc(-50vw + 50%); /* Centrage horizontal par rapport au conteneur parent */
    box-sizing: border-box;
}

/* Classe pour les sections pleine largeur */
.fullwidth-section {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    box-sizing: border-box;
}

/* Supprimer le curseur texte sur tous les éléments de cette section */
.focus-metier *, .focus-metier *::before, .focus-metier *::after {
    cursor: default !important;
}

/* Garder le curseur pointer seulement pour les éléments cliquables */
.focus-metier .nav-btn, .focus-metier .indicator {
    cursor: pointer !important;
}

.focus-metier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.02) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    animation: patternMove 60s linear infinite;
    opacity: 0.5;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Header de section - Dans la partie gauche */
.metier-left .section-header {
    text-align: left;
    margin-bottom: 3rem;
    position: relative;
    z-index: 8;
}

.metier-left .section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #D4AF37; /* Couleur dorée exacte */
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(59, 28, 66, 0.9), rgba(212, 175, 55, 0.05));
    border: 2px solid #D4AF37;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.metier-slide.active .section-subtitle {
    animation: subtitleEntrance 1s forwards 0.3s;
}

@keyframes subtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.metier-left .section-title {
    font-family: 'Forum', serif;
    font-size: 4.2rem;
    font-weight: 400;
    color: white;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    opacity: 0;
}

.metier-slide.active .section-title {
    animation: titleFadeIn 1.2s forwards 0.5s;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.metier-left .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.metier-left .section-title .highlight {
    background: linear-gradient(135deg, #D4AF37 0%, #f5e7b8 50%, #D4AF37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShift 6s ease-in-out infinite;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

@keyframes goldShift {
    0%, 100% { background-position: 0% 50%; }
    33% { background-position: 50% 0%; }
    66% { background-position: 100% 50%; }
}

/* CARROUSEL MÉTIER - VERSION PLEIN ÉCRAN TOTAL */
.metier-carousel {
    position: relative;
    max-width: none; /* Aucune limite de largeur */
    width: 100%;
    margin: 0;
    padding: 0;
    perspective: 1000px;
}

/* Navigation avec flèches - Style luxueux */
.carousel-navigation {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
    transform: translateY(-50%);
}

.nav-btn {
    width: 70px;
    height: 70px;
    background: rgba(59, 28, 66, 0.6);
    border: 2px solid #D4AF37;
    border-radius: 50%;
    color: #D4AF37;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-btn:hover {
    transform: scale(1.15);
    border-color: #D4AF37;
    color: #f5e7b8;
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.4);
}

.nav-btn:hover::before {
    opacity: 1;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Slider container - PLEINE LARGEUR TOTALE */
.metier-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de la fenêtre */
    min-height: 100vh; /* Hauteur minimale = pleine hauteur */
    overflow: hidden;
    background: transparent;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}

.metier-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: none;
}

.metier-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* Contenu des slides - DISPOSITION EXACTE 50/50 PLEIN ÉCRAN */
.metier-content {
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
}

/* Partie gauche avec contenu - EXACTEMENT 50% DE L'ÉCRAN SANS CADRE */
.metier-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 5rem 2rem 5rem 12rem;
    background: #3b1c42; /* Couleur exacte du violet */
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 6;
    box-sizing: border-box;
    border: none;
    position: relative;
    overflow: hidden; /* Pour contenir les particules */
}

/* Amélioration de la gestion du texte sur petit écran */
.metier-left p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: justify;
    max-width: 100%;
    box-sizing: border-box;
}

/* Amélioration de la gestion des titres sur petit écran */
.metier-left .section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.2;
}

/* Gestion spéciale pour les titres très longs */
.metier-left .section-title .highlight {
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Amélioration du scroll sur mobile */
@media (max-width: 768px) {
    .metier-left {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #D4AF37 transparent;
    }
    
    .metier-left::-webkit-scrollbar {
        width: 4px;
    }
    
    .metier-left::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .metier-left::-webkit-scrollbar-thumb {
        background: #D4AF37;
        border-radius: 2px;
    }
    
    .metier-left::-webkit-scrollbar-thumb:hover {
        background: #f4d03f;
    }
}

.metier-features {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #D4AF37;
    border-radius: 20px;
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Éléments décoratifs pour la partie gauche */
.metier-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    z-index: -1;
    opacity: 0.8;
}

.metier-left::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGold 8s infinite alternate ease-in-out;
}

/* Particules dorées flottantes */
.gold-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #D4AF37;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.4);
    z-index: 1;
    pointer-events: none;
}

.gold-particle:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 6px;
    height: 6px;
    animation: floatParticle 7s infinite ease-in-out;
}

.gold-particle:nth-child(2) {
    top: 70%;
    left: 15%;
    width: 4px;
    height: 4px;
    animation: floatParticle 9s infinite ease-in-out 1s;
}

.gold-particle:nth-child(3) {
    top: 35%;
    left: 75%;
    width: 7px;
    height: 7px;
    animation: floatParticle 8s infinite ease-in-out 2s;
}

.gold-particle:nth-child(4) {
    top: 80%;
    left: 60%;
    width: 5px;
    height: 5px;
    animation: floatParticle 10s infinite ease-in-out 0.5s;
}

.gold-particle:nth-child(5) {
    top: 20%;
    left: 85%;
    width: 6px;
    height: 6px;
    animation: floatParticle 11s infinite ease-in-out 1.5s;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, -20px) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes pulseGold {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

/* Partie droite avec image - EXACTEMENT 50% DE L'ÉCRAN */
.metier-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.metier-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: none;
}

.metier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.8s ease;
    filter: brightness(0.9) contrast(1.2) saturate(1.2);
    display: block; /* Élimine l'espace blanc sous l'image */
    border: none;
    margin: 0;
    padding: 0;
}

.metier-slide.active .metier-image img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2) saturate(1.3);
}

/* Overlay uniforme sur l'image - PAS DE TRIANGLES */
.metier-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(54, 30, 78, 0.3);
    z-index: 2;
    transition: opacity 0.6s ease;
}

.metier-slide.active .metier-image::before {
    opacity: 0.5; /* Plus transparent pour voir mieux l'image */
}

/* Numéros des métiers - Style moderne et luxueux */
.metier-left .metier-number {
    position: absolute;
    top: 3rem;
    right: 4rem;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #D4AF37 20%, #f5e7b8 60%, #D4AF37 100%);
    border: 2px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Forum', serif;
    font-size: 5rem;
    font-weight: 700;
    color: #3b1c42;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 7;
    opacity: 0;
    transform: scale(0.8) rotate(-15deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Double cercle autour du numéro */
.metier-left .metier-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px dashed #D4AF37;
    animation: rotate 20s linear infinite;
}

/* Petit cercle brillant autour du numéro */
.metier-left .metier-number::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #D4AF37;
    border-radius: 50%;
    top: 10px;
    right: 10px;
    box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.7);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Effet hover sur le numéro */
.metier-left .metier-number:hover {
    transform: scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(212, 175, 55, 0.8);
}

.metier-slide.active .metier-number {
    animation: numberEntrance 1s forwards 0.8s;
}

@keyframes numberEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-15deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
    70% {
        transform: scale(0.95) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Effet de lueur autour du numéro */
.metier-left .metier-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    z-index: -1;
    animation: pulsateGlow 3s infinite alternate;
}

@keyframes pulsateGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

/* Paragraphes avec mise en forme luxueuse */
.metier-left p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
    font-size: 1.15rem;
    margin: 2rem 0 2.5rem;
    text-align: justify;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    max-width: 80%;
    letter-spacing: 0.025em;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    z-index: 8;
}

.metier-slide.active p {
    animation: textFadeIn 1s forwards 1s;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de soulignement doré sur sélection de texte */
.metier-left ::selection {
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    text-shadow: none;
}

/* Features/Tags - Style de luxe */
.metier-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    position: relative;
    z-index: 8;
}

.metier-slide.active .metier-features {
    animation: featuresFadeIn 0.8s forwards 1.3s;
}

@keyframes featuresFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature {
    padding: 12px 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #f5e7b8 50%, #D4AF37 100%);
    background-size: 200% 200%;
    border: 1px solid #D4AF37;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #3b1c42;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    animation: tagGlitter 3s infinite alternate;
}

@keyframes tagGlitter {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.feature:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 0.2em;
}

.feature::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.65s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.feature:hover::after {
    left: 120%;
    opacity: 0.8;
    transition: all 0.65s cubic-bezier(0.19, 1, 0.22, 1);
}

/* INDICATEURS MODERNES */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10;
    padding: 15px 30px;
    background: rgba(59, 28, 66, 0.6);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    
    /* Style moderne avec animation de survol */
    transition: all 0.3s ease;
}

/* Effet au survol du conteneur d'indicateurs */
.carousel-indicators:hover {
    background: rgba(59, 28, 66, 0.7);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(212, 175, 55, 0.3);
    transform: translateX(-50%) translateY(-5px);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #D4AF37;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    margin: 0;
    padding: 0;
}

/* Effet moderne avec double bordure */
.indicator::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: transparent;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.indicator::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: linear-gradient(135deg, #D4AF37, #f5e7b8);
    border-color: #D4AF37;
    transform: scale(1.2);
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.6),
        0 0 25px rgba(59, 28, 66, 0.5);
}

.indicator.active::before,
.indicator:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: rotate 10s linear infinite;
}

.indicator.active::after,
.indicator:hover::after {
    opacity: 1;
    transform: scale(1);
    animation: rotate 15s linear reverse infinite;
}

/* Animation pour les indicateurs */
@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
}

.indicator.active {
    animation: indicatorPulse 2s infinite;
}

/* RESPONSIVE DESIGN COMPLET - SECTION FOCUS MÉTIER */

/* ===== BREAKPOINT 1200px ===== */
@media (max-width: 1200px) {
    .metier-left {
        padding: 3rem;
    }
    
    .metier-left .section-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .metier-left .metier-number {
        width: 100px;
        height: 100px;
        font-size: 3rem;
        right: 2rem;
        top: -2rem;
    }
    
    .metier-left p {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 95%;
    }
    
    .metier-features {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .feature {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* ===== BREAKPOINT 992px ===== */
@media (max-width: 992px) {
    .metier-slider {
        height: auto;
        min-height: 600px;
    }
    
    .metier-left {
        padding: 2.5rem;
    }
    
    .metier-left .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .metier-left p {
        font-size: 1rem;
        max-width: 90%;
        line-height: 1.5;
    }
    
    .metier-left .metier-number {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        top: -1.5rem;
        right: 1.5rem;
    }
    
    .metier-features {
        gap: 0.8rem;
        margin-top: 1.8rem;
    }
    
    .feature {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .prev-btn, .next-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1.5rem;
        gap: 1rem;
    }
}

/* ===== BREAKPOINT 768px ===== */
@media (max-width: 768px) {
    .focus-metier {
        padding: 0;
    }
    
    .metier-slider {
        min-height: 100vh;
    }
    
    /* Layout vertical - image en haut, texte en bas */
    .metier-content {
        flex-direction: column;
    }
    
    .metier-left {
        position: relative;
        width: 100%;
        height: 70%;
        padding: 2rem;
        top: auto;
        left: auto;
        bottom: 0;
        order: 2;
        overflow-y: auto;
    }
    
    .metier-right {
        position: relative;
        width: 100%;
        height: 30%;
        top: 0;
        right: auto;
        order: 1;
    }
    
    .metier-left .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.8rem;
        padding: 8px 15px;
        margin-bottom: 1rem;
    }
    
    .metier-left .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -3rem;
        right: 1rem;
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .metier-left p {
        font-size: 0.95rem;
        margin: 1rem 0;
        max-width: 100%;
        text-align: center;
        line-height: 1.5;
    }
    
    .metier-features {
        gap: 0.8rem;
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .feature {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
        gap: 0.8rem;
    }
    
    .prev-btn {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .next-btn {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* ===== BREAKPOINT 576px ===== */
@media (max-width: 576px) {
    .metier-slider {
        min-height: 90vh;
    }
    
    .metier-content {
        flex-direction: column;
    }
    
    .metier-left {
        position: relative;
        width: 100%;
        height: 70%;
        padding: 1.5rem;
        overflow-y: auto;
    }
    
    .metier-right {
        position: relative;
        width: 100%;
        height: 30%;
    }
    
    .metier-left .section-header {
        margin-bottom: 1.2rem;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 0.8rem;
    }
    
    .metier-left .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -2.5rem;
        right: 0.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .metier-left p {
        font-size: 0.9rem;
        margin: 0.8rem 0;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.6rem;
        margin-top: 1.2rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 6px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.8rem;
        gap: 0.6rem;
        padding: 8px 16px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .prev-btn, .next-btn {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
}

/* ===== BREAKPOINT 480px ===== */
@media (max-width: 480px) {
    .metier-slider {
        min-height: 85vh;
    }
    
    .metier-left {
        padding: 1.2rem;
        height: 75%;
        overflow-y: auto;
    }
    
    .metier-right {
        height: 25%;
    }
    
    .metier-left .section-header {
        margin-bottom: 1rem;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.7rem;
        padding: 5px 10px;
        margin-bottom: 0.6rem;
    }
    
    .metier-left .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -2rem;
        right: 0.3rem;
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .metier-left p {
        font-size: 0.85rem;
        margin: 0.6rem 0;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.5rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 5px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.6rem;
        gap: 0.5rem;
        padding: 6px 12px;
    }
    
    .indicator {
        width: 7px;
        height: 7px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

/* ===== BREAKPOINT 400px ===== */
@media (max-width: 400px) {
    .metier-slider {
        min-height: 80vh;
    }
    
    .metier-left {
        padding: 1rem;
        height: 80%;
        overflow-y: auto;
    }
    
    .metier-right {
        height: 20%;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.65rem;
        padding: 4px 8px;
        margin-bottom: 0.5rem;
    }
    
    .metier-left .section-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -1.8rem;
        right: 0.2rem;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .metier-left p {
        font-size: 0.8rem;
        margin: 0.5rem 0;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.4rem;
        margin-top: 0.8rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 4px 8px;
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.5rem;
        gap: 0.4rem;
        padding: 5px 10px;
    }
    
    .indicator {
        width: 6px;
        height: 6px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}

/* ===== BREAKPOINT 360px ===== */
@media (max-width: 360px) {
    .metier-slider {
        min-height: 75vh;
    }
    
    .metier-left {
        padding: 0.8rem;
        height: 85%;
        overflow-y: auto;
    }
    
    .metier-right {
        height: 15%;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.6rem;
        padding: 3px 6px;
        margin-bottom: 0.4rem;
    }
    
    .metier-left .section-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -1.5rem;
        right: 0.1rem;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .metier-left p {
        font-size: 0.75rem;
        margin: 0.4rem 0;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.3rem;
        margin-top: 0.6rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 3px 6px;
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.4rem;
        gap: 0.3rem;
        padding: 4px 8px;
    }
    
    .indicator {
        width: 5px;
        height: 5px;
    }
    
    .prev-btn, .next-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

/* ===== BREAKPOINT 320px ===== */
@media (max-width: 320px) {
    .metier-slider {
        min-height: 70vh;
    }
    
    .metier-left {
        padding: 0.6rem;
        height: 90%;
        overflow-y: auto;
    }
    
    .metier-right {
        height: 10%;
    }
    
    .metier-left .section-header {
        margin-bottom: 0.8rem;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.55rem;
        padding: 2px 4px;
        margin-bottom: 0.3rem;
    }
    
    .metier-left .section-title {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -1.2rem;
        right: 0.1rem;
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    
    .metier-left p {
        font-size: 0.7rem;
        margin: 0.3rem 0;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.2rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 2px 4px;
        font-size: 0.6rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.3rem;
        gap: 0.2rem;
        padding: 3px 6px;
    }
    
    .indicator {
        width: 4px;
        height: 4px;
    }
    
    .prev-btn, .next-btn {
        width: 25px;
        height: 25px;
        font-size: 0.6rem;
    }
}

/* ===== BREAKPOINT 280px ===== */
@media (max-width: 280px) {
    .metier-slider {
        min-height: 65vh;
    }
    
    .metier-left {
        padding: 0.5rem;
        height: 95%;
        overflow-y: auto;
    }
    
    .metier-right {
        height: 5%;
    }
    
    .metier-left .section-header {
        margin-bottom: 0.6rem;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.5rem;
        padding: 1px 3px;
        margin-bottom: 0.2rem;
    }
    
    .metier-left .section-title {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -1rem;
        right: 0.1rem;
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    .metier-left p {
        font-size: 0.65rem;
        margin: 0.2rem 0;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.1rem;
        margin-top: 0.4rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 1px 3px;
        font-size: 0.55rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.2rem;
        gap: 0.1rem;
        padding: 2px 4px;
    }
    
    .indicator {
        width: 3px;
        height: 3px;
    }
    
    .prev-btn, .next-btn {
        width: 20px;
        height: 20px;
        font-size: 0.5rem;
    }
}

/* ===== BREAKPOINT 240px ===== */
@media (max-width: 240px) {
    .metier-slider {
        min-height: 60vh;
    }
    
    .metier-left {
        padding: 0.4rem;
        height: 98%;
        overflow-y: auto;
    }
    
    .metier-right {
        height: 2%;
    }
    
    .metier-left .section-header {
        margin-bottom: 0.5rem;
    }
    
    .metier-left .section-subtitle {
        font-size: 0.45rem;
        padding: 1px 2px;
        margin-bottom: 0.2rem;
    }
    
    .metier-left .section-title {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .metier-left .metier-number {
        top: -0.8rem;
        right: 0.1rem;
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
    
    .metier-left p {
        font-size: 0.6rem;
        margin: 0.2rem 0;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .metier-features {
        gap: 0.1rem;
        margin-top: 0.3rem;
        flex-wrap: wrap;
    }
    
    .feature {
        padding: 1px 2px;
        font-size: 0.5rem;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        bottom: 0.2rem;
        gap: 0.1rem;
        padding: 1px 2px;
    }
    
    .indicator {
        width: 2px;
        height: 2px;
    }
    
    .prev-btn, .next-btn {
        width: 18px;
        height: 18px;
        font-size: 0.4rem;
    }
}

/* ===== OPTIMISATIONS MOBILE SPÉCIFIQUES ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .metier-slider {
        min-height: 100vh;
    }
    
    .metier-left {
        height: 60%;
        padding: 1.5rem;
    }
    
    .metier-right {
        height: 40%;
    }
    
    .metier-left .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .metier-left p {
        font-size: 0.85rem;
        margin: 0.6rem 0;
    }
    
    .metier-features {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .feature {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    .metier-slide {
        transition: none;
    }
    
    .metier-left .section-subtitle,
    .metier-left .section-title,
    .metier-left p,
    .metier-features {
        animation: none;
    }
}

/* ===== TOUCH OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .nav-btn:hover,
    .indicator:hover {
        transform: none;
    }
    
    .nav-btn:hover,
    .indicator:hover {
        transform: none;
    }
    
    .nav-btn:active,
    .indicator:active {
        transform: scale(0.95);
    }
    
    .nav-btn, .indicator {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}