@font-face {
	font-family: 'Arimo';
	src: url('./fonts/Arimo-VariableFont_wght.ttf')
}
@font-face {
	font-family: 'Arimo italic';
	src: url('./fonts/Arimo-Italic-VariableFont_wght.ttf')
}
@font-face {
	font-family: 'Tuesday Night';
	font-weight: 300;
	src: url('./fonts/TuesdayNight-Regular.otf')
}

/*-------------------- COULEURS -------------------*/
:root {
  --color-primary: #FFF7EE;
  --color-secondary: #1E1C1B;
  --color-third: #B3A78D;
  --color-four: #EFE6D5;
}

/*--------------------------- BASE ---------------------------------*/
body{
    margin: 0;
    background-color: var(--color-primary);
}

html {
  scroll-behavior: smooth;
}

button {
    z-index: 5 !important;
    position: relative;
}

#home {
        overflow: hidden;
}

#hero p {
    color: var(--color-primary);
    font-family: 'Arimo';
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.2em;
}

#hero a {
    color: var(--color-primary);
}

p {
    color: var(--color-secondary);
    font-family: 'Arimo';
    font-weight: 400;
    font-size: 1cqw;
    /*font-size: clamp(1vw, 1.6rem, 1.2vw);*/
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    text-transform: uppercase;
    font-family: 'Arimo';
    font-weight: 600;
    font-size: 2cqw;
}

#home h3 {
    font-family: 'Arimo';
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    line-height: 1;
    margin-bottom : 0;
}

#home h4 {
    letter-spacing: 0.05rem;
}

#home h3 span {
    font-family: 'Arimo';
    font-size: 60px;
    letter-spacing: 0.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

#hero h2, #hero-responsive h2 {
    letter-spacing: 0.1em;
}

.page-pjt h2, #page-portfolio h2, #page-contact h2 {
    font-family: 'Arimo';
    font-size: 2.5cqw;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom : 0;
    color: var(--color-primary);
    text-align: center;
}

.page-pjt h2 span, #page-portfolio h2 span, #page-contact h2 span {
    font-family: 'Arimo';
    font-size: 4cqw;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

.page-pjt h1, #page-portfolio h1, #page-contact h1 {
    font-family: 'Tuesday Night';
    color: var(--color-four);
    font-size: 11cqw;
    font-weight: 300;
    text-align: center;
    margin: -8% 0 0 0;
}

.page-pjt h3 {
    font-family: 'Arimo';
    font-weight: 600;
    font-size: 3.7cqw;
    white-space: nowrap;
    line-height: 3.5cqw;
    text-transform: uppercase;
    margin: 0;
}

button:hover, nav li:hover {
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu {
    width: 230px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu ul {
    margin: 0;
}

nav li a {
    display: flex;
}

nav li img {
    display: none;
    padding-right: 10px;
    width: 20px;
}

nav li:hover img {
    display: block;
}

input:focus, textarea:focus, #page-contact input:focus, #page-contact textarea:focus {
    border-color: #c52c1f !important;
    color: #c52c1f !important;
    outline: none;
}

#hero .txt-hero {
    width: 25%;
}

/*------------------- HEADER -----------------------------*/

header {
    margin : 0 5%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 90%;
    top: 5%;
    z-index: 2;
}

header img {
    width: 230px;
}

header li {
    text-decoration: none;
    list-style: none;
}

nav li a {
    font-family:'Arimo'; 
    font-size: 24px; 
    text-transform: uppercase; 
    color: var(--color-primary); 
    font-weight: 600; 
    letter-spacing: 1.5px;
    line-height: 1.2;
}

#page-contact, #page-apropos {
    margin-bottom: 0;
}

/*---------------------------------- ACCUEIL -------------------------------------*/

#home button {
    background-color: transparent;
    border-width: 0;
    width: 100%;
    text-align: left;
    padding: 0;
}

#home button a {
    text-transform: uppercase;
    font-family: 'Arimo';
    font-weight: 600;
    font-size: 1.2cqw;
}

#home button img {
    width: 4%;
    padding-left: 10px;
}

/*------------------------ HERO ------------------------*/

#home #hero {
    width: 90%;
    height: 100vh;
    margin: auto;
    display: flex;
    justify-content: space-between;
    background-image: url('../assets/images/eclipse-patissier-centre.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 5%;
    flex-wrap: wrap;
    z-index: 1;
}

