.blocContenu, #content {
    background: white !important;
}

p {
    line-height: 1.2 !important;
    font-family: 'Knockout Junior Middle', normal, serif !important;
}

/* ============================================
   LOADER - Affiché pendant le chargement
   ============================================ */
#tbm_980_loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease-out;
}

.cid-sYtfgmlx9v #headerDaherProduct.top-40 {
    top: auto !important;
    bottom: -480px !important;
}

@media screen and (max-height: 1200px) {
    .cid-sYtfgmlx9v #headerDaherProduct.top-40 {
        top: auto !important;
        bottom: -400px !important;
    }
}

@media screen and (max-height: 1000px) {
    .cid-sYtfgmlx9v #headerDaherProduct.top-40 {
        top: auto !important;
        bottom: -300px !important;
    }
}

@media screen and (max-height: 800px) {
    .cid-sYtfgmlx9v #headerDaherProduct.top-40 {
        top: auto !important;
        bottom: -150px !important;
    }
}

@media screen and (max-height: 500px) {
    .cid-sYtfgmlx9v #headerDaherProduct.top-40 {
        top: auto !important;
        bottom: -100px !important;
    }
}

.cid-sYtfgmlx9v #headerDaherProduct {
    top: 50% !important;
    left: auto !important;
    position: relative;
}

.cid-sYtfgmlx9v #headerDaherProduct img {
    top: auto !important;
    left: auto !important;
    position: relative;
}

#tbm_980_loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.tbm_980_loader_spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #E9E9E9;
    border-top-color: #E60032;
    border-radius: 50%;
    animation: tbm980_spin 0.8s linear infinite;
}

@keyframes tbm980_spin {
    to {
        transform: rotate(360deg);
    }
}

/* Container fixe qui devient absolute à la fin de l'animation */
#tbm_980_fixed_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9998;
    pointer-events: none;
}

/* Header et overlay menu au-dessus de l'animation */
header {
    position: relative;
    z-index: 10000 !important;
}

#menu-overlay-black,
#menu-overlay-white {
    z-index: 9999 !important;
}

/* SVG knockout fullscreen */
#tbm_980_knockout_svg {
    opacity: 0;
}

#tbm_980_tagline_text_container {
    text-align: center;
    padding: 0;
    width: 100%;
}

#tbm_980_tagline_text {
    font-size: clamp(1.1rem, 3.5vw, 3.5rem);
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

/* Conteneur de ligne avec overflow hidden pour l'effet reveal */
.tagline-line {
    overflow: hidden;
    display: block;
}

/* Contenu de la ligne qui glisse de bas en haut */
.tagline-line-inner {
    display: block;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1.2;
    white-space: nowrap;
}

/* État révélé de la ligne */
.tagline-line-inner.revealed {
    transform: translateY(0);
}

/* Chaque mot est un span avec sa propre couleur */
.tagline-word {
    display: inline;
    color: #E9E9E9; /* Couleur initiale gris clair */
    transition: color 0.15s ease-out;
    white-space: nowrap;
}

/* État actif/rempli du mot */
.tagline-word.filled {
    color: #7B7575;
}

    /* Groupe du logo avec transform-origin centré */
#tbm980_logo_group {
    transform-origin: 50% 50%;
}

/* tbm 980 specs */
#tbm_980_specs {
    position: relative;
    background: white;
    background-image: url('../medias_front/pages/tbm_980/specs_tbm_980.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    @media screen and (max-width: 1400px) {
        background-image: url('../medias_front/pages/tbm_980/specs_tbm_980_1400.png');
        background-position: top center;
    }

    @media screen and (max-width: 700px) {
        background-image: url('../medias_front/pages/tbm_980/specs_tbm_980_700.png');
        background-position: top center;
    }
}

#tbm_980_specs_img {
    background: white;
    opacity: 0;
}

#tbm_980_specs_container {
    display: grid;
    grid-template-columns: repeat(9, auto); /* 5 specs + 4 séparateurs */
    gap: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

#tbm_980_specs_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 128px;

    @media screen and (max-width: 1400px){
        flex-direction: column;
    }
}

#tbm_980_specs_buttons .aircraftButton .btn {
    margin: 0 !important;
    min-width: 300px;
}

.tbm_980_spec_item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.aircraftData-white {
    @media screen and (max-width: 1400px){
        background: rgba(255, 255, 255, 0.05);
        border-radius: 5px;
        padding: 10px;
    }
}

#aircraftDatas {
    @media screen and (max-width: 700px) {
        margin-top: 100px;
    }
}

.separator-horizontal {
    display: block;
}

