/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ══════════════════════════════════════
   FONTS
══════════════════════════════════════ */
:root {
  --font-display: 'General Sans', sans-serif;
  --font-body: 'Montserrat', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #e7e7e7;
  color: #1A1A1A;
  font-family:var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

/* Fluidité matérielle globale */
html, body {
  scroll-behavior: smooth; /* Lissage natif complémentaire */
  overscroll-behavior: none;
  max-width: 100%;
  overflow-x: hidden; /* Coupe net tout ce qui veut déborder à droite */
}

/* Optimisation des conteneurs animés */
.project-card, .workflow-teaser, .image-slider, .dynamic-item {
  will-change: transform, opacity; /* Prépare le GPU à l'animation */
  backface-visibility: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.side-nav ul {
  list-style: none;
  
}

.side-nav li {
  margin-bottom: 6px;
}

.side-nav a {
  font-size: 29px;
  font-weight : 550;
  color: #1A1A1A;
  text-decoration: underline;
  letter-spacing: -.05em;
  font-family: TTNorms-Medium, "Helvetica Neue", Helvetica, Arial, sans-serif ;
  text-transform: none;
  display: block;
  transition: color 0.35s ease, text-decoration-color 0.35s ease;
  
}

.side-nav a:hover {
  
  color : white;
  text-decoration-color: white;
  
}
.side-nav a.active {
    color: #999;
    text-decoration-color: #999;

}


.side-nav {
  position: fixed;
  left: 35px;
  top: 40px;
  z-index: 1000;
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 140px;
}

.submenu {
    list-style: none;
    margin-top: 18px;
    padding-left: 0;
}

.submenu li {
    margin-bottom: 2px;
}

.submenu a {
    font-size: 13px;
    color: #1A1A1A;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-family: var(--font-display);
    display: block;
}

.submenu a:hover {
    opacity: 0.35;
}

.logo-img {
  width: 100px;
  height: auto;
  display: block;
  margin-left: -15px;
  margin-bottom: 20px;
  animation: fadeIn 2s ease both;;
}




/* ══════════════════════════════════════
   LAYOUT PRINCIPAL
══════════════════════════════════════ */
.main {
  margin-left: 280px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding: 60px 60px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 600;
  color: #1A1A1A;
  line-height: 0.9;
  letter-spacing: -3px;
  font-family: var(--font-display);
}

.hero-subtitle {
  margin-top: 45px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  font-family: var(--font-display);
}

.hero-services {
  display: flex;
  align-items: baseline;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.hero-services-text {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.link-btn {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  white-space: nowrap;
  font-weight: 500;
  transition: opacity .25s;
}

.link-btn:hover { opacity: .4; }

.image-slider {
  position: relative;
  width: 90%;
  height: 100vh;
  overflow: hidden;
  background: #1A1A1A;

  margin-top: 50px;
  margin-left: 20%;
}

.slide {
  position: absolute;
  inset: 0;

  opacity: 0;

  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: brightness(0.75);
}

/* ══════════════════════════════════════
   TEXTE SUR LE SLIDER
══════════════════════════════════════ */
.slider-text {
  position:absolute;
  left: 48px;
  z-index: 10;
  color: #FFFFFF;
  max-width: 560px;
}

.slider-heading {
  font-size: clamp(60px, 7vw, 100px);
  font-weight: 600;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-top: 55px;
  color: #FFFFFF;
}

.slider-desc {
  font-size: 16px;
  margin-left: 10px;
  margin-top: 120px;
  margin-bottom: 80px;
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
}

.slider-text .link-btn {
    position: relative;
    margin-left: 600px;
    font-size: 20px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1);
  transition: transform 5s ease;
}

.slide.active img {
  transform: scale(1.08);
  
}

.underline {
  position: absolute;
  left: 0;
  bottom: 6px;
  display: inline-block;
  width: 100%;
  height: 1px;
  transform-origin: left;
}

.hero-services .link-btn {
    position: relative;
}

.hero-services .underline {
    background: #1A1A1A;
    bottom: 4px;

}

.slider-text .underline {
    background: white;
}


/* ══════════════════════════════════════
  SECTION WORKFLOW (texte vertical)
══════════════════════════════════════ */


.workflow-teaser {
  padding: 140px 60px;
  margin-left: 70px;
  position: relative; /* Permet de caler l'image par rapport à cette section */
  min-height: 650px;
  display: flex;
  align-items: center;
  align-content: center;
}

/* L'image horizontale fixée en arrière-plan */
.workflow-bg-image {
  position: absolute;
  top: 60%;
  right: 23%; /* Décale l'image vers la droite comme sur Largo */
  transform: translateY(-48%);
  width: 35%; /* Donne la forme horizontale (prend plus de la moitié de l'écran) */
  height: 300px;
  z-index: 1; /* Reste derrière le texte */
}

.workflow-bg-image img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  display: block;
  opacity: 0.95; /* Léger voile pour que le texte noir par-dessus reste lisible */
}

/* Conteneur du texte au-dessus de l'image */
.workflow-wrapper {
  position: relative;
  z-index: 2; /* Passe obligatoirement par-dessus l'image */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Titre géant écrit en grand par-dessus */
.workflow-heading {
  font-size: clamp(70px, 8vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 40px;
  font-family: var(--font-display);
  
  /* ─── AJOUTS POUR LA VISIBILITÉ ─── */
  color: #1A1A1A; /* On passe en blanc */
  mix-blend-mode: difference; /* Le texte s'inverse selon le fond */
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Bloc de texte */
.workflow-content {
  max-width: 450px;
  margin-left: 10px;
}

.workflow-content p {
  font-family: var(--font-display);
  font-size: 16px;
  color: #666; /* Ta couleur d'origine respectée */
  line-height: 1.8;
  margin-bottom: 30px;
}

.workflow-content .link-btn {
  position: relative;
  font-size: 20px; /* Ton bouton d'origine respecté */
}

.workflow-content .underline {
    background: #1A1A1A;
    bottom: 4px;
}





.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
  display: block;
}



.signature {
  margin-top: 40px;
  font-size: 12px;
  color: #1A1A1A;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  border-top: 1px solid #DDD;
  padding-top: 20px;
}



/* --- SECTION PROJETS FULLSCREEN --- */
.projects-preview-full {
  display: flex;
  flex-direction: column;
  gap: 250px;
  width: 100%;
  margin-top: 150px;
  margin-bottom: 200px;
}

.project-fullscreen-card {
  position: relative;
  width: 100%;
  height: auto;
}

.project-card-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* IMAGE FULLSCREEN */
.proj-fullscreen-img {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: visible !important;
}

.proj-fullscreen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-title-overlay {
  position: absolute;
  top: -30px; 
  left: 80px;
  z-index: 20;
}

.project-title-text {
  display: inline-block;
  font-family: var(--font-display, 'Jost', sans-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  
  /* Noir par défaut */
  color: #FFFFFF;
  margin: 0;

  /* Soulignement natif */
  text-decoration: underline;
  text-decoration-color: #FFFFFF;
  text-decoration-thickness: 3px;
  text-underline-offset: 2px; /* Ligne bien collée aux lettres */

  /* Activer le survol sur le texte */
  pointer-events: auto; 
  transition: color 0.35s ease, text-decoration-color 0.35s ease;
}

/* 🎯 AU HOVER UNIQUEMENT SUR LE TITRE : Passe en BLANC */
.project-fullscreen-card:hover .project-title-text {
  color: #111111;
  text-decoration-color: #111111;
}


/* --- CADRE NOIR EN BAS À DROITE --- */
.proj-fullscreen-img .project-meta-box {
  position: absolute;
  bottom: -40px;
  right: 30px;
  background: #171717;
  padding: 45px 65px;
  min-width: 680px !important;
  min-height: 130px;
  z-index: 10;
  box-sizing: border-box;
  overflow: visible;
}

.meta-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.meta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.projects-preview-full .meta-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF !important;
}

.projects-preview-full .meta-value {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55) !important;
  letter-spacing: 0.02em;
}

.project-meta-box .meta-reveal-line {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.55);
  z-index: 5;
  pointer-events: none;
}

.project-meta-box .meta-reveal-line.line-h1 { top: 63px; left: 0; width: 120%; height: 1px; left: -120px}
.project-meta-box .meta-reveal-line.line-h2 { bottom: 41px; left: 0; width: 120%; height: 1px; left: -120px;}
.project-meta-box .meta-reveal-line.line-v1 { top: 0; left: 0; width: 1px; height: 100%; }
.project-meta-box .meta-reveal-line.line-v2 { top: 0; right: 0; width: 1px; height: 100%; }

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .project-fullscreen-card {
    height: 60vh;
  
  }
  
   .project-meta-box {
    min-width: 100%;
    padding: 45px 60px;

  }
  
  .meta-cols {
    gap: 15px;
  }
}

/* ══════════════════════════════════════
   PROJECTS PREVIEW
══════════════════════════════════════ 
.projects-preview {
  padding: 80px 60px 80px 0;
}

.projects-preview > .eyebrow {
  margin-bottom: 48px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 100px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: #1A1A1A;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
  opacity: 0.9;
  overflow: hidden;
  position: relative;
}

.project-card:hover img {
  transform: scale(1.05);
  opacity: 0.6;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
}


.project-info h3 {
  font-size: 16px;
  color: #FFFFFF;
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-info p {
  font-size: 11px;
  color: #AAA;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
} */




/* ══════════════════════════════════════
   GET IN TOUCH
══════════════════════════════════════ */
.get-in-touch {
  /* 🟢 On remplace le 0 par 24px à gauche pour créer une zone de sécurité anti-coupure sur mobile */
  padding: 80px 40px; 
  border-top: 1px solid #DDD;
  overflow: visible !important; /* Laisse le titre respirer proprement */
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.get-in-touch a {
  display: inline-block;
  width: 100%; /* Force le lien à occuper l'espace pour un clic facile */
  text-decoration: none;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.get-in-touch a:hover {
  opacity: 0.4;
}

.get-in-touch h2 {
  /* 🟢 Taille fluide corrigée : descend à 38px sur mobile pour ne jamais déborder, monte à 100px sur PC */
  font-size: clamp(38px, 8vw, 100px) !important;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.1; /* Un poil plus d'espace pour éviter que les lignes ne se chevauchent sur mobile */
  letter-spacing: -2px;
  font-family: var(--font-display);
  
  /* 🟢 Sécurités anti-coupure */
  white-space: normal !important; 
  word-break: break-word;
  width: 100%;
}

/* Gestion du bouton et de sa flèche */
.get-in-touch .link-btn {
  position: relative;
  font-size: clamp(24px, 4.5vw, 52px);
  display: inline-block;
}

.get-in-touch .underline {
  background: #1A1A1A;
  bottom: 6px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid #DDD;
  padding: 24px 60px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
    font-size: 10px;
    color: #AAA;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
    margin-left: auto;
    order: 2;
}
.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 10px;
  color: #AAA;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #1A1A1A;
}

/* ══════════════════════════════════════
   PAGE ABOUT
══════════════════════════════════════ */
.about-hero {
  position: relative;
  overflow: visible;
  padding-top: 150px;
}

.about-hero .hero-title {
  position: relative;
  display: block;
  width: max-content;

  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 320px);
  font-weight: 600;
  line-height: 0.9;
  color: #1A1A1A;
  white-space: nowrap;

  /* 👉 pousse le titre à droite + dépassement */
  margin-left: auto;
  transform: translateX(20vw);

  will-change: transform, opacity;
}

.about-hero .hero-subtitle {
  margin-left: auto;
  transform: translateX(71vw);
  margin-top: 20px;
}

/* ══════════════════════════════════════
   CEO SECTION
══════════════════════════════════════ */
.ceo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 40px 100px 0;
  border-top: 1px solid var(--light-line);
  align-items: start;
}