#hero #introduction {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 5%;
}
#hero #introduction h1{
    font-family: 'Arimo';
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 2vw;
    color: var(--color-primary);
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

#hero #introduction p {
    width: 40%;
    text-transform: none;
    font-family: 'Arimo italic';
}

#hero #presentation {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-end;
    margin-bottom: 7%;
}

#presentation #signature {
    width: 30vw;
    margin: auto;
}

#presentation #signature svg {
    width: 120%;
    margin-left: 1%;
}

#hero #presentation #container-presentation {
    display: flex;
    margin-top: -9%;
    padding: 0;
    width: 90%;
}

#presentation #savoirplus {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

#hero #presentation button a {
    color: var(--color-primary);
}

#hero #presentation p {
    width: 100%;
}

#hero #presentation p {
    padding-top: 2rem;
}

#home #hero-responsive {
    display: none;
}

/*------------- VIDEO -----------

#hero #presentation #container-video {
    width: 40%;
    display: flex;
    justify-content: flex-end;
}

#video {
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
  height: fit-content;
}

#video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} --*/

/*---------------------------- SECTION PORTFOLIO ------------------------------*/
#title-portfolio-computer {
    display: flex;
    flex-direction: column;
}

#title-portfolio-responsive {
     display: none !important;
}

#portfolio {
    width: 90%;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    margin: auto;
    padding-top: 3rem;
    gap: 2.5rem;
}

.img-section-portfolio {
    height: fit-content;
    display: flex;
    flex-direction: column;
    width: 35%;
}

.img-section-portfolio img {
    height: 80vh;
    object-fit: cover;
}

.img-section-portfolio button a {
    font-size: 5.08cqw !important;
    font-weight: 700 !important;
    line-height: 3.6cqw;
}

.img-section-portfolio button a span {
    font-size: 3.76cqw;
    font-weight: 400;
}

#portfolio h2 {
    font-family: 'Arimo';
    font-weight: 600;
    font-size: 6.1cqw;
    line-height: 5.8cqw;
    text-transform: uppercase;
    color:#1E1C1B;
    white-space: wrap;
    margin: 0;
    height: fit-content;
}

#recruter {
    font-size: 5cqw;
    font-weight: 500;
}

#design {
    font-size: 5.6cqw;
}

#votre-com {
    font-size: 3.32cqw;
    font-weight: 500;
    display: block;
    margin-top: -5%;
}

#portfolio button {
    margin-top: 7%;
}

.text-section-portfolio {
    height: fit-content;
    width: 65%;
}

.text-section-portfolio img {
    width: 100%;
    height: 130svh;
    object-fit: cover;
}

.text-section-portfolio p {
    font-size: 1.2cqw !important;
}

/*---------------- SECTION A PROPOS -----------------*/

#section-apropos {
    width: 90%;
    display: flex;
    gap: 2.5rem;
    position: relative;
    margin: auto;
    margin-top: 5%;
}

.text-section-apropos {
    width: 50%;
    display: flex;
    align-items: flex-end;
}

#section-apropos h2 {
    font-family: 'Arimo';
    color: var(--color-secondary);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 5cqw;
    margin: 0;
    text-align: left;
}

#section-apropos h3 {
    margin: 0;
    font-weight: 600 !important;
    font-size: 5.5cqw;
}

#section-apropos h4 {
    font-family: 'Arimo';
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2vw, 1.5rem, 3vw);
    line-height: 2.2vw;
    margin: 2rem 0;
}

.text-apropos {
    height: fit-content;
    margin-bottom: 2rem;
}

.img-apropos {
    width: 50%;
}

.img-apropos img {
    width: 100%;
    height: 110vh;
    object-fit: cover;
    object-position: 50% 30%;
}

#section-apropos button {
    background-color: transparent;
    border-width: 0;
    width: fit-content;
    text-align: left;
    padding: 0;
    margin-top: 2rem;
    width: 100%;
}

#section-apropos button a {
    color: var(--color-secondary);
    text-transform: uppercase;
    font-family: 'Arimo';
    font-weight: 600;
    font-size: 3cqw;
}

#section-apropos button img {
    padding-left: 10px;
    width: 10%;
}

