/* ============================================
   POLICES (@FONT-FACE)
   ============================================ */
@font-face {
    font-family: 'Nyght Serif';
    src: url('/fonts/NyghtSerif-Regular.otf') format('opentype');

    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nyght Serif';
    src: url('/fonts/NyghtSerif-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nyght Serif';
    src: url('/fonts/NyghtSerif-BoldItalic.otf') format('opentype');
    font-weight: bold italic;
    font-style: italic;
    font-display: swap;
} 

@font-face {
    font-family: 'Nyght Serif';
    src: url('/fonts/NyghtSerif-Dark.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}  

@font-face {
    font-family: 'Bagnard';
    src: url('/fonts/Bagnard.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Costaline';
    src: url('/fonts/CostalineThin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Costaline';
    src: url('/fonts/CostalineThinitalic.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ShockaSerif';
    src: url('/fonts/ShockaSerif-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ShockaSerif';
    src: url('/fonts/ShockaSerif-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('/fonts/AdobeGaramondPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('/fonts/AdobeGaramondPro-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('/fonts/AdobeGaramondPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('/fonts/AdobeGaramondPro-BoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --header-height: 90px;
    --hero-gap: 4px;
    --viewport-height: 100vh;
    --dynamic-vh: 1vh;
}

@supports (width: clamp(1px, 1vw, 2px)) {
    :root {
        --hero-gap: clamp(3px, 0.4vw, 6px);
    }
}

@supports (height: 100dvh) {
    :root {
        --viewport-height: 100dvh;
        --dynamic-vh: 1dvh;
    }
}

@supports (height: 100svh) {
    @supports not (height: 100dvh) {
        :root {
            --viewport-height: 100svh;
            --dynamic-vh: 1svh;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    /* Exception : garder les animations importantes pour la présentation */
    .profile-photo {
        animation-duration: 5s !important;
        animation-iteration-count: 1 !important;
    }
    .photo-slogan-glass {
        animation-duration: 6s !important;
        animation-delay: 1.5s !important;
        animation-iteration-count: 1 !important;
    }
}

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

html,
body {
    height: auto;
    min-height: 100%;
}

body {
    font-family: 'ShockaSerif', serif;
    color: #f5f5f5;
    background-color: #0a0e1a;
    line-height: 1.6;
    overflow-x: hidden;
}

body.galerie-active {
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 100svh;
    height: auto;
    touch-action: pan-x pinch-zoom;
}

body.menu-open {
    overflow: hidden;
}

img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: auto;
}


/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: relative;
    width: 100%;
    background-color: #0a0e1a;
    z-index: 10000;
    padding: 1.5% 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: var(--header-height);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: padding 0.3s ease, min-height 0.3s ease;
    display: flex;
    align-items: center;
}


.header.scrolled {
    padding: 0.8% 0;
    min-height: 60px;
}

.nav-container {
    width: min(96%, 1600px);
    max-width: min(96%, 1600px);
    margin: 0 auto;
    padding-left: min(4%, 40px);
    padding-right: min(4%, 40px);
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    height: 100%;
    min-height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: flex-start;
}

.brand-name {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    color: #f5f5f5;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: left;
}

.brand-name:hover {
    opacity: 0.7;
    color: #ffc247;
}

.brand-name-short {
    display: none;
    text-transform: lowercase;
}

.brand-name.compact .brand-name-full {
    display: none;
}

.brand-name.compact .brand-name-short {
    display: inline;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.5vw, 2.25rem);
    flex: 0 0 auto;
    justify-content: flex-end;
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.5vw, 2.25rem);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.5rem);
}

.nav-link {
    text-decoration: none;
    font-size: clamp(0.3rem, 1.5vw, 1.5rem);
    font-weight: 400;
    text-transform: uppercase;
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

.nav-link-active {
    color: #f5f5f5;
}

.nav-link-inactive {
    color: rgba(245, 245, 245, 0.6);
}

.nav-link:hover {
    opacity: 0.7;
    color: #ffc247;
}

.icon-link {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #f5f5f5;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    color: #f5f5f5;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
}

.menu-toggle:hover {
    opacity: 0.7;
    color: #ffc247;
}

.dropdown-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: auto;
    z-index: 9999;
    padding: 0;
    margin: 0;
    margin-top: 0;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.dropdown-menu[data-open="true"] {
    visibility: visible;
    opacity: 1;
    max-height: calc(var(--viewport-height) - var(--header-height));
    padding: 1.5rem 0;
    pointer-events: auto;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: clamp(0.7rem, 1.3vw, 0.875rem);
    color: #f5f5f5;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-link.active {
    color: #f5f5f5;
    font-weight: 500;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.language-selector i {
    font-size: 10px;
    color: #666;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.page {
    display: none;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;           
    overflow-y: auto;             
    -webkit-overflow-scrolling: touch; 
    scroll-behavior: smooth;      
}

.page.active {
    display: block;
}

/* ============================================
   PAGES & SECTIONS
   ============================================ */
.content-section {
    margin-top: 80px;
    padding: 80px 40px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-container {
    max-width: 1200px;
    width: 100%;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #f5f5f5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.annecy-section,
.maroc-section {
    padding-top: clamp(8px, 0.8vw, 20px);
    padding-bottom: clamp(20px, 4vh, 40px);
    padding-left: min(4%, 40px);
    padding-right: min(4%, 40px);
    background: #0a0e1a;
    color: #f5f5f5;
    width: min(96%, 1600px);
    max-width: min(96%, 1600px);
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    will-change: scroll-position; 
}

#page-presentation {
    background: #0a0e1a;
    position: relative;
    color: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.page.active#page-presentation {
    display: flex;
    align-items: stretch;
}

#page-presentation::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(10, 20, 60, 0.15) 1px, transparent 1px),
                      radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 200px 200px, 80px 80px;
    opacity: 0.45;
    pointer-events: none;
}

#page-galerie {
    height: calc(var(--viewport-height) - var(--header-height));
    max-height: device-height,initial-scale=1.0;
    min-height: calc(var(--viewport-height) - var(--header-height));
    background: #0a0e1a;
    overflow: hidden;
}

@media (max-width: 1024px) {
    #page-galerie {
        overflow: visible;
    }
}

.presentation-simple {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: calc(var(--viewport-height) - var(--header-height));
    padding-top: clamp(8px, 0.8vw, 20px);
    padding-bottom: clamp(8px, 0.8vw, 20px);
    padding-left: min(4%, 40px);
    padding-right: min(4%, 40px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 4.5vw, 72px);
    box-sizing: border-box;
    width: min(96%, 1600px);
    max-width: min(96%, 1600px);
    margin: 0 auto;
    overflow-x: hidden;            
}

.presentation-text-block {
    max-width: 70%;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.7;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(12px, 1.4vw, 18px);
    text-align: left;
    order: 2;
}

.presentation-text-block h2 {
    margin: 0;
    font-size: clamp(12px, 1.3vw, 28px);
    letter-spacing: 0em;
}

.presentation-text-block p {
    margin: 0;
    text-align: justify;
    font-weight: 300;
}

.presentation-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 12px;
    color: rgba(245, 245, 245, 0.6);
}

.presentation-pill::before {
    content: '';
    width: 36px;
    height: 1px;
    background: rgba(15, 16, 22, 0.35);
}

.presentation-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
}

.photo-frame {
    position: relative;
    width: clamp(300px, 32vw, 420px);
    background: rgba(20, 25, 40, 0.6);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.photo-frame img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.photo-credit {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(15, 16, 22, 0.5);
    text-align: right;
}

@media (max-width: 1024px) {
    #page-presentation {
        height: auto;
        min-height: calc(var(--viewport-height) - var(--header-height));
        overflow: visible;
    }
    
    .presentation-simple {
        width: 100%;
        flex-direction: column;
        text-align: left;
        gap: 40px;
        padding: clamp(20px, 4vh, 40px) min(4%, 20px);
        min-height: auto;
        height: auto;
    }
    
    .presentation-photo {
        order: 2;
        justify-content: center;
    }
    
    .photo-frame {
        width: clamp(220px, 60vw, 320px);
    }
    
    .photo-slogan-glass {
        width: 75%;
        max-width: 75%;
        font-size: clamp(0.55rem, 2.5vw, 0.85rem);
        padding: clamp(3px, 1vw, 8px) clamp(6px, 2vw, 12px);
        letter-spacing: clamp(0.03em, 0.2vw, 0.15em);
    }

    .presentation-text-block {
        order: 1;
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }
    
    .presentation-text-block p {
        text-align: justify;
    }
    
    /* Header fixed sur mobile pour pages présentation et lettre */
    body.presentation-active .header,
    body.lettre-active .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    
    body.presentation-active #page-presentation,
    body.lettre-active #page-lettre {
        padding-top: var(--header-height);
    }
}

.photo-stack {
    position: relative;
    width: 100%;
    overflow: visible;
    border-radius: 16px;
}

.profile-photo {
    width: 100%;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    filter: grayscale(100%);
    animation: profileColorReveal 5s ease forwards;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

@keyframes profileColorReveal {
    0% {
        filter: grayscale(100%);
    }
    100% {
        filter: grayscale(0%);
    }
}

.photo-slogan-glass {
    position: absolute;
    z-index: 2;
    top: clamp(16px, 2vw, 28px);
    left: 50%;
    width: 75%;
    max-width: 75%;
    padding: clamp(8px, 1vw, 14px) clamp(12px, 1.5vw, 20px);
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.12) 100%
    );
    backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: clamp(0.05em, 0.15vw, 0.2em);
    font-size: clamp(0.6rem, 0.9vw, 1rem);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    word-wrap: break-word;
    pointer-events: none;
    box-sizing: border-box;
    opacity: 0;
    transform: translate(-50%, -35px);
    animation: sloganGlassReveal 6s ease forwards;
    animation-delay: 1.5s;
    will-change: opacity, transform;
}

@supports not (backdrop-filter: blur(1px)) {
    .photo-slogan-glass {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.2) 100%
        );
        border: 1.5px solid rgba(255, 255, 255, 0.4);
    }
}

.photo-slogan-glass p {
    margin: 0;
    color: #f6f6f8;
    font-size: inherit;
    white-space: inherit;
}

@keyframes sloganGlassReveal {
    0% {
        opacity: 0;
        transform: translate(-50%, -35px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}


.annecy-hero,
.maroc-hero {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4.5vw, 72px);
    align-items: center;
}

.annecy-text,
.maroc-text {
    flex: 1 1 420px;
    text-align: center;
    line-height: 1.7;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(12px, 1.4vw, 18px);
}


.annecy-text em {
    font-style: italic;
}

.annecy-cover,
.maroc-cover {
    flex: 0 1 420px;
    display: flex;
    justify-content: center;
}

.annecy-cover img,
.maroc-cover img {
    width: 100%;
    max-width: clamp(320px, 50vw, 460px);
    border-radius: 28px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

.annecy-gallery {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(12px, 3vw, 20px);
}

.annecy-gallery img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.annecy-slider {
    margin-top: 60px;
    text-align: center;
    padding: 0 24px;
}

.annecy-fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f5f5f5;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.annecy-fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.annecy-carousel {
    position: relative;
    width: min(860px, 88vw);
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255,255,255,0.4);
    border-radius: 12px;
    padding: clamp(4px, 0.8vw, 8px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    touch-action: pan-x;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.carousel-track {
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    position: relative;
    touch-action: pan-x;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

@supports not (aspect-ratio: 4 / 3) {
    .carousel-track {
        height: 66vw; 
        max-height: 645px; 
        min-height: 300px;
    }
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    touch-action: pan-x;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    min-width: clamp(40px, 6vw, 50px);
    min-height: clamp(40px, 6vw, 50px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
    box-sizing: border-box;
}

.carousel-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #1c1a16;
    border-right: 2px solid #1c1a16;
    transform: rotate(45deg);
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
}

.carousel-prev::before {
    transform: rotate(-135deg);
}

.carousel-next::before {
    transform: rotate(45deg);
}

.carousel-arrow:hover {
    background: #0a0e1a;
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: clamp(-14px, -2vw, -22px);
}

.carousel-next {
    right: clamp(-14px, -2vw, -22px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
}

.carousel-dots button.active {
    background: rgba(0,0,0,0.6);
}

@media (min-width: 1025px) {
    .carousel-dots {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
        padding: 12px 24px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .carousel-dots button {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
    }
    
    .carousel-dots button.active {
        background: #f5f5f5 !important;
        border-color: #f5f5f5 !important;
        transform: scale(1.3);
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .carousel-dots button:hover {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.1);
    }
}

@media (max-width: 1024px) {
    .annecy-slider {
        margin-top: 40px;
        padding: 0 12px;
    }

    .annecy-carousel {
        padding: 4px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .carousel-track {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
    
    @supports not (aspect-ratio: 4 / 3) {
        .carousel-track {
            height: 75vw; 
            min-height: 250px;
            max-height: 500px;
        }
    }
    
    .carousel-slide img {
        object-fit: contain;
        border-radius: 8px;
    }

    .annecy-fullscreen-btn {
        top: 12px;
        right: 12px;
    }

    .carousel-dots {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .annecy-fullscreen-dots {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .annecy-fullscreen-container {
        margin: 2vh auto;
        padding: 16px 20px;
        border-radius: 16px;
        backdrop-filter: blur(40px) saturate(180%);
    }
    
    .annecy-fullscreen-container::before {
        border-radius: 16px;
    }
    
    .annecy-fullscreen-container::after {
        border-radius: 16px;
    }
    
    .annecy-fullscreen-slide:not(.active) {
        display: none !important;
    }
    
    .annecy-fullscreen-slide.active {
        display: flex !important;
    }
    
    .annecy-fullscreen-track {
        position: relative;
        overflow: hidden;
    }
}

/* ============================================
   BOUTIQUE (SHOP)
   ============================================ */
.shop-section {
    margin-top: 80px;
    padding: 60px min(5vw, 80px);
    min-height: calc(100vh - 80px);
    background: #0a0e1a;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
}

.shop-info {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    color: #f5f5f5;
    line-height: 1.8;
}

.shop-info p {
    margin: 0 0 16px;
    font-size: 15px;
}

.shop-info p:last-child {
    margin-bottom: 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 0;
}

.shop-item {
    position: relative;
    background: #0a0e1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.shop-item-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; 
    background: rgba(20, 25, 40, 0.4);
    overflow: hidden;
}

.shop-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 8px solid #000;
    box-sizing: border-box;
    background: #0a0e1a;
    padding: 12px;
}


.shop-item-info {
    padding: 20px 0;
    text-align: center;
}

.shop-item-title {
    font-size: 18px;
    font-weight: 400;
    color: #f5f5f5;
    margin: 0 0 8px;
    letter-spacing: 0.03em;
}

.shop-item-price {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.shop-item-button {
    margin-top: 16px;
    padding: 10px 24px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 4px;
}

.shop-item-button:hover {
    background: #333;
    transform: scale(1.02);
}

.shop-item-button:active {
    transform: scale(0.98);
}

.product-section {
    margin-top: 80px;
    padding: 40px min(5vw, 80px) 80px;
    min-height: calc(100vh - 80px);
    background: #0a0e1a;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #f5f5f5;
}

.breadcrumb-separator {
    margin: 0 8px;
}

.breadcrumb-current {
    color: #f5f5f5;
}

.product-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.product-nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.product-nav-btn:hover {
    border-color: #000;
    color: #f5f5f5;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    padding-top: 100%; 
    background: #0a0e1a;
    border: 8px solid #000;
    box-sizing: border-box;
}

.product-image {
    position: absolute;
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: contain;
    display: block;
    background: #0a0e1a;
}

.product-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background: #0a0e1a;
    padding: 4px;
    box-sizing: border-box;
}

.product-thumbnail.active {
    border-color: rgba(255, 255, 255, 0.3);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #000;
}

.product-info {
    max-width: 500px;
}

.product-title {
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 16px;
    letter-spacing: 0.03em;
    color: #f5f5f5;
}

.product-price {
    font-size: 20px;
    color: #666;
    margin: 0 0 30px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #f5f5f5;
}

.product-description p {
    margin: 0 0 16px;
}

.product-description ul {
    margin: 16px 0;
    padding-left: 20px;
}

.product-description li {
    margin-bottom: 8px;
}

.product-sizes,
.product-quantity {
    margin-bottom: 25px;
}

.product-sizes label,
.product-quantity label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #f5f5f5;
}

.product-select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    background: #0a0e1a;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-select:focus {
    outline: none;
    border-color: #000;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0a0e1a;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    border-color: #000;
    background: rgba(20, 25, 40, 0.4);
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 16px;
}

.quantity-input:focus {
    outline: none;
    border-color: #000;
}

.product-add-cart {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.product-add-cart:hover {
    background: #333;
    transform: scale(1.02);
}

.product-add-cart:active {
    transform: scale(0.98);
}

/* ============================================
   GALERIE HERO (CAROUSEL)
   ============================================ */
.hero-gallery {
    margin-top: 50px;
    margin-bottom: 0;
    width: 100%;
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0;
    padding-right: 0;
    height: calc(80vh - var(--header-height));
    min-height: calc(80vh - var(--header-height));
    max-height: calc(80vh - var(--header-height));
    max-width: 100%;
    overflow: visible;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}


@media (max-width: 1024px) {
    .hero-gallery {
        margin-top: max(env(safe-area-inset-top, 0px), clamp(50px, 5vh, 52px));
        padding-top: clamp(50px, 10vh, 100px);
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 140px;
        height: calc(100svh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        max-height: calc(100svh - var(--header-height));
        margin-bottom: 0;
        overflow: visible;
        box-sizing: border-box;
    }
    
    @supports (-webkit-appearance: none) {
        @media (max-width: 1024px) {
            .hero-gallery {
                margin-top: max(env(safe-area-inset-top, 0px), clamp(32px, 5vh, 52px));
            }
        }
    }
    
    .hero-dots {
        position: relative;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 85%;
        min-width: 80%;
        max-width: 90%;
        flex-wrap: nowrap;
    }
    
    .hero-dots button {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px;
        min-height: 12px;
        flex-shrink: 0;
        flex-grow: 0;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        padding: 0;
        margin: 0;
    }
    
    .hero-dots button.active {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(255, 255, 255, 1) !important;
        transform: scale(1.2);
    }
}

.gallery-container {
    display: flex;
    width: 100%;
    max-width: 1800px;
    height: 100%;
    max-height: 100%;
    position: relative;
    overflow: visible;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border: none;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: center;
    gap: 0;
    overflow: visible;
}

.gallery-item {
    position: relative;
    flex: 0 0 33.333%;
    width: 33.333%;
    height: 100%;
    overflow: visible;
    cursor: pointer;
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transform: scale(0.8);
    transform-origin: center center;
    margin: 0;
    padding: 0;
}

.gallery-item.active {
    transform: scale(1.08);
    z-index: 10;
}

.gallery-item.active .gallery-frame {
    border-radius: 22px !important;
    overflow: hidden;
}

.gallery-item.active .gallery-frame img {
    border-radius: 18px !important;
}

.gallery-frame {
    width: 70%;
    max-width: 80%;
    aspect-ratio: 4 / 5;
    height: 65vh;
    max-height: calc(90vh - var(--header-height));
    border-radius: 22px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0px;
    margin: 0 auto;
    position: relative;
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center center;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: none;
    filter: none;
    margin: 0 auto;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    text-align: center;
    color: #fff;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gallery-caption h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.gallery-caption p {
    margin: 6px 0 0;
    font-size: 12px;
    opacity: 0.85;
}

.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2vw;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.hero-control {
    pointer-events: auto;
    background: rgba(10, 12, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-control:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.hero-dots {
    position: fixed;
    bottom: 2svh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    pointer-events: auto;
    width: fit-content;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .hero-dots {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 12px;
        z-index: 10000;
        padding: 12px 24px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: fit-content;
    }
}


.hero-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0;
}

.hero-dots button.active {
    background: #f5f5f5 !important;
    border-color: #f5f5f5 !important;
    transform: scale(1.3);
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-dots button:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.hero-dots button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}


/* ============================================
   MODAL & OVERLAYS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 11000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 11, 19, 0.65);
    backdrop-filter: blur(18px) saturate(130%);
    overflow: hidden;
    touch-action: none;
    -webkit-overflow-scrolling: touch;
}

.modal::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect width='120' height='120' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    opacity: 0.6;
    mix-blend-mode: soft-light; 
    pointer-events: none;
}

.modal-image-frame {
    position: relative;
    margin: 4vh auto;
    width: 96%;
    max-width: 1400px;
    max-height: calc(100vh - 80px);
    min-height: 85vh;                 /* Hauteur minimale fixe plus élevée pour uniformiser */
    height: 85vh;                      /* Hauteur fixe pour garantir la cohérence */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 28px 32px;
    backdrop-filter: blur(32px) saturate(160%);
    box-shadow: 0 35px 130px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.modal-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    height: 100%;                       
    min-height: 75vh;                  
    background: transparent;
}

.modal-image-frame:not(.with-text-panel) .modal-inner {
    gap: 24px;                        
}

.modal-image-frame:not(.with-text-panel) #modalImage {
    flex: 0 1 60%;                    
    max-width: 100%;
    width: 100%;
}

.modal-image-frame:not(.with-text-panel) .modal-text-panel {
    flex: 0 1 40%;                    
    visibility: hidden;               
    display: flex;                    
    min-width: 0;                    
}

.modal-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 2002;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.modal-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.modal-dots button.active {
    background: #f5f5f5 !important;
    border-color: #f5f5f5 !important;
    transform: scale(1.3);
}

.modal-dots button:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

@media (min-width: 1025px) {
    .modal-dots {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10000;
        padding: 12px 24px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modal-dots button {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
    }
    
    .modal-dots button.active {
        background: #f5f5f5 !important;
        border-color: #f5f5f5 !important;
        transform: scale(1.3);
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .modal-dots button:hover {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.1);
    }
}

/* Fond du cadre modal : uni, sans overlay supplémentaire pour éviter
   toute différence de couleur derrière les photos */
.modal-image-frame::before,
.modal-image-frame::after {
    display: none !important;
}

.modal-text-panel {
    flex: 0 1 40%;                    
    display: none;                    
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    background: transparent;          
    min-width: 0;                    
    box-sizing: border-box;
}

.modal-text-panel h3 {
    margin: 0 0 6px 0;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: bold;
    letter-spacing: 0.04em;
    text-align: left;
}

.modal-text-panel p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: normal;
    text-align: justify;
}

.modal-image-frame.with-text-panel .modal-text-panel {
    display: flex;
    visibility: visible;               
}

#modalImage {
    flex: 0 1 60%;                    
    width: 100%;
    height: auto;
    max-height: 75vh;                 
    min-height: 60vh;                 
    object-fit: contain;
    border-radius: 0;
    filter: none;
    align-self: center;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
}

#modalImage.first-slide {
    margin-top: 3vh;
    margin-bottom: 3vh;
    max-height: 70vh;
}

@media (min-width: 1025px) {
    .modal-image-frame.with-text-panel .modal-text-panel {
        flex: 0 1 35%;
        min-width: 300px;
        max-width: 450px;
    }
    
    .modal-image-frame.with-text-panel #modalImage {
        flex: 0 1 65%;
        max-width: 65vh;
        width: auto;
    }
    
    .modal-image-frame.with-text-panel #modalImage.first-slide {
        max-width: 80vh;
    }
}

.annecy-fullscreen-container {
    position: relative;
    margin: 2.5vh auto 1.5vh;
    max-width: 92%;
    min-height: calc(100vh - 8vh);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 28px 32px;
    backdrop-filter: blur(32px) saturate(160%);
    box-shadow: 0 35px 130px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.annecy-fullscreen-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(10,10,10,0.35));
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
}

.annecy-fullscreen-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23noise)' opacity='0.16'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 2;
}

.annecy-fullscreen-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
}

.annecy-fullscreen-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.annecy-fullscreen-slide.active {
    display: flex;
    position: relative;
    z-index: 10;
}

.annecy-fullscreen-slide img {
    max-width: 100%;
    max-height: calc(100vh - 12vh);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.35));
}