.ceo-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-top: 80px;
}

.ceo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform .6s ease;
}

.ceo-image:hover img {
  transform: scale(1.03);
}

.ceo-content {
  padding-top: 20vw;
}

.ceo-content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 28px;
  margin-top: 12px;
  line-height: 1.1;
}

.ceo-content p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 18px;
}

/* ══════════════════════════════════════
   STUDIO STORY
══════════════════════════════════════ */
.studio-story {
  display: flex;
  align-items: flex-start;
  padding: 100px 40px 100px 0;
  border-top: 1px solid var(--light-line);
  gap: 0;
}

.story-content {
  max-width: 560px;
  padding-left: 48px;
}

.story-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 28px;
  margin-top: 14px;
}

.story-content p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.stats-section {
  display: flex;
  align-items: center;
  padding: 80px 40px 80px 0;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 40px;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-family: var(--font-display);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 300;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--light-line);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
    MANIFESTO SECTION (Fix Affichage Slides)
══════════════════════════════════════ */
.manifesto-section {
  position: relative;
  width: 100%;
  background: transparent;
  padding: 120px 0;
  overflow: hidden;
}

.manifesto-container {
  max-width: 100%;
  padding-left: 40px;
}

.manifesto-intro {
  margin-bottom: 50px;
  left: 7%;
  position: relative;
  z-index: 10; /* Reste toujours au-dessus */
}

.manifesto-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
  margin-top: 10px;
}

/* Zone fixe qui contient les slides superposés */
.manifesto-slides-wrapper {
  position: relative;
  width: 100%;
  height: 70vh; 
}

/* 🛠️ STRUCTURE DE CHAQUE SLIDE (Masqué par défaut) */
.manifesto-slide {
  position: absolute;
  top: 0;
  left: 7%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  
  /* On cache tout le slide d'un coup */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

/* 🛠️ QUAND LE SLIDE EST ACTIF (Tout s'affiche en même temps) */
.manifesto-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5; /* Passe au-dessus des autres */
}

/* 🛠️ LE NUMÉRO GÉANT EN ARRIÈRE-PLAN (Spécifique à chaque slide) */
.manifesto-bg-num {
  position: absolute;
  top: -60px;
  right: 12vw;
  font-family: var(--font-display);
  font-size: clamp(150px, 36vw, 480px);
  font-weight: 700;
  line-height: 0.8;
  color: black;
  z-index: 1; /* Derrière l'image */
  pointer-events: none;
}

/* CADRE DE LA PHOTO PORTRAIT VERTICALE */
.manifesto-img-wrap {
  position: relative;
  width: 42%; 
  height: 100%; 
  overflow: hidden;
  z-index: 2; /* Devant le numéro, derrière la carte */
}

.manifesto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 5.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Zoom lent uniquement sur le slide actif */
.manifesto-slide.active .manifesto-img-wrap img {
  transform: scale(1.08);
}

/* 🛠️ LA MANIFESTO CARD (Le carré noir opaque avec texte blanc) */
.manifesto-card-black {
  position: absolute;
  bottom: 40px;
  right: 25vw; /* Chevauche la photo verticale */
  width: 440px;
  background-color: #1A1A1A !important; /* Force le fond carré noir pur */
  padding: 50px;
  z-index: 3; /* Tout au-dessus */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.manifesto-card-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.manifesto-card-nav span {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555555;
}

.manifesto-card-nav span.active {
  color: #ffffff;
  font-weight: 500;
}

.manifesto-card-black h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: #ffffff !important; /* Force le texte blanc */
  margin-bottom: 20px;
}

.manifesto-card-black p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.8;
  color: #cccccc !important; /* Texte gris clair lisible sur noir */
  font-weight: 300;
}


/* ══════════════════════════════════════
   PAGE WORKFLOW
══════════════════════════════════════ */

.wf-hero {
  position: relative;
  overflow: visible;
  padding-top: 150px;
}

.wf-hero .hero-title {
  position: relative;
  display: block;
  width: max-content;

  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 320px);
  font-weight: 600;
  line-height: 0.9;
  color: #1A1A1A;
  white-space: nowrap;

  /* 👉 pousse le titre à droite + dépassement */
  margin-left: auto;
  transform: translateX(20vw);

  will-change: transform, opacity;
}

.wf-hero .hero-subtitle {
  margin-left: auto;
  transform: translateX(39vw);
  margin-top: 20px;
}
/* ══════════════════════════════════════
   SERVICES GRID
══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 80px 40px 80px 0;
}

.service-item {
  padding: 48px 48px 48px 0;
  border-right: 1px solid var(--light-line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.service-item:last-child {
  border-right: none;
  padding-right: 0;
}

.service-item:nth-child(2) {
  padding-left: 48px;
}

.service-item:nth-child(3) {
  padding-left: 48px;
}

.service-icon {
  color: #1A1A1A;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.service-item:hover .service-icon {
  opacity: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1A1A1A;
}

.service-desc {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin: 0;
  text-align: justify;
}


.service-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
    border-radius: 2px; /* Rendu très légèrement adouci, style studio */
    background-color: #1a1a1a; /* Fond neutre le temps du chargement */
}

/* Image principale avec traitement visuel moderne */
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(105%); /* Effet noir & blanc éditorial */
    opacity: 0.85;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.6s ease, 
                opacity 0.6s ease;
}

/* Effet d'interaction fluide au survol de la carte */
.service-item:hover .service-image img {
    transform: scale(1.08); /* Agrandissement subtil */
    filter: grayscale(0%) contrast(100%); /* Révèle les couleurs d'origine */
    opacity: 1;
}
/* ══════════════════════════════════════
   SÉPARATEUR
══════════════════════════════════════ */
.section-divider {
  height: 1px;
  background: var(--light-line);
  margin-right: 40px;
}
/* ══════════════════════════════════════
    NOTRE MÉTHODE
══════════════════════════════════════ */

.approach-section {
  padding: 120px 40px 120px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: flex-start;
}


/* 🛠️ EN-TÊTE (Dans la colonne de droite) */
.approach-header {
  grid-column: 2; 
  margin-bottom: 60px;
}

.approach-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 60px);
  line-height: 1;
  font-weight: 700;
  color: #1A1A1A;
  margin-top: 16px;
}

/* 🛠️ CONTENEUR ÉTAPES (Dans la colonne de droite) */
.approach-steps {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* STRUCTURE DES CARTES */
.step {
  position: relative;
  padding: 50px;
  border: 1px solid var(--light-line);
  min-height: 400px;
  background: transparent;
  transition: all .6s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}

.step:hover {
  transform: translateY(-10px) !important;
  border-color: #1A1A1A;
}

/* NUMÉROS */
.step-num-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  overflow: visible; 
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 700;
  line-height: 1;
  color: black;
  position: relative;
  z-index: 2;
  margin-left: -15px;
}

/* LIGNES DE BALAYAGE DES NUMÉROS */
.step-reveal-line {
  position: absolute;
  background: #1A1A1A;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}

.step-reveal-line.line-h1, .step-reveal-line.line-h2 {
  left: -40%;
  width: 180%;
  height: 1px;
}
.step-reveal-line.line-h1 { top: 20px; }
.step-reveal-line.line-h2 { bottom: 10px; }

.step-reveal-line.line-v1, .step-reveal-line.line-v2 {
  top: -30%;
  height: 160%;
  width: 1px;
}
.step-reveal-line.line-v1 { left: 15px; }
.step-reveal-line.line-v2 { right: 15px; }

/* CONTENU TEXTE */
.step h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #1A1A1A;
}

.step p {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  font-family: var(--font-display);
  max-width: 480px;
}






/* ══════════════════════════════════════
   POURQUOI NOUS
══════════════════════════════════════ */
.why-us {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 100px 40px 100px 0;
  border-top: 1px solid var(--light-line);
}

.why-us-text {
  max-width: 540px;
}

.why-us-text a{
  position: relative;;
}

.why-us-text .underline {
    background: #1A1A1A;
    bottom: 4px;
}