/*---------------------------- SECTION CONTACT -------------------------------*/

#contact {
    width: 90%;
    margin: 3rem auto;
}

.section-contact {
    width: 100%;
    display: flex;
    gap: 2.5rem;
}

#contact h2 {
    font-family: 'Arimo';
    font-weight: 400;
    font-size: 6cqw;
    color:#1E1C1B;
    text-transform: uppercase;
    margin: 0;
}

#contact h3 {
    font-family: 'Arimo';
    font-weight: 600;
    text-transform: uppercase;
    font-size: 6cqw;
    line-height: 5.8cqw;
    letter-spacing: 0.1rem;
    margin: 0;
}

.text-contact {
    width: 60%;
}

/*------------ FORMULAIRE HOME PAGE -----------*/

#formulaire-home {
    width: 40%;
    display: flex;
    align-items: center;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
}

/* --- Bloc infos & message --- */
.form-info,
.form-message {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Ligne Nom / Entreprise --- */
.form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.form-row .form-group {
  flex: 1;
}

/* --- Champs --- */
.form-group {
  display: flex;
  gap: 6px;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #1E1C1B;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
}

textarea {
  min-height: 105px;
  max-height: 100%;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {font-family:'Arimo'; color: #1E1C1B; font-size: 14px; font-style: italic;}
form input {
    background-color: transparent;
    border-color: #1E1C1B;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    padding: 25px 20px;
    font-style: italic;
    color: #1E1C1B;
}
.form-message textarea {background-color: transparent;
    border-color: #1E1C1B;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    padding: 20px 20px;
    font-style: italic;
    color: #1E1C1B;}

form label {display: none;}

/* --- Bouton --- */

.submit-btn {
  padding: 12px 20px !important;
  border-radius: 6px;
  border: none;
  color: #FFF7EE !important;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content !important;
}

.submit-btn:hover {
  background: #1E1C1B;
}
#bouton-envoi { width: 100%; display:flex; justify-content: flex-end; margin-top: 2%;}
#bouton-envoi button {background-color: #B3A78D; color: #FFF7EE; text-transform: uppercase; font-weight: 600; font-size: 18px; letter-spacing: 1px; font-family:'Arimo';}


/*--------------------------------- FOOTER ----------------------------------*/

footer {
    background-image: url(../assets/images/eclipse-patissier-footer.jpg);
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    padding: 3% 0;
    margin-top: 3rem;
}

.menu-footer {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.form-contact {
    width: 40%;
}

footer h4 {
    font-family: 'Arimo';
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0;
}

footer p {
    color: var(--color-primary);
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 30px;
    width: 80%;
}

footer svg {
    width: 60%;
    margin-bottom: -10%;
}

/*---------- MENU FOOTER ----------*/

footer nav {
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    line-height: 1.5em;
}

footer li {
    text-decoration: none;
    list-style: none;
}

footer nav li a {
    font-family:'Arimo'; 
    font-size: 16px; 
    text-transform: uppercase; 
    color: var(--color-primary); 
    font-weight: 600; 
    letter-spacing: 1.5px;
    display: flex;
    justify-content: flex-end;
}

footer .boutons a {
    text-decoration: none;
    color: var(--color-primary);
    text-transform: uppercase;
    font-family : 'Tuesday Night';
    font-weight : 500;
    font-size: 16px;
}

/*------------ FORMULAIRE FOOTER -------------*/
footer .contact-form {
    margin: 0;
    width: 80%;
}

footer .form-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

footer textarea {
  min-height: 160px;
  max-height: 100%;
  resize: vertical;
}

footer input::placeholder, footer textarea::placeholder {font-family:'Arimo'; color: #FFF7EE; font-size: 12px; font-style: italic;}
footer input {
    background-color: transparent;
    border-color: #FFF7EE !important;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    height: 30px;
    padding: 10px 20px;
    font-style: italic;
    color: #FFF7EE !important;
}

footer textarea {
    background-color: transparent;
    border-color: #FFF7EE !important;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    padding: 10px 20px;
    font-style: italic;
    color: #FFF7EE;
}

form label {
    display: none;
}

/* --- Bouton --- */

footer button {
    justify-content: flex-end;
}

footer #bouton-envoi button {
    background-color: #FFF7EE;
    color: #B3A78D !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Arimo';
	margin: 0;
}

.contact-form-footer #bouton-envoi:hover button {
  background: var(--color-secondary);
  color: var(--color-primary);
}

footer #bouton-envoi {
    width: 100%; 
    display:flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/*------------------------------------- PAGE : PORTFOLIO ------------------------------------------*/

#page-portfolio #hero {
    width: 90%;
    height: 105vh;
    margin: auto;
    display: flex;
    justify-content: space-between;
    background-image: url('../assets/images/ekhi-fond.webp');    
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 5%;
    flex-wrap: wrap;
}

#page-portfolio #hero {
    display: flex;
    flex-direction: row;
}

#page-portfolio #portfolio-title {
    width: 40%;
    display: block;
    align-self: center;
    padding: 3% 0 0 10%;
}

#page-portfolio #txt-portfolio {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10%;
}

