/**********************
GENERALITES UNIVERSELLES 
**********************/

/* VARIABLES */
:root {
  --green: #02584B;
  --pink: #FEBFDA;
  --blue:#6322E4;
  --light-green:#D5DF65;
}


/* FONT */

@font-face {
  font-family: "Neulis";
  src: url("../font/neulis-cursive-semibold.otf") format("opentype");
  font-weight: 600;
}


@font-face {
  font-family: "Neulis";
  src: url("../font/neulis-cursive-regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Glacial";
  src: url("../font/GlacialIndifference-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Glacial";
  src: url("../font/GlacialIndifference-Bold.otf") format("opentype");
  font-weight: 700;
}

/* STRUCTURE */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Glacial", sans-serif;
  background: white;
}

/* COULEURS LOGO INES AUBERT PAR PAGES */
.home .hello,
.projets .hello {
  color: black;
}

.propos .hello {
  color: white;
}

/* NAVIGATION */


.nav {
  position: absolute;
  top: 20px;
  right: 50px;

  display: flex;
  gap: 30px;
  padding: 12px 30px;
  border-radius: 40px;
}


/* TITLE */


.title {
  margin: 0;
  font-family: "Neulis", sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 190px;
  color: var(--green);
  position: relative;
  top: 175px;
  left: 50px;
  word-break: normal;
  overflow-wrap: normal;

}

.title-double {
  line-height:0.8;
  top:130px;
  font-size:190px;
}


.title span {
  display: inline-block;
  white-space: pre;
}

/* ESPACE VIDE D'ESPACEMENT */

.spacer {
  width: 100%;
  height: 120px; /* ajuste si besoin */
  background: white;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 80px 20px 40px;
  background: rgba(99, 34, 228, 0.8);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 40px;
}

.footer-nav a {
  text-decoration: none;
  color: black;
  font-size: 24px;
}

.footer-title {
  font-family: "Neulis", sans-serif;
  font-size: 48px;
  margin: 70px 0 10px;
  color:#FEBFDA;
  display:flex;
  justify-content: center;
}

.footer-subtitle {
  margin-bottom: 30px;
  color: black;
  display:flex;
  justify-content:center;
  font-size:24px;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-icons a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;

  color: var(--blue);

  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;

  transition: 0.3s;
}

.footer-icons a:hover {
  transform: scale(1.1);
}

.footer-copy {
  font-size: 15px;
  color: black;
  display:flex;
  justify-content: center;

}


/*BARRE DE PROGRESSION DE LA PAGE */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--blue);
  width: 0%;
  z-index: 9999;
}






/**********************
ACCUEIL 
**********************/

/* HEADER */

.header-main {
  background: var(--pink);
  padding: 60px 40px 130px;
  position: relative;
}

.header-main-title{
  margin: 0;
  font-family: "Neulis", sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 210px;
  color: var(--green);
  position: relative;
  top: 175px;
  left: 50px;
}



/* LOGO INES AUBERT */
.hello {
  position: absolute;
  top: 20px;
  left: 100px;

  font-family: "Glacial", sans-serif;
  font-size: 20px;
}




/* NAVIGATION */


.home .nav a {
  text-decoration: none;
  font-family: "Glacial", sans-serif;
  font-size: 20px;
  position: relative;
  padding: 5px 0;
  transition: 0.3s;
  color:black;
}

.home .nav a:hover {
  color: var(--green);
}

.home .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--green);
  transition: 0.3s;
}

.home .nav a:hover::after {
  width: 100%;
}

.home .nav a.active {
  color: var(--green);
  font-weight: bold;
}

.home .nav a.active::after {
  width: 100%;
}

/* INTRODUCTION HELLO! */
.intro-hero {
  max-width: 1000px;
  margin: 120px auto 60px;
  padding: 0 40px;
}

.intro-title {
  font-family: "Neulis";
  font-size: 80px;
  margin: 0;
  color: black;
  margin-left:120px
}