.why-us-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.1;
  margin-top: 14px;
  margin-bottom: 24px;
}

.why-us-text p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 16px;
}


/* ══════════════════════════════════════
   PROJETS RÉCENTS
══════════════════════════════════════ */
.recent-projects {
  padding: 80px 40px 80px 0;
  border-top: 1px solid var(--light-line);
}

.recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.recent-header a{
  position: relative;
}

.recent-header .underline {
    background: #1A1A1A;
    bottom: 4px;
}

.recent-grid {
  display: grid ;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recent-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.recent-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1A1A1A;
  margin-bottom: 16px;
}

.recent-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
  opacity: 0.9;
}

.recent-card:hover .recent-card-img img {
  transform: scale(1.04);
  opacity: 0.7;
}

.recent-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proj-card-cat {
  font-size: 18px;
  font-family: var(--font-display);
}

.proj-card-location {
  font-size: 18px;

}

.recent-card-info h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #1A1A1A;
}

/* ══════════════════════════════════════
   PROJECTS INDEX
══════════════════════════════════════ */

.proj-hero {
  position: relative;
  overflow: visible;
  padding-top: 150px;
  margin-bottom: -180px;
}

.proj-hero .hero-title {
  position: relative;
  display: block;
  width: max-content;

  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 320px);
  font-weight: 600;
  line-height: 0.9;
  color: #1A1A1A;
  white-space: nowrap;


  /* 👉 pousse le titre à droite + dépassement */
  margin-left: auto;
  transform: translateX(20vw);

  will-change: transform, opacity;
}



/* Filter */
.proj-filter {
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 1000;
  background: #171717;
  padding: 28px 50px;
  min-height: 110px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);

  /* 👉 CHANGEMENT : Permet aux lignes de déborder du cadre noir */
  overflow: visible; 

  opacity: 0;
  visibility: hidden;
  transform: translateX(150px);
}


/* Base commune absolue pour TOUTES les lignes */
.filter-reveal-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  z-index: 10;
  pointer-events: none;
}

/* 1. LIGNES HORIZONTALES PLUS LONGUES */
.filter-reveal-line.line-h1,
.filter-reveal-line.line-h2 {
  left: -100%; /* Départ plus lointain à gauche */
  width: 100%; 
  height: 1px;
}
.filter-reveal-line.line-h1 { top: 24px; }
.filter-reveal-line.line-h2 { top: auto; bottom: 24px; }

/* 2. LIGNES VERTICALES PLUS LONGUES */
.filter-reveal-line.line-v1,
.filter-reveal-line.line-v2 {
  top: -120%;  /* Départ plus lointain en haut */
  width: 1px;
  height: 140%; /* 👉 Plus grande que le filtre pour dépasser en haut et en bas */
}
.filter-reveal-line.line-v1 { left: 0px; }
.filter-reveal-line.line-v2 { left: auto; right: 0px; }

.filter-btns {
  display: flex;
  gap: 38px;
  padding-right: 60px;
  
}

.filter-btn {
  position: relative;
  background: none;
  border: none;

  color: rgba(255, 255, 255, 0.55);

  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;

  cursor: pointer;

  transition: color .3s ease;
}
.filter-btn:hover {
  color: rgba(255,255,255,0.75);
}
.filter-btn.active {
  color: white;
}

.filter-btn.active .filter-indicator {
  color: white;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.filter-indicator{
  position: absolute;

   top: -10px;          /* distance au-dessus du texte */
   left: 50%;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: white;

  transform: scaleX(0);

  transition: all .35s ease;
}

/* Cards */
.proj-grid-section {
  padding-right: 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: -160px;
}

.proj-card {
  margin-bottom: 3px;
}

.proj-card a {
  display: block;
}

.proj-card-img {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.proj-card--large .proj-card-img {
  height: 70vh;
}

.proj-card--small .proj-card-img {
  aspect-ratio: 4/3;
}

/* Les 3 premières cartes sont immédiatement visibles et stables */
.proj-card.init-visible {
  opacity: 1;
  transform: none;
}

/* Les cartes suivantes attendent le déclenchement de GSAP */
.proj-card.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
}

.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, opacity .4s ease;
  opacity: .9;
}

.proj-card:hover .proj-card-img img {
  transform: scale(1.04);
  opacity: .6;
}

.proj-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.proj-card:hover .proj-card-overlay {
  opacity: 1;
}

.proj-card-cta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 3px;
  font-weight: 300;
}

.proj-card-info {
  padding: 20px 0 40px;
}

.proj-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.proj-card-num {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gray);
  font-weight: 300;
  font-family: var(--font-display);
}

.proj-card-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 300;
  font-family: var(--font-display);
}

.proj-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.proj-card-location {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  font-weight: 300;
   font-family: var(--font-display);
}

.proj-grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-bottom: 3px;
}

/* ══════════════════════════════════════
   PROJECT SHOW
══════════════════════════════════════ */
/* ══════════════════════════════════════
   PROJECT HERO
══════════════════════════════════════ */

.proj-hero {

  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin-left: -283px;
  margin-bottom: 40px;


}
.proj-hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 160px);
  font-weight: 600;
  color: var(--black);
  line-height: .95;
  white-space: normal;
  letter-spacing: -2px;
  left: 160px;
  bottom: 30%;
  right: 20px;
  text-align: center;
  display:flex;
  z-index: 11;
  position: absolute;
  color: white;
  text-shadow: 0 10px 40px rgba(0,0,0,0.6);
  overflow-wrap: break-word;
  
}

.proj-hero-meta {
  display: flex;
  gap: 120px;
  flex-wrap: wrap;

  z-index: 1000;
  position: absolute;
  right: 0px;
  bottom: 0px;
  background: #171717;
  padding: 28px 120px 28px 50px;

  min-height: 110px;
  align-items: center;

  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;

  transform: translateX(150px);
  z-index: 5;
  color: white;
}

.proj-meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
} 

.proj-hero-meta .meta-label {
  font-size: 12px;
  color: #FFFFFF;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.proj-hero-meta .meta-value {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

/* ══════════════════════════════════════
   HERO META REVEAL LINES
══════════════════════════════════════ */

/* 👉 Permet aux lignes architecturales de déborder du cadre noir */
.proj-hero-meta {
  overflow: visible; 
}

/* Base commune absolue pour toutes les lignes de la meta */
.proj-hero-meta .meta-reveal-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  z-index: 10;
  pointer-events: none;
}

/* 1. LIGNES HORIZONTALES (Plus longues pour déborder à gauche et à droite) */
.proj-hero-meta .meta-reveal-line.line-h1,
.proj-hero-meta .meta-reveal-line.line-h2 {
  left: -120%; /* Départ lointain à gauche */
  width: 150%; /* Dépasse largement à droite et à gauche */
  height: 2px;
}
.proj-hero-meta .meta-reveal-line.line-h1 { top: 24px; }
.proj-hero-meta .meta-reveal-line.line-h2 { top: auto; bottom: 24px; }

/* 2. LIGNES VERTICALES (Plus hautes pour déborder en haut et en bas) */
.proj-hero-meta .meta-reveal-line.line-v1,
.proj-hero-meta .meta-reveal-line.line-v2 {
  top: -120%;  /* Départ lointain en haut */
  width: 1px;
  height: 150%; /* Dépasse en haut et en bas */
}
.proj-hero-meta .meta-reveal-line.line-v1 { left: 0px; }
.proj-hero-meta .meta-reveal-line.line-v2 { left: auto; right: 90px; } /* Ajusté par rapport à l'important padding droit */



.proj-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

}
.proj-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  will-change: transform;
}

.proj-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.proj-hero-text {

  position: static;
  
  left: 160px;
  bottom: 80px;

  z-index: 5;

  color: white;

  max-width: 700px;

}

/* Description */
.proj-desc {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 100px 40px 80px 0;
  border-top: 1px solid var(--light-line);
  align-items: start;
}

.proj-desc-left h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--black);
  margin-top: 12px;
}

.proj-desc-right p {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 16px;
}

/* Full image */
.proj-full-img {
  width: 100%;
  margin-bottom: 3px;
  height: auto;           
  max-height: none;       
  overflow: visible;
  box-sizing: border-box;
  padding-right: 20px;
}


.proj-full-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Image grid */
/* Grille principale */
.proj-img-grid {
  display: flex;
  flex-direction: column;
  gap: 90px; /* Grand espace élégant entre les blocs */
  width: 100%;
  margin-top: 100px;
  margin-bottom: 100px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* Base de l'élément */
.proj-img-grid-item {
  overflow: hidden;
  display: inline-block;
}

.first-proj-full-img {
  margin-bottom: 70px;
}

/* Les images s'adaptent parfaitement au conteneur sans déformation */
.proj-img-grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* Respect absolu du ratio d'origine */
  transition: transform .8s cubic-bezier(0.25, 1, 0.5, 1);
}

.proj-img-grid-item:hover img {
  transform: scale(1.03);
}

/* 1. GRANDES IMAGES (Centrées) */
.proj-img-grid-item.img-large-center {
  align-self: center;
  width: 95%; /* Presque toute la largeur de l'écran */
}

/* 2. IMAGES LATÉRALES GAUCHE (Taille identique et fixe) */
.proj-img-grid-item.img-small-left {
  align-self: flex-start;
  width: 75%; /* Largeur identique pour toutes les images de côté */
  margin-left: 2%;
  height: auto;
}

/* 3. IMAGES LATÉRALES DROITE (Taille identique et fixe) */
.proj-img-grid-item.img-small-right {
  align-self: flex-end;
  width: 75%; /* Largeur identique pour toutes les images de côté */
  margin-right: 2%;
  height: auto;

}

/* Garder l'image entière */
.proj-img-grid-item.img-small-left img,
.proj-img-grid-item.img-small-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}




/* Approach */
.proj-approach {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 40px 80px 0;
}

.proj-approach-inner { max-width: 560px; }

.proj-approach-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-top: 14px;
  margin-bottom: 22px;
}