.annecy-fullscreen-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 2002;
}

.annecy-fullscreen-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.annecy-fullscreen-dots button.active {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

@media (min-width: 1025px) {
    .annecy-fullscreen-dots {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10000;
        padding: 12px 24px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .annecy-fullscreen-dots button {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
    }
    
    .annecy-fullscreen-dots button.active {
        background: #f5f5f5 !important;
        border-color: #f5f5f5 !important;
        transform: scale(1.3);
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .annecy-fullscreen-dots button:hover {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.1);
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #ffffff !important;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.close-modal > * {
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

#imageModal .close-modal {
    top: clamp(20px, 2.5vh, 28px);
    right: clamp(20px, 2.5vw, 28px);
    width: clamp(40px, 5vw, 48px);
    height: clamp(40px, 5vw, 48px);
    min-width: clamp(40px, 5vw, 48px);
    min-height: clamp(40px, 5vw, 48px);
    max-width: clamp(40px, 5vw, 48px);
    max-height: clamp(40px, 5vw, 48px);
    font-size: clamp(24px, 3vw, 32px);
    border-radius: 50% !important;
}

@media (max-width: 1024px) {
    .close-modal {
        top: clamp(12px, 1.5vh, 18px);
        right: clamp(12px, 1.5vw, 18px);
        width: clamp(36px, 4.5vw, 44px);
        height: clamp(36px, 4.5vw, 44px);
        min-width: clamp(36px, 4.5vw, 44px);
        min-height: clamp(36px, 4.5vw, 44px);
        max-width: clamp(36px, 4.5vw, 44px);
        max-height: clamp(36px, 4.5vw, 44px);
        font-size: clamp(22px, 2.8vw, 28px);
        border-radius: 50% !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
    
    #imageModal .close-modal {
        top: clamp(12px, 1.5vh, 18px);
        right: clamp(12px, 1.5vw, 18px);
        width: clamp(36px, 4.5vw, 44px);
        height: clamp(36px, 4.5vw, 44px);
        min-width: clamp(36px, 4.5vw, 44px);
        min-height: clamp(36px, 4.5vw, 44px);
        max-width: clamp(36px, 4.5vw, 44px);
        max-height: clamp(36px, 4.5vw, 44px);
        font-size: clamp(22px, 2.8vw, 28px);
        border-radius: 50% !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 2001;
}

.modal-prev,
.modal-next {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% !important;
    color: #fff;
    font-size: 24px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 50%;
        width: 50%;
    }
    
    .gallery-item {
        height: calc(var(--viewport-height) - var(--header-height));
    }
    
    .gallery-container {
        height: calc(var(--viewport-height) - var(--header-height));
    }

    /* Sur tablettes et petits laptops, texte au-dessus de la photo mais
       l'ensemble reste centré dans le cadre */
    .modal-image-frame {
        min-height: auto;              
        height: auto;
    }
    
    .modal-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        min-height: auto;              
        height: auto;
    }

    .modal-text-panel {
        flex: 0 0 auto;
        width: 100%;
        max-width: 90%;
        align-items: center;
        text-align: center;
    }

    .modal-text-panel p {
        text-align: justify;
    }

    #modalImage {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        max-height: 60vh;
    }

    .annecy-section,
    .maroc-section {
        width: 100%;
        padding: clamp(20px, 4vh, 40px) min(4%, 20px);
    }

    .annecy-text {
        text-align: left;
        max-width: 100%;
        align-items: flex-start;
    }
    
    .annecy-text p {
        text-align: justify;
    }
}

@media (max-width: 1024px) {
    .nav-links-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 1024px) {
    .header {
        position: sticky;
        top: 0;
        padding-top: max(env(safe-area-inset-top, 0px), clamp(28px, 4.5vh, 48px));
        padding-bottom: clamp(8px, 1vh, 12px);
        min-height: auto;
        height: auto;
    }
    
    @supports (-webkit-appearance: none) {
        @media (max-width: 1024px) {
            .header {
                padding-top: max(env(safe-area-inset-top, 0px), clamp(32px, 5vh, 52px));
            }
        }
    }
    
    .nav-container {
        flex-direction: row;
        gap: 0.5rem;
        padding: clamp(6px, 0.8vh, 10px) min(4%, 20px);
        align-items: center;
        width: 100%;
        min-height: auto;
        height: auto;
    }
    
    .nav-left {
        flex: 0 0 auto;
        justify-content: flex-start;
    }
    
    .nav-right {
        flex: 0 0 auto;
        justify-content: flex-end;
    }
    
    .dropdown-menu {
        right: 3%;
        left: 3%;
        min-width: auto;
    }
    
    .header.scrolled {
        padding-top: max(env(safe-area-inset-top, 0px), clamp(12px, 1.8vh, 18px));
        padding-bottom: clamp(4px, 0.6vh, 8px);
        min-height: auto;
    }
    
    .header.scrolled .nav-container {
        padding: clamp(4px, 0.6vh, 8px) min(4%, 20px);
    }
}
@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        margin: 0;
    }
    
    .gallery-item.active {
        transform: scale(1);
        opacity: 1;
    }
    
    .gallery-item:not(.active) {
        opacity: 0;
        pointer-events: none;
    }
    
    .gallery-container {
        height: calc(100svh - var(--header-height) - clamp(50px, 5vh, 60px));
        max-height: calc(100svh - var(--header-height) - clamp(50px, 5vh, 60px));
        padding: 0;
        border-radius: 0;
        align-items: center;
        background: transparent;
        border: none;
    }

    .gallery-frame {
        width: 88%;
        height: 82%;
        padding: 4px;
        border-radius: 18px;
    }

    .gallery-frame img {
        width: calc(100% - 8px);
        height: calc(100% - 8px);
        border-radius: 14px;
    }

    
    .gallery-track {
        gap: 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .annecy-text {
        text-align: center;
    }

    .annecy-gallery {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 4px 0;
        min-height: 20px;
        border-bottom: none;
    }
    
    .dropdown-menu {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .brand-name {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        text-transform: lowercase;
        font-weight: normal;
    }
    
    .menu-toggle {
        font-size: clamp(1.7rem, 4vw, 2.2rem);
    }
    
    .brand-name-short {
        display: inline;
    }
    
    .brand-name-full {
        display: none;
    }
    
    .modal {
        display: none !important;
    }
    
    .modal.modal-open {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Modal slider sur mobile : hauteur fixe identique pour toutes les slides */
    .modal-image-frame {
        width: 94%;
        max-width: 94%;
        margin: 6vh auto;
        padding: 20px 16px;
        padding-bottom: 30px;
        border-radius: 18px;
        border: none;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        height: 80vh;              /* hauteur FIXE identique pour toutes */
        min-height: 80vh;
        max-height: 80vh;
        overflow: hidden;           
        box-sizing: border-box;
    }
    
    .modal-image-frame.with-text-panel {
        height: 80vh !important;
        min-height: 80vh !important;
        max-height: 80vh !important;
        overflow: hidden !important;
    }
    
    .modal-inner {
        display: flex;
        flex-direction: column;
        align-items: center;        
        justify-content: flex-start;
        gap: 16px;
        width: 100%;
        height: 100%;              
        background: transparent;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;          
    }
    
    .modal-image-frame.with-text-panel .modal-inner {
        gap: 16px !important;
    }
    
    
    .modal-text-panel {
        width: 100%;
        flex: 0 0 auto;
        display: none;
        text-align: left;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .modal-image-frame.with-text-panel .modal-text-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;             /* taille fixe basée sur le contenu */
        box-sizing: border-box;
        margin: 0 auto;             
    }
    
    .modal-image-frame.with-text-panel .modal-text-panel h3 {
        margin: 0 0 12px 0;
        font-size: clamp(20px, 4vw, 26px);
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modal-image-frame.with-text-panel .modal-text-panel p {
        margin: 0;
        font-size: clamp(14px, 3vw, 16px);
        line-height: 1.6;
        text-align: justify;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    #modalImage {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        border-radius: 0;
        border: none;
        padding: 0;
        margin: 0 !important;
        display: block;
        box-sizing: border-box;
        flex: 1 1 0 !important;
        min-height: 0 !important;
    }
    
    .modal-image-frame.with-text-panel .modal-inner,
    .modal-image-frame:not(.with-text-panel) .modal-inner {
        justify-content: flex-start;
        align-items: stretch;
        gap: 16px;
    }
    
    .modal-image-frame.with-text-panel #modalImage {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 !important;
        flex: 1 1 0 !important;      
        min-height: 0 !important;   
        display: block !important;
    }
    
    #modalImage.first-slide {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 !important;
        flex: 1 1 0 !important;
        min-height: 0 !important;
        display: block !important;
    }
    
    .modal-image-frame:not(.with-text-panel) #modalImage {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 !important;
        flex: 1 1 0 !important;
        min-height: 0 !important;
        display: block !important;
    }

    .modal-dots {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        width: fit-content;
        min-width: auto;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: nowrap;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 2002;
    }
    
    .modal-dots button {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px;
        min-height: 12px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        flex-shrink: 0;
        flex-grow: 0;
        padding: 0;
        margin: 0;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }
    
    .modal-dots button.active {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(255, 255, 255, 1) !important;
        transform: scale(1.2);
    }
    
    .gallery-container {
        border-radius: 0;
        background: transparent;
        border: none;
    }
    
    .gallery-frame {
        width: 94%;
        max-width: 94%;
        aspect-ratio: 9 / 16;
        height: 80svh;
        max-height: 100%;
        margin: 0 auto;
        padding: 3px;
        border-radius: 22px;
    }
    
    .gallery-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 18px;
    }
    
    .gallery-caption {
        bottom: 8%;
        padding: 8px 16px;
        border-radius: 10px;
    }
    
    .gallery-caption h3 {
        font-size: 13px;
    }
    
    .hero-controls {
        padding: 0 1rem;
    }
    
    .hero-control {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 50%;
        min-width: 44px;
        min-height: 44px;
    }
    
    .carousel-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 100;
        backdrop-filter: blur(8px);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .carousel-prev {
        left: -6px;
    }
    
    .carousel-next {
        right: -6px;
    }
    
    .carousel-arrow::before {
        width: 10px !important;
        height: 10px !important;
        border-top-width: 2px !important;
        border-right-width: 2px !important;
        display: block !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
    }
    
    .carousel-arrow:hover {
        background: rgba(255, 255, 255, 0.6) !important;
    }
    
    .modal-prev,
    .modal-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 50%;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .presentation-section {
        height: calc(100vh - 140px);
        margin-top: 120px;
    }

    .presentation-text {
        padding: 20px 30px;
        max-width: 90%;
    }

    .scroll-indicator {
        font-size: 20px;
        bottom: 30px;
    }

    .presentation-content {
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .presentation-title {
        font-size: clamp(24px, 6vw, 40px);
    }

    .shop-section {
        padding: 40px 20px;
    }

    .shop-info {
        margin-bottom: 40px;
    }

    .shop-info p {
        font-size: 14px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 30px;
    }

    .shop-item-image {
        border-width: 6px;
        padding: 8px;
    }

    .shop-item-info {
        padding: 16px 0;
    }

    .shop-item-title {
        font-size: 16px;
    }

    .shop-item-price {
        font-size: 14px;
    }

    .shop-item-button {
        padding: 8px 20px;
        font-size: 12px;
    }

    .product-section {
        padding: 40px 20px;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-images {
        position: relative;
        top: 0;
    }

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

    .product-price {
        font-size: 18px;
    }

    .product-navigation {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: clamp(0.6rem, 1vw, 0.6875rem);
    }
    
    .brand-name {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }
    
    .icon-link {
        font-size: clamp(0.8rem, 1.3vw, 1rem);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .carousel-dots {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .hero-dots {
        gap: 6px !important;
        padding: 8px 14px !important;
        width: 85% !important;
        min-width: 80% !important;
        max-width: 90% !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }
    
    .hero-dots button {
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        background: rgba(255, 255, 255, 0.4) !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-dots button.active {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(255, 255, 255, 1) !important;
        transform: scale(1.15) !important;
    }
    
    .modal-dots {
        gap: 8px !important;
        padding: 10px 16px !important;
        width: fit-content !important;
        min-width: auto !important;
        max-width: 90% !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }
    
    .modal-dots button {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        background: rgba(255, 255, 255, 0.4) !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .modal-dots button.active {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(255, 255, 255, 1) !important;
        transform: scale(1.2) !important;
    }
}

@media (max-width: 1024px) {
    .presentation-hero-inner {
        grid-template-columns: 1fr;
    }
    
    .presentation-video-frame {
        aspect-ratio: 4 / 5;
    }
    
    .slogan-subtitle {
        max-width: 80%;
        color: rgb(5, 6, 22);
    }
}

@media (max-width: 1024px) {
    .presentation-hero {
        padding: 80px 24px 60px;
    }
    
    .presentation-video-frame {
        border-radius: 28px;
    }
    
    .story-columns {
        grid-template-columns: 1fr;
    }
    
    .story-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    #presentationSlogan {
        font-size: clamp(20px, 6vw, 32px);
        color: rgb(5, 6, 22);
    }
    
    .slogan-glass {
        padding: 24px;
    }
    
    .presentation-story {
        padding: 60px 20px 90px;
    }
}

/* ============================================
   CART PAGE STYLES
   ============================================ */

.cart-section {
    padding: 120px min(6vw, 120px) 80px;
    background: #0a0e1a;
    color: #f5f5f5;
    min-height: calc(100vh - 80px);
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-title {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    color: #f5f5f5;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.cart-items {
    background: #0a0e1a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(245, 245, 245, 0.5);
}

.cart-empty p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cart-continue-shopping {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.cart-continue-shopping:hover {
    background: #333;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(20, 25, 40, 0.4);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 18px;
    margin: 0 0 8px;
    color: #f5f5f5;
    letter-spacing: 0.03em;
}

.cart-item-size {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px;
}

.cart-item-price {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0a0e1a;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 18px;
    color: #f5f5f5;
}

.quantity-btn:hover {
    background: rgba(20, 25, 40, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-size: 16px;
}

.cart-item-total {
    font-size: 18px;
    font-weight: 500;
    color: #f5f5f5;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(245, 245, 245, 0.5);
    font-size: 18px;
    padding: 8px;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #f5f5f5;
}

.cart-summary {
    background: #0a0e1a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.cart-totals {
    margin-bottom: 30px;
}

.cart-subtotal,
.cart-shipping,
.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-total {
    border-bottom: none;
    border-top: 2px solid #000;
    padding-top: 20px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 500;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 15px;
}

.checkout-btn:hover:not(:disabled) {
    background: #333;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.cart-security-note {
    text-align: center;
    font-size: 12px;
    color: rgba(245, 245, 245, 0.5);
    margin: 0;
}

.cart-security-note i {
    margin-right: 5px;
}

@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: relative;
        top: 0;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 2;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   CONFIRMATION PAGE STYLES
   ============================================ */

.confirmation-section {
    padding: 120px min(6vw, 120px) 80px;
    background: #0a0e1a;
    color: #f5f5f5;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #0a0e1a;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.confirmation-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

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

.confirmation-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

.confirmation-text {
    text-align: center;
}

.confirmation-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease-out;
}

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

.confirmation-title {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 0.05em;
    color: #1c1a16;
    margin-bottom: 20px;
}

.confirmation-message {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.confirmation-details {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 8px;
    text-align: left;
}

.confirmation-info {
    font-size: 16px;
    line-height: 1.8;
    color: #f5f5f5;
}

.confirmation-info p {
    margin-bottom: 10px;
}

.confirmation-info strong {
    color: #1c1a16;
    font-weight: 600;
}

.confirmation-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirmation-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #1c1a16;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.confirmation-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.confirmation-btn.secondary {
    background-color: transparent;
    color: #1c1a16;
    border: 2px solid #1c1a16;
}

.confirmation-btn.secondary:hover {
    background-color: #1c1a16;
    color: #fff;
}

/* ============================================
   SHIPPING FORM STYLES
   ============================================ */

.shipping-form-container {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.shipping-form-title {
    font-size: 24px;
    letter-spacing: 0.03em;
    color: #1c1a16;
    margin-bottom: 20px;
}

.shipping-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    color: #f5f5f5;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 16px;
    color: #f5f5f5;
    background: #0a0e1a;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1c1a16;
}

.calculate-shipping-btn {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: #1c1a16;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.calculate-shipping-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.calculate-shipping-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .confirmation-container {
        padding: 40px 20px;
    }
    
    .confirmation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .confirmation-image {
        order: 2;
    }
    
    .confirmation-text {
        order: 1;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FALLBACKS POUR VIEUX NAVIGATEURS (Safari < 11, iOS < 11)
   ============================================ */

@supports not (width: clamp(1px, 1vw, 2px)) {
    .photo-slogan-glass {
        top: 20px;
        padding: 6px 14px;
        font-size: 0.85rem;
        letter-spacing: 0.15em;
    }
    
    .presentation-simple {
        padding: 12px min(4%, 20px);
        padding-bottom: clamp(20px, 4vh, 40px);  
        gap: 40px;
    }
        
    .annecy-section,
    .maroc-section {
        padding: 12px min(4%, 20px);
        padding-bottom: clamp(20px, 4vh, 40px);  
    }
    

    .hero-gallery {
        padding: 10px;
    }
    
    .gallery-frame {
        padding: 5px;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .dropdown-menu {
        background: rgba(10, 14, 26, 0.98);
    }
    
    .modal-image-frame {
        background: rgba(255, 255, 255, 0.15);
    }
}

@supports not (display: grid) {
    .projects-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .projects-grid > * {
        flex: 1 1 300px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .modal {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    img {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
}

/* ============================================
   TYPOGRAPHIE GLOBALE
   ============================================ */

body {
    font-family: 'Nyght Serif', serif;
}

p {
    font-family: 'Nyght Serif', serif;
    font-weight: 100;
    font-size: clamp(10px, 1.4vw, 18px);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
    text-wrap: balance;
    hyphens: auto;
}

.brand-name,
.brand-name-full,
.brand-name-short {
    font-family: 'Nyght Serif', serif;
    font-weight: bold;
}

h1,
.presentation-title,
.cart-title,
.shipping-form-title,
.confirmation-title,
.cart-item-title {
    font-family: 'Nyght Serif', serif;
}

.annecy-slider h3, .maroc-slider h3 {
    font-family: 'Nyght Serif', serif;
    font-weight: bold;
    font-size: clamp(16px, 1.4vw, 24px);
    text-transform: uppercase;
    color: #ffc247;
    text-align: center;
}

h2 {
    font-family: 'Nyght Serif', serif;
    font-weight: bold;
    font-size: clamp(18px, 1.4vw, 32px);
    text-transform: uppercase;
    color: #ffc247;
    text-align: left;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: clamp(60px, 8vh, 120px) min(4%, 40px);
    background: #0a0e1a;
    color: #f5f5f5;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.contact-header {
    text-align: left;
    margin-bottom: clamp(40px, 6vh, 60px);
}

.contact-header h1 {
    font-family: 'Nyght Serif', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: bold;
    color: #ffc247;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-email {
    display: inline-block;
    font-size: clamp(16px, 1.8vw, 20px);
    color: #f5f5f5 !important;
    text-decoration: none !important;
    margin-bottom: 24px;
    transition: color 0.3s ease;
    -webkit-text-fill-color: #f5f5f5 !important;
}

.contact-email:link,
.contact-email:visited,
.contact-email:active {
    color: #f5f5f5 !important;
    -webkit-text-fill-color: #f5f5f5 !important;
}

.contact-email:hover {
    color: #ffc247 !important;
    -webkit-text-fill-color: #ffc247 !important;
}

.contact-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f5 !important;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none !important;
    -webkit-text-fill-color: #f5f5f5 !important;
}

.social-link:link,
.social-link:visited,
.social-link:active {
    color: #f5f5f5 !important;
    -webkit-text-fill-color: #f5f5f5 !important;
}

.social-link:hover {
    color: #ffc247 !important;
    -webkit-text-fill-color: #ffc247 !important;
    transform: scale(1.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #f5f5f5;
    margin-bottom: 8px;
    font-weight: 400;
    font-family: 'Nyght Serif', serif;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #f5f5f5 !important;
    background: rgba(20, 25, 40, 0.6) !important;
    background-color: rgba(20, 25, 40, 0.6) !important;
    font-family: 'Nyght Serif', serif;
    transition: border-color 0.3s ease, background 0.3s ease, background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffc247;
    background: rgba(20, 25, 40, 0.8) !important;
    background-color: rgba(20, 25, 40, 0.8) !important;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Nyght Serif', serif;
    line-height: 1.6;
    background: rgba(20, 25, 40, 0.6) !important;
    background-color: rgba(20, 25, 40, 0.6) !important;
}

.contact-form textarea:focus {
    background: rgba(20, 25, 40, 0.8) !important;
    background-color: rgba(20, 25, 40, 0.8) !important;
}

.contact-form textarea::placeholder {
    color: rgba(245, 245, 245, 0.5) !important;
    opacity: 1;
}

.contact-form input::placeholder {
    color: rgba(245, 245, 245, 0.5) !important;
    opacity: 1;
}

.contact-submit-btn {
    align-self: flex-start;
    padding: 14px 32px;
    background: #ffc247;
    color: #0a0e1a;
    border: none;
    border-radius: 4px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    font-family: 'Nyght Serif', serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #ffd166;
    transform: translateY(-2px);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .contact-section {
        padding: clamp(40px, 6vh, 80px) min(4%, 20px);
    }
    
    .contact-container {
        max-width: 100%;
    }
    
    .contact-header {
        margin-bottom: clamp(30px, 5vh, 50px);
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-submit-btn {
        width: 100%;
        align-self: stretch;
    }
}

