#content {
    transition: opacity 0.3s ease-in-out;
}


.gpu-optimized {
    transform: translateZ(0);
}
:root {
  --color-primary:   #161616;  /* Couleur dominante, souvent utilisée pour les fonds ou le texte fort */
  --color-secondary: #A3A3A3;  /* Couleur secondaire, parfaite pour les éléments de soutien */
  --color-accent:    #FCFCFC;  /* Couleur d’accent ou de contraste */
}


/* Masque le curseur sur toutes les zones du site et pour les Ã©lÃ©ments interactifs */
html, body, a, button, input, textarea, select, *, iframe {
    cursor: url(/assets/images/cursor.png) !important;
}

/* Reset des marges, padding et box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles globaux */
html, body {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Suppression des barres de dÃ©filement */
::-webkit-scrollbar {
    display: none;  /* Pour les navigateurs basÃ©s sur WebKit (Chrome, Safari) */
}

html {
    scrollbar-width: none;         /* Pour Firefox */
    scroll-behavior: smooth;
}


/* Ajout d'une animation de fondu */
body {
    -ms-overflow-style: none; /* Pour Edge et IE */
    
}




        


/* Styles de base */
.header {
    position: absolute;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem 1rem 2rem;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-30px);
}

.header.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 5000;

}

.logo img {
    height: 50px;
}





.nav {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.nav p {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: -1px;
    font-style: normal;
    color: grey;
    transition: color 0.3s ease;
}

/* Removed .center-nav and .right-nav classes */

/* --- Responsive Burger Menu --- */
.menu-toggle {
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    z-index: 5000;
    position: relative;
    transition: filter 0.3s ease;
}

.menu-toggle.active {
    filter: invert(1);
}

/* Mobile nav slides from top */
/* --- Mobile nav slides from top: fluid open/close, no .closing class --- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #161616;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 60px 20px;
    transform: translateY(-100%);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 4000;
    pointer-events: none;
}

.mobile-nav.active {
    transform: translateY(0);
    pointer-events: auto;
}


.mobile-nav a {
    color: #777;
    font-size: 1.125rem;
    margin-bottom: 20px;
    text-decoration: none;
}



@media (min-width: 769px) {
  .menu-toggle,
  .mobile-nav {
    display: none;
  }
  .nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}













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







/* Conteneur principal */
.breadcrumb-container {
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    margin-top: 20px;
}

/* Liste du fil d'Ariane */
.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
    font-size: 0.875rem;
    color: #777;
    font-weight: 400;
    text-transform: lowercase;
}

/* Style des Ã©lÃ©ments */
.breadcrumb li {
    display: flex;
    align-items: center;
}

/* Liens */
.breadcrumb li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.breadcrumb li a:hover {
    color: black;
}

/* Ajout du sÃ©parateur "â†’" entre les Ã©lÃ©ments */
.breadcrumb li:not(:last-child)::after {
    content: "â†’";
    margin: 0 8px;
    color: #999;
}













/* TYPOGRAPHIE */

h1 {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
    font-size: 6rem;
	font-style: italic;
	color: var(--color-accent);
    	letter-spacing: -4px;
}

h2 {
    font-family: "Inter", serif;
    font-size: 8rem;
    font-optical-sizing: auto;
    font-weight: 400;
}

.home-title {
    margin-left: 120;
    color: var(--color-accent);
}

h3 {
    font-family: "Inter", serif;
    font-size: clamp(4rem, 15vw, 6.375rem);
    letter-spacing: -1px;
    font-optical-sizing: auto;
    font-weight: 400;
    /* margin: 0 auto; */
    color: var(--color-accent);
}



h4 {
    font-family: "Azeret Mono", monospace;    
    font-style: static;
	font-size: 1.2rem;
	font-optical-sizing: auto;
	font-weight: 500;
    color: var(--color-accent);
}

h6 {
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: clamp(1.5rem, 15vw, 90rem);
    letter-spacing: -6px;
    text-align: center;
    font-family: "Inter", serif;
    color: var(--color-primary);
    margin: -16 auto;
    /* Centre la ligne */
}