.proj-approach-inner p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 14px;
}

.proj-approach-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900;
  opacity: .04;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

/* Project navigation */
.proj-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 40px 48px 0;
  border-top: 1px solid var(--light-line);
}

.proj-nav a {
  display: inline-block;
  transition: opacity 0.3s;
}

.proj-nav a:hover {
  opacity: 0.4;
}

.proj-nav-back {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A1A1A;
  font-weight: 300;
  font-family: var(--font-display);
  position: relative;
}

.proj-nav-back .underline {
    background: #1A1A1A;
    bottom: 4px;
}

.proj-nav-links {
  display: flex;
  gap: 48px;
}

.proj-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.proj-nav-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 300;
}

.proj-nav-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: opacity .25s;
}

.proj-nav-link:hover .proj-nav-title { opacity: .4; }

/* ══════════════════════════════════════
   PAGE CONTACT
══════════════════════════════════════ */

.contact-hero {
  position: relative;
  overflow: visible;
  padding-top: 150px;
}

.contact-hero .hero-title {
  position: relative;
  display: block;
  width: max-content;

  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 320px);
  font-weight: 600;
  line-height: 0.9;
  color: #1A1A1A;
  white-space: nowrap;

  /* 👉 pousse le titre à droite + dépassement */
  margin-left: auto;
  transform: translateX(20vw);

  will-change: transform, opacity;
}

.contact-hero .hero-subtitle {
  margin-left: auto;
  transform: translateX(45vw);
  margin-top: 20px;
}

/* ==========================================================================
   CONTACT PAGE — STYLES
   ========================================================================== */

/* Structure principale de la section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- CÔTÉ GAUCHE : INFOS DU STUDIO --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 48px;
    font-family: var(--font-display);
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Liens et typographies des blocs d'infos */
.contact-link {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 400;
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
    width: fit-content;
    font-family: var(--font-display);
}

.contact-link:hover {
    opacity: 0.6;
}

.contact-phone {
    font-size: 1.1rem;
    color: #1A1A1A;
    margin: 0;
    font-family: var(--font-display);

}

.contact-address {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1A1A1A;
    margin: 0;
    font-family: var(--font-display);
}

/* Réseaux sociaux en liste verticale */
.contact-social-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-social-vertical a {
    font-size: 1.1rem;
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.3s ease;
    width: fit-content;
    font-family: var(--font-display);
}

.contact-social-vertical a:hover {
    opacity: 0.5;
}

/* --- CÔTÉ DROIT : FORMULAIRE --- */
.contact-form-wrap {
    width: 100%;
}

.forma-form {
    display: flex;
    flex-direction: column;
    gap: 40px; 
    padding-right: 20px;
  }

  .contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 35px;
}


/* Groupes de champs (Label + Input) */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1A1A1A;
    font-weight: 500;
    font-family: var(--font-display);
}

/* Inputs & Textarea ultra-minimalistes (juste une ligne en bas) */
.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.15);
    padding: 12px 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #1A1A1A;
    border-radius: 0;
    transition: border-color 0.4s ease, outline 0.4s ease;
}

/* Style des placeholders grisés discrets */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(26, 26, 26, 0.35);
    font-weight: 300;
}

/* Effet focus au clic : la ligne devient noire et nette */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom: 1px solid #1A1A1A;
}

/* Désactive le redimensionnement manuel moche du textarea */
.form-group textarea {
    resize: none;
}

/* Message de succès lors de l'envoi */
.success-msg-box {
    background-color: rgba(26, 26, 26, 0.03);
    border-left: 2px solid #1A1A1A;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.success-msg {
    color: #1A1A1A;
    font-size: 1rem;
    margin: 0;
}

/* --- BOUTON CONTACT EN BLOC NOIR --- */
.submit-btn {
    background-color: #1A1A1A; 
    color: #FFFFFF;           
    border: 1px solid #1A1A1A; 
    padding: 16px 36px;        
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase; 
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    border-radius: 0;         
    align-self: flex-start;   
    margin-top: 20px;
}

/* --- EFFET AU SURVOL (HOVER) --- */
.submit-btn:hover {
    background-color: transparent; 
    color: #1A1A1A;                

}

/* ==========================================================================
   RESPONSIVE — RESPONSIVE DESIGN (TABLETTES & ÉCRANS)
   ========================================================================== */
@media (min-width: 768px) {
    .contact-section {
        grid-template-columns: 3fr 7fr; 
        gap: 80px;
        padding: 120px 0;
    }
    
    .contact-info {
        gap: 60px;
        padding-right: 30px;
    }
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title,
.philosophy-content,
.dark-card {
  animation: fadeUp 0.8s ease forwards;
}

/* ══════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════ */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #F2F0EB;
}

::-webkit-scrollbar-thumb {
  background: #CCC;
}






/* ══════════════════════════════════════
   LOADING SCREEN (EN BAS À GAUCHE & AGRANDI)
══════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background:  #e7e7e7;
  z-index: 99999;
  display: flex;
  
  align-items: center;
  justify-content: center;
  
  /* 👉 Marges de respiration par rapport aux bords de l'écran (Style Archi) */
  padding: 20px 20px 60px 20px;
  box-sizing: border-box;
}

.loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center; /* 👉 Aligne le sous-titre à gauche sous le logo */
  gap: 24px; /* Espace légèrement réduit pour compacter le bloc */
  width: 100%;
  /* 👉 Augmentation drastique de la taille globale du logo */
  max-width: 750px; 
  transform: translateY(-40px);
}

.loader-svg-logo {
  width: 110%;
  height: auto;
  overflow: visible !important;
  font-weight: 1200;
}

/* Style de tracé des contours des lettres */
.loader-path {
  stroke: #000000;
  stroke-width: 18px; 
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: transparent !important;
}

/* Lignes de repères techniques */
.scan-line {
  stroke: rgba(26, 26, 26, 0.2) !important;
  stroke-width: 2px !important;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
}

/* 👉 TEXTE SOUS LE LOGO AGRANDI */


.loader-logo-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-vitruve-img {
    position: fixed;
    width: 420px;
    max-width: 70vm;
    height: auto;
    opacity: 0.9;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.loader-svg-logo {
    position: fixed;
    top : 50% ;
    left : 52% !important;
    transform: translate(-50%, -50%);
    height: auto;
    width : 340px;
    z-index: 2;
}



/* --- SOUS-TITRE DECOUPE EN LETTRES --- 
.loader-subtitle-svg {
    position: fixed;
    left: 50%;
    top: calc(50% + 210px);
    transform: translateX(-50%);
    width: 92vw;
    max-width: 750px;
    height: auto;
    overflow: visible;
    z-index: 3;
}

.subtitle-text {
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.22em;
    fill: #1A1A1A;
}

.sub-char {
    display: inline-block;
    opacity: 0;
    clip-path: inset(0 100% 0 0); /* Masqué de droite à gauche 


.sub-char.first-letter {
    font-weight: 700;
    font-size: 28px; /* Équivalent plus grand de 22px (~1.27em) */



/* Import d'une police manuscrite pour la signature (ex: Great Vibes) */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

.loader-subtitle-svg {
  position: fixed;
    left: 50%;
    top: calc(50% + 210px);
    transform: translateX(-50%);
    width: 92vw;
    max-width: 750px;
    height: auto;
    overflow: visible;
    z-index: 3;
    margin-top: 20px;
    align-items:center;
    justify-content:center;
    
   
}

/* Texte standard des 2 premières lignes */
.subtitle-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 27px;
  font-weight: 500;
  fill: #1A1A1A; 
  word-spacing: -0.15em;
}

/* Texte de la signature */
.signature-text {
  font-family: 'Alex Brush', cursive;
  font-size: 46px;
  font-weight: 400;
  fill: #1A1A1A;
  letter-spacing: 0.03em;

}

.sub-char {
  display: inline-block;
}

.first-letter{
  font-weight: 800;
  font-size: 28px;
}

/* ══════════════════════════════════════
   PAGE LETTERS
══════════════════════════════════════ */

.page-letters {

 position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* Empêche de bloquer les clics sur le site */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

.page-letter-svg {

 width: 120vw; 
    min-width: 1500px;
    opacity: 0.12;
}

.draw-path {
    fill: none;
    stroke: #000;
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
}

/* Longueurs exactes pour le dasharray CSS */
.letter-a1, .letter-a2 {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
}

.letter-u {
    stroke-dasharray: 380;
    stroke-dashoffset: 380;
}

.letter-d {
    stroke-dasharray: 550;
    stroke-dashoffset: 550;
}
/* SVG LETTERS */

.page-letter {

  font-family: var(--font-body);

  font-size: 100vw;

  font-weight: 600;

  fill: transparent;

  stroke: #1A1A1A;

  stroke-width: 1.5;

  paint-order: stroke fill;

  opacity: 1;

  letter-spacing: -0.04em;

  will-change:
    transform,
    opacity,
    fill,
    stroke,
    stroke-dashoffset;

  mix-blend-mode: multiply;
  filter: blur(0.2px);
}


.page-letter-path {
  fill: none;
    stroke: #000;
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
    
    /* Préparation de l'animation grâce au pathLength="1" */
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    
    /* Lancement de l'animation : dure 3 secondes, retardée de 0.5s */
    animation: dessinerLettres 3s ease-in-out 0.5s forwards;
}

@keyframes dessinerLettres {
    to {
        stroke-dashoffset: 0;
    }
}
/* Première lettre */
.page-letter:first-of-type {

  transform:
    translate(0px, 0px);

}

/* Deuxième lettre */
.page-letter:last-of-type {

  transform:
    translate(0px, 0px);

} 


/* Contenu page */

.page-content {

  position: relative;
  z-index: 2;

}

.page-letter-bg {

  position: absolute;
  inset: 0;

  /*background: #17171C;*/
  background:#E8E8E5;

  z-index: -1;

  transform: translateY(100%);

}

body.home .page-letter-bg {
    display: none;
}

#pageContent{
    opacity:0;
}