.intro-text {
  font-family: "Glacial";
  font-size: 22px;
  line-height: 1.6;

  margin-top: 5px;
  margin-left: 126px;
  max-width: 600px;
}

.intro-btn {
  display: inline-block;
  margin-top: 10px;
  margin-left: 120px;

  padding: 14px 26px;
  border-radius: 40px;

  border: 2px solid var(--green);
  color: var(--green);

  font-family: "Glacial", sans-serif;
  font-size: 18px;
  text-decoration: none;

  transition: 0.3s;
}

.intro-btn:hover {
  background: var(--green);
  color: white;
}


/* ENORME BANDEROLE! */


.big-text-section {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.marquee-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;

  font-family: "Neulis";
  font-weight: 600;
  font-size: 160px;

  color: rgba(0, 0, 0, 0.05);
  white-space: nowrap;

  transform: translateY(-50%);
  animation: scrollBg 40s linear infinite;
  pointer-events: none;
}
@keyframes scrollBg {
  from { transform: translate(0, -50%); }
  to { transform: translate(-50%, -50%); }
}



/* APERCU DES PROJETS */

.featured-projects {
  margin: 120px 0;
  text-align: center;
}

.featured-title {
  font-family: "Neulis";
  font-size: 50px;
  margin-bottom: 80px;
  color: black;
}


.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  padding: 0 50px; 
}


.featured-card {
  position: relative;
  display: block;
  border-radius: 20px;

  text-decoration:none;
  color:inherit;
  text-align: left;
}

.featured-card img {
  width: 100%;
  height: 500px; 
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

.featured-card:hover img {
  transform: scale(1.05);
}


.tag {
  position: absolute;
  bottom: 20px;
  left: 20px;

  background: white;
  padding: 8px 16px;
  border-radius: 20px;

  font-size: 14px;
  font-family: "Glacial";
}


.featured-cta {
  margin-top: 60px;
  text-align: center;
}

.featured-cta a {
  display: inline-block;
}


.btn-center {
  display: inline-block;
  margin: 0; /* 👈 pas de décalage */
}


.card-title {
  margin: 15px 0 8px;
  font-family: "Neulis";
  font-size: 24px;
  color: black;
  
}

.card-tag {
  display: inline-block;

  border: 1px solid var(--blue);
  color: black;

  padding: 5px 12px;
  border-radius: 20px;

  font-size: 18px;
  font-family: "Glacial";
}



.img-wrapper {
  border-radius: 20px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}




/**********************
PROJETS
**********************/

/* HEADER */

.header-projet {
  background:  rgba(99, 34, 228, 0.8);
  
  padding: 60px 40px 130px;
  position: relative;
}


.header-projet-title{
  margin: 0;
  font-family: "Neulis", sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 210px;
  color: var(--pink);
  position: relative;
  top: 175px;
  left: 50px;
}


/* NAVIGATION */

.projets .nav a {
  text-decoration: none;
  font-family: "Glacial", sans-serif;
  font-size: 20px;
  position: relative;
  padding: 5px 0;
  transition: 0.3s;
  color:black;
}

.projets .nav a:hover {
  color: var(--pink);
}

.projets .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--pink);
  transition: 0.3s;
}

.projets .nav a:hover::after {
  width: 100%;
}

.projets .nav a.active {
  color: var(--pink);
  font-weight: bold;
}

.projets .nav a.active::after {
  width: 100%;
}


/* FILTRES */
.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 30px;
  flex-wrap: wrap;
  margin-top: 80px;
}

.filters button {
  border: 1px solid var(--blue);
  padding: 12px 22px;
  border-radius: 30px;
  background: white;
  cursor: pointer;
  font-family: "Glacial", sans-serif;
  font-size: 20px;
}

.filters .active {
  background: var(--blue);
  color: white;
}


/*FILTRES ANIMES*/
.card {
  transition: 0.4s;
}

.card.hide {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}



