:root {
    --gold: #D4AF37;
    --white2: #202020;
    --white: #FFFFFF;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--white);
    color: var(--black);
}

/* ===== HEADER AVEC SCROLL - FOND TRANSPARENT ===== */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

.fixed-header.hidden {
    transform: translateY(-100%);
}

.fixed-header a {
    color: var(--gold) !important;
    text-decoration: none;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: opacity 0.3s;
    cursor: pointer;
    background: transparent;
    padding: 0.5rem 1rem;
}

.fixed-header a:hover {
    opacity: 0.7;
}

.logo {
    font-family: 'Arial Narrow', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--gold);
}

/* ===== MENU LATÉRAL ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: auto;
    background: rgba(255,255,255,0.98);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    padding: 0 1rem;
    height: 70px;
    display: flex;
    align-items: center;
}

.side-menu.active {
    right: 80px;
}

.side-menu ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.side-menu a {
    text-decoration: none;
    color: var(--black);
    font-family: 'Arial Narrow', Arial, sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}

.side-menu a:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* ===== HERO - PLEIN ÉCRAN AVEC HAUTEUR TOTALE ===== */
/* ===== HERO - VIDÉO SANS CROPPING VERTICAL ===== */
.hero {
    width: 100%;
    height: 100vh;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-media {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* Vidéo native : hauteur fixe 100%, largeur qui s'adapte */
/* Vidéo hero : 
   - Par défaut : hauteur 100%, largeur auto → pas de déformation, mais peut être coupée latéralement 
   - Si l'écran est plus large que la vidéo : on passe en largeur 100% pour éviter les bandes noires */
.hero-media video {
    height: 100%;
    width: auto;
    min-width: 100%;  /* Largeur minimum = 100% du conteneur parent */
    object-fit: cover; /* Assure un remplissage sans déformation, coupure si nécessaire */
    object-position: center center; /* Centre la zone visible */
}
/* Quand l'écran est plus large que haut (paysage) et très large */
@media (min-aspect-ratio: 16/9) {
    .hero-media video {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}

/* Sur les écrans très hauts (format portrait), on passe en largeur 100% */
@media (max-aspect-ratio: 9/16) {
    .heroo-media video {
        height: auto;
        width: 100%;
    }
}

/* Images */
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Iframes */
.hero-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-iframe-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

/* ===== INDICATEUR DE SCROLL ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
    animation: bounce 2s infinite;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator i {
    color: var(--gold);
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* Masquer l'indicateur après scroll */
.scroll-indicator.hide {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

/* ===== SECTION SELECTED WORK ===== */
#selected-work-anchor {
    scroll-margin-top: 80px;
}

/* ===== SOCIAL ICONS ===== */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gold);
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.social-icon:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.social-icon:hover i {
    color: var(--black);
}

/* ===== GRILLE AVEC HAUTEUR ÉGALE ===== */
.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    background: var(--white);
}

.grid-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.grid-row.reverse {
    grid-template-columns: 1fr 2fr;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.small-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ===== MEDIA ITEMS - HAUTEUR ÉGALE ===== */
.media-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
}

.media-item.large {
    height: 100%;
}

.small-stack .media-item.small {
    height: 50%;
}

.media-thumbnail {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
}

.media-thumbnail img,
.media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

.media-thumbnail:hover img,
.media-thumbnail:hover video {
    transform: scale(1.03);
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

/* ===== PLAY BUTTON ===== */
.play-button {
    /*display:none !important;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 5;
}

.play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
}

.media-item[data-type="youtube"]:hover .play-button,
.media-item[data-type="vimeo"]:hover .play-button {
    opacity: 0;
}

/* ===== GOLD OVERLAY ===== */
.gold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:   rgba(212, 175, 55, 0.95);
    display: flex;
    /*align-items: center       /*flex-end;*/
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
	padding-bottom: 2rem;  /* Marge depuis le bas */
}

.gold-overlay h3 {
    color: white;
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
    font-family: 'Arial Narrow', Arial, sans-serif;
}

.media-thumbnail:hover .gold-overlay {
    opacity: 90%;
}

/* ===== TEXTES IFRAME ===== */
.media-item[data-type="texte"] .media-thumbnail {
    padding: 0;
    background: white;
    height: 100%;
    min-height: 300px;
    position: relative;
}

.media-item.large[data-type="texte"] .media-thumbnail {
    min-height: 500px;
    height: auto;
}

.media-item.large[data-type="texte"] .texte-wrapper {
    min-height: 500px;
    height: 100%;
}

.media-item.large[data-type="texte"] .text-iframe {
    height: 500px;
    min-height: 500px;
}

.media-item.small[data-type="texte"] .media-thumbnail {
    min-height: auto;
    height: 100%;
}

.media-item.small[data-type="texte"] .texte-wrapper {
    min-height: auto;
    height: 100%;
}

.media-item.small[data-type="texte"] .text-iframe {
    height: 100%;
    min-height: auto;
}

.texte-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    line-height: 0;
}

.text-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    pointer-events: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.text-lightbox-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(212, 175, 55, 0.95);
    color: black;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.text-lightbox-btn:hover {
    background: var(--gold);
    transform: scale(1.1);
}

/* ===== ABOUT FRAME ===== */
.about-frame {
    position: fixed;
    top: 0;
    right: -80%;
    width: 50%;
    height: 100%;
    background: white;
    z-index: 1002;
    transition: right 0.4s ease-out;
    box-shadow: none;/*-5px 0 30px rgba(0,0,0,0.2);*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-frame.active {
    right: 0;
}

.about-frame-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.close-about {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gold);
    transition: transform 0.3s;
    width: 40px;
    height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-about:hover {
    transform: scale(1.1);
}

.about-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
}

body.about-open {
    overflow: hidden;
}

/* ===== LIGHTBOX ===== */
/* ===== LIGHTBOX AMÉLIORÉE ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    cursor: pointer;
}

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

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 2001;
    transition: opacity 0.3s;
}

.close-lightbox:hover {
    opacity: 0.7;
}

/* En-tête de la lightbox avec le texte FLORENT ZARKA */
.lightbox-header {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 2001;
}

.lightbox-title {
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

/* Boutons de navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-50%) scale(1.1);
}

.prev-nav {
    left: 20px;
}

.next-nav {
    right: 20px;
}

.lightbox-content {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-media-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-media-container iframe,
#lightbox-media-container video,
#lightbox-media-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-header {
        top: 15px;
        left: 15px;
    }
    
    .lightbox-title {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .prev-nav {
        left: 10px;
    }
    
    .next-nav {
        right: 10px;
    }
}
/* ===== SECTION À PROPOS EN FIN DE PAGE ===== */
/*.about-section {
    width: 100%;
    background: var(--white);
    padding: 4rem 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

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

.about-footer-iframe {
    width: 100%;
    height: auto;
    min-height: 1200px;
    border: none;
    background: #fff;
    display: block;
}
@media (max-width: 480px) {
    .about-footer-iframe {
        min-height: 350px;
    }
}
    .about-footer-iframe {
        min-height: 450px;
    }*/
	
.about-section {
    width: 100%;
    overflow-x: hidden;
}

.about-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.about-footer-iframe {
    width: 100%;
    display: block;
    border: none;
    min-height: 800px;
}

/* Pour que l'iframe prenne toute la largeur de l'écran */
@media (min-width: 1200px) {
    .about-footer-iframe {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}

.about-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-header h2 {
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-separator {
    width: 100%;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}


.about-footer-iframe:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .grid-row,
    .grid-row.reverse {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .small-stack {
        flex-direction: row;
        height: auto !important;
    }
    
    .small-stack .media-item.small {
        height: auto !important;
        width: 50%;
        aspect-ratio: 16 / 9;
    }
    
    .media-item.small {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
    
    .media-item.large {
        aspect-ratio: 16 / 9;
        height: auto !important;
    }
    
    .media-thumbnail {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .media-thumbnail img,
    .media-thumbnail video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .media-item.large .media-thumbnail {
        position: relative;
        padding-bottom: 56.25%;
    }
    
    .media-item.large .media-thumbnail img,
    .media-item.large .media-thumbnail video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .media-item[data-type="video"] .media-thumbnail,
    .media-item[data-type="youtube"] .media-thumbnail,
    .media-item[data-type="vimeo"] .media-thumbnail {
        position: relative;
    }
    
    .media-item[data-type="video"] .media-thumbnail video,
    .media-item[data-type="youtube"] .media-thumbnail img,
    .media-item[data-type="vimeo"] .media-thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero {
        height: 100vh;
    }
    
    .hero-media {
        height: 100vh;
    }

    .hero-social {
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon i {
        font-size: 1.2rem;
    }

    .gold-overlay h3 {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .fixed-header {
        padding: 0.8rem 1rem;
        gap: 1rem;
    }
    
    .fixed-header a {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }

    .media-item.large[data-type="texte"] .media-thumbnail {
        min-height: 300px;
    }

    .media-item.large[data-type="texte"] .text-iframe {
        height: 300px;
    }

    .media-item[data-type="texte"] .media-thumbnail,
    .texte-wrapper {
        min-height: 200px;
    }

    .about-frame {
        width: 100%;
        right: -100%;
    }
    
    .scroll-indicator {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-indicator i {
        font-size: 18px;
    }
    
    .about-section {
        padding: 2rem 1rem;
        margin-top: 0;
    }
    
    .about-header h2 {
        font-size: 1.8rem;
    }
    

}