.side-nav{
    opacity:0;
}



/* ══════════════════════════════════════
   MEDIA QUERIES GLOBALES (RESPONSIVE)
══════════════════════════════════════ */

/* 💻 ÉCRANS MOYENS (Tablettes Paysage / Petits Ordinateurs : max-width: 1024px) */
@media (max-width: 1024px) {
  .main {
    margin-left: 180px; /* On réduit l'espace pour la nav latérale */
  }

  /* --- HERO & SLIDER --- */
  .image-slider {
    width: calc(100vw - 180px) !important;  
    margin-left: 0 !important;  /* On colle le début après la nav latérale */
    margin-right: 0 !important; /* Collé au bord droit de l'écran */
  }
  

  .slider-text .link-btn {
    margin-left: 15px;
    margin-top: 20px;
    display: inline-block;
  }


.workflow-teaser {
  padding: 140px 60px;
  margin-left: auto;
  position: relative; /* Permet de caler l'image par rapport à cette section */
  min-height: 650px;
  display: flex;
  align-items: center;
  align-content: center;
}

/* L'image horizontale fixée en arrière-plan */
.workflow-bg-image {
  position: absolute;
  top: 60%;
  left: 50%; /* Décale l'image vers la droite comme sur Largo */
  transform: translateY(-48%);
  width: 35%; /* Donne la forme horizontale (prend plus de la moitié de l'écran) */
  height: 300px;
  z-index: 1; /* Reste derrière le texte */
}

.workflow-bg-image img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  display: block;
  opacity: 0.95; /* Léger voile pour que le texte noir par-dessus reste lisible */
}