@media (max-width: 1400px) {
    #tbm_980_specs_container {
        grid-template-columns: 1fr auto 1fr; /* gauche | séparateur | droite */
        grid-template-rows: auto auto auto auto; /* 4 lignes pour les 4 premières specs en 2x2 + 1 ligne pour la 5ème */
        gap: 1.5rem 2rem;
        padding: 0 1rem;
    }

    /* Positionnement des specs */
    .tbm_980_spec_item:nth-child(1) { /* MAX RANGE */
        grid-column: 1;
        grid-row: 1;
    }

    .tbm_980_spec_item:nth-child(3) { /* MAX CRUISE SPEED */
        grid-column: 3;
        grid-row: 1;
    }

    .tbm_980_spec_item:nth-child(5) { /* ACCOMMODATION */
        grid-column: 1;
        grid-row: 2;
    }

    .tbm_980_spec_item:nth-child(7) { /* MAX PAYLOAD */
        grid-column: 3;
        grid-row: 2;
    }

    .tbm_980_spec_item:nth-child(9) { /* TAKEOFF RUNWAY LENGTH */
        grid-column: 1 / -1; /* Prend toute la largeur */
        grid-row: 3;
    }

    /* Séparateur vertical central */
    .separator-horizontal:nth-child(2),
    .separator-horizontal:nth-child(4),
    .separator-horizontal:nth-child(6),
    .separator-horizontal:nth-child(8) {
        display: none; /* Cache les séparateurs horizontaux */
    }

    /* Affiche uniquement le séparateur central vertical */
    .separator-horizontal:nth-child(10) {
        display: block;
        grid-column: 2;
        grid-row: 1 / 3; /* S'étend sur les 2 premières lignes */
        height: 100%;
        width: auto;
    }
}

.tbm_980_specs_separator {
    width: 1px;
    height: 50px;

    @media screen and (max-width: 1400px) {
        display: none;
    }
}

.tbm_980_specs_title {
    font-size: calc(0.4rem + 0.4vw);
    font-family: 'Forza Book', normal, serif !important;
    font-weight: initial;
    line-height: 1;
    margin-bottom: 9px;
}

.tbm_980_specs_data {
    font-size: calc(0.6rem + 0.8vw);
    line-height: 1;
    font-family: 'Forza Bold Italic', normal, serif !important;
    font-weight: initial;

}

/* Bloquer le scroll pendant l'animation */
body.tbm-980-animating {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


.btn-hero-980 {
    color: black !important;
    margin-top: 50px;
}

.btn-hero-980:hover,
.btn-hero-980:focus,
.btn-hero-980:active {
    color: white !important;
    background-color: black !important;
}

/* G3000 */
#g3000 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: black;
    padding-top: 200px;
    padding-bottom: 100px;
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

#g3000 h2, #g3000 p {
    max-width: 660px;
}

/* title */
#g3000 h2 {
    font-size: calc(0.6rem + 1.5vw);
    text-align: center;
    color: white;
}

#g3000 h2 span {
    color: #E60032;
}

#g3000 p {
    text-align: center;
    color: #7B7575;
}

/* G3000 Video */
#g3000_video {
    background-color: black;
    position: relative;
}

#g3000_video_title {
    font-size: calc(0.6rem + 1.5vw);
    text-align: center;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    max-width: 90%;
}

#g3000_video_title span {
    color: #E60032;
}

#g3000_video_title.hidden {
    display: none !important;
}

#g3000_video_container {
    position: relative;
    width: 100%;
}

#g3000_video_player {
    display: block;
    width: 100%;
    height: auto;
}

/* --- POI Desktop --- */
#g3000_poi_desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#g3000_poi_desktop.visible {
    opacity: 1;
    visibility: visible;
}

.g3000_poi_marker {
    position: absolute;
    width: 36px;
    height: 36px;
    background-image: url('../medias_front/common/map-marker.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    pointer-events: auto;
    z-index: 5;
}

/* Positions des POI - à ajuster selon l'image */
#g3000_poi_1 {
    top: 70%;
    left: 22%;
}

#g3000_poi_2 {
    top: 50%;
    left: 30%;
}

#g3000_poi_3 {
    top: 34%;
    left: 33%;
}

#g3000_poi_4 {
    top: 44%;
    left: 43%;
}

#g3000_poi_5 {
    top: 51%;
    left: 48%;
}

#g3000_poi_6 {
    top: 53%;
    left: 64%;
}

#g3000_poi_7 {
    top: 53%;
    left: 73%;
}

#g3000_poi_8 {
    top: 22%;
    left: 49%;
}

#g3000_poi_9 {
    top: 90%;
    left: 50%;
}

#g3000_poi_10 {
    top: 76%;
    left: 50%;
}

#g3000_poi_11 {
    top: 41%;
    left: 25%;
}

/* Popup POI */
.g3000_poi_popup {
    display: none;
    position: absolute;
    top: 0;
    left: 50px;
    background: white;
    min-width: 280px;
    max-width: 320px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow: hidden;
}

.g3000_poi_popup img {
    width: 100%;
    height: auto;
    display: block;
}

.g3000_poi_marker:hover {
    z-index: 50;
}

.g3000_poi_marker:hover .g3000_poi_popup {
    display: block;
}

.g3000_poi_popup_content {
    padding: 20px;
}

