/* ===== RESET DE SÉCURITÉ ===== */
*, *::before, *::after { 
  box-sizing: border-box !important; 
  margin: 0; 
  padding: 0; 
}
html, body { 
  width: 100%; 
  overflow-x: hidden; /* Empêche le scroll horizontal parasite */
}

/* ===== FONT FACE ===== */
@font-face {
    font-family: 'Runalto';
    src: url('assets/fonts/Runalto.woff2') format('woff2'),
         url('assets/fonts/Runalto.woff') format('woff'),
         url('assets/fonts/Runalto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atyp Display';
    src: url('assets/fonts/AtypDisplay-Regular.woff2') format('woff2'),
         url('assets/fonts/AtypDisplay-Regular.woff') format('woff'),
         url('assets/fonts/AtypDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atyp Display Semibold';
    src: url('assets/fonts/AtypDisplay-SemiboldItalic.woff2') format('woff2'),
         url('assets/fonts/AtypDisplay-SemiboldItalic.woff') format('woff'),
         url('assets/fonts/AtypDisplay-SemiboldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Atyp Display', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    margin: 0;
    padding: 65px 0 0; /* Padding-top pour compenser le header fixed */
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 65px;
    background: rgba(255, 255, 255, 0.7); /* Blanc translucide */
    backdrop-filter: blur(15px) saturate(120%); /* L'effet verre dépoli */
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CSS RADICAL - Force l'absence d'ombre sur le header dans tous ses états */
header, 
header.scrolled, 
header.sticky, 
.nav-container.active { 
    box-shadow: none !important; 
    border: none !important;
    outline: none !important;
}

.logo {
    font-family: 'Atyp Display', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    font-weight: 400; /* Regular pour le reste du logo */
}

.logo span {
    font-weight: 1000 !important;
    font-family: 'Atyp Display Semibold', sans-serif;
    font-style: italic !important;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    font-family: 'Atyp Display', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== SECTIONS ===== */
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* ===== SECTION 1 HERO ===== */
.hero {
    background: #FFFFFF;
    height: calc(100vh - 65px); /* Compense le header fixe */
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: -120px; /* Remonte l'ensemble du bloc de 120px */
}

/* CSS DE FIXATION RADICALE - Écrase tout mouvement fantôme */
.hero-content, 
.hero-content h1, 
.hero-content .availability,
.hero-content .hero-subtitle {
    transform: none !important;
    transition: none !important;
    position: relative !important;
    top: 0 !important;
}

/* Support pour br dans hero-title */
.hero-title br {
    display: block; /* Force le saut de ligne */
    content: ""; /* Évite les problèmes d'affichage */
}

.hero-title .line-1-mobile {
    display: none;
}

/* Version mobile - accepte 3 lignes si nécessaire */
@media (max-width: 768px) {
    .hero-title {
        font-size: 18vw; /* Plus gros sur mobile */
        line-height: 0.3; /* Force 0.3 sur toutes les résolutions */
    }

    .hero-title .line-1 {
        display: none !important;
        visibility: hidden;
        height: 0;
        overflow: hidden;
    }

    .hero-title .line-1-mobile {
        display: block;
        white-space: nowrap;
    }

    .hero-title .line-2 {
        white-space: nowrap;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-subtitle {
        order: 2;
        margin-top: 110px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        align-items: flex-start;
        text-align: left;
    }

    .hero-subtitle .indent,
    .hero-subtitle .indent2 {
        margin-right: 0;
    }
}

.hero-title {
    font-family: 'Runalto', sans-serif;
    font-size: 11vw; /* Réduit pour moins d'espace entre lignes */
    font-weight: normal;
    line-height: 0.3; /* Force 0.3 sur toutes les résolutions */
    margin: 0;
    text-align: left;
    letter-spacing: -0.05em;
}

/* Breakpoint intermédiaire pour éviter le saut de ligne */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 11.5vw; /* Réduit pour que DISPONIBLE ne saute pas */
    }
}

/* Structure immuable pour desktop/tablette */
.hero-title .line-1,
.hero-title .line-2 {
    display: block; /* Force le comportement de bloc */
    white-space: nowrap; /* Interdit tout retour à la ligne automatique */
    margin-bottom: 30px;

}

/* Zone intermédiaire : force SENIOR CRÉATIF sur une ligne entre 1024px et 458px */
@media (max-width: 1024px) and (min-width: 458px) {
    .hero-title {
        font-size: 10vw !important; /* Réduit pour tenir sur une ligne */
        line-height: 0.3; /* Force 0.3 sur toutes les résolutions */
    }
}

/* Version mobile - autorise le retour à la ligne naturel sous 457px */
@media (max-width: 457px) {
    .hero-title {
        font-size: 12vw; /* Ajustement pour équilibre visuel */
        line-height: 1; /* Force 0.3 sur toutes les résolutions */
    }
    
    .hero-title .line-1,
    .hero-title .line-2 {
        white-space: normal; /* Autorise le retour naturel à la ligne */
    }
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 0.8em; /* S'adapte à la taille du texte */
  background-color: #000;
  margin-left: 5px;
  vertical-align: baseline; /* On repart de la base des lettres */
  transform: translateY(5%); /* On le remonte très légèrement */
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { background-color: transparent; }
  50% { background-color: #000; }
}

.hero-subtitle {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligne tout le bloc à droite */
    text-align: right;
    margin-left: auto;
    margin-right: 8%; /* Décale vers la gauche pour bien décoller du bord */
    margin-top: -85px; /* Remonte le bloc de 35px supplémentaires (-100px - 35px) */
    font-family: 'Atyp Display Semibold', sans-serif;
    font-size: 1.8rem; /* Plus gros pour plus d'impact */
    color: #000000;
    margin-bottom: 0;
    line-height: 1.1; /* Compact pour les deux lignes */
}

.hero-subtitle .indent {
    margin-right: 60px; /* Décale la 2ème ligne vers la gauche */
}

.hero-subtitle .indent2 {
    margin-right: 20px; /* Décale la 2ème ligne vers la gauche */
}

.availability {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: 'Atyp Display', sans-serif;
}

.availability p {
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
    color: #666;
}

.availability p::before {
    content: "";
    position: absolute;
    left: -20px; /* Position à gauche du texte */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #00ff00; /* Vert pour la diode */
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00; /* Lueur verte */
    animation: pulse-diode 2s infinite;
}

@keyframes pulse-diode {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 5px #00ff00;
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 10px #00ff00;
    }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 40px; /* Aligné sur ta marge gauche */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  animation: scroll-slide 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-slide {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ===== SECTION 2 ARGUMENTAIRE ===== */
.argumentaire {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: flex-end;   /* Aligne à droite */
    height: 90vh; /* Hauteur calibrée */
    width: 100%;
}

.argumentaire-content {
    width: 75%;               /* Prend 3/4 de la largeur */
    text-align: right;        /* Texte aligné à droite à l'intérieur */
    margin: 0;                /* Reset des marges pour laisser le Flexbox gérer */
}

.argumentaire-content p {
    font-family: 'Atyp Display', sans-serif;
    font-size: 28px;
    line-height: 1.4;
    text-transform: uppercase;
    margin: 0;
    color: #000000;
}

.semibolditalic {
    font-family: 'Atyp Display Semibold', sans-serif;
    font-style: italic;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .argumentaire {
        justify-content: flex-start; /* Aligné en haut sur mobile */
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
        height: auto;
    }
    .argumentaire-content {
        width: 100%; /* Ne pas écraser le texte sur mobile */
    }
}

/* ===== SECTION 3 SERVICES ===== */
.services {
    background: #FFFFFF;
    display: flex;
    align-items: flex-start; /* Ou center selon préférence visuelle */
    margin-bottom: 100px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px 60px; /* 100px vertical, 60px horizontal */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-column {
    padding: 20px;
    position: relative; /* Position relative pour les artefacts */
}

.service-column h3 {
    font-family: 'Atyp Display Semibold', sans-serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.0; /* Interlignage serré pour aspect compact */
}

.service-column p {
    font-family: 'Atyp Display', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4; /* Rythme régulier identique aux li */
    color: #333;
    margin-bottom: 15px; /* Respiration avant la liste */
    text-transform: uppercase; /* Majuscules globales */
    letter-spacing: 0.05em; /* Lisibilité haut de gamme */
}

.service-column ul {
    padding-left: 0; /* Alignement parfait avec le paragraphe */
    margin: 0;
    list-style: none; /* Texte pur et brut */
}

.service-column li {
    font-family: 'Atyp Display', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4; /* Rythme régulier identique au p */
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase; /* Majuscules globales */
    letter-spacing: 0.05em; /* Lisibilité haut de gamme */
}

.artifact {
    position: absolute;
    pointer-events: none;
    opacity: 1;
}

/* ===== SECTION 4 CITATION ===== */
.section-citation {
    background: #FFFFFF;
    height: 90vh; /* Hauteur calibrée */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Position relative pour les artefacts */
}

.citation-text {
    text-align: center;
    font-family: 'Runalto', sans-serif;
    font-size: 4.4vw;
    line-height: 1.3;
    color: #000000;
    max-width: 85%;
    margin: 0 auto;
    position: relative; /* Position relative pour les artefacts à l'intérieur */
}

.highlight-selection {
    background: rgba(30, 144, 255, 0.28);
    box-shadow: 0 0 0 0.12em rgba(30, 144, 255, 0.28);
    border-radius: 0.0em;
    padding: 0.02em 0.08em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* ===== RESET CSS PRIORITAIRE ===== */
.artifact {
    position: absolute;
    pointer-events: none;
    opacity: 1;
    transform: none !important; /* Reset prioritaire */
    rotate: 0deg !important; /* Reset prioritaire */
}

/* ===== ANIMATIONS D'ENTRÉE ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: opacity;
}

.reveal.active {
  opacity: 1;
}

/* ===== ARTEFACTS PARALLAX GLOBALS ===== */
.artefact-parallax {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    will-change: transform; /* Fluidité parfaite pendant le scroll */
}

/* ===== PAGES PROJETS ===== */
.project-hero {
    background: #FFFFFF;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.project-story {
    background: #FFFFFF;
    padding: 100px 40px;
}

.project-story-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.project-story-block h2 {
    font-family: 'Atyp Display Semibold', sans-serif;
    font-style: italic;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.project-story-block p {
    font-family: 'Atyp Display', sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
    letter-spacing: 0.05em;
}

.section-gallery-project {
    padding-top: 40px;
}

.section-gallery-projets {
    padding-top: 40px;
}

.gallery-wrapper-projets {
    max-width: 1440px;
    gap: 55px;
}

.gallery-wrapper-projets .row-top,
.gallery-wrapper-projets .row-bottom {
    margin-left: unset;
}

.gallery-wrapper-projets .row-top { justify-content: center; align-items: flex-end; margin-left: 100px; }
.gallery-wrapper-projets .row-bottom { justify-content: flex-start; align-items: flex-start; }

.item-projets-a { width: 48%; aspect-ratio: 725 / 515; }
.item-projets-b { width: 22%; aspect-ratio: 512 / 515; }
.item-projets-c { width: 30%; aspect-ratio: 402 / 402; }

.item-projets-d { width: 54%; aspect-ratio: 725 / 515; }
.item-projets-e { width: 38%; aspect-ratio: 635 / 402; }

.item-projets-f { width: 28%; aspect-ratio: 402 / 515; }
.item-projets-g { width: 44%; aspect-ratio: 725 / 515; }
.item-projets-h { width: 22%; aspect-ratio: 402 / 402; }

.item-projets-i { width: 36%; aspect-ratio: 635 / 732; }
.item-projets-j { width: 56%; aspect-ratio: 772 / 515; }

.item-projets-k { width: 44%; aspect-ratio: 682 / 515; }
.item-projets-l { width: 44%; aspect-ratio: 402 / 402; }

.project-content {
    text-align: center;
    max-width: 1024px;
}

.project-title {
    font-family: 'Runalto', sans-serif;
    font-size: 8vw;
    font-weight: normal;
    line-height: 0.8;
    margin: 0;
    color: #000000;
    letter-spacing: -0.05em;
}

.project-subtitle {
    font-family: 'Atyp Display Semibold', sans-serif;
    font-size: 1.4rem;
    color: #000000;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-gallery {
    background: #FFFFFF;
    padding: 80px 40px;
}

.gallery-project-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-image-large {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-image-large .image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-image-item {
    aspect-ratio: 1;
    overflow: hidden;
}

.project-image-item .image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-description {
    background: #FFFFFF;
    padding: 80px 40px;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-content h2 {
    font-family: 'Atyp Display Semibold', sans-serif;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.description-content h3 {
    font-family: 'Atyp Display Semibold', sans-serif;
    font-size: 1.8rem;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.description-content p {
    font-family: 'Atyp Display', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .project-hero {
        height: 50vh;
        padding: 0 20px;
    }

    .project-story {
        padding: 80px 20px;
    }

    .project-story-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-title {
        font-size: 10vw;
    }
    
    .project-subtitle {
        font-size: 1.2rem;
    }
    
    .project-gallery {
        padding: 40px 20px;
    }
    
    .project-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-description {
        padding: 40px 20px;
    }
    
    .description-content h2 {
        font-size: 2rem;
    }
    
    .description-content h3 {
        font-size: 1.5rem;
    }
    
    .description-content p {
        font-size: 1.1rem;
    }
}

/* ===== SECTION 5 GALERIE ===== */
.section-gallery { min-height: 100vh; height: auto; padding: 100px 40px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.gallery-wrapper { width: 100%; max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 55px; }
.row-top { display: flex; justify-content: center; gap: 55px; width: 100%; align-items: flex-end; margin-left: 100px; }
.row-bottom { display: flex; justify-content: flex-start; gap: 55px; width: 100%; align-items: flex-start; }
.item { position: relative; z-index: 0; }
.item-marron { width: 50.3%; aspect-ratio: 725 / 515; }
.item-jaune { width: 27.9%; aspect-ratio: 402 / 402; }
.item-bleu { width: 27.9%; aspect-ratio: 402 / 515; margin-top: 6.9%; } /* 100px / 1440px */
.item-beige { width: 47.3%; aspect-ratio: 682 / 515; }

.item-perene-a { width: 56%; aspect-ratio: 725 / 515; }
.item-perene-b { width: 40%; aspect-ratio: 402 / 515; }
.item-perene-c { width: 36%; aspect-ratio: 402 / 402; }
.item-perene-d { width: 60%; aspect-ratio: 682 / 515; }
.item-perene-e { width: 52%; aspect-ratio: 635 / 402; }
.item-perene-f { width: 44%; aspect-ratio: 330 / 402; }

.item-breitling-a { width: 60%; aspect-ratio: 725 / 515; }
.item-breitling-b { width: 36%; aspect-ratio: 402 / 542; }
.item-breitling-c { width: 44%; aspect-ratio: 742 / 515; }
.item-breitling-d { width: 52%; aspect-ratio: 455 / 402; }
.item-breitling-e { width: 36%; aspect-ratio: 402 / 402; }
.item-breitling-f { width: 60%; aspect-ratio: 682 / 515; }

.item-heurelocale-a { width: 56%; aspect-ratio: 682 / 515; }
.item-heurelocale-b { width: 40%; aspect-ratio: 402 / 515; }
.item-heurelocale-c { width: 40%; aspect-ratio: 402 / 402; }
.item-heurelocale-d { width: 56%; aspect-ratio: 725 / 515; }
.item-heurelocale-e { width: 52%; aspect-ratio: 635 / 402; }
.item-heurelocale-f { width: 44%; aspect-ratio: 402 / 402; }

.item-forte-a { width: 52%; aspect-ratio: 725 / 505; }
.item-forte-b { width: 44%; aspect-ratio: 306 / 402; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.item-forte-c { width: 50%; aspect-ratio: 722 / 515; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.item-forte-d { width: 52%; aspect-ratio: 635 / 362; }
.item-forte-e { width: 60%; aspect-ratio: 772 / 515; }
.item-forte-f { width: 36%; aspect-ratio: 402 / 402; }
.bloc-couleur { 
    position: absolute; 
    inset: 0; 
    z-index: 2; 
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); 
    overflow: hidden; /* Cache les dépassements d'image */
    background-color: #fff;
}

.bloc-couleur img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Adapte l'image au conteneur sans déformation */
    object-position: center; /* Centre l'image */
    display: block; /* Évite les espaces sous l'image */
}

.bloc-couleur a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.bloc-couleur a:hover {
    opacity: 1;
}
.cadre-noir { position: absolute; inset: 0; z-index: 0; border: 0.5px solid #000; transform: translate(20px, 20px); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
.item-marron .bloc-couleur { background: #8c7876; }
.item-jaune .bloc-couleur { background: #fff; }
.item-bleu .bloc-couleur { background: #a0d8e8; }
.item-beige .bloc-couleur { background: #f1dfc3; }

/* Hover Effect */
.item:hover .bloc-couleur { transform: translate(-3px, -3px); }
.item:hover .cadre-noir { transform: translate(23px, 23px); }

.section-gallery .bloc-couleur a:hover,
.section-gallery-project .bloc-couleur a:hover {
    opacity: 1 !important;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .row-top, .row-bottom { flex-direction: column; align-items: center; gap: 60px; }
  .row-top { margin-left: 0; }
  .gallery-wrapper { align-items: center; }
  .row-top, .row-bottom { width: 100%; justify-content: center !important; }

  .item { width: 90% !important; margin: 0 auto !important; margin-top: 0 !important; }
  .cadre-noir { transform: translate(15px, 15px); } /* Plus petit sur mobile */
  .projects-link { font-size: 22px; } /* Taille adaptée pour mobile */

  .gallery-wrapper-projets .row-top { margin-left: 0 !important; padding-left: 0 !important; justify-content: center !important; align-items: center !important; }

  .gallery-wrapper-projets .row-projets-4 { margin-left: 0 !important; }
}

/* ===== TOUS LES PROJETS LINK ===== */
.projects-link-container { 
  width: 100%; 
  display: flex; 
  justify-content: center; 
}

.projects-link { 
  font-family: 'Atyp Display'; 
  font-size: 22px; 
  color: #000; 
  text-transform: uppercase; 
  text-decoration: none; 
  position: relative; 
  padding-bottom: 5px; 
  cursor: pointer; 
}

.projects-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== OVERLAY NAVIGATION/BIO ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-artefact {
  position: absolute;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.nav-overlay-artefact:nth-child(2) {
  animation-delay: 1s;
}

.nav-overlay-artefact:nth-child(3) {
  animation-delay: 2s;
}

.nav-overlay-artefact:nth-child(4) {
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.nav-overlay-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  z-index: 1001;
  transition: opacity 0.3s ease;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay-close:hover {
  opacity: 0.7;
}

/* Titre Full Width */
.nav-overlay-main-title {
  font-family: 'Runalto';
  font-weight: 400;
  font-size: 9.4vw;
  line-height: 0.8;
  color: #fff;
  text-align: center;
  margin: 0 0 60px 0;
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.2s, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}

.nav-overlay.active .nav-overlay-main-title {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1400px;
  width: 100%;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.4s, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.4s;
}

.nav-overlay.active .nav-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-overlay-profile-container {
  position: relative;
  width: 370px;
  height: 480px;
  overflow: hidden;
  border-radius: 0;
}

.nav-overlay-profile {
  width: 370px;
  height: 480px;
  object-fit: cover;
  border-radius: 0;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-overlay-profile-container:hover::before,
.nav-overlay-profile-container:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 370px;
  height: 480px;
  background-image: url('assets/img/profil.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav-overlay-profile-container:hover::before {
  transform: translateX(-2px);
  background-color: cyan;
  z-index: 1;
}

.nav-overlay-profile-container:hover::after {
  transform: translateX(2px);
  background-color: magenta;
  z-index: 2;
}

.nav-overlay-profile-container:hover .nav-overlay-profile {
  filter: brightness(1.2) contrast(1.1);
}

.nav-overlay-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.nav-overlay-bio {
  font-family: 'Atyp Display';
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.6s, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
}

.nav-overlay.active .nav-overlay-bio {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-contact {
  display: flex;
  flex-direction: column;
  gap: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.8s, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.8s;
  align-items: flex-start;
}

.nav-overlay.active .nav-overlay-contact {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-email {
  font-family: 'Runalto';
  font-weight: 600;
  font-size: 55px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  letter-spacing: -1px;
  line-height: 1;
}

.nav-overlay-email:hover {
  opacity: 0.8;
}

.nav-overlay-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-overlay-phone {
  font-family: 'Runalto';
  font-weight: 500;
  font-size: 60px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  letter-spacing: -0.5px;
  line-height: 1;
}

.nav-overlay-phone:hover {
  opacity: 0.8;
}

.nav-overlay-linkedin {
  font-family: 'Atyp Display';
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
  letter-spacing: -0.1px;
  line-height: 1.4;
  display: inline-block;
}

.nav-overlay-linkedin::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-overlay-linkedin:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-overlay-linkedin:hover {
  opacity: 0.8;
}

/* Responsive pour l'overlay */
@media (max-width: 1024px) {
  .nav-overlay {
    padding: 120px 5% 0;
    overflow-y: auto;
  }
  
  .nav-overlay-main-title {
    font-size: 8vw;
    margin-bottom: 40px;
  }
  
  .nav-overlay-content {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }
  
  .nav-overlay-left {
    align-items: center;
  }
  
  .nav-overlay-profile-container {
    width: 280px;
    height: auto;
    aspect-ratio: 370/480;
  }
  
  .nav-overlay-profile {
    width: 280px;
    height: auto;
    aspect-ratio: 370/480;
  }
  
  .nav-overlay-profile-container:hover::before,
  .nav-overlay-profile-container:hover::after {
    width: 280px;
    height: auto;
    aspect-ratio: 370/480;
  }
  
  .nav-overlay-right {
    align-items: center;
    text-align: center;
  }
  
  .nav-overlay-bio {
    text-align: center;
    max-width: 280px;
    font-size: 16px;
  }
  
  .nav-overlay-contact {
    align-items: center;
    text-align: center;
  }
  
  .nav-overlay-email {
    font-size: 8vw;
    text-align: center;
  }
  
  .nav-overlay-phone {
    font-size: 32px;
    text-align: center;
  }
  
  .nav-overlay-close {
    top: 20px;
    right: 20px;
    font-size: 20px;
    width: 25px;
    height: 25px;
  }
  
  .nav-overlay-artefact {
    opacity: 0.05;
  }
}

@media (max-width: 768px) {
  .nav-overlay {
    padding: 120px 5% 0;
  }
  
  .nav-overlay-main-title {
    font-size: 8vw;
    margin-bottom: 40px;
  }
  
  .nav-overlay-content {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }
  
  .nav-overlay-left {
    align-items: center;
  }
  
  .nav-overlay-profile-container {
    width: 280px;
    height: auto;
    aspect-ratio: 370/480;
  }
  
  .nav-overlay-profile {
    width: 280px;
    height: auto;
    aspect-ratio: 370/480;
  }
  
  .nav-overlay-profile-container:hover::before,
  .nav-overlay-profile-container:hover::after {
    width: 280px;
    height: auto;
    aspect-ratio: 370/480;
  }
  
  .nav-overlay-right {
    align-items: center;
    text-align: center;
  }
  
  .nav-overlay-bio {
    text-align: center;
    max-width: 280px;
    font-size: 16px;
  }
  
  .nav-overlay-contact {
    align-items: center;
    text-align: center;
  }
  
  .nav-overlay-email {
    font-size: 40px;
    text-align: center;
  }
  
  .nav-overlay-phone {
    font-size: 32px;
    text-align: center;
  }
  
  .nav-overlay-close {
    top: 20px;
    right: 20px;
    font-size: 20px;
    width: 25px;
    height: 25px;
  }
  
  .nav-overlay-artefact {
    opacity: 0.02;
  }
  
  .nav-overlay-linkedin {
    font-size: 16px;
    text-align: center;
  }
}

/* ===== SECTION 5 CONTACT ===== */
.section-contact {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #FFFFFF;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Espacement fixe entre les deux bandeaux */
}

/* Premier Bandeau (Runalto) */
.marquee-wrapper:first-child {
  margin: 0;
  padding: 0;
}

.marquee-wrapper:first-child .marquee-text {
  font-family: 'Runalto';
  font-size: 10vw;
  text-transform: uppercase;
  padding: 0 50px;
  line-height: 0.8; /* Réduit l'espace invisible au-dessus/en-dessous */
}

/* Deuxième Bandeau (Atyp Italic) */
.marquee-wrapper:last-child {
  margin: 0;
  padding: 0;
}

.marquee-wrapper:last-child .marquee-text {
  font-family: 'Atyp Display';
  font-style: italic;
  font-weight: 500;
  font-size: 6vw;
  text-transform: uppercase;
  padding: 0 50px;
}

.marquee-wrapper:last-child .marquee-text a {
  color: inherit;
  text-decoration: none; /* Email nu par défaut */
}

.marquee-wrapper:last-child .marquee-text a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

/* Logique de Défilement */
.marquee-wrapper { 
  display: flex; 
  white-space: nowrap; 
  margin: 0;
  padding: 0;
}

.marquee-content { 
  display: flex; 
  animation: scroll-left 60s linear infinite; /* Premier bandeau : 60s */
}

.marquee-content.reverse { 
  animation: scroll-right 45s linear infinite; /* Deuxième bandeau : 45s */
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
    }
    
    .nav ul {
        gap: 20px;
    }
    
    section {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 12vw;
    }
    
    .service-column {
        width: 100%;
    }
    
    .galerie-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        height: auto;
        gap: 30px;
    }
    
    .galerie-item {
        width: 90%;
        margin: 0 auto;
    }
    
    .citation-content {
        font-size: 6vw;
    }
    
    .banner-content span {
        font-size: 10vw;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 15.5vw !important;
        line-height: 1;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-column {
        margin-top: 0 !important;
    }

    .services {
        height: auto;
        margin-top: 100px;
    }
    
    .argumentaire-content p {
        font-size: 20px;
    }
    
    .citation-text {
        font-size: 8vw;
    }
    
    .banner-content span {
        font-size: 12vw;
    }
    
    .artifact {
        display: none; /* Masquer les artefacts sur mobile */
    }
    
    /* Alignement Services - Réduire le décalage sur tablette/mobile */
    .service-column:first-child {
        margin-left: 20px !important; /* Réduction du décalage pour éviter de sortir de l'écran */
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Alignement Services - Ajustement pour tablette */
    .service-column:first-child {
        margin-left: 60px !important; /* Décalage réduit pour tablette */
    }
}