/* Conteneur du texte au-dessus de l'image */
.workflow-wrapper {
  position: relative;
  z-index: 2; /* Passe obligatoirement par-dessus l'image */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Titre géant écrit en grand par-dessus */
.workflow-heading {
  font-size: clamp(70px, 8vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 40px;
  font-family: var(--font-display);
  
  /* ─── AJOUTS POUR LA VISIBILITÉ ─── */
  color: #1A1A1A; /* On passe en blanc */
  mix-blend-mode: difference; /* Le texte s'inverse selon le fond */
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.project-fullscreen-card {
  margin-left: calc(-180px) !important;
  width: 100vw !important;
}

.get-in-touch h2{
  white-space: nowrap !important;
  width: 100%;
  font-size: 65px;
}

.get-in-touch {
  margin-left: calc(-130px);
}

/* Bloc de texte */
.workflow-content {
  max-width: 450px;
  margin-left: 10px;
}

.workflow-content p {
  font-family: var(--font-display);
  font-size: 16px;
  color: #666; /* Ta couleur d'origine respectée */
  line-height: 1.8;
  margin-bottom: 30px;
}

.workflow-content .link-btn {
  position: relative;
  font-size: 20px; /* Ton bouton d'origine respecté */
}

.workflow-content .underline {
    background: #1A1A1A;
    bottom: 4px;
}


.proj-fullscreen-img .project-meta-box {
  position: absolute;
  bottom: -40px;
  right: 10px;
  left: auto;
  padding: 45px 60px;
  max-width:420px;
  min-height: 130px;
  z-index: 10;
  box-sizing: border-box;
  overflow: visible;
}
  
.ceo-image {
    margin-top: 190px !important; 
  }

.ceo-section {
  gap: 50px; 
}

   /* --- MANIFESTO --- */
   .manifesto-section {
    margin-bottom: -90px;
  }

  .manifesto-container {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  .manifesto-intro {
    left: 0;
    margin-bottom: 40px;
  }

  /* Boîte de réception globale des slides empilées */
  .manifesto-slides-wrapper { 
    position: relative;
    width: 100%; 
    height: 680px; /* Espace vertical maîtrisé pour l'ensemble de la composition */
  }

  /* Les slides restent parfaitement superposées au même endroit */
  .manifesto-slide { 
    position: absolute !important; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block !important; /* On gère l'agencement interne manuellement */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
  }

  .manifesto-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5;
  }

  /* 1️⃣ LA PHOTO VERTICALE : Garde sa forme portrait d'origine */
  .manifesto-img-wrap { 
    position: absolute !important;
    top: 0;
    left: 0;
    width: 65% !important; /* Prend la majorité de la largeur pour rester élancée */
    height: 480px !important; /* Hauteur verticale affirmée */
    z-index: 2; 
  }

  /* 2️⃣ LA CARTE NOIRE : Se superpose à cheval sur l'image */
  .manifesto-card-black { 
    position: absolute !important; 
    width: 60% !important; /* Légèrement plus étroite pour équilibrer la grille */
    right: 0 !important; 
    bottom: 120px !important; /* Vient chevaucher le bas droit de l'image verticale */
    left: auto !important;
    padding: 30px !important; 
    z-index: 3; /* Passe obligatoirement au-dessus de la photo */
    box-sizing: border-box;
  }

  /* 3️⃣ LE NUMÉRO GÉANT : Visible en fond de page */
  .manifesto-bg-num { 
    display: block !important; /* On le réactive ! */
    position: absolute !important;
    top: -40px;
    right: 0;
    font-size: clamp(140px, 28vw, 220px) !important; /* Taille géante mais adaptée au mobile */
    z-index: 1; /* Derrière l'image et la carte */
    color: black;
  }

  /* Ajustements légers des textes à l'intérieur du bloc noir */
  .manifesto-card-black h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .manifesto-card-black p {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  
.approach-section {
  padding: 90px 40px 80px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: flex-start;
}

  /* --- GRILLES & PAGES INTERNES --- */
  .service-item {
    padding: 30px 20px 30px 0;
  }
  .service-item:nth-child(2),
  .service-item:nth-child(3) {
    padding-left: 20px;
  }

  .recent-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .recent-header{
    padding-bottom: 0px;
  }
   

  .proj-grid-section {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -60px;
  }

  .proj-desc {
    gap: 40px;
  }

  .proj-img-grid {
    gap: 60px;
  }

  .contact-info {
    padding-left: 20px;
  }

  /* --- DÉPASSEMENTS HERO --- */
  .about-hero .hero-title, .about-hero .hero-subtitle,
  .wf-hero .hero-title, .wf-hero .hero-subtitle,
  .contact-hero .hero-title, .contact-hero .hero-subtitle {
    transform: translateX(5vw);
  }

  .proj-hero .hero-title {

   transform: translateX(2vw) !important;
  }

  .proj-hero:not(.project-hero-show) {
     margin-left: -188px !important; 
     margin-bottom: -130px;    
}

 .project-hero-show {
        width: 100vw !important;
        margin-left: -180px !important;
        margin-right: 0 !important;
    }

    .project-hero-show .proj-hero-img {
        width: 100% !important;
        left: 0 !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .get-in-touch-show{
       margin-left: calc(-30px)
    }

    .proj-img-grid-item.img-small-left {
  align-self: flex-start;
  width: 85%; /* Largeur identique pour toutes les images de côté */
  margin-left: 2%;
  height: auto;
}

/* 3. IMAGES LATÉRALES DROITE (Taille identique et fixe) */
.proj-img-grid-item.img-small-right {
  align-self: flex-end;
  width: 85%; /* Largeur identique pour toutes les images de côté */
  margin-right: 2%;
  height: auto;

}

.first-proj-full-img {
  margin-bottom: -40px;
}
/* Garder l'image entière */
.proj-img-grid-item.img-small-left img,
.proj-img-grid-item.img-small-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

}


/* ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═
   ┠ 📱 TABLETTES PORTRAIT (iPads : max-width: 768px)
═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ */
@media (max-width: 768px) {
  /* --- NAVIGATION LATÉRALE FIXE -> HEADER HORIZONTAL --- */
 .side-nav {
    position: fixed;
    top: 0px;
    left: 0;
    padding-top: 5px;
    width: 100%;
    height: 80px; /* Hauteur élégante pour le header */
    display: flex;
    flex-direction: row !important; /* On force l'alignement en ligne */
    justify-content: space-between; /* Logo à gauche, Menu à droite */
    align-items: center;
    padding: 0 40px; /* Aligné sur les paddings de tes sections d'architecture */
    background: #e7e7e7; 
    z-index: 9999;
    box-sizing: border-box;
  }

  .logo-img {
    width: 70px;
    margin-left: 0;
    margin-top: 10px;

  }

  /* 🛠️ LE BOUTON "MENU" À DROITE */
  .menu-trigger {
    display: block !important; /* Visible dès 768px */
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1A1A1A;
    cursor: pointer;
    font-weight: 500;
  }

  /* 🛠️ LE CONTENEUR DES LIENS DEVIENT LE PANNEAU PLEIN ÉCRAN NOIR */
  .nav-links-wrapper {
    position: fixed;
    top: -5px;
    left: 0;
    width: 100vw !important;  /* Force toute la largeur de l'écran */
    height: 100vh !important; /* Force toute la hauteur de l'écran */
    background: #1A1A1A !important; /* Fond noir absolu et opaque */
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Centre parfaitement à la verticale */
    align-items: center !important;     /* Centre parfaitement à l'horizontale */
    box-sizing: border-box;

    /* 👉 POSITION INITIALE : Caché à 100% vers le haut (hors de l'écran) */
    transform: translateY(-100%) !important;
    
    /* Transition fluide et élégante (Cubic-bezier pour un effet "studi d'archi") */
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1) !important;
  }

  /* Déclenché par le clic JS */
  .nav-links-wrapper.is-open {
    transform: translateY(0) !important;
  }

  /* Liens verticaux centrés sans décalage */
  .nav-links-wrapper ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important; /* Espace élégant entre chaque lien */
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100%;

    /* Animation du texte */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s; /* Le "0.4s" à la fin attend que le rideau descende */
  }

  /* Quand le menu est ouvert, les liens apparaissent proprement */
  .nav-links-wrapper.is-open ul {
    opacity: 1;
    transform: translateY(0);
  }

  /* Reset des éléments li pour éviter les décalages du desktop */
  .nav-links-wrapper ul li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .nav-links-wrapper ul li a {
    color: #FFFFFF !important; /* Force le texte en blanc pour ressortir sur le noir */
    font-family: var(--font-display);
    font-size: 26px !important; /* Taille idéale pour tablette et mobile */
    font-weight: 400;
    display: inline-block;
    text-decoration: underline !important; /* Souligné d'office */
    text-underline-offset: 3px;
    text-decoration-color: #FFFFFF !important;
    letter-spacing: 2px;
    transition: text-decoration-color 0.3s, opacity 0.3s;
  }

  .nav-links-wrapper ul li a:hover {
    text-decoration-color: #FFFFFF;
    opacity: 1;
  }

  /* Bouton Fermer (La croix blanche) */
  .menu-close {
    display: block !important;
    position: absolute;
    top: 24px;
    right: 40px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 42px;
    cursor: pointer;
    font-weight: 200;
    line-height: 1;
  }

 .nav-links-wrapper .submenu {
        display: none !important;
    }
  /* Ajustement pour le contenu principal pour ne pas passer sous le header fixe */
  .main {
    margin-left: 0;
    margin-top: 80px;
    padding: 80px 40px 0 40px; /* Décale le site vers le bas de 80px */
  }


  /* --- HERO GÉNÉRAUX & TITRES GÉANTS --- */
  .hero {
    padding: 40px 0 0 0;
  }

  .about-hero, .wf-hero, .proj-hero, .contact-hero {
    padding-top: 60px;
    margin-bottom: 0;
  }

  .about-hero .hero-title,
  .wf-hero .hero-title,
  .proj-hero .hero-title,
  .contact-hero .hero-title {
    width: 100%;
    white-space: normal;
    font-size: 70px;
    transform: translateX(0);
  }

  .about-hero .hero-subtitle,
  .wf-hero .hero-subtitle,
  .contact-hero .hero-subtitle {
    transform: translateX(0);
    margin-top: 10px;
  }

   .proj-hero .hero-title {

   transform: translateX(3vw) !important;
  }

  .proj-hero:not(.project-hero-show) {
     margin-left: -70px !important; 
     margin-bottom: -320px;    
}

  /* --- SLIDER PRINCIPAL --- */
  
  /* Ajustement de la boîte de texte pour qu'elle s'adapte à la largeur disponible */
  .slider-text {
    left: 24px !important;
    right: 24px !important;
    max-width: calc(100% - 48px) !important;
  }

  .hero {
    padding: 30px 0 0 0 !important;
    overflow: visible !important;
  }

  .image-slider {
    position: relative !important;
    width: 100vw !important;
    margin-left: calc(-40px) !important; /* Annule le padding du .main */
    margin-right: 0 !important;
    left: 0 !important;
    transform: none !important;
    margin-top: 40px !important;
    height: 70vh !important;
    background: #1A1A1A;
    margin-bottom: -110px;
    
  }

  .proj-card-img {
    margin-left: calc(-40px) !important;
    width: 100vw !important;

  }

   .proj-card-img img {
    transform: scale(1.14);
   }

   .proj-card-info {
    margin-left: calc(-20px) !important;
   }


  /* 2️⃣ PLACEMENT DU CONTENEUR DE TEXTE
     On transforme le conteneur en boîte flexible pour distribuer les éléments */
  .slider-text {
    left: 24px !important;
    right: 24px !important;
    top: -10px !important;
    bottom: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Centre verticalement le contenu sur l'image */
  }

  /* 3️⃣ AJUSTEMENT DU HEADING & DU PARAGRAPHE (À GAUCHE) */
  .slider-heading {
    font-size: clamp(49px, 6vw, 68px) !important;
    margin-top: 0 !important; /* On annule les marges fixes d'origine */
    text-align: left !important;
  }

  .slider-desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-left: 0 !important;
    margin-top: 25px !important;   /* Espace léger sous le titre */
    margin-bottom: 40px !important; /* Espace pour ne pas chevaucher le bouton */
    max-width: 90% !important;      /* Laisse une marge de sécurité à droite */
    text-align: left !important;
  }

  /* 4️⃣ LE BOUTON PROPULSÉ EN BAS À DROITE */
  .slider-text .link-btn {
    font-size: 13px !important;
    
    /* 🎯 LE LOOK EN BAS À DROITE :
       On annule les 700px et on utilise 'align-self' pour jeter le bouton tout à droite */
    margin-left: 0 !important; 
    align-self: flex-end !important; 
    
    display: inline-block !important;
    color: #FFFFFF !important;
    padding-bottom: 4px !important;
  }

  .workflow-content .link-btn {
    font-size: 13px;
  }
  
  .project-fullscreen-card {
    width: 100vw !important;
    margin-left: calc(-40px) !important;
  }

  .projects-preview-full {
  
  display: flex;
  flex-direction: column;
  gap: 350px;
  width: 100%;
  margin-top: 150px;
  margin-bottom: 280px;
  }

  .proj-fullscreen-img .project-meta-box{
  right: 0 ;
  width: 100% ;
  bottom: -20px;
  left: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
  }


  .project-title-overlay {
  top: -40px;   
}
 
.project-title-text {
  font-size: 3.5em !important;
}


  .meta-cols {
    gap: 40px !important;
    align-items: center !important;
    justify-content: center !important;

  }

  /* --- WORKFLOW TEASER --- */
  .workflow-teaser {
    flex-direction: column-reverse;
    padding: 60px 0;
    gap: 40px;
    margin-top: -20px;
  }

  .workflow-image {
    width: 100%;
    margin-top: 0;
  }

  .workflow-image img {
    width: 100%;
    height: 380px;
  }



  /* --- ABOUT HERO TITLE --- */
  .about-hero {
    padding-top: 40px !important;
    margin-bottom: 40px !important; /* Compense le débordement pour les sections suivantes */
    overflow: visible !important;   /* Permet au titre de dépasser de l'écran à droite */
  }

  .about-hero .hero-title {
    width: max-content !important;
    white-space: nowrap !important; /* Empêche le titre de se couper en deux lignes */
    font-size: clamp(80px, 16vw, 140px) !important; /* Même taille géante */
    
    /* Pousse le titre vers la droite pour créer l'effet coupé */
    margin-left: auto !important;
    transform: translateX(5vw) !important; 
  }

 /* ══════════════════════════════════════════════════════════════════════════
     ┠ 👥 SECTION CEO : CÔTE À CÔTE ALIGNÉ SUR TOUS LES ÉCRANS
  ══════════════════════════════════════════════════════════════════════════ */
  .ceo-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important; 
    padding: 120px 0 60px 0 !important;
    align-items: stretch !important; 
    width: 100%;
  }

  .ceo-image {
    margin-top: 0 !important; 
    height: 100% !important;  
    aspect-ratio: auto !important; 
    display: flex;
  }

  .ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
  }

  .ceo-content {
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }


  .ceo-content h2 {
    font-size: 24px !important; 
    margin-bottom: 12px !important;
  }

  .ceo-content p {
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
  }



  /* --- STATS SECTION (Grille 2x2) --- */
  .stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    padding: 60px 40px;
    text-align: center;
  }
  .stat-item {
    padding: 0 10px;
  }
  .stat-item:first-child {
    padding-left: 10px;
  }
  .stat-divider {
    display: none; 
  }


  /* --- MANIFESTO --- */
  .manifesto-section {
    margin-bottom: -90px;
  }
  .manifesto-container {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  .manifesto-intro {
    left: 0;
    margin-bottom: 40px;
  }

  /* Boîte de réception globale des slides empilées */
  .manifesto-slides-wrapper { 
    position: relative;
    width: 100%; 
    height: 680px; /* Espace vertical maîtrisé pour l'ensemble de la composition */
  }

  /* Les slides restent parfaitement superposées au même endroit */
  .manifesto-slide { 
    position: absolute !important; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block !important; /* On gère l'agencement interne manuellement */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
  }

  .manifesto-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5;
  }

  /* 1️⃣ LA PHOTO VERTICALE : Garde sa forme portrait d'origine */
  .manifesto-img-wrap { 
    position: absolute !important;
    top: 0;
    left: 0;
    width: 65% !important; /* Prend la majorité de la largeur pour rester élancée */
    height: 480px !important; /* Hauteur verticale affirmée */
    z-index: 2; 
  }

  /* 2️⃣ LA CARTE NOIRE : Se superpose à cheval sur l'image */
  .manifesto-card-black { 
    position: absolute !important; 
    width: 60% !important; /* Légèrement plus étroite pour équilibrer la grille */
    right: 0 !important; 
    bottom: 100px !important; /* Vient chevaucher le bas droit de l'image verticale */
    left: auto !important;
    padding: 30px !important; 
    z-index: 3; /* Passe obligatoirement au-dessus de la photo */
    box-sizing: border-box;
  }

  /* 3️⃣ LE NUMÉRO GÉANT : Visible en fond de page */
  .manifesto-bg-num { 
    display: block !important; /* On le réactive ! */
    position: absolute !important;
    top: -40px;
    right: 0;
    font-size: clamp(140px, 28vw, 220px) !important; /* Taille géante mais adaptée au mobile */
    z-index: 1; /* Derrière l'image et la carte */
    color: black;
  }

  /* Ajustements légers des textes à l'intérieur du bloc noir */
  .manifesto-card-black h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .manifesto-card-black p {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

 /* --- WORKFLOW HERO TITLE --- */
  .wf-hero {
    padding-top: 80px;
    overflow: visible; /* Crucial pour laisser le titre déborder proprement */
    margin-bottom: 40px; 
}
  

  .wf-hero .hero-title {
    width: max-content !important;
    white-space: nowrap !important;
    font-size: clamp(80px, 16vw, 140px) !important; /* Proportionnel à la largeur de la tablette */
    
    /* 👉 Conserve l'effet à droite mais adapté à l'espace disponible */
    margin-left: auto !important;
    transform: translateX(5vw) !important; 
  }

  

  /* --- SERVICES GRID (1 colonne) --- */
  .services-grid {
    grid-template-columns: 1fr;
    padding: 80px 0 100px 0;
  }
  .service-item {
    padding: 30px 0;
    border-right: none;
    border-bottom: 1px solid var(--light-line);
  }
  .service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .service-item:nth-child(2),
  .service-item:nth-child(3) {
    padding-left: 0;
  }

  /* --- NOTRE MÉTHODE (APPROACH) --- */
  .approach-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 0;
  }
  .approach-header, .approach-steps {
    grid-column: 1;
  }
  .approach-header {
    margin-bottom: 30px;
  }
  .step {
    padding: 35px;
    min-height: auto;
  }
  .step-num {
    font-size: 100px;
    margin-left: 0;
  }

  /* Sécurité anti-scroll horizontal pour les lignes d'étapes */
  .step-reveal-line.line-h1, .step-reveal-line.line-h2 { left: -10%; width: 120%; }
  .step-reveal-line.line-v1, .step-reveal-line.line-v2 { top: -10%; height: 120%; }

  /* --- WHY US & RECENT PROJECTS --- */
  .why-us {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 60px 0;
  }
  .why-us-text {
    max-width: 100%;
  }

  .recent-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
  }
  .recent-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .recent-card-img {
     margin-left: calc(-40px) !important;
     width: 100vw;
  }

  .recent-card-info {
    margin-left: calc(-20px) !important;
  }

  .get-in-touch .services-cta{
    margin-left: 136px;
    
  }

  .get-in-touch .home-cta{
     margin-left: 136px;

  }
  /* --- PROJECTS INDEX (GALLERY GRIDS) --- */
  .proj-grid-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: -120px;
  }
  .proj-card--large .proj-card-img {
    height: 45vh;
  }
  .proj-card--small .proj-card-img {
    aspect-ratio: 16 / 10;
  }
  .proj-card-info {
    padding: 15px 0 25px;
  }
  .proj-grid-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- PROJET INDEX TITLE --- */
  .proj-hero {
    padding-top: 80px;
    margin-bottom: -40px; /* On adapte l'espace pour que la grille en dessous respire */
    overflow: visible; /* Crucial pour laisser le titre déborder proprement */
  }

  .proj-hero .hero-title {
    width: max-content !important;
    white-space: nowrap !important;
    font-size: clamp(80px, 16vw, 140px) !important; /* Proportionnel à la largeur de la tablette */
    
    /* 👉 Conserve l'effet à droite mais adapté à l'espace disponible */
    margin-left: auto !important;
    transform: translateX(5vw) !important; 
  }

  /* Déplacer les indicateurs ronds des filtres sous le texte */
  .filter-indicator {
    top: auto;
    bottom: -6px;
  }

  /* --- BARRE DE FILTRE BASSE FIXE --- */
  .proj-filter {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 80px;
    padding: 15px 20px;
    justify-content: center;
    transform: translateY(0);
  }
  .filter-btns {
    gap: 20px;
    padding-right: 0;
  }

 .filter-reveal-line {
    display: block !important; /* On s'assure qu'elles restent visibles */
    opacity: 0.4; /* On les rend un peu plus subtiles sur mobile */
  }

  /* On calme le débordement géant pour qu'elles restent dans la barre du bas */
  .filter-reveal-line.line-h1,
  .filter-reveal-line.line-h2 {
    left: 0;
    width: 100%; /* S'aligne pile sur la largeur du téléphone */
  }

  .filter-reveal-line.line-v1,
  .filter-reveal-line.line-v2 {
    top: -10px;
    height: calc(100% + 20px); /* Dépasse juste un tout petit peu en haut et en bas de la barre noire */
  }

  /* --- SINGLE PROJECT SHOW --- */

 .project-hero-show {
  margin-top: -33px !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;

  position: relative !important;
  overflow: hidden !important;
}