/* GALERIE */
.gallery {
  column-count: 4;
  column-gap: 20px;
  padding: 20px 40px;
  margin-bottom:60px;
}

.card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  break-inside: avoid;
  text-decoration: none;
  color: inherit;
}

/* IMAGE PROJET */
.card img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  transition: 0.4s;
}

/* DESCRIPTIF RAPIDE PROJETS*/
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(254, 191, 218,0.6);
  color: var(--green);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: 0.3s;
  text-align: center;
}

.overlay h3 {
  margin: 0;
  font-size: 22px;
}

.overlay p {
  margin-top: 5px;
  font-size: 14px;
}

.card:hover .overlay {
  opacity: 1;
}

.card:hover img {
  transform: scale(1.1);
}

/*RATIO PROJETS*/
.nutella { aspect-ratio: 323 / 485; }
.vogue { aspect-ratio: 324 / 398; }
.postale { aspect-ratio: 322 / 466; }
.kaiso { aspect-ratio: 323 / 322; }
.louvre { aspect-ratio: 323 / 420; }
.horizonia { aspect-ratio: 323 / 237; }
.flatdesign { aspect-ratio: 324 / 310; }
.vogue2 { aspect-ratio: 322 / 390; }
.soren { aspect-ratio: 322 / 322; }
.bauhaus { aspect-ratio: 322 / 228; }
.pawtato { aspect-ratio: 323 / 435; }
.amyla { aspect-ratio: 323 / 280; }
.refuge{aspect-ratio:322/322}








/**********************
A PROPOS
**********************/


/* HEADER */

.header-propos {
  background: var(--green);
  
  padding: 60px 40px 130px;
  position: relative;
}

.header-propos-title{
  margin: 0;
  font-family: "Neulis", sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 210px;
  color: var(--pink);
  position: relative;
  top: 175px;
  left: 50px;
}




/* NAVIGATION */
.propos .nav a {
  text-decoration: none;
  font-family: "Glacial", sans-serif;
  font-size: 20px;
  position: relative;
  padding: 5px 0;
  transition: 0.3s;
  color:white;
}

.propos .nav a:hover {
  color: var(--pink);
}

.propos .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--pink);
  transition: 0.3s;
}

.propos .nav a:hover::after {
  width: 100%;
}

.propos .nav a.active {
  color: var(--pink);
  font-weight: bold;
}

.propos .nav a.active::after {
  width: 100%;
}


/* PRESENTATION */

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}


.about-hero {
  max-width: 1000px;
  margin: 120px auto 80px;
  padding: 0 40px;
}

.about-title {
  font-family: "Neulis";
  font-size: 80px;
  margin: 0;
  color: black;
  margin-left: -210px;
}

.about-text {
  margin-left: -210px;
  margin-top: 10px;
  max-width: 750px;
}

.about-text p {
  font-family: "Glacial";
  font-size: 20px;
  line-height: 1.7;
  color: black;
  margin-bottom: 20px;
  
}
.about-cv {
  margin-top: 30px;
}

.about-left {
  flex: 1;
}

.about-right {
  flex: 0 0 400px; /* largeur fixe propre */
  display: flex;
  justify-content: flex-end; /* pousse à droite */
}


.cv-btn {
  display: inline-block;
  margin-top: 20px;

  padding: 14px 28px;
  border-radius: 40px;

  border: 2px solid var(--green);
  color: var(--green);

  font-family: "Glacial";
  font-size: 18px;
  text-decoration: none;

  transition: 0.3s;
}

.cv-btn:hover {
  border:2px solid var(--pink);
  background: var(--pink);
  color: var(--green);
}

.about-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: nowrap;
  margin-left: -210px;


}
/* PHOTOS MOI */



.photo-stack {
  position: relative;
  width: 350px;
  height: 450px;
  cursor: pointer;
  margin-right: -70px;
  margin-top:100px;
}