p {
    font-family: "Inter", serif;
    font-size: 1.5rem;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.email {
    font-family: "Inter", serif;
    font-size: 0.6875rem;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

a {
    text-decoration: none !important;
    color: var(--color-secondary);
    

}

a p:hover {
    color: var(--color-accent);
}


/* Added styles for header layout */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    width: fit-content;
    flex: 1;
    display: flex;
    justify-content: center;
}

.point {
    font-size: 1.5rem;
}

.header-right {
    width: fit-content;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-right a p {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: -1px;
    font-style: normal;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.header-right a p {
    transition: color 0.3s ease;
}

.header-right a:hover p {
    color: var(--color-accent); /* ou la couleur souhaitÃ©e au hover */
}






.contact-overlay {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #d5d5d5 0%, #e8e8e8 100%);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: top 0.6s ease, opacity 0.6s ease, visibility 0.6s ease;
    overflow-y: auto;
}

.contact-overlay.active {
    top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-overlay .container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 100vh;
    padding-left: 6px;
    padding-right: 6px;
}

.contact-overlay .header-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 12px 32px;
    border-radius: 0px 0px 32px 32px ;
    backdrop-filter: blur(10px);
    position: relative;
}



.contact-overlay .close-btn {
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.contact-overlay .close-btn:hover {
    color: #666;
}

.contact-overlay .hero {
    background: rgba(255, 255, 255, 0.3);
    padding: 80px 40px;
    border-radius: 32px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-overlay .hero h1 {
    font-size: 72px;
    line-height: 0.9;
    margin: 3rem;
    font-weight: 600;
    height: fit-content;
    color: #333;
    letter-spacing: -4px;
}


.contact-overlay .hero p {
    font-size: 18px;
    color: #999;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.contact-overlay .form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.contact-overlay .form-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.contact-overlay .form-field {
    background: rgba(255, 255, 255, 0.3);
    padding: 30px 40px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    flex: 1;
}

.contact-overlay .form-field label {
    font-weight: 600;
    font-size: 18px;
    min-width: 80px;
    color: #333;
}

.contact-overlay .form-field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.contact-overlay .form-field input::placeholder {
    color: #999;
}

.contact-overlay .recipient-badge {
    background: #2d2d2d;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
}

.contact-overlay .copy-email {
    margin-left: auto;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    font-style: italic;
    transition: color 0.3s ease;
}

.contact-overlay .copy-email:hover {
    color: #333;
}

.contact-overlay .form-right {
    
    background: rgba(255, 255, 255, 0.3);
    padding: 30px 40px;
    border-radius: 32px;
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: row;
    align-items: flex-start; /* aligne le label et le textarea */
    gap: 12px; /* espace entre textarea et bouton */
    position: relative; /* nécessaire si tu gardes absolute pour le bouton */

}

.contact-overlay .form-right label {
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    color: #333;
}

.contact-overlay .form-right textarea {
    width: calc(100% - 300px); /* largeur ajustée pour laisser la place au bouton */
    height: 250px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #666;
    font-style: italic;
    font-family: "Inter", sans-serif;
    resize: none;
}

.contact-overlay .form-right textarea::placeholder {
    color: #999;
}

.contact-overlay .send-button {
    position: absolute;
    right: 6px; /* utilise un décalage depuis le bord plutôt que margin */
    top: 6px;   /* décalage depuis le haut */
    bottom: 6px; /* pour respecter la hauteur du conteneur */
    background: #2d2d2d;
    color: white;
    width: 15%;
    border-radius: 28px;
    cursor: pointer;
    border: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -1px;
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box; /* pour inclure padding et border dans la hauteur */
}

.contact-overlay .send-button:hover {
    background: #000;
    transform: translateX(-6px); /* décalage uniquement horizontal */
}

.contact-overlay .footer {
    background: rgba(255, 255, 255, 0.3);
    padding: 20px 40px;
    border-radius: 32px 32px 0px 0px;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-overlay .footer a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-overlay .footer a:hover {
    color: #000;
}

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

    .contact-overlay .send-button {
        position: static;
        writing-mode: horizontal-tb;
        width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .contact-overlay .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .contact-overlay .header-contact,
    .contact-overlay .hero,
    .contact-overlay .form-field,
    .contact-overlay .form-right,
    .contact-overlay .footer {
        padding: 20px;
    }

    .contact-overlay .hero h1 {
        font-size: 36px;
    }
}

.highlight-font {
font-family: 'Nyght Serif';    
font-weight: 100;
    font-style: italic;
    font-display: swap;
    font-size: 6rem;
}







@media (max-width: 768px) {
    .header {
        position: fixed;
        z-index: 1000;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-left {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-left .logo {
        flex-direction: row;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
        cursor: pointer;
        z-index: 5000;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000000;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 60px 20px;
        transform: translateY(-100%);
        transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 4000;
        pointer-events: none;
    }

    .mobile-nav a {
        color: #777;
        text-transform: uppercase;
        font-size: 4rem;
        font-weight: 400;
        line-height: 50%;
        text-decoration: none;
    }

    .mobile-nav.active {
        transform: translateY(0);
        pointer-events: auto;
    }

    .header-center,
    .header-right {
        display: none;
    }
}

/* .mobile-nav.closing supprimée, fermeture gérée par transform+opacity+pointer-events */

/* Animation pour les éléments de la nav mobile */
@keyframes mobileNavItemIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-nav a {
    opacity: 0;
    transform: translateY(20px);
}

/* Quand la nav est active, appliquer l'animation avec délai progressif pour chaque élément */
.mobile-nav.active a {
    animation: mobileNavItemIn 0.6s forwards;
    animation-delay: 1s;
}

.mobile-nav.active a:nth-child(1) { animation-delay: 0.8s; }
.mobile-nav.active a:nth-child(2) { animation-delay: 0.85s; }
.mobile-nav.active a:nth-child(3) { animation-delay: 0.9s; }
.mobile-nav.active a:nth-child(4) { animation-delay: 0.95s; }
.mobile-nav.active a:nth-child(5) { animation-delay: 1s; }

/* Tous les éléments internes de .contact-overlay prennent 100% de la largeur */
.contact-overlay .container,
.contact-overlay .header-contact,
.contact-overlay .hero,
.contact-overlay .form-section,
.contact-overlay .form-field,
.contact-overlay .form-right,
.contact-overlay .footer {
    width: 100%;
    max-width: none;
}