.g3000_poi_popup h3 {
    font-size: 1rem;
    color: black;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.g3000_poi_popup p {
    font-size: 0.9rem;
    color: #7B7575;
    margin: 0;
    line-height: 1.2;
}

/* Cacher POI desktop en mobile */
@media screen and (max-width: 768px) {
    #g3000_poi_desktop {
        display: none;
    }
}

/* --- POI Mobile Slider --- */
/* Toujours visible en mobile, caché en desktop */
#g3000_poi_mobile {
    background: black;
    padding: 50px 20px;
    display: none;
}

@media screen and (max-width: 768px) {
    #g3000_poi_mobile {
        display: block;
    }
}

#g3000_poi_mobile_slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#g3000_poi_mobile_slider::-webkit-scrollbar {
    display: none;
}

.g3000_poi_mobile_slide {
    flex-shrink: 0;
    width: 85vw;
    max-width: 320px;
    background: white;
    overflow: hidden;
    scroll-snap-align: start;
}

.g3000_poi_mobile_slide_content {
    padding: 0;
}

.g3000_poi_mobile_slide_content h3 {
    color: black;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.g3000_poi_mobile_slide_content p {
    color: #7B7575;
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0;
}

/* Collapses */
#collapses {
    background-color: black;
    background-image: url('../medias_front/pages/tbm_980/collapses_bg.png');
    background-size: cover;
    background-position: center bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

#collapses_container {
    position: relative;
    max-width: 1008px;
    min-height: 915px; /* Hauteur minimale pour éviter que l'image bouge */
    padding: 56px;

    @media screen and (max-width: 1024px) {
        margin: 0 20px;
    }
}

/* Background image en position absolute pour qu'elle reste fixe */
.collapses_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 915px; /* Même hauteur minimale que le container */
    height: 100%;
    background-image: url('../medias_front/pages/tbm_980/collapses/alert-linked-checklists.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    border-radius: 15px;

    @media screen and (max-width: 1024px) {
        min-height: 600px;
    }
}

#collapses_content {
    position: relative;
    z-index: 1;
    max-width: 533px;
    margin-right: 363px;
    display: flex;
    flex-direction: column;

    @media screen and (max-width: 850px) {
        margin-right: 0;
    }
}

#collapses_content h2 {
    color: white;
    margin-bottom: 20px;
}

#collapses_content p {
    color: #7B7575;
    margin-bottom: 40px;
}

#collapses_content > p {
    color: #7B7575;
    margin-bottom: 40px;
}

/* Liste des collapses */
.tbm_980_collapses_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Item de collapse */
.tbm_980_collapse_item {
    background-color:rgba(0, 0, 0, 0.8);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Premier collapse : radius uniquement en haut */
.tbm_980_collapse_item:first-child {
    border-radius: 8px 8px 0 0;
}

/* Dernier collapse : radius uniquement en bas */
.tbm_980_collapse_item:last-child {
    border-radius: 0 0 8px 8px;
}

/* Header du collapse (titre cliquable) */
.tbm_980_collapse_header {
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

/* Hover uniquement sur les collapses fermés */
.tbm_980_collapse_item:not(.active) .tbm_980_collapse_header:hover {
    background-color: #101010;
}

.tbm_980_collapse_header h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 400;
}

/* Contenu du collapse */
.tbm_980_collapse_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.tbm_980_collapse_item.active .tbm_980_collapse_content {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.tbm_980_collapse_content p {
    color: #7B7575;
    margin: 0 0 20px 0 !important;
    line-height: 1.6;
}

/* Barre de progression */
.tbm_980_progress_bar {
    width: 100%;
    height: 2px;
    background-color: #333333;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.tbm_980_progress_fill {
    height: 100%;
    width: 0;
    background-color: white;
    transition: width 0.1s linear;
}

/* Animation de la barre de progression */
.tbm_980_collapse_item.active .tbm_980_progress_fill {
    animation: progressFill 10s linear forwards;
}

@keyframes progressFill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tbm_980_collapse_header h3 {
        font-size: 1.2rem;
    }

    .tbm_980_collapse_header {
        padding: 1rem;
    }

    .tbm_980_collapse_item.active .tbm_980_collapse_content {
        padding: 0 1rem 1rem 1rem;
    }
}

/* --- HOMESAFE --- */
#homesafe {
    background: white;
    padding-top: 200px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
}

#homesafe_content {
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#homesafe_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

#homesafe_content_text img {
    width: 192px;
}

#homesafe_content_text h2 {
    font-size: calc(0.6rem + 1.5vw);
    text-align: center;
    color: black;
    margin-top: 25px;
    margin-bottom: 25px;
}

#homesafe_content_text h2 span {
    color: #E60032;
}

#homesafe_content_text p {
    margin-bottom: 25px;
    color: #7B7575;
    text-align: center;
}

/* --- HOMESAFE VIDEO --- */
#homesafe_video {
    background: white;
    /* Padding équilibré pour centrer visuellement la vidéo pendant le pin */
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Hauteur pour permettre l'animation de scale */
    min-height: 800px;
}