.photo {
  position: absolute;
  width: 100%;
  height: 100%;

  object-fit: cover;
  border-radius: 20px;

  transition: transform 0.4s, opacity 0.4s;
}




.photo:nth-child(1) { z-index: 3; }
.photo:nth-child(2) { z-index: 2; }
.photo:nth-child(3) { z-index: 1; }

.photo.pos1 {
  transform: rotate(-2deg);
  z-index: 3;
}

.photo.pos2 {
  transform: translate(10px, 10px) rotate(3deg);
  z-index: 2;
}

.photo.pos3 {
  transform: translate(20px, 20px) rotate(-4deg);
  z-index: 1;
}









/**********************
DETAILS DES PROJETS 
**********************/


/* HEADER */


.header-project-green {
  background: var(--pink);
  padding: 60px 40px 130px;
  position: relative;
}

.header-project-green .title {
  color: var(--blue);
}

/* NAVIGATION */


.details .nav a {
  text-decoration: none;
  font-family: "Glacial", sans-serif;
  font-size: 20px;
  position: relative;
  padding: 5px 0;
  transition: 0.3s;
  color:black;
}

.details .nav a:hover {
  color: var(--blue);
}

.details .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--blue);
  transition: 0.3s;
}

.details .nav a:hover::after {
  width: 100%;
}

.details .nav a.active {
  color: var(--blue);
  font-weight: bold;
}

.details .nav a.active::after {
  width: 100%;
}


/* RETOUR AUX PROJETS HAUT*/
.back-top {
  position: absolute;
  top: 35px;
  left: 100px;

  font-family: "Glacial", sans-serif;
  font-size: 20px;
  text-decoration: none;
  color:black;
}


/*PROJETS*/

.project {
  max-width: 900px;
  margin: 120px auto;
  padding: 20px;
  text-align: center;
}

.project-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
}

.project-info {
  max-width: 600px;
  margin: auto;
}

.category {
  color: var(--pink);
  font-size: 18px;
  margin-bottom: 10px;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey);
}


/*INTRODUCTION PROJET*/
.project-intro {
  max-width: 1350px;
  margin: 120px auto;
  padding: 0 40px;
  margin-left:60px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}


.project-text {
  flex: 1;
}

.project-text p {
  font-family: "Glacial";
  font-size: 23px;
  line-height: 1.6;
  color: black;
}


/* MOTS SURIGNÉS */
.highlight {
  background: var(--pink);
  padding: 2px 6px;
  border-radius: 6px;
}


/* INFOS TECHNIQUES */
.project-info-box {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
  margin-right: -60px;
}


.project-tag {
  background: white;
  color: var(--green);

  padding: 12px 30px;
  border: 2px solid var(--green);
  border-radius: 40px;

  font-family: "Glacial";
  font-size: 18px;
}


.project-softwares {
  display: flex;
  gap: 15px;
}

.project-softwares img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
/* LIGNE PHOTOS 1 */

.project-images {
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 0 40px; 

  display: flex;
  justify-content: center;
  gap: 14px;
}

/* images */
.project-images img {
  width: 430px ;
  border-radius: 15px;
  object-fit: cover;
}
/* LIGNE PHOTOS 2 */

.project-images-alt {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin:0 auto;
}

.project-images-alt img {
  height: 319px;
  border-radius: 20px;
  object-fit: cover;
}

.img-left {
  width: 493px;
}

.img-center {
  width: 306px;
  object-fit: cover;
  object-position: top;
}

.img-right {
  width: 493px;
}

/* GROS TEXTE */

.project-big-text {
  margin-top: 100px;
  margin-left: 200px;
  margin-bottom:30px;
}

.project-big-text h2 {
  font-family: "Neulis";
  font-weight: 400;
  font-size: 70px;
  line-height: 1.1;
  color: black;
  margin: 0;
}

/*MOCKUPS*/