.txt-projet {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.txt-projet p {
    width: 65%;
    font-size: 1.2vw;
}

/*------------------------------------- PAGE : A PROPOS ------------------------------------------*/
#page-apropos p {
    font-size: 1.3cqw;
}

#page-apropos #hero {
    width: 90%;
    height: 105vh;
    margin: auto;
    display: flex;
    justify-content: space-between;
    background-image: url('../assets/images/fond-portrait2.jpg');    
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 5%;
    flex-wrap: wrap;
}

#page-apropos #hero #introduction {
    width: 40%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    margin-bottom: 8%;
}

#page-apropos #hero #introduction p {
    width: 70%;
    text-transform: none;
    font-family: 'Arimo italic';
}

#page-apropos #hero #presentation {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 8%;
}

#page-apropos #signature-mobile {
    display: none;
}

#page-apropos #presentation #signature {
    width: 30vw;
}

#page-apropos #presentation #signature svg {
    width: 120%;
    margin-left: 1%;
}

#page-apropos #hero #presentation #container-presentation {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    width: fit-content;
}

#page-apropos #container-presentation p {
    text-transform: none;
    font-style: italic;
    width: 100%;
}

#footer-apropos {
    margin-top: -2.5%;
}

/*---------------------------------------------- PAGE : CONTACT -------------------------------------------*/

#page-contact {
    width: 90%;
    height: 105vh;
    margin: auto;
    display: flex;
    justify-content: space-between;
    background-image: url('../assets/images/eclipse-autelephone-web.jpg');    
    background-position: 10% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 5%;
    flex-wrap: wrap;
}

#page-contact #hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 97%;
}

#intro-contact {
    height: 70%;
    display: flex;
    align-items: flex-end;
}

#intro-contact p {
    width: 60%;
}

#page-contact .contact-form {
    width: 110%;
    margin: auto;
}

#page-contact .contact-form #titre {
    width: fit-content;
}

#page-contact .form-content{
  display: flex;
  flex-direction: column !important;
  flex-wrap: wrap;
  gap: 20px;
}

#page-contact .info-content {
    padding-left: 5%;

}

#page-contact #email {
    margin-top: 10px;
}

#page-contact .infos {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0 !important;
}

#page-contact .contact-form input, #page-contact .contact-form textarea {
    background-color: transparent;
    border-color: #FFF7EE !important;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    padding: 15px 20px;
    font-style: italic;
    color: #FFF7EE;
}

#page-contact .contact-form input::placeholder, #page-contact .contact-form textarea::placeholder {
    color: #FFF7EE;
}

#page-contact .contact-form .submit-btn {
    margin: 0;
}

#page-contact .contact-form #bouton-envoi {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
}

/*----------------------- PROJETS -------------------------*/

.page-pjt #hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 90%;
    height: 105vh;
    padding: 0 5%;
    flex-wrap: wrap;
    position: relative;
}

#pjt-intro {
    position: absolute;
    bottom: 12%;
    left: 7%;
}

.page-pjt #pjt-title {
    width: 100%;
    display: block;
    align-self: center;
}

.project-cat {
    margin-top: 2rem;
    width: 90%;
    max-height: 120vh;
    margin: auto;
    gap: 2.5rem;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 45fr 55fr;
    align-items: stretch;
    overflow: hidden;
}