#homesafe_video_player {
    background: black;
    /* Taille initiale */
    width: 1120px;
    height: 492px;
    /* Transition fluide pour le scale */
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    will-change: transform;
}

/* État agrandi de la vidéo */
#homesafe_video_player.expanded {
    /* Scale calculé pour atteindre 1820x800 depuis 1120x492 */
    /* 1820/1120 = 1.625 et 800/492 = 1.626 */
    transform: scale(1.625);
}

/* Responsive - S'assurer que la vidéo à son scale max (1.625) rentre dans l'écran */
/* 1820px nécessaire = écrans > 1820px, sinon on adapte */
@media screen and (max-width: 1920px) {
    #homesafe_video_player {
        /* La vidéo doit faire max 100vw / 1.625 pour que le scale max rentre */
        width: min(1120px, calc(100vw / 1.625 - 20px));
        height: auto;
        aspect-ratio: 1120 / 492;
    }
}

@media screen and (max-width: 1200px) {
    #homesafe_video {
        min-height: 600px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    #homesafe_video {
        min-height: 400px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* --- CONNECTED CONTAINER --- */
#connected_container {
    background: linear-gradient(180deg, #FFF 0%, #F9F9F9 100%);
    padding-bottom: 200px;
}

/* --- CONNECTED SAFETY --- */
#connected_safety {
    /*background: white;*/
    padding-top: 50px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
}

#connected_safety_content {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: start;
    @media screen and (max-width: 1200px) {
        padding: 0 20px;
    }
}

#connected_safety_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

#connected_safety_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: left;
    color: black;
    margin-top: 25px;
    margin-bottom: 25px;
}

#connected_safety_content_text p {
    margin-bottom: 25px;
    color: #7B7575;
    text-align: left;
}

/* --- CONNECTED SAFETY CARDS --- */
#connected_safety_cards {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    @media screen and (max-width: 1200px) {
        padding: 0 20px;
    }
}

.safety_cards_row {
    display: flex;
    gap: 5px;
    width: 100%;
}

/* Ligne 1 : première card large, les deux autres partagent le reste */
/* Total = 1120px, card large = 434px, reste = 686px - 5px gap = 681px / 2 = 340.5px par card small */
.safety_cards_row.row_1 .card_large {
    width: 434px;
    flex-shrink: 0;
}

.safety_cards_row.row_1 .card_small {
    flex: 1;
}

/* Ligne 2 : deux premières cards partagent l'espace, dernière card large */
.safety_cards_row.row_2 .card_small {
    flex: 1;
}

.safety_cards_row.row_2 .card_large {
    width: 434px;
    flex-shrink: 0;
}

/* Style des cards */
.safety_card {
    position: relative;
    background: #F5F5F5;
    border-radius: 0;
    padding: 60px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

/* Ligne 1 : coins arrondis en haut */
.safety_cards_row.row_1 .safety_card:first-child {
    border-top-left-radius: 10px;
}

.safety_cards_row.row_1 .safety_card:last-child {
    border-top-right-radius: 10px;
}

.safety_cards_row.row_1 .safety_card {
    @media screen and (max-width: 900px) {
        border-radius: 10px;
    }
}

/* Ligne 2 : coins arrondis en bas */
.safety_cards_row.row_2 .safety_card:first-child {
    border-bottom-left-radius: 10px;
}

.safety_cards_row.row_2 .safety_card:last-child {
    border-bottom-right-radius: 10px;
}

.safety_cards_row.row_2 .safety_card {
    @media screen and (max-width: 900px) {
        border-radius: 10px;
    }
}

/* Ligne 1 : couleurs - première et dernière #161616, centre #000 */
.safety_cards_row.row_1 .safety_card:first-child,
.safety_cards_row.row_1 .safety_card:last-child {
    background: #161616;
    border: 1px solid #2C2C2C;
}

.safety_cards_row.row_1 .safety_card:nth-child(2) {
    background: #000;
    border: 1px solid #2C2C2C;
}

/* Ligne 2 : couleurs - première et dernière #000, centre #161616 */
.safety_cards_row.row_2 .safety_card:first-child,
.safety_cards_row.row_2 .safety_card:last-child {
    background: #000;
    border: 1px solid #2C2C2C;
}

.safety_cards_row.row_2 .safety_card:nth-child(2) {
    background: #161616;
    border: 1px solid #2C2C2C;
}

.safety_card svg:first-child {
    margin-bottom: 15px;
}

.safety_card h3 {
    font-family: 'Forza Bold Italic', sans-serif !important;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.safety_card p {
    color: #7B7575;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.safety_card_svg {
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .safety_cards_row {
        flex-direction: column;
    }

    .safety_cards_row.row_1 .card_large,
    .safety_cards_row.row_2 .card_large {
        width: 100%;
    }

    .safety_card {
        min-height: 150px;
    }
}

@media screen and (max-width: 768px) {
    #connected_safety_cards {
        padding: 0 15px;
    }

    .safety_card {
        padding: 20px;
        min-height: 120px;
    }

    .safety_card h3 {
        font-size: 1.1rem;
    }
}

/* --- REFINED POWER --- */
#refined_power {
    background: black;
    background-image: url('../medias_front/pages/tbm_980/refined-power/refined-power-optimized-efficiency.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 699px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

#refined_power_container {
    max-width: 666px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

#refined_power h2 {
    color: white;
    margin-bottom: 25px;
    font-size: calc(0.6rem + 1.5vw);
    text-align: center;
}

#refined_power p {
    color: #7B7575;
    text-align: center;
    margin-bottom: 25px;
}