.project-big-image {
  display: flex;
  flex-direction: column; /* 👈 empile vertical */
  align-items: center;
  gap: 20px; /* 👈 espace entre les deux */
  margin: 100px auto;
}

.project-big-image img {
  width: 100%;
  max-width: 1320px;
  height: 720px;
  border-radius: 20px;
}


.project-big-image-vogue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 100px auto 30px;
}
.project-big-image-vogue img {
  width: 100%;
  max-width: 1320px;
  height: 100%;
  border-radius: 20px;
}

.project-double {
  max-width: 1320px;
  margin-bottom: 100px;
  margin-left:auto;
  margin-right:auto;


  display: flex;
  gap: 20px;
}

.project-double img {
  width: calc((100% - 20px) / 2); /* 👈 calc parfait */
  height: auto;
  border-radius: 20px;
}
.project-double-louvre {
  display: flex;
  justify-content: center;
  background-color: gainsboro;
  gap: 20px;
}

.project-double-louvre img {
  width: 390px;
  height: 552px;
  margin-top:30px;
  margin-bottom: 30px;
}


.project-double-flat {
  display: flex;
  justify-content: center;

  display: flex;
  gap: 20px;
}

.project-double-flat img {
  width: 600px;
  height: 600px;
  margin-top:20px;

}

.project-double-amyla {
  max-width: 1320px;
  margin-left:auto;
  margin-right:auto;


  display: flex;
  gap: 10px;
}

.project-double-amyla img {
  width: calc((100% - 20px) / 2);
  height: auto;
  border-radius: 20px;
}



.project-big-image-amyla {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.project-big-image-amyla img {
  width: 100%;
  max-width: 1320px;
  height: auto;
  border-radius: 20px;
}
.project-double-tall {
  max-width: 1320px;
  margin: 40px auto;

  display: flex;
  gap: 20px;
}

.project-double-tall img {
  width: calc((100% - 20px) / 2);
  height: 500px; /* 🔥 plus grandes en hauteur */
  object-fit: cover;
  border-radius: 20px;
}

/* SECTION FULL WIDTH */
.project-grid-section {
  width: 100%;
  background: rgba(2, 88, 75,0.5); 
  padding: 100px 0;
}

/* CONTENU CENTRÉ */
.project-grid {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* IMAGES */
.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.photo-simple{
  max-width: 1100px;
  margin:auto;
  display: flex;
  justify-content: center;
  margin-bottom:100px;
}

.photo-simple img{
  width:700px;
  height:990px;
}

.project-triple {
  max-width: 1320px;
  margin: 40px auto;

  display: flex;
  gap: 20px;
}

.project-triple img {
  width: calc((100% - 40px) / 3); /* 🔥 2 gaps de 20px */
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}
.project-triple-soren {
  max-width: 1320px;
  margin: 40px auto;

  display: flex;
  gap: 20px;
}

.project-triple-soren img {
  width: calc((100% - 40px) / 3);
  height: 350px;
  object-fit: cover;
}

.project-double-soren {
  max-width: 1320px;
  margin-left:auto;
  margin-right:auto;


  display: flex;
  gap: 10px;
}

.project-double-soren img {
  width: calc((100% - 20px) / 2);
  height: 100%;
  border-radius: 20px;
}




.project-un {
  max-width: 1320px;
  margin:20px auto;

  display: flex;
  justify-content: center;
}

.project-un img {
  width: 650px;
  height: auto;
  border-radius: 20px;
}



.project-double-paw {
  max-width: 1320px;
  margin-left:auto;
  margin-right:auto;
  margin-top:20px;


  display: flex;
  gap: 20px;
}

.project-double-paw img {
  width: calc((100% - 20px) / 2);
  height: 100%;
  border-radius: 20px;
}

.project-double-square {
  margin: 40px 200px 200px; 
  
  display: flex;
  gap: 20px;
}

.project-double-square img {
  width: calc((100% - 20px) / 2);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-top:30px;
}


.project-big-image-vogue-paw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

}
.project-big-image-vogue-paw img {
  width: 100%;
  max-width: 1320px;
  height: 100%;
  border-radius: 20px;}

.coding-section {
  max-width: 1320px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* colonnes */
.coding-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* image gauche carrée */
.coding-col-left img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* image droite horizontale */
.coding-col-right img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* pas coupée */
}

.before-after-labels {
  max-width: 900px;
  margin: 80px 390px -50px;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;

  font-size: 14px;
}


.project-double-refuge {
  max-width: 1320px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 60px;

  display: flex;
  justify-content: center;
  gap: 120px;
}

.project-double-refuge img {
  width: 500px;
  height: 100%;
}


/**********************
 SECTION FULL WIDTH
**********************/
.process-section {
  width: 100%;
  background: rgba(254, 191, 218, 0.3);
  padding: 100px 0;
}


/**********************
 CONTAINER CENTRÉ
**********************/
.process-slider {
  max-width: 1000px;
  margin: auto;
  padding: 0 40px;
  position: relative;
}


/**********************
 SLIDES
**********************/
.slides {
  position: relative;
  height: 420px;
}

.slide {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.slide.active {
  display: block;
}

/**********************
 TITRE
**********************/
.process-title {
  font-family: "Neulis";
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 50px;
  margin-top: -20px;
  display: flex;
  justify-content: center;
}



/**********************
 TEXTE
**********************/
.process-text {
  font-family: "Glacial";
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}


/**********************
 MOODBOARDS
**********************/
.moodboards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.moodboards img {
  width: 278px;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}


/**********************
 BOUTONS
**********************/
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: black;
  transition: 0.2s;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.2);
}