.types-cat {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.types-cat video, .types-cat img {
    object-fit: cover;
    width: 100%;
    padding-top: 2rem;
}

.img-principal img{
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

.presentation-project {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    position: relative;
    height: auto;
}

.title-project {
    width: 66%;
    margin-left: -10vw;
}

.title-project h2 {
    font-family: 'Tuesday Night';
    font-weight: 400;
    font-size: 21cqw;
    white-space: nowrap;
    position: relative;
    margin: 0;
    text-transform: none;
    color: var(--secondary-color);
    letter-spacing: 0 !important;
}

.text-project {
    width: 33%;
    display: flex;
    align-items: center;
}

/* SECTION GALERIE */

  /* ─── SECTION WRAPPER ─── */
  .project-section {
    position: relative;
    display: grid;
    grid-template-columns: 45fr 55fr;
    max-height: fit-content;
    width: 90%;
    margin: -2rem auto 30vh auto;
    max-width: 90%;
    gap: 0;
  }

  /* ─── LEFT COLUMN ─── */
  .col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0rem 2.5rem 0rem 0;
    min-width: 0;
    position: relative;
  }

  .project-meta {
    flex-shrink: 0;
    padding-top: 3rem;
  }

  .project-conditions .conditions{
    font-family: 'Arimo';
    font-size: clamp(3.5vw, 3rem, 4.5vw);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
  }

    .project-conditions p {
    margin: 0 0 2rem 0;
  }

  /* ─── GALLERY CONTAINER ─── */
  .gallery-outer-project {
    flex: 1;
    max-height: fit-content;
    position: relative;
    overflow: hidden; /* hard clip — no fade */
  }

  .gallery-outer-project:active { cursor: grabbing; }

  /* Sharp left clip — images cut off cleanly */
  .gallery-outer-project::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    z-index: 2;
    pointer-events: none;
  }

  .gallery-track-project {
    display: flex;
    height: fit-content;
    gap: 0.75rem;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
  }

  .gallery-item-project {
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .gallery-item-project img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
  }

  /* ─── COUNTER ─── */
  .gallery-counter-project {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    padding: 2rem;
  }

  .counter-current-project {
    font-family: 'Arimo';
    font-weight: 600;
    font-size: 2rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    transition: opacity 0.15s ease;
  }

  .counter-sep-project {
    font-family: 'Arimo';
    font-weight: 400;
    font-size: 1rem;
    color: var(--color-primary);
    margin: 0 0.15rem;
  }

  .counter-total-project {
    font-family: 'Arimo';
    font-weight: 300;
    font-size: 1rem;
    color: var(--color-primary);
  }

  /* ─── PROJECT LINK ─── */
  .project-button {
    position: absolute;
    bottom: -25vh;
    gap: 0.5rem;
    font-family: 'Tuesday Night';
    font-size: 8rem;
    font-weight: 400;
    color: var(--color-secondary);
    text-transform: none;
    text-decoration: none;
    padding-bottom: 0.15rem;
    width: 100%;
    flex-shrink: 0;
    margin-top: 1rem;
    transition: gap 0.3s ease, opacity 0.3s ease;
    overflow: auto;
  }

  .project-button:hover { gap: 0.9rem; opacity: 0.6; }

  /* ─── RIGHT COLUMN ─── */
  .col-right {
    overflow: hidden;
  }

  .col-right video, .col-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  @media (max-width: 480px) {
    .gallery-item { flex: 0 0 90%; }
    .col-right { height: 60vw; }
  }

/*---------------- PROJET : ECREVISSES -----------------*/

#page-ecrevisses #hero {
    background: linear-gradient(rgba(30, 28, 27, 0.15), rgba(30, 28, 27, 0.15)), url('../assets/images/ecrevisses_fond.webp');
    background-size: cover;
}

#page-ecrevisses .title-project {
    margin-bottom: 3rem;
}

/*-------------- PROJET : GUUD ---------------*/

#page-guud #hero {
    background-image: url('../assets/images/guud-cosmetique.jpg');    
}

#page-guud .title-project {
    margin: 4vh 0 0 -10vw;
}

#page-guud .title-project h2 {
    font-size: 33cqw;
    letter-spacing: 0;
}

#page-guud .text-project {
    align-items: flex-start;
    padding-top: 3vw;
} 

