/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

 
body {
    background: url("./commun/fond.png") center/cover no-repeat, linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
	background-attachment: fixed !important;
    font-family: "Source Code Pro Light", monospace;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 5px;
    overflow-x: hidden;
    font-size: var(--font-size-body);
    line-height: 1.5;
}

/* ===== STRUCTURE LAYOUT ===== */
.container {
     position: relative;
    transform: translateZ(0);
    will-change: transform;
    align-self: flex-start;
    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
    padding-top: 2px !important;
}
header, .container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== COMPONENTS ===== */
/* Header */
header {
    background: linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

/* Cards */
.card {
    width: 100%;
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card h2 {
    
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
    color: white;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

/* Update Stamp */
.update-stamp {
    width: 15%;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 12px;
    transform: rotate(15deg);
    border: 2px solid white;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 101;
    text-align: center;
	position: absolute;
    top: 30px;
    right: 10px;
    margin: 0;
}

/* Image Maps */
.image-map-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== INFOBULLE STYLES ===== */
.tooltip {
    position: fixed;
    background: linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    max-width: 280px;
    z-index: 90;
    opacity: 0;
    transform: translateY(8px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.tooltip.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tooltip-content {
    line-height: 1.5;
}

.tooltip-content strong {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 6px;
}

.tooltip-content em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    display: block;
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4px;
}

.tooltip-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
    transform: rotate(45deg);
}

/* Positions de la flèche */
.tooltip[data-position="top"] .tooltip-arrow {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}

.tooltip[data-position="bottom"] .tooltip-arrow {
    top: -5px;
    left: 50%;
    margin-left: -5px;
}

.tooltip[data-position="left"] .tooltip-arrow {
    right: -5px;
    top: 50%;
    margin-top: -5px;
}

.tooltip[data-position="right"] .tooltip-arrow {

    left: -5px;
    top: 50%;
    margin-top: -5px;
}

/* Animation */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tooltip.active {
    animation: tooltipFadeIn 0.2s ease-out;
}

/* Invitation vidéo */
.video-invitation {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.video-hint {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.right-click-icon {
    font-size: 14px;
    margin-right: 5px;
}

/* ===== POPUP VIDEO STYLES ===== */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 91;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.video-popup.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.video-popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
}

.popup-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.mobile-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Caché par défaut */
    justify-content: center;
    align-items: center;
    z-index: 91;
    cursor: pointer;
}

/* Afficher l'overlay seulement sur mobile */
@media (max-width: 768px) {
    .mobile-video-overlay {
        display: flex;
    }
}

.play-button-center {
    text-align: center;
    color: white;
    padding: 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.play-button-center:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.play-icon {
    font-size: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.play-text {
    font-size: 18px;
    font-weight: 600;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.close-video-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 11;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-video-popup:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container {
        padding: 10px 0px 0 0px;
    }
    
    .card {
        padding: 0px;
    }
    
    .update-stamp {
        width: 20%;
        font-size: 11px;
        padding: 7px 12px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .video-popup-content {
        width: 90%;
    }
    
    .play-icon {
        font-size: 50px;
    }
    
    .play-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0px;
    }
    
    .container {
       padding: 13px 0px 0 0px;
    }
    

    .card {
        padding: 0px;
        border-radius: 12px;
    }
    
    .update-stamp {
        width: 25%;
        font-size: 8px;
        padding: 6px 10px;
    }
    
    h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .card h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .image-map-container {
        margin: 15px 0;
    }
    
    .tooltip {
        max-width: 220px;
        font-size: 12px;
        padding: 12px;
    }
    
    .tooltip-content strong {
        font-size: 13px;
    }
    
    .video-popup-content {
        width: 95%;
        border-radius: 10px;
    }
    
    .play-icon {
        font-size: 45px;
    }
    
    .play-text {
        font-size: 15px;
    }
    
    .play-button-center {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0px;
    }
    
    .container {
      padding: 17px 0px 0 0px;
    }
    
    .card {
        padding: 0px;
        border-radius: 10px;
    }
    
    .update-stamp {
        width: 30%;
        font-size: 07px;
        padding: 5px 8px;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    .card h2 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 8px;
        font-size: 13px;
    }
    
    .image-map-container {
        margin: 10px 0;
    }
    
    .tooltip {
        max-width: 200px;
        padding: 10px;
    }
    
    .video-hint {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .video-popup-content {
        width: 98%;
        border-radius: 8px;
    }
    
    .play-icon {
        font-size: 40px;
    }
    
    .play-text {
        font-size: 14px;
    }
    
    .play-button-center {
        padding: 20px;
    }
    
    .close-video-popup {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}
/* Styles spécifiques pour mobile */
.tooltip.mobile {
    max-width: 90%;
    font-size: 14px;
    text-align: center;
    padding: 15px;
}

.tooltip.mobile .tooltip-content strong {
    font-size: 16px;
}

.tooltip.mobile .tooltip-content em {
    font-size: 13px;
}

/* Bouton plein écran - CACHÉ SUR PC */
.fullscreen-button-center {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 92;
    display: none; /* Caché par défaut */
}

/* Afficher le bouton plein écran seulement sur mobile */
@media (max-width: 768px) {
    .fullscreen-button-center {
        display: block;
    }
}



.fullscreen-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}



/* Ajustement pour le bouton play original */
.play-button-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 92;
}



/* Afficher les boutons vidéo seulement sur mobile */
@media (max-width: 768px) {
    .video-buttons-container {
        display: flex;
    }
}

.play-button-center
 {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
}

/* Pour les très petits écrans, empiler verticalement */
@media (max-width: 480px) {
    .video-buttons-container {
        flex-direction: column;
        gap: 20px;
    }
}
/* Bouton unique "Lire en plein écran" - CACHÉ SUR PC */
.play-fullscreen-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid white;
    border-radius: 20px;
    padding: 25px 30px;
    min-width: 220px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    text-align: center;
}


.play-fullscreen-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.play-fullscreen-icon {
    font-size: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.play-fullscreen-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-align: center;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cacher le bouton sur desktop */
@media (min-width: 769px) {
    .mobile-video-overlay {
        display: none !important;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .play-fullscreen-button {
        padding: 20px 25px;
        min-width: 200px;
    }
    
    .play-fullscreen-icon {
        font-size: 50px;
    }
    
    .play-fullscreen-text {
        font-size: 16px;
    }
}

/* ===========GESTION DES FLEXBOX================== */

.flex-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.flex-row {
    display: flex;
    flex-wrap: nowrap; /* Empêche le passage à la ligne */
    gap: 20px;
    width: 100%;
}

.flex-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-width: 0; /* Important pour flex sur petits écrans */
}

.flex-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.clickable-area {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.text-section {
    flex-shrink: 0; /* Empêche le texte de rétrécir */
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    background-color: #f5f5f5;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text-section h3 {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 1.2em;
    transition: font-size 0.3s;
}

.image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    min-height: 200px;
}

.flex-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Garantit que toute l'image est visible */
}

.top-text {
    border-bottom: 2px solid #ddd;
}

.bottom-text {
    border-top: 2px solid #ddd;
}

/* Responsive uniquement pour le texte */
@media (max-width: 1024px) {
    .text-section h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .text-section h3 {
        font-size: 1em;
    }
    .text-section {
        min-height: 50px;
        padding: 8px;
    }
    .flex-container {
        gap: 10px; /* Réduire l'espace vertical sur tablette/mobile */
    }
    
    .flex-row {
        gap: 10px; /* Réduire l'espace horizontal sur tablette/mobile */
    }
    .image-section {
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .text-section h3 {
        font-size: 0.9em;
    }
     .image-section {
        padding: 2px;
    }
    .text-section {
        min-height: 40px;
        padding: 5px;
    }
     .flex-container {
        gap: 5px; /* Réduire encore plus sur petits mobiles */
    }
    
    .flex-row {
        gap: 5px; /* Réduire encore plus sur petits mobiles */
    }
}

/* Empêche le passage à la ligne même sur très petits écrans */
@media (max-width: 320px) {
    .flex-row {
        gap: 0px;
    }
     .image-section {
        padding: 0px;
    }
     .flex-container {
        gap: 0px; /* Réduire encore plus sur petits mobiles */
    }
    .text-section h3 {
        font-size: 0.8em;
    }
}
/* Ajoutez cette partie à la fin de votre style.css */
[file name]: style.css (ajout à la fin)
/* ===== STYLES SPÉCIFIQUES POUR LES INFOBULLES FLEXBOX ===== */

/* Empêcher la sélection de texte dans les flexbox */
.flex-box {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Amélioration du style au survol */
.flex-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 5;
}

/* Animation plus fluide pour l'infobulle */
.tooltip {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Style spécifique pour les infobulles sur mobile */
@media (max-width: 768px) {
    .tooltip.mobile {
        max-width: 90%;
        font-size: 14px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .tooltip.mobile .tooltip-content strong {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .tooltip.mobile .tooltip-content {
        line-height: 1.6;
    }
}

/* Amélioration de l'apparence des zones vidéo */
.video-hint {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.video-hint:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.touch-icon, .right-click-icon {
    font-size: 14px;
    margin-right: 8px;
    vertical-align: middle;
}
/* Styles supplémentaires pour la compatibilité */
.clickable-area {
    cursor: pointer;
    position: relative;
}

.clickable-area:hover {
    opacity: 0.95;
}

/* Assurez-vous que la popup vidéo a les bons styles */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-popup.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* Debug styles */
.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10000;
}
/* ===== BOUTONS D'ACTION MÉTALLISÉS ÉLÉGANTS - COMPATIBLE ===== */
.action-buttons {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 5;
    opacity: 0.85;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.flex-box:hover .action-buttons {
    opacity: 1;
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -moz-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -ms-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -o-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25);
    /* Suppression du backdrop-filter pour compatibilité */
}

/* Utilisation de votre classe .btn-border existante */
.action-btn .btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    pointer-events: none;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Base métallique pour tous les boutons - version simplifiée pour compatibilité */
.action-btn.info-btn,
.action-btn.video-btn {
    background: #808088; /* Couleur de fallback */
    background: -moz-linear-gradient(145deg, 
        #b0b0b8 0%,
        #9898a0 25%,
        #808088 50%,
        #686870 75%,
        #505058 100%);
    background: -webkit-linear-gradient(145deg, 
        #b0b0b8 0%,
        #9898a0 25%,
        #808088 50%,
        #686870 75%,
        #505058 100%);
    background: linear-gradient(145deg, 
        #b0b0b8 0%,
        #9898a0 25%,
        #808088 50%,
        #686870 75%,
        #505058 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b0b0b8', endColorstr='#505058', GradientType=1);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Reflet métallique supérieur - version compatible */
.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: rgba(255, 255, 255, 0.15);
    background: -moz-linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

/* Ombre intérieure pour profondeur */
.action-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: rgba(0, 0, 0, 0.1);
    background: -moz-linear-gradient(to top, 
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 100%);
    background: -webkit-linear-gradient(to top, 
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 100%);
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 0 0 8px 8px;
    z-index: 1;
}

/* Légère variation de teinte entre les boutons */
.action-btn.info-btn {
    background: #787880;
    background: -moz-linear-gradient(145deg, 
        #a8a8b0 0%,
        #909098 25%,
        #787880 50%,
        #606068 75%,
        #484850 100%);
    background: -webkit-linear-gradient(145deg, 
        #a8a8b0 0%,
        #909098 25%,
        #787880 50%,
        #606068 75%,
        #484850 100%);
    background: linear-gradient(145deg, 
        #a8a8b0 0%,
        #909098 25%,
        #787880 50%,
        #606068 75%,
        #484850 100%);
}

.action-btn.video-btn {
    background: #888890;
    background: -moz-linear-gradient(145deg, 
        #b8b8c0 0%,
        #a0a0a8 25%,
        #888890 50%,
        #707078 75%,
        #585860 100%);
    background: -webkit-linear-gradient(145deg, 
        #b8b8c0 0%,
        #a0a0a8 25%,
        #888890 50%,
        #707078 75%,
        #585860 100%);
    background: linear-gradient(145deg, 
        #b8b8c0 0%,
        #a0a0a8 25%,
        #888890 50%,
        #707078 75%,
        #585860 100%);
}

/* Icone stylisée */
.btn-icon {
    font-size: 16px;
    line-height: 1;
    position: relative;
    z-index: 2;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
    -webkit-transition: transform 0.2s ease;
    -moz-transition: transform 0.2s ease;
    -ms-transition: transform 0.2s ease;
    -o-transition: transform 0.2s ease;
}

/* Effet de survol élégant */
.action-btn:hover {

    transform: scale(1.1) translateY(-3px);
    -webkit-transform: scale(1.1) translateY(-3px);
    -moz-transform: scale(1.1) translateY(-3px);
    -ms-transform: scale(1.1) translateY(-3px);
    -o-transform: scale(1.1) translateY(-3px);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.3);
    filter: brightness(1.05);
    -webkit-filter: brightness(1.05);
}

.action-btn:hover .btn-border {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.action-btn:hover .btn-icon {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/* Effet au clic */
.action-btn:active {
    transform: scale(0.95) translateY(0);
    -webkit-transform: scale(0.95) translateY(0);
    -moz-transform: scale(0.95) translateY(0);
    -ms-transform: scale(0.95) translateY(0);
    -o-transform: scale(0.95) translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.action-btn:active .btn-border {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.image-section {
    position: relative;
}

/* ===== POPUP VIDÉO AMÉLIORÉ - COMPATIBLE ===== */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* Suppression du backdrop-filter pour compatibilité */
}

.video-popup.active {
    display: flex;
    animation: popupFadeIn 0.3s ease-out;
    -webkit-animation: popupFadeIn 0.3s ease-out;
    -moz-animation: popupFadeIn 0.3s ease-out;
    -ms-animation: popupFadeIn 0.3s ease-out;
    -o-animation: popupFadeIn 0.3s ease-out;
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #1c1c1c;
    background: -moz-linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%);
    background: -webkit-linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%);
    background: linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%);
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Bouton de fermeture métallisé */
.close-video-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #7F7F89;
    background: -moz-linear-gradient(135deg, 
        #9F9FA9 0%,
        #7F7F89 50%,
        #5F5F69 100%);
    background: -webkit-linear-gradient(135deg, 
        #9F9FA9 0%,
        #7F7F89 50%,
        #5F5F69 100%);
    background: linear-gradient(135deg, 
        #9F9FA9 0%,
        #7F7F89 50%,
        #5F5F69 100%);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 11;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.close-video-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: rgba(255, 255, 255, 0.125);
    background: -moz-linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    background: -webkit-linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.close-video-popup:hover {
    background: #8F8F99;
    background: -moz-linear-gradient(135deg, 
        #AFAFB9 0%,
        #8F8F99 50%,
        #6F6F79 100%);
    background: -webkit-linear-gradient(135deg, 
        #AFAFB9 0%,
        #8F8F99 50%,
        #6F6F79 100%);
    background: linear-gradient(135deg, 
        #AFAFB9 0%,
        #8F8F99 50%,
        #6F6F79 100%);
    transform: scale(1.1) rotate(90deg);
    -webkit-transform: scale(1.1) rotate(90deg);
    -moz-transform: scale(1.1) rotate(90deg);
    -ms-transform: scale(1.1) rotate(90deg);
    -o-transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.close-video-popup:active {
    transform: scale(0.95) rotate(90deg);
    -webkit-transform: scale(0.95) rotate(90deg);
    -moz-transform: scale(0.95) rotate(90deg);
    -ms-transform: scale(0.95) rotate(90deg);
    -o-transform: scale(0.95) rotate(90deg);
}

/* Animation pour la popup */
@keyframes popupFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
        -webkit-transform: translateY(30px) scale(0.95);
        -moz-transform: translateY(30px) scale(0.95);
        -ms-transform: translateY(30px) scale(0.95);
        -o-transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        -webkit-transform: translateY(0) scale(1);
        -moz-transform: translateY(0) scale(1);
        -ms-transform: translateY(0) scale(1);
        -o-transform: translateY(0) scale(1);
    }
}

@-webkit-keyframes popupFadeIn {
    from { 
        opacity: 0; 
        -webkit-transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        -webkit-transform: translateY(0) scale(1);
    }
}

@-moz-keyframes popupFadeIn {
    from { 
        opacity: 0; 
        -moz-transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        -moz-transform: translateY(0) scale(1);
    }
}

/* ===== RESPONSIVE BOUTONS D'ACTION - COMPATIBLE ===== */
@media (max-width: 1024px) {
    .action-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    
    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 7px;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        -ms-border-radius: 7px;
        -o-border-radius: 7px;
    }
    
    .btn-icon {
        font-size: 15px;
    }
    
    .action-btn .btn-border {
        border-radius: 7px;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        -ms-border-radius: 7px;
        -o-border-radius: 7px;
    }
}

@media (max-width: 768px) {
    .action-buttons {
        bottom: 10px;
        right: 10px;
        gap: 6px;
        opacity: 0.9;
    }
    
    .action-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        -o-border-radius: 6px;
        box-shadow: 
            0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .btn-icon {
        font-size: 14px;
    }
    
    .action-btn .btn-border {
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        -o-border-radius: 6px;
    }
    
    /* Popup vidéo sur tablette */
    .video-popup-content {
        width: 95%;
        border-radius: 12px;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        -ms-border-radius: 12px;
        -o-border-radius: 12px;
    }
    
    .close-video-popup {
        width: 36px;
        height: 36px;
        font-size: 20px;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        bottom: 8px;
        right: 8px;
        gap: 5px;
        opacity: 0.95;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }
    
    .btn-icon {
        font-size: 13px;
    }
    
    .action-btn .btn-border {
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }
    
    /* Popup vidéo sur mobile */
    .video-popup {
        padding: 10px;
    }
    
    .video-popup-content {
        width: 98%;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
    }
    
    .close-video-popup {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
    
    .action-btn:hover {
        transform: scale(1.05) translateY(-2px);
        -webkit-transform: scale(1.05) translateY(-2px);
        -moz-transform: scale(1.05) translateY(-2px);
        -ms-transform: scale(1.05) translateY(-2px);
        -o-transform: scale(1.05) translateY(-2px);
    }
}

/* Pour les très petits écrans */
@media (max-width: 320px) {
    .action-buttons {
        gap: 4px;
    }
    
    .action-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
    }
    
    .btn-icon {
        font-size: 12px;
    }
    
    .action-btn .btn-border {
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
    }
}

/* Support pour anciens navigateurs */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ specific styles */
    .action-btn {
        background: #808088; /* Couleur solide pour IE */
    }
    
    .action-btn.info-btn {
        background: #787880;
    }
    
    .action-btn.video-btn {
        background: #888890;
    }
    
    .close-video-popup {
        background: #7F7F89;
    }
    
    .action-btn .btn-border {
        border: 1.5px solid #ffffff;
        opacity: 0.2;
    }
    
    /* Désactiver les transitions complexes */
    .action-btn:hover {
        transform: none;
    }
    
    .action-btn:hover .btn-icon {
        transform: none;
    }
}

/* Support pour Safari ancien */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) and (not (overflow:-webkit-marquee))
    and (not (-ms-ime-align:auto)) and (not (-moz-appearance:none)) {
        .action-btn {
            -webkit-backdrop-filter: none;
        }
    }
}

/* Désactiver les effets de survol sur mobile tactile */
@media (hover: none) and (pointer: coarse) {
    .action-buttons {
        opacity: 0.95;
    }
    
    .action-btn:hover {
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.25);
    }
    
    .action-btn:active {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
        -moz-transform: scale(0.95);
        -ms-transform: scale(0.95);
        -o-transform: scale(0.95);
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.2);
    }
}

/* ===== INFOBULLES POUR BOUTONS ===== */
.tooltip[data-position="top"] {
    transform-origin: bottom center;
    -webkit-transform-origin: bottom center;
    -moz-transform-origin: bottom center;
    -ms-transform-origin: bottom center;
    -o-transform-origin: bottom center;
}

.tooltip[data-position="bottom"] {
    transform-origin: top center;
    -webkit-transform-origin: top center;
    -moz-transform-origin: top center;
    -ms-transform-origin: top center;
    -o-transform-origin: top center;
}

/* Assurer la visibilité des infobulles par-dessus tout */
.tooltip {
    z-index: 1001;
}

/* Styles pour les zones spéciales du modèle */
.full-background {
    position: relative;
    height: 100%;
}

.full-background .text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    padding: 10px;
}

.full-background .text-overlay h3 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 1.3em;
    margin: 0;
}

.full-background .flex-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-image .flex-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empty-area {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 2px dashed #ccc;
    cursor: default;
}

.empty-area:hover {
    transform: none;
    box-shadow: none;
}

.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 20px;
}

.placeholder-text {
    text-align: center;
    color: #666;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.placeholder-text span {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #888;
}

.placeholder-text p {
    font-size: 0.9em;
    margin: 0;
    color: #999;
}

.spanning-box {
    /* Ajustements pour la zone traversante */
    min-height: 180px;
}

/* Ajustements pour les 3 colonnes */
.flex-row {
    gap: 15px;
    margin-bottom: 15px;
}

.flex-box {
    min-height: 180px;
}

/* Responsive pour 3 colonnes */
@media (max-width: 1024px) {
    .flex-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .flex-box {
        min-height: 160px;
    }
    
    .full-background .text-overlay h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .flex-row {
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }
    
    .flex-box {
        min-height: 140px;
        flex: 1 1 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
    }
    
    .full-background .text-overlay h3 {
        font-size: 1em;
    }
    
    .placeholder-text span {
        font-size: 1em;
    }
    
    .placeholder-text p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .flex-box {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
        min-height: 120px;
    }
    
    .full-background .text-overlay h3 {
        font-size: 0.9em;
    }
    
    .placeholder-text {
        padding: 10px;
    }
    
    .placeholder-text span {
        font-size: 0.9em;
    }
    
    .placeholder-text p {
        font-size: 0.75em;
    }
}

@media (max-width: 320px) {
    .flex-box {
        flex: 1 1 100%;
        min-width: 100%;
        min-height: 100px;
    }
    
    .flex-row {
        gap: 5px;
        margin-bottom: 5px;
    }
}
/* Popup vidéo plein écran */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.close-video-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.close-video-popup:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
}
/* ===== AJOUTS POUR LE TAMPON SUR MOBILE ===== */

/* Positionnement avancé du tampon sur mobile */
@media (max-width: 768px) {
    .update-stamp {
        position: absolute;
        top: 0px; 
        right: 15px; 
        width: auto !important; /* Largeur automatique */
        min-width: 140px; /* Largeur minimale */
        font-size: 09px !important;
        padding: 8px 15px !important;
        transform: rotate(5deg); /* Légère rotation pour effet */
        z-index: 1000; /* Très haut pour être au-dessus de tout */
        border: 2px solid white;
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3); /* Ombre rouge accent */
        background-color: rgba(255, 0, 0, 0.95); /* Rouge plus solide */
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 800;
    }
    
    
    /* Pour les très petits mobiles */
    @media (max-width: 480px) {
        .update-stamp {
            top: 0px; /* Légèrement moins haut */
            right: 10px;
            min-width: 120px;
            font-size: 8px !important;
            padding: 6px 12px !important;
            transform: rotate(3deg);
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
        }
    }
    
    /* Pour les mobiles en orientation paysage */
    @media (max-width: 768px) and (orientation: landscape) {
        .update-stamp {
            top: 0px;
            right: 20px;
            min-width: 130px;
        }
    }
}

/* Ajustement pour le conteneur principal sur mobile */
@media (max-width: 768px) {
    .container {
        position: relative; /* Nécessaire pour le positionnement absolu du tampon */
        padding-top: 35px !important; /* Ajouter de l'espace en haut pour le tampon */
    }
}
/* ===== BOUTON PRÉCÉDENT UNIFORME ===== */
.back-button-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000;
}

.back-btn {
	opacity:0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance métallique */
.back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

.back-btn:hover {
    background: linear-gradient(135deg, #AFAFB9 0%, #272727 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.back-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Style de la flèche de retour (pas une croix !) */
.back-arrow {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
}

/* Flèche simple vers la gauche */
.back-arrow::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 8px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

/* Version texte cachée par défaut */
.back-btn .btn-text {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .back-button-container {
        top: 12px;
        left: 12px;
    }
    
    .back-btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .back-button-container {
        top: 10px;
        left: 10px;
    }
    
    .back-btn {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    
    .back-arrow::before {
        width: 12px;
        height: 12px;
        top: 4px;
        left: 7px;
        border-left: 2.5px solid white;
        border-bottom: 2.5px solid white;
    }
}

@media (max-width: 480px) {
    .back-btn {
        width: 38px;
        height: 38px;
    }
    
    .back-arrow::before {
        width: 10px;
        height: 10px;
        top: 5px;
        left: 7px;
    }
}

/* Support tactile */
@media (hover: none) and (pointer: coarse) {
    .back-btn:hover {
        transform: none;
        background: linear-gradient(135deg, #9F9FA9 0%, #171717 100%);
    }
    
    .back-btn:active {
        transform: scale(0.95);
        background: linear-gradient(135deg, #AFAFB9 0%, #272727 100%);
    }
}