/* --- SLIDER --- */
#slider {
    padding-top: 100px;
    padding-bottom: 200px;
    background: black;
    overflow: hidden;
}

#slider_container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 140px; /* Espace pour aligner avec le contenu principal */
}

#slider_track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-out;
}

.slider_slide {
    flex-shrink: 0;
    width: 1120px;
    position: relative;
    height: 530px;
    overflow: hidden;
}

.slider_slide_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider_slide_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider_slide_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 100px 35px 35px;
    z-index: 2;
}

.slider_slide_content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.slider_slide_content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Navigation */
#slider_nav {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.slider_nav_btn {
    background: rgba(239, 239, 239, 0.5);
    border-radius: 100%;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.slider_nav_btn:hover {
    opacity: 1;
}

.slider_nav_btn svg {
    display: block;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    #slider_container {
        padding-left: 60px;
    }

    .slider_slide {
        width: 600px;
    }

    .slider_slide_image {
        height: 320px;
    }
}

@media screen and (max-width: 768px) {
    #slider_container {
        padding-left: 20px;
    }

    .slider_slide {
        width: 85vw;
    }

    .slider_slide_image {
        height: 250px;
    }

    .slider_slide_content h3 {
        font-size: 1.2rem;
    }

    #slider {
        padding-top: 60px;
        padding-bottom: 100px;
    }
}

/* --- RANGE FINDER --- */
#range_finder {
    margin-top: 200px;
    margin-bottom: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#range_finder_container {
    max-width: 1120px;
    width: 100%;
    @media screen and (max-width: 1200px) {
        padding: 0 20px;
    }
}

#range_finder h2 {
    width: 100%;
    text-align: left;
    color: black;
    font-size: calc(0.6rem + 1.5vw);
    margin-bottom: 40px;
}

#range_finder_video_player {
    max-width: 1120px;
    width: 100%;
    margin-bottom: 24px;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

#range_finder_video_player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation des vidéos */
#range_finder_nav {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.range_finder_item {
    flex: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.range_finder_item:hover {
    background-color: #F5F5F5;
}

/* Barre de progression */
.range_finder_progress_bar {
    width: 100%;
    height: 2px;
    background-color: #E0E0E0;
    margin-bottom: 15px;
    overflow: hidden;
}

.range_finder_progress_fill {
    height: 100%;
    width: 0;
    background-color: black;
    /* Pas de transition, l'animation est gérée par requestAnimationFrame pour plus de fluidité */
}

/* Animation de la barre de progression quand actif */
.range_finder_item.active .range_finder_progress_fill {
    /* La largeur sera contrôlée par JS en fonction de la durée de la vidéo */
}

/* Contenu du bouton */
.range_finder_item_content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.range_finder_route {
    color: #7B7575;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Knockout Junior Middle 51', normal, sans-serif;
}

.range_finder_item.active .range_finder_route {
    color: black;
}

.range_finder_distance {
    color: #7B7575;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-family: 'Forza Bold', normal, sans-serif;
}

.range_finder_item.active .range_finder_distance {
    color: black;
}

/* Responsive */
@media screen and (max-width: 900px) {
    #range_finder_nav {
        flex-wrap: wrap;
    }

    .range_finder_item {
        flex: 1 1 50%;
    }
}

@media screen and (max-width: 500px) {
    #range_finder_nav {
        flex-direction: column;
    }

    .range_finder_item {
        flex: 1 1 100%;
    }
}

/* --- POI --- */
/* Version desktop */
#poi {
    padding: 50px;
    display: grid;
    grid-template-columns: 66.666% 33.334%;
    overflow: visible;
}

#poi-content {
    overflow: visible !important;
}

#poi_card {
    overflow: visible !important;
}

#poi_card .mbr-figure {
    overflow: visible !important;
}

/* Cacher la version desktop en mobile, afficher le slider */
@media screen and (max-width: 1199px) {
    #poi {
        grid-template-columns: 1fr;
    }

    #poi-content {
        display: none !important;
    }
}

/* Version mobile - slider horizontal */
#poi_mobile {
    display: none;
    background: white;
    padding: 50px 20px;
    overflow: hidden;
}

@media screen and (max-width: 1199px) {
    #poi_mobile {
        display: block;
    }
}

#poi_mobile_slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#poi_mobile_slider::-webkit-scrollbar {
    display: none;
}