.prev {
  left: -170px;
}

.next {
  right: -170px;
}


/**********************
 TRANSITION (option)
**********************/
.slide {
  opacity: 0;
  transition: 0.4s;
}

.slide.active {
  opacity: 1;
}



/* RETOUR AUX PROJETS BAS */
.back {
  display: block;
  width: fit-content;
  margin: 30px auto 50px;
  text-align: center;

  text-decoration: none;
  color: var(--pink);
  font-size: 20px;

  border: 2px solid var(--pink);
  padding: 14px 26px;
  border-radius: 15px;

  transition: 0.3s;
}

.back:hover {
  background: var(--pink);
  color:var(--green);
}

/* AUTRES PROJETS */


.other-projects {
  background: var(--green);
  padding: 80px 40px 120px;
  text-align: center;
}

.other-projects-title {
  margin: 0 0 60px;
  font-family: "Neulis", sans-serif;
  font-size: 50px;
  font-weight: normal;
  color: var(--pink);
}


.other-projects-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: nowrap; 
}

.other-project-card:hover {
  transform: translateY(-6px);
}


.other-project-card {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  display: block;
}

.other-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

.other-project-card .overlay {
  position: absolute;
  inset: 0;
  background:rgba(254, 191, 218,0.6);
  color: var(--green);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: 0.3s;
}

.other-project-card .overlay h3 {
  margin: 0;
  font-size: 22px;
}

.other-project-card .overlay p {
  margin-top: 5px;
  font-size: 14px;
}

.other-project-card:hover .overlay {
  opacity: 1;
}

.other-project-card:hover img {
  transform: scale(1.1);
}


/*BANDEAU*/
.banner {
  width: 100%;
  background: white;
  overflow: hidden;
  padding: 15px 0;
}

.banner-track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite;
  gap: 50px;
}

.banner-track span {
  white-space: nowrap;
  font-family: "Glacial", sans-serif;
  font-size: 20px;
  color: black;
}

/* ANIMATION */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