.project-hero-show .proj-hero {
  width: 100% !important;
  height: 60vh !important;

  margin: 0 !important;
  padding: 0 !important;

  position: relative !important;
  display: block !important;
  overflow: hidden !important;
}

.project-hero-show .proj-hero-title {
  position: absolute !important;

  left: 20px !important;
  right: 20px !important;
  bottom: 40% !important;

  margin: 0 !important;

  font-size: clamp(40px, 7vw, 70px) !important;

  z-index: 5 !important;
}


   .project-hero-show .proj-hero-img {
  width: 100% !important;
  height: 100% !important;

  position: absolute !important;
  top: 0 !important;
  left: 0 !important;

  margin: 0 !important;

  overflow: hidden !important;
}

 .project-hero-show .proj-hero-img img {
  width: 100% !important;
  height: 100% !important;

  display: block !important;

  object-fit: cover !important;
}

  .project-hero-show .proj-hero-meta {
  position: absolute !important;

  right: 0 !important;
  left: auto !important;
  bottom: -10px !important;

  width: 100% !important;
  max-width: none !important;

  padding: 15px 20px !important;

  box-sizing: border-box !important;

  z-index: 10 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  align-items: start !important;
  padding: 30px 20px 15px 20px !important;
}
 
.project-hero-show .meta-value {
  font-size: clamp(10px, 2vw, 12px) !important;
}

.project-hero-show .meta-label {
  font-size: clamp(11px, 2vw, 13px) !important;
}

  .proj-hero-title {
    margin-bottom: 20px;
  }

  .meta-reveal-line.line-h1, .meta-reveal-line.line-h2 { left: -5%; width: 110%; }
  .meta-reveal-line.line-v1, .meta-reveal-line.line-v2 { top: -5%; height: 110%; }

.proj-hero-meta .meta-reveal-line.line-v1 { left: 0px; }
.proj-hero-meta .meta-reveal-line.line-v2 { left: auto; right: 17px; } 


.proj-hero-meta .meta-reveal-line.line-h1 { top: 19px; }
.proj-hero-meta .meta-reveal-line.line-h2 { top: auto; bottom: 24px; }


  .proj-desc {
    margin-top: 60px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 60px 0 40px 0;
  }
  .proj-desc-left h2 {
    margin-top: 0;
  }
  
  .proj-full-img {
    width: 110%;
    height: auto;
    align-self: center;
    margin-left: -3%;
    margin-bottom: -10px;
}

.proj-full-img img {
    width: 100%;
    height: auto;
    display: block;
}


  /* Grid d'images : Passage en pleine largeur pour valoriser les visuels d'architecture */
  .proj-img-grid {
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-right: 0;
  }
  .proj-img-grid-item.img-large-center,
  .proj-img-grid-item.img-small-left,
  .proj-img-grid-item.img-small-right {
    width: 100%;
    align-self: center;
    margin-left: 0;
    margin-right: 0;
    height: 350px;

  }

/* Garder l'image entière */
.proj-img-grid-item.img-large-center img,
.proj-img-grid-item.img-small-left img,
.proj-img-grid-item.img-small-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.get-in-touch-show h2{
  white-space: nowrap;
  font-size: 51px;
}