.poi_mobile_slide {
    flex-shrink: 0;
    width: 85vw;
    max-width: 350px;
    background: black;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.poi_mobile_slide_image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.poi_mobile_slide_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poi_mobile_slide_content {
    padding: 20px;
}

.poi_mobile_slide_content h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.poi_mobile_slide_content p {
    color: #7B7575;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Styles desktop existants */
#poi > .col-12.col-md-8.col-lg-8 {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
    overflow: visible;
}

#poi > .col-12.col-md-4.col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
}

/* Images de droite : peuvent être crop */
#poi > .col-12.col-md-4.col-lg-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#poi > .col-12.col-md-4.col-lg-4 a {
    display: block;
    height: 50%;
    overflow: hidden;
}

#poi_card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#poi_card .mbr-figure {
    height: 100%;
    margin: 0;
    position: relative;
}

#poi_card .mbr-figure > .w-100 {
    height: 100%;
    overflow: visible;
}

#poi_card .mbr-figure > .w-100 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

#poi_card .icon-position {
    position: absolute;
    background-image: url('../medias_front/common/map-marker.svg');
    width: 36px;
    height: 36px;
    z-index: 5;
    cursor: pointer;
}

#poi_card .icon-position:hover {
    z-index: 50;
}

#poi #poi_1 {
    bottom: 38%;
    left: 33%;
}

#poi #poi_1:hover .pop-up {
    display: block;
    bottom: 0;
    left: 50px;
}

#poi #poi_2 {
    bottom: 49%;
    left: 73%;
}

#poi #poi_2:hover .pop-up {
    display: block;
    top: 0;
    left: 50px;
}

#poi #poi_3 {
    bottom: 93%;
    left: 67%;
}

#poi #poi_3:hover .pop-up {
    display: block;
    top: 0;
    right: 50px;
}

#poi #poi_4 {
    bottom: 29%;
    left: 57%;
}

#poi #poi_4:hover .pop-up {
    display: block;
    bottom: 0;
    left: 50px;
}

#poi #poi_5 {
    bottom: 46%;
    left: 13%;
}

#poi #poi_5:hover .pop-up {
    display: block;
    bottom: 0;
    left: 50px;
}

#poi .pop-up {
    display: none;
    position: absolute;
    background: white;
    min-width: 300px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#poi .pop-up h3 {
    padding-top: 1.2rem;
    padding-left: 1.2rem;
}

#poi .pop-up h3, .pop-up p {
    visibility: visible;
}

#poi .pop-up p {
    text-align: justify;
    margin-bottom: 0;
    padding: 0 1.2rem 1.2rem 1.2rem !important;
}

/* --- ULTIMATE COMFORT --- */
#ultimate_comfort {
    background: white;
    padding-top: 50px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#ultimate_comfort_content {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: start;
    @media screen and (max-width: 900px) {
        padding: 0 20px;
    }
}

#ultimate_comfort_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 1200px) {
        padding: 0 20px;
    }
}

#ultimate_comfort_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: left;
    color: black;
    margin-bottom: 24px;
}

#ultimate_comfort_content_text h2 span {
    color: #E60032;
}

#ultimate_comfort_content_text p {
    margin-bottom: 48px;
    color: #7B7575;
    text-align: left;
}

#ultimate_comfort_cards {
    display: grid;
    max-width: 1120px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    @media screen and (max-width: 900px) {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 20px;
    }
}

#ultimate_comfort_cards h3 {
    text-transform: uppercase;
}

#ultimate_comfort_cards p {
    margin-bottom: 0 !important;
}

#ultimate_comfort_cards div {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 60px 40px 40px 40px;
    background: #F9F9F9;
    position: relative;
    @media screen and (max-width: 900px) {
        border-radius: 10px;
    }
}

#ultimate_comfort_cards div:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#ultimate_comfort_cards div:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#ultimate_comfort_cards div svg:first-child {
    margin-bottom: 15px;
}

.ultimate_comfort_card_svg {
    position: absolute;
    right: 0;
    bottom: 0;
}

/* --- SPACE --- */
#space {
    margin: 0;
    padding-bottom: 100px;
    padding-top: 100px;
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#space_content {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: start;
    @media screen and (max-width: 900px) {
        padding: 0 20px;
    }
}

#space_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 1200px) {
        padding: 0 20px;
    }
}

#space_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: left;
    color: black;
    margin-top: 25px;
    margin-bottom: 25px;
}

#space_content_text h2 span {
    color: #E60032;
}

#space_content_text p {
    margin-bottom: 25px;
    color: #7B7575;
    text-align: left;
}

#space img {
    margin-top: 48px;
    max-width: 1120px;
    width: 100%;
}

/* --- MOBILE --- */
#mobile {
    margin: 0;
    padding-bottom: 0;
    padding-top: 100px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#mobile_content {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 900px) {
        padding: 0 20px;
    }
}

#mobile_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

#mobile_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: center;
    color: black;
    margin-top: 25px;
    margin-bottom: 25px;
}

#mobile_content_text h2 span {
    color: #E60032;
}

#mobile_content_text p {
    margin-bottom: 25px;
    color: #7B7575;
    text-align: center;
}