/* ======================
TABLETTE
====================== */
@media (max-width: 1024px) {


  .header-main-title {
    font-size: 140px; /* 👈 entre 210 et 90 */
    top: 160px;
    left: 30px;
  }

  .nav {
    right: 30px;
    gap: 20px;
  }

  .hello {
    left: 30px;
    font-size: 18px;
  }

  .gallery {
    column-count: 2; /* 🔥 moins de colonnes */
    column-gap: 15px;
    padding: 20px;
  }

  .header-projet-title {
    font-size: 140px;
    top: 160px;
    left: 30px;
  }


  .header-propos-title {
    font-size: 140px;
    top: 160px;
    left: 30px;
  }

  .about-container {
    gap: 40px;
  }

  .about-title {
    font-size: 60px;
  }


/* INTRO */
  .project-intro {
    flex-direction: column;
    margin-left: 0;
    gap: 40px;
  }

  .project-info-box {
    align-items: flex-start;
    margin-right: 0;
  }

  /* TITRE */
  .title {
    font-size: 140px;
    top: 150px;
    left: 30px;
  }

  /* IMAGES LIGNE 1 */
  .project-images {
    flex-wrap: wrap;
    gap: 10px;
  }

  .project-images img {
    width: calc(50% - 10px);
  }

  /* IMAGES LIGNE 2 */
  .project-images-alt {
    flex-wrap: wrap;
  }

  .project-images-alt img {
    width: calc(50% - 10px);
    height: auto;
  }

  /* TEXTE */
  .project-big-text {
    margin-left: 40px;
  }

  .project-big-text h2 {
    font-size: 50px;
  }

  /* SLIDER */
  .prev {
    left: -40px;
  }

  .next {
    right: -40px;
  }

  .prev {
    left: 20px;
  }

  .next {
    right: 20px;
  }

  .project-double,
  .project-double-amyla,
  .project-double-tall {
    flex-direction: column;
  }
  .project-double-paw {
    gap: 40px;
    justify-content: center;
  }

  .project-double-paw img {
    width: 80%;
  }
  .project-double-louvre {
    gap: 40px;
  }

  .project-double-louvre img {
    width: 80%;
  }
  .project-double-flat {
    gap: 40px;
  }

  .project-double-flat img {
    width: 80%;
    height: auto;
  }

  .project-double,
  .project-double-paw {
    gap: 40px;
    justify-content: center;
  }

  .project-double img,
  .project-double-paw img {
    width: 80%;
  }



}