.get-in-touch-show {
  margin-left: 12px;
}
  

  .proj-approach {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 60px 0;
  }
  .proj-approach-inner {
    max-width: 100%;
  }
  .proj-approach-num {
    font-size: 50px;
    opacity: 0.15;
  }

  .proj-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 0;
  }
  .proj-nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }

 /* --- CONTACT HERO TITLE --- */
   .contact-hero {
    padding-top: 80px;
    margin-bottom: 40px; /* On adapte l'espace pour que la grille en dessous respire */
    overflow: visible; /* Crucial pour laisser le titre déborder proprement */
  }

  .contact-hero .hero-title {
    width: max-content !important;
    white-space: nowrap !important;
    font-size: clamp(80px, 16vw, 140px) !important; /* Proportionnel à la largeur de la tablette */
    
    /* 👉 Conserve l'effet à droite mais adapté à l'espace disponible */
    margin-left: auto !important;
    transform: translateX(5vw) !important; 
  }

  /*---  RESTRUCTURATION DE LA ZONE DE CONTENU --- */
  .contact-section {
    grid-template-columns: 1fr !important; /* Force le passage sur une colonne propre */
    gap: 60px !important;
    padding: 60px 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Alignement des blocs d'informations du studio */
  .contact-info {
    gap: 40px !important;
    padding-right: 0 !important;
  }

  .contact-block {
    gap: 8px !important;
  }

  .contact-link {
    font-size: 1.3rem !important; /* Rapprochement vers une taille lisible sur smartphone */
  }

  /* --- 3️⃣ OPTIMISATION DU FORMULAIRE MINIMALISTE --- */
  .contact-form-wrap {
    width: 100% !important;
  }

  .contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

  .forma-form {
    gap: 32px !important; 
    padding-left: 20px !important;
    margin-top: 20px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem !important; 
    padding: 10px 0 !important;
  }

 
  .submit-btn {
    width: 100% !important;
    align-self: stretch !important;
    text-align: center;
    padding: 18px 24px !important; /* Légèrement plus haut pour une meilleure surface de clic */
    font-size: 0.95rem !important;
    margin-top: 10px !important;
  }

  /* --- LOADER PRINCIPAL --- */
  .loader {
    padding: 60px 24px;
    align-items: center;
    justify-content: center;
  }
  .loader-wrap {
    max-width: 100%;
    gap: 16px;
  }
  
.loader-subtitle {
    position: fixed !important;
    top: calc(50% + 220px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    font-family: 'Jost', sans-serif;
    font-size: clamp(13px, 1.8vw, 16px);
    font-weight: 400;
    color: #1A1A1A;
    letter-spacing: 9px;
    text-transform: uppercase;
    opacity: 0;
    white-space: nowrap;
    z-index: 3;
}

.page-letter-svg {
    /* Maintient les proportions strictes du repère initial */
    width: 100vw !important;
    height: 100vh !important;
    overflow: visible !important;
  }

  .page-letter {
    /* 💥 Taille géante adaptée à la viewBox 1600x1200 */
    font-size: 1100px !important; 
    
    /* Conserve la finesse du trait d'architecture */
    vector-effect: non-scaling-stroke;
    stroke-width: 1.2px !important; 
  }

  /* 🅰️ PREMIÈRE LETTRE (Le 'A') : On la glisse un peu vers l'intérieur */
  .page-letter:first-of-type {
    transform: translateX(10vw) !important; /* Pousse vers la droite */
  }

  /* 🅱️ DEUXIÈME LETTRE (Le 'D') : On la glisse un peu vers l'intérieur */
  .page-letter:last-of-type {
    transform: translateX(-10vw) !important; /* Pousse vers la gauche */
  }

  .get-in-touch {
    padding: 80px 0 !important; /* Un peu plus compact sur tablette/mobile */
  }

  .get-in-touch .contact-cta {
    margin-left: 133px;
  }

  .contact-hero .hero-title{
   margin-top: -20px;
}

.loader-vitruve-img {
   
    width: 400px;
   
}

.loader-svg-logo {

    width : 320px;
    
}

.subtitle-text {
  font-size: 38px;
}

/* Texte de la signature */
.signature-text {
  font-size: 53px;
}

.first-letter{
  font-size: 39px;
}

.meta-cols .meta-col:nth-child(2) .meta-value {
    white-space: nowrap !important;
}

}

/* 💻 SUR GRAND ÉCRAN : On s'assure que les boutons mobiles menu n'apparaissent pas */
@media (min-width: 769px) {
  .menu-trigger, .menu-close {
    display: none !important;
  }
  .nav-links-wrapper {
    position: static;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
  }
}



/* ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═
   ┠ 📱 PETITS SMARTPHONES (Mobiles : max-width: 480px)
═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ ═ */
@media (max-width: 480px) {

  .hero {
    padding: 20px 0 0 0 !important; /* On réduit un peu le haut sur mini écran */
  }

 .image-slider {
    width: 100vw !important;
    margin-left: -24px !important; /* compense le padding de .main sur 480px */
    margin-right: -24px !important;
    height: 75vh !important;
  }
  /* On ajuste la taille des textes pour qu'ils restent super propres et lisibles */
  .slider-text {
    left: 16px !important;  /* Moins d'espace sur les côtés pour maximiser la zone de texte */
    right: 16px !important;
    max-width: calc(100% - 32px) !important;
  }

  .slider-heading {
    font-size: 31px ; /* Titre plus compact pour éviter les retours à la ligne brutaux */
    margin-top: -10px;
    margin-bottom: 15px;
  }

  .slider-desc {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
    margin-bottom: 25px !important; /* Laisse de la place au bouton */
    max-width: 100% !important;
  }

  /* --- COUTURES ET ESPACEMENTS MOBILES --- */
  .side-nav {
    padding: 0 24px; /* Moins d'espace sur les côtés sur petit téléphone */
  }
  .menu-close {
    right: 24px;
  }
  .nav-links-wrapper ul li a {
    font-size: 22px; /* Un poil plus petit pour que ça rentre sans couper */
  }
  .main {
    padding: 80px 24px 0 24px;
  }

  .get-in-touch, .site-footer {
    padding: 40px 0;
  }

  .home-hero-title{
    font-size: clamp(52px, 13vw, 72px);
  }

  .home-hero-subtitle {
     font-size: clamp(8px, 3vw, 12px);
  }

  .workflow-content p {
    font-size: 13px;
  }

  .workflow-teaser {
    margin-top: -150px; 
  }

  .workflow-heading {
    font-size: clamp(52px, 13vw, 72px);
  }

  .image-slider {
    margin-bottom: -60px;
  }


  .project-fullscreen-card {
    width: 100vw !important;
    margin-left: calc(-24px) !important;
  }

  .proj-fullscreen-img .project-meta-box{
  width: 100%;
    right: 0;
    left: 0;
    bottom: -20px;

    /* 2. Forcer l'affichage sur 3 colonnes égales */
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
     place-items: center;
    padding: 16px 25px 16px 45px !important;
    text-align: center !important;
  }

  
  .project-meta-box h4,
  .project-meta-box .meta-label {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
  }

  .project-meta-box p,
  .project-meta-box .meta-value {
    font-size: 9px !important;
  }

  .project-title-text {
  font-size: 2.9em !important;
  margin-left: -40px;
}
  

  

  .projects-preview {
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100vw !important; /* Force la largeur exacte de l'écran visible */
    max-width: 100vw !important;
    
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }



  .projects-grid {
    gap: 40px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .project-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0px !important;
  }

  .project-card img {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    object-fit: cover;
  }
  
 
  .project-info {
    padding: 16px;
  }

  .get-in-touch h2 {
    letter-spacing: -1px;
  }

  .site-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* --- BLOCS & SÉPARATEURS --- */
  .stats-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .manifesto-slides-wrapper { 
    height: 640px; 
  }
  .manifesto-img-wrap { 
    width: 75% !important; /* On élargit un peu pour les petits écrans */
    height: 380px !important; 
  }
  .manifesto-card-black { 
    width: 80% !important; /* Donne plus d'espace pour que le texte ne s'étire pas trop */
    bottom: 20px !important;
    padding: 24px !important;
  }
  .manifesto-bg-num {
    top: -20px;
  }

  .section-divider {
    margin-right: 0;
  }

  .step {
    padding: 25px;
  }
  .step h3 {
    font-size: 22px;
  }
  .step p {
    font-size: 14px;
  }

  .recent-grid {
    grid-template-columns: 1fr ;
    gap: 70px;
  }


  .recent-card-img {
     margin-left: calc(-24px) !important;
     width: 100vw;
  }


  /* --- INDEX DES PROJETS --- */
  .proj-card--large .proj-card-img {
    height: 45vh;
  }



  .proj-card-img {
    margin-left: calc(-24px) !important;
    width: 100vw !important;
    height: 60vh;
  }

  .proj-card-info {
    margin-left: calc(-5px) !important;
  }

  .project-hero-show {
    margin-top: -30px !important;
    margin-bottom: -20px;
    overflow: visible;
    height: 65vh !important;
  }

  .proj-hero-show .hero-title {
    font-size: clamp(65px, 20vw, 95px); /* Évite que le texte ne devienne minuscule ou géant */
    line-height: 0.95;
    
    /* 👉 Décalage subtil pour les petits écrans de téléphones */
    margin-left: auto;
    transform: translateX(15vw); 
  }

  .get-in-touch .contact-cta {
    margin-left: 133px;
  }


  .proj-hero .hero-title {

   transform: translateX(3vw) !important;
  }

  .proj-hero:not(.project-hero-show) {
     margin-left: -34px !important; 
     margin-bottom: 50px;  
     margin-top: -20px; 
}

.wf-hero .hero-title{
  margin-top: -20px;
}

.contact-hero .hero-title{
   margin-top: -20px;
}

.about-hero .her-title {
  margin-top: -20px;
}

.about-hero{
  margin-left: -34px !important
}

.wf-hero {
   margin-bottom: 50px; 
}

.contact-hero{
  margin-bottom: 80px;
}
  .proj-filter {
    padding: 15px 10px;
  }
  .filter-btns {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* --- SINGLE PROJECT SHOW --- */
  .proj-hero {
    height: 50vh;
  }
  .proj-hero-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
   .proj-full-img {
    width: 100vw !important;
    height: 430px;
    margin-left: calc(-24px) !important;
  }

  .proj-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .proj-nav-link {
    text-align: left;
  }


  .contact-section {
    gap: 48px !important;
    padding: 40px 0 !important;
  }

 .page-letter {
    /* Ajustement léger de la taille pour la lisibilité sur micro-écran */
    font-size: 1000px !important; 
    stroke-width: 1px !important;
    
  }

  /* 🅰️ PREMIÈRE LETTRE (Le 'A') : Plus l'écran est petit, plus on la rapproche */
  .page-letter:first-of-type {
    transform: translateX(20vw) !important; 
  }

  /* 🅱️ DEUXIÈME LETTRE (Le 'D') : Plus l'écran est petit, plus on la rapproche */
  .page-letter:last-of-type {
    transform: translateX(-20vw) !important; 
  }

  .footer-copy{
    margin-right: 12px;
  }

  
.loader-vitruve-img {
    width: 350px;
   
}

.loader-svg-logo {

    width : 270px;
    
}


.subtitle-text {
  font-size: 43px;
}

/* Texte de la signature */
.signature-text {
  font-size: 57px;
}

.first-letter{
  font-size: 44px;
}

.loader-subtitle-svg {
  margin-top: -10px;
}
.loader-subtitle-svg .subtitle-text:nth-of-type(1) {
    transform: translateY(0) !important;
}

.loader-subtitle-svg .subtitle-text:nth-of-type(2) {
    transform: translateY(20px) !important;
}

.loader-subtitle-svg .signature-text {
    transform-box: fill-box !important;
    transform-origin: center !important;
    transform: translateY(30px) !important;
}

.recent-card-info {
    margin-left: calc(-10px) !important;
  }

   .proj-img-grid {
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 50px;
    padding-right: 0;
    width: 100%;
}

.proj-img-grid-item.img-large-center,
.proj-img-grid-item.img-small-left,
.proj-img-grid-item.img-small-right {
    width: 100%;
    align-self: center;
    margin-left: 0;
    margin-right: 0;
    height: auto;
}

/* Garder les images dans leur format original */
.proj-img-grid-item.img-large-center img,
.proj-img-grid-item.img-small-left img,
.proj-img-grid-item.img-small-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

    .proj-full-img {
        width: 100%;
        height: auto;
        align-self: center;
        padding-left: 5%;
        margin-right: 0;
        margin-bottom: -10px;
    }

    .proj-full-img img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
}