#mobile_image_content {
    position: relative;
}

#mobile_image_content_buttons {
    position: absolute;
    bottom: 130px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12.5px;
}

#mobile_image_content img {
    margin-top: 48px;
    max-width: 696px;
    width: 100%;
}

/* --- CONFIGURATOR --- */
#configurator {
    padding-top: 200px;
    padding-bottom: 193px;
    background: black;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

#configurator_content {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    padding-left: 400px;
    @media screen and (max-width: 1300px) {
        padding-left: 200px;
    }
    @media screen and (max-width: 900px) {
        padding: 0 20px;
    }
}

#configurator_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: start;
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

#configurator_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: left;
    color: white;
    margin-top: 25px;
    margin-bottom: 25px;
}

#configurator_content_text h2 span {
    color: #E60032;
}

#configurator_content_text p {
    margin-bottom: 25px;
    color: #7B7575;
    text-align: left;
}

#configurator_panel {
    width: fit-content;
    max-width: 360px;
    right: 250px;
    margin-top: 143px;
    background: white;
    padding: 30px;
    margin-right: 250px;
    margin-left: auto;
    @media screen and (max-width: 768px) {
        margin-right: auto;
    }
    display: flex;
    flex-direction: column;
}

#configurator_panel .btn {
    margin: 0 !important;
}

#configurator_panel h3 {
    color: black;
    margin: 0;
}

#configurator_panel .paintscheme_name {
    display: none;
    padding: 6px 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    background: #EFEFEF;
    margin-top: 8px;
    margin-bottom: 8px;
    width: fit-content;
    color: #7B7575;
}

#configurator_panel .paintscheme_name.active {
    display: flex;
}

#configurator_panel .thumbnail {
    width: 100%;
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#configurator_panel .thumbnail img {
    width: calc((100% - 24px) / 4); /* 4 images par ligne avec 3 gaps de 8px */
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    object-fit: cover;
}

#configurator_panel .thumbnail img.active {
    border-color: #D90A23;
}

#configurator_panel .thumbnail img:hover {
    border-color: #D90A23;
}

#configurator_panel .btn-red {
    background-color: #D90A23 !important;
    color: white !important;
    border: none !important;
    margin-bottom: 8px !important;
}

#configurator_panel .btn-red:hover {
    border: none !important;
    background-color: #a30417 !important;
}

/* --- KEEPING --- */
#keeping {
    background: #F9F9F9;
    padding-top: 200px;
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#keeping_content {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 900px) {
        padding: 0 20px;
    }
}

#keeping_content_text {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
    margin-bottom: 60px;
}

#keeping_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: center;
    color: black;
    margin-top: 25px;
    margin-bottom: 25px;
}

#keeping_content_text h2 span {
    color: #E60032;
}

#keeping_content_text p {
    margin-bottom: 25px;
    color: #7B7575;
    text-align: center;
}

#keeping_content_files {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    @media screen and (max-width: 900px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

#keeping_content_files a {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 35px;
    width: 265px;
    height: 374px;
}

#keeping_content_files a div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    height: fit-content;
    padding: 0;
    width: 100%;
}

#keeping_content_files_1,
#keeping_content_files_2,
#keeping_content_files_3 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Pseudo-élément pour le voile noir */
#keeping_content_files_1::before,
#keeping_content_files_2::before,
#keeping_content_files_3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Au hover, le voile noir disparaît */
#keeping_content_files_1:hover::before,
#keeping_content_files_2:hover::before,
#keeping_content_files_3:hover::before {
    opacity: 0;
}

/* Contenu au-dessus du pseudo-élément */
#keeping_content_files_1 > div,
#keeping_content_files_2 > div,
#keeping_content_files_3 > div {
    position: relative;
    z-index: 2;
}

#keeping_content_files div h3 {
    color: white;
    bottom: 30px;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 0 !important;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Animation du h3 qui glisse vers le bas au hover */
#keeping_content_files_1:hover h3,
#keeping_content_files_2:hover h3,
#keeping_content_files_3:hover h3 {
    transform: translateY(100%);
    opacity: 0;
}

#keeping_content_files div h3 span:first-child {
    margin-bottom: 6px;
}

#keeping_content_files div h3 span:last-child {
    margin-top: 3px;
}

/* --- FOOTER --- */
#tbm980_footer {
    background: white;
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 140px;
    padding-bottom: 140px;
}

#tbm980_footer_container {
    max-width: 1120px;
    width: 100%;
    z-index: 2;
    @media screen and (max-width: 1160px) {
        padding: 0 20px;
    }
}

#tbm980_footer_content_text {
    max-width: 530px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#tbm980_footer_content_text .tbm980_footer_content_text_card {
    display: flex;
    max-width: 529px;
    width: 100%;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #EFEFEF;
    background: #F9F9F9;
}

#tbm980_footer_content_text_cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#tbm980_footer_content_text h2 {
    width: 100%;
    font-size: calc(0.6rem + 1.5vw);
    text-align: left;
    color: black;
    margin-top: 0;
    margin-bottom: 40px;
}