#page-guud .project-section {
    margin: 3vh auto 35vh auto;
}

/*------------ PROJET : EKHI ------------*/

#page-ekhi #hero {
    background-image: url('../assets/images/ekhi-fond.webp');    
}

#page-ekhi .title-project h2 {
    font-size: 34cqw !important;
    left: -3vw;
    text-align: left;
}

#page-ekhi .text-project {
    margin-top: 10vh;
}

#page-ekhi .project-section {
    margin: 3rem auto 10vh;
}

/*------------ PROJET : YUMMY ------------*/

#page-yummy #hero {
    background-image: url('../assets/images/fond-nouveauxpots-yummy.webp');    
}

#page-yummy .title-project {
    margin: 0;
}

#page-yummy .title-project h2 {
    font-size: 17cqw;
    line-height: 18cqw;
    left: -3vw;
    text-align: center;
}

#page-yummy .title-project h2 span {
    padding-left: 10rem;
    font-size: 17cqw;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Tuesday Night';
}

#page-yummy .project-section {
    margin: -2rem auto 10vh;
}

/*------------ PROJET : SOUPER ------------*/

#page-souper #hero {
    background-image: url('../assets/images/souper-fond_ambiance.webp');    
}

#page-souper .presentation-project {
    gap: 2.5rem;
}

#page-souper .title-project {
    margin: 0;
}

#page-souper .title-project h2 {
    font-size: 28cqw;
    left: -3vw;
}

#page-souper .text-project {
    display: flex;
    align-items: flex-end;
}

#page-souper .text-project p {
    width: 100%;
}

#page-souper .project-section {
    margin: 5rem auto 15vh auto;
}

/*------------ PROJET : A2 ASSIST PRO ------------*/

#page-assistpro #hero {
    background-image: url('../assets/images/a2assistpro-fond.webp');    
}

#page-assistpro .title-project {
    margin: 0;
}

#page-assistpro .title-project h2 {
    font-size: 17cqw;
    line-height: 19cqw;
    left: -3vw;
    top: -4vh;
    text-align: center;
}

#page-assistpro .text-project {
    align-items: center;
    margin-top: 10vh;
}

#page-assistpro .project-section {
    margin: 2rem auto 30vh auto;
}

#page-assistpro .types-cat img {
    object-position: bottom;
}

#page-assistpro .project-button {
    bottom: -30vh;
}
/*------ ABY & DAN -------*/

#page-aby #hero {
    background-image: url('../assets/images/aby-fond.webp');    
}

#page-aby .title-project {
    margin: 0;
}

#page-aby .title-project h2 {
    font-size: 20cqw;
    line-height: 22cqw;
    left: -5vw;
    text-align: left;
}

#page-aby .title-project h2 span {
    padding-left: 25%;
    font-size: 19cqw;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Tuesday Night';
}

#page-aby .project-section {
    margin: -2rem auto 10vh;
}

/*---------- MODALE ---------*/
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../assets/images/eclipse-bienrecu.png');
    background-size: cover;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 9999;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10%;
}

.modal-content {
    padding: 2rem;
    text-align: center;
}

.modal-content h3 {
    font-size: 120px;
    font-weight: 500;
    font-family: 'Tuesday Night';
    color: var(--color-primary);
    margin: 0;
}

.modal-content p {
    font-family: 'Arimo';
    color: var(--color-primary);
    font-size: 18px;
    margin: 0 0 5% 0;
    line-height: 1.2;
}


.modal-content button {
    margin-top: 1rem;
    cursor: pointer;
    background-color: #FFF7EE;
    color: #B3A78D;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Arimo';
	margin: 0;
    padding: 10px 25px;
    border: none;
    border-radius: 10px;
}

.modal-content {
    animation: popIn .4s ease;
}