/* ======================
MOBILE
====================== */
@media (max-width: 768px) {


  .header-main-title {
    font-size: 90px;
    top: 150px;
    left: 20px;
  }

  .nav {
    right: 20px;
    gap: 15px;
  }

  .hello {
    left: 20px;
    font-size: 16px;
  }


  .intro-title {
    font-size: 40px;
    margin-left: 0;
  }

  .intro-text {
    font-size: 18px;
    margin-left: 0;
  }

  .intro-btn {
    margin-left: 0;
  }

  .intro-hero {
    margin: 80px 20px;
    padding: 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .featured-card img {
    height: 300px;
  }

  .marquee-bg {
    font-size: 80px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
  .gallery {
    column-count: 1; /* 🔥 1 colonne = clean */
    padding: 10px 20px;
  }

  .header-projet-title {
    font-size: 90px;
    top: 150px;
    left: 30px;
  }

  .filters {
    gap: 10px;
    padding: 20px;
  }

  .filters button {
    font-size: 14px;
    padding: 8px 14px;
  }

  .card img {
    border-radius: 15px;
  }

  .header-propos-title {
    font-size: 90px;
    top: 140px;
    left: 20px;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-right {
    order: -1; /* 🔥 image au dessus */
    margin-bottom: 30px;
  }

  .about-title {
    font-size: 40px;
  }

  .about-text {
    max-width: 100%;
  }

  .about-buttons {
    flex-direction: column;
    align-items: center;
  }

  .photo-stack {
    width: 250px;
    height: 320px;
    margin: 0;
  }
  
  .cv-btn {
    width: 100%;
    text-align: center;
  }

  /* HEADER */
  .title {
    font-size: 80px;
    top: 140px;
    left: 20px;
  }

  .back-top {
    left: 20px;
    font-size: 16px;
  }

  /* INTRO */
  .project-text p {
    font-size: 18px;
  }

  /* IMAGES LIGNE 1 */
  .project-images {
    flex-direction: column;
  }

  .project-images img {
    width: 100%;
  }

  /* IMAGES LIGNE 2 */
  .project-images-alt {
    flex-direction: column;
    gap: 10px;
  }

  .project-images-alt img {
    width: 100%;
  }

  /* TEXTE GROS */
  .project-big-text {
    margin-left: 20px;
  }

  .project-big-text h2 {
    font-size: 32px;
  }

  /* MOCKUPS */
  .project-big-image img {
    height: auto;
  }

  /* SLIDER */
  .slider-btn {
    display: none; /* 🔥 plus propre sur mobile */
  }

  .slides {
    height: auto;
  }

  /* MOODBOARDS */
  .moodboards {
    flex-direction: column;
    align-items: center;
  }

  .moodboards img {
    width: 90%;
  }

  /* AUTRES PROJETS */
  .other-projects-grid {
    flex-direction: column;
    align-items: center;
  }

  .slider-btn {
    font-size: 30px;
  }

  .prev {
    left: 50px;   /* 👈 au lieu de -170px */
  }

  .next {
    right: 10px;  /* 👈 au lieu de -170px */
  }
  /* BLOCS DOUBLE → passent en colonne */
  .project-double,
  .project-double-amyla,
  .project-double-tall,
  .project-triple {
    flex-direction: column;
  }

  /* images prennent toute la largeur */
  .project-double img,
  .project-double-amyla img,
  .project-double-tall img,
  .project-triple img {
    width: 100%;
    height: auto;
  }


  .project-intro {
    flex-direction: column;
    gap: 30px;
    margin: 80px 20px;
  }

  .project-info-box {
    align-items: flex-start;
    margin-right: 0;
  }
  .project-double-paw {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .project-double-paw img {
    width: 100%;
    height: auto;
  }
  .project-intro {
    flex-direction: column;
    gap: 30px;
    margin: 80px 20px;
  }

  .project-info-box {
    align-items: flex-start;
    margin-right: 0;
  }
  .project-double-louvre {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
  }

  .project-double-louvre img {
    width: 100%;
    height: auto;
  }
  .project-big-image img {
    width: 100%;
    height: auto;
    padding: 0 10px;
  }
  .project-intro {
    flex-direction: column;
    gap: 30px;
    margin: 80px 20px;
  }

  .project-info-box {
    align-items: flex-start;
    margin-right: 0;
  }
  .project-double-flat {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
  }

  .project-double-flat img {
    width: 100%;
    height: auto; /* 🔥 très important */
  }
  .project-double,
  .project-triple {
    flex-direction: column;
  }

  .project-double img,
  .project-triple img {
    width: 100%;
    height: auto;
  }

  .photo-simple {
    padding: 0 20px;
  }

  .photo-simple img {
    width: 100%;
    height: auto; /* 🔥 obligatoire */
  }
  .project-double,
  .project-double-paw {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .project-double img,
  .project-double-paw img {
    width: 100%;
    height: auto;
  }
  .project-double-square {
    flex-direction: column;
    margin: 40px 20px;
  }

  .project-double-square img {
    width: 100%;
    height: auto;
  }

  .before-after-labels {
    margin: 40px 20px 10px;
    font-size: 12px;
  }

  .coding-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .coding-col-left img,
  .coding-col-right img {
    width: 100%;
    height: auto;
  }
  .project-double-refuge {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .project-double-refuge img {
    width: 100%;
    height: auto;
  }
  .project-triple-soren,
  .project-triple {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .project-triple-soren img,
  .project-triple img {
    width: 100%;
    height: auto;
  }

  .project-double-soren,
  .project-double {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .project-double-soren img,
  .project-double img {
    width: 100%;
    height: auto;
  }


}