#tbm980_footer_content_text h2 span {
    color: #E60032;
}

#tbm980_footer_content_text p {
    color: #7B7575;
    text-align: left;
}

#tbm980_footer_content_text .tbm980_footer_content_text_subtitle {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

#tbm980_footer_content_text .tbm980_footer_content_text_subtitle h3 {
    color: black !important;
    margin: 0 !important;
    text-transform: uppercase;
    font-size: 1.2rem;
}

#tbm980_footer_content_text .tbm980_footer_content_text_paragraph {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 45px;
}

#tbm980_footer_content_text .tbm980_footer_content_text_paragraph p {
    margin: 0 !important;
}

#tbm980_footer_content_text .tbm980_footer_content_text_paragraph svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-shrink: 0;
    transition: transform 0.3s ease, fill 0.3s ease;
}

#tbm980_footer_content_text .tbm980_footer_content_text_paragraph svg rect {
    transition: fill 0.3s ease;
}

/* Animation au hover sur la card */
.tbm980_footer_content_text_card:hover .tbm980_footer_content_text_paragraph svg {
    transform: rotate(90deg);
}

.tbm980_footer_content_text_card:hover .tbm980_footer_content_text_paragraph svg rect {
    fill: #555555;
}

#tbm980_footer img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 1065px;
    z-index: 1;
    max-height: -webkit-fill-available;
    padding-top: 20px;
}

/* ========================================
   MODAL TBM 980 - Specifications
   ======================================== */
.modal-tbm980 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    font-family: Arial, sans-serif;
}

/* Scrollbar personnalisée */
.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}

.scrollbar::-webkit-scrollbar-track {
    border-radius: 0;
    background: #cbcbcb;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #d90a23;
    border-radius: 0;
    border: 1px solid #afafaf;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background: #5f5f5f;
}

.modal-tbm980.is-visible {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-tbm980__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-tbm980__container {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.3s ease-out;
    max-height: 800px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-tbm980__close {
    position: absolute;
    top: 60px;
    right: 60px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .modal-tbm980__close {
        top: 30px;
        right: 30px;
    }
}

.modal-tbm980__close:hover {
    opacity: 0.8;
}

.modal-tbm980__content {
    padding: 60px 0 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

@media (max-width: 480px) {
    .modal-tbm980__content {
        padding: 30px 0 0 0;
    }
}

.modal-tbm980__title {
    font-family: 'Forza Bold', normal, Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
    line-height: 1.2;
    padding: 0 60px;
    @media (max-width: 480px) {
        padding: 0 30px;
    }
}

.modal-tbm980__subtitle-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    border-bottom: 1px solid #EFEFEF;
    padding: 0 60px 60px 60px;
    @media (max-width: 480px) {
        padding: 0 30px 30px 30px;
    }
}

.modal-tbm980__subtitle {
    font-family: 'Knockout Junior Middle', normal, Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    color: #A09A96;
    margin: 0 0 0 0 !important;
}

.modal-tbm980__subtitle-red-badge {
    color: #E60032 !important;
    background: rgba(230, 0, 50, 0.1) !important;
    border-radius: 5px;
    padding: 5px;
    padding-bottom: 2px !important;
}

.modal-tbm980__subtitle-gray-badge {
    color: #7B7575 !important;
    background: rgba(123, 117, 117, 0.1) !important;
    border-radius: 5px;
    padding: 5px;
    padding-bottom: 2px !important;
}

.modal-tbm980__specs {
    padding: 30px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    @media (max-width: 480px) {
        padding: 15px 30px 30px 30px;
    }
}

/* Collapses dans la modal specifications */
.modal-specs-collapse {
    background: #F9F9F9;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-specs-collapse:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-specs-collapse:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.modal-specs-collapse__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-specs-collapse__title {
    text-transform: uppercase;
    font-size: 1rem;
    color: #000;
}

.modal-specs-collapse__arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* État ouvert du collapse */
.modal-specs-collapse.is-open .modal-specs-collapse__arrow {
    transform: rotate(180deg);
}

.modal-specs-collapse__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.modal-specs-collapse.is-open .modal-specs-collapse__content {
    max-height: 1000px;
    padding: 0 20px 20px 20px;
}

.modal-specs-collapse__content-grey-badge {
    font-family: 'Forza Book', normal, Arial, sans-serif !important;
    font-size: 1rem;
    font-style: normal;
    font-weight: 325;
    color: #7B7575 !important;
    background: rgba(123, 117, 117, 0.1) !important;
    border-radius: 5px;
    padding: 5px;
    width: fit-content;
    margin-bottom: 10px !important;
}

.modal-specs-collapse__content-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.modal-specs-collapse__content-specs-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-specs-collapse__content-specs-block-title {
    font-family: 'Knockout Junior Middle', normal, Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    color: #000;
}

.modal-specs-collapse__content-specs-block-value {
    font-family: 'Knockout Junior Middle', normal, Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    color: #7B7575;
}