@keyframes popIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ----------------------- NOUVELLE PAGE PORTFOLIO -----------------------------*/

  html { scroll-behavior: auto; }
 
  body {
    overflow-x: hidden;
  }

  /* ─── SCROLL INDICATOR ─── */
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
  }
 
  .scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    animation: scrollPulse 2s ease-in-out infinite;
  }
 
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.6); }
  }
 
  /* ─── PORTFOLIO STICKY WRAPPER ─── */
  #portfolio-wrapper {
    position: relative;
  }
 
  #portfolio-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
 
  /* Project slide */
  .project-slide {
    flex: 0 0 92.8vw;
    height: 85vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 3rem 1.5rem 3rem;
    gap: 2.5rem;
    position: relative;
  }

 .project-counter {
    display: flex;
    align-items: flex-end;
 }

  .project-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
 
  .style-categories {
    display: flex;
    gap: 1.5rem;
    height: 15vh;
}

  .project-categories {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.1rem;
  }
 
  .project-category {
    font-family: 'Arimo';
    font-weight: 500;
    font-size: 2.5cqw;
    line-height: 2.5cqw;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
    padding: 0;
  }
 
  .compteur {
    font-family: 'Arimo';
    font-weight: 600;
    font-size: clamp(4rem, 6vw, 5rem);
    line-height: 1.1;
    color: var(--dark);
  }
 
  .project-main-image {
    width: 100%;
    flex: 1;
    min-height: 0;
    height: 65vh;
    margin-top: 1.5rem;
    overflow: hidden;
    background: var(--beige-bg);
  }
  
 
  .project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

    .project-secondary-image {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
    height: 70vh;
  }

 
  /* Ecrevisses */

  #ecrevisses-main-image .img-placeholder{
    background-image: url(../assets/images/ecrevisses-etiquette_mockup.webp);
    background-size: cover;
    background-position: 50% 55%;
  }

  #ecrevisses-secondary-image .img-placeholder {
    background-image: url(../assets/images/ecrevisses-sac_mockup.webp);
    background-size: cover;
    background-position: 50% 25%;
  }

  /* Guud */

  #guud-main-image .img-placeholder{
    background-image: url(../assets/images/guud-packaging_mockup.webp);
    background-size: cover;
    background-position: center;  } 

  #guud-secondary-image .img-placeholder {
    background-image: url(../assets/images/guud-box_mockup.webp);
    background-size: cover;
    background-position: center;
  }

  /* Ekhi */

  #ekhi-main-image .img-placeholder{
    background-image: url(../assets/images/ekhi-packaging_mer.webp);
    background-size: cover;
    background-position: center;  
} 

  #ekhi-secondary-image .img-placeholder {
    background-image: url(../assets/images/ekhi-packaging_sable.webp);
    background-size: cover;
    background-position: 50% 30%;
  }

  /* Yummy */

  #yummy-main-image .img-placeholder{
    background-image: url(../assets/images/nouveaux_pots-yummy.webp);
    background-size: cover;
    background-position: center;  
} 

  #yummy-secondary-image .img-placeholder {
    background-image: url(../assets/images/nouveaupot_tatin-yummy.webp);
    background-size: cover;
    background-position: 50% 45%;
  }

    /* Souper */

  #souper-main-image .img-placeholder{
    background-image: url(../assets/images/souper-piquenique.webp);
    background-size: cover;
    background-position: 50% 80%;  
} 

  #souper-secondary-image .img-placeholder {
    background-image: url(../assets/images/souper-femme_piquenique.webp);
    background-size: cover;
    background-position: 50% 30%;
  }

     /* Aby & Dan */

  #aby-main-image .img-placeholder{
    background-image: url(../assets/images/aby-carte_visite.webp);
    background-size: cover;
    background-position: 50% 60%;  
} 

  #aby-secondary-image .img-placeholder {
    background-image: url(../assets/images/aby-camion.webp);
    background-size: cover;
    background-position: 50% 60%;
  }

     /* A2 assist pro */

  #assistpro-main-image .img-placeholder{
    background-image: url(../assets/images/cartevisite-a2assistpro.webp);
    background-size: cover;
    background-position: bottom;  
} 

  #assistpro-secondary-image .img-placeholder {
    background-image: url(../assets/images/flyer-a2assistpro.webp);
    background-size: cover;
    background-position: bottom;
  }


  .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

 
  .img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
  }
 
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Tuesday Night';
    font-size: 5cqw;
    font-weight: 400;
    color: var(--color-secondary);
    text-transform: none;
    text-decoration: none;
    margin-top: 1.5rem;
    width: fit-content;
    transition: opacity 0.3s, gap 0.3s;
  }
 
  .project-link:hover { opacity: 0.6; gap: 0.8rem; }
 
  .project-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

 