

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}


.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}


.header {
    width: 100%;
    padding: 20px;
}

.entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 70px;
}
.heading-projets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: #1a1a1a;
    color: white;
    padding: 1.4rem 2rem;
    margin: 2rem 0;
    width: 100%;
    text-align: center;
}

.heading-projets-titre {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
}

.heading-star {
    font-size: 1.4rem;
    color: white;
}


.menu1 {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.menu1 a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
    transition: opacity .2s ease;
    padding: 12px;
}

.menu1 a:hover {
    
    background-color: #e51172; /* couleur hover */
    
}

/* Bouton fermer (mobile) */
.close-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* -------------------------------------------------- */
/* HAMBURGER (MOBILE)                                  */
/* -------------------------------------------------- */

.hamburger-menu {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* -------------------------------------------------- */
/* HERO                                                */
/* -------------------------------------------------- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0;
    min-height: 100vh;
    background-color: #1a1a1a; /* fond noir */
}
.hero-texte h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: white; /* titre blanc */
}
.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #aaaaaa; /* gris clair */
    margin-bottom: 1rem;
}

.hero-sous-titre {
    font-size: 1.1rem;
    color: #aaaaaa; /* gris clair */
    margin-top: 1rem;
    letter-spacing: 1px;
}
.hero-texte {
    animation: slideInLeft 0.7s ease-out forwards;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.hero-image img {
    width: 600px;
    animation: slideInRight 0.7s ease-out forwards;
}

.hero .btn-primary {
    background: white;
    color: #1a1a1a;
}

.hero .btn-primary:hover {
    background: #e51172;
}

/* -------------------------------------------------- */
/* GRILLE DE PROJETS                                   */
/* -------------------------------------------------- */

.grille-projets {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 4rem 0;
}

.ligne {
    display: grid;
    gap: 2rem;
}

.ligne-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ligne-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Carte projet */
.carte-projet {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.carte-projet.visible {
    opacity: 1;
    transform: translateY(0);
}
.carte-projet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.carte-projet:hover img {
    transform: scale(1.05);
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .3s ease;
}

.carte-projet:hover .overlay {
    opacity: 1;
}

.overlay-btn {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.fleche-wrapper {
    display: flex;
    align-items: center;
}

.fleche-svg {
    width: 22px;
    height: 22px;

}
.cta-bas {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 0;
    padding-top: 6rem;
    border-top: 1px solid #e51172;
    gap: 2rem;
}

.cta-bloc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    max-width: 400px;
}

.cta-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
}

.cta-titre {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.cta-separateur {
    width: 1px;
    height: 150px;
    background: #e51172;
}
/* -------------------------------------------------- */
/* SECTION À PROPOS                                    */
/* -------------------------------------------------- */

.apropos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 6rem 0;
}

.apropos-image img {
    width: 75%;
    justify-content: center;
    align-items: center;
}

.apropos-texte h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.apropos-texte p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.apropos-tagline {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.skills-nuage {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.skill-pill {
    padding: 0.6rem 1.4rem;
    border: 2px solid #1a1a1a;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 400;
    white-space: nowrap;
    background: transparent;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Version remplie — noir avec texte blanc */
.skill-pill--filled {
    background: #1a1a1a;
    color: white;
    font-weight: 700;
}

/* Version petite — texte plus petit, pour varier */
.skill-pill--small {
    font-size: 0.8rem;
    padding: 0.6rem 1.4rem;
    font-style: italic;
}



.apropos-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: opacity .2s ease;
}

.btn-primary:hover { opacity: .7; }

.btn-secondary {
    padding: 0.8rem 1.5rem;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: opacity .2s ease;
}

.btn-secondary:hover { opacity: .6; }

/* -------------------------------------------------- */
/* SECTION CONTACT                                     */
/* -------------------------------------------------- */

.contact {
   display: grid;
    grid-template-columns: 1fr 1fr; /* texte + image */
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-colonne {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px; /* limite la largeur */
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.contact-image img {
    width: 75%;
    height: auto;
    object-fit: contain;
}
.contact-image  {
    display: flex;
    justify-content: center;   /* centre horizontalement */
    align-items: center;        /* centre verticalement */
    height: 100%; /* ne suffit pas seul */
    min-height: 500px; /* LA clé */
    
}

.contact-liens {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-lien {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.contact-lien i {
    font-size: 1.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

input, select, textarea {
    padding: .8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

textarea {
    min-height: 140px;
}

.submit-btn {
    padding: .9rem 1.5rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity .2s ease;
}

.submit-btn:hover {
    opacity: .7;
    background-color: #e51172;
}

/* -------------------------------------------------- */
/* FOOTER                                              */
/* -------------------------------------------------- */

.pied {
    margin-top: 6rem;
    padding: 2.5rem 0;
    border-top: 1px solid #e51172;
    text-align: center;
}

.pied .icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.pied .icons-wrapper a {
    font-size: 1.8rem;
    color: #1a1a1a;
    transition: opacity .2s ease;
}

.pied .icons-wrapper a:hover {
    opacity: .6;
}

.credits p {
    font-size: .95rem;
    color: #555;
}

/* -------------------------------------------------- */
/* PAGE PROJET                                     */
/* -------------------------------------------------- */
.hero-projet {
  width: 100%;
  height: 80vh; /* tu peux mettre 100vh si tu veux */
  overflow: hidden;
}

.hero-projet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bandeau-tags-projet {
  width: 100%;
  overflow: hidden;
  background: black;
  border-top:2px solid #e51172;
  border-bottom: 2px solid #e51172;
  padding: 14px 0;
}

.bandeau-track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  min-width: max-content;
  animation: scrollLoop 25s linear infinite;
}

@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tag-projet {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid white;
  border-radius: 30px;
  font-size: 1rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}



.intro-page-projet,
.carousel-page-projet {
  max-width: 1400px; /* même largeur que wrapper */
  padding: 0 2rem;   /* même padding que wrapper */
}



.titre-page-projet {
    margin-top: 30px;
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 2.5rem;
}

.description-page-projet {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 750px;
}

.infos-page-projet {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.bloc-info-projet h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.bloc-info-projet p {
  font-size: 1.1rem;
  font-weight: 500;
}


.carousel-page-projet {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 2rem;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 100%;
  height: 700px;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
  scroll-snap-align: start;
  background-color: transparent; 
  
}

/* Flèches rondes */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background .2s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.85);
}

.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

/* Pagination */
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  transition: background .3s ease;
}

.carousel-dot.active {
  background: #1a1a1a;
}

/* -------------------------------------------------- */
/* LIGHTBOX ZOOM CAROUSEL                              */
/* -------------------------------------------------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.custom-list .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid black;
  font-size: 12px;
  flex-shrink: 0;
}
/* -------------------------------------------------- */
/* MENU MOBILE                                         */
/* -------------------------------------------------- */

@media (max-width: 900px) {

    .menu1 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: right .3s ease;
        z-index: 999;
    }

    .menu1.menu-deployed {
        right: 0;
    }

    .close-menu {
        display: block;
        align-self: flex-end;
        margin-bottom: 2rem;
    }

    .hamburger-menu {
        display: block;
    }

    .entete {
        justify-content: space-between;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }

    .hero-texte h1 {
        font-size: 3rem;
    }

    .hero-image img {
        width: 250px;
    }

    .ligne-3 {
        grid-template-columns: 1fr 1fr;
    }

    .ligne-2 {
        grid-template-columns: 1fr;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-image img {
        width: 300px;
    }

    .apropos {
        grid-template-columns: 1fr;
    }

    .contact {
        grid-template-columns: 1fr;
         max-width: 90%;
    }

    .form-row {
        flex-direction: column;
    }
    .galerie-page-projet { columns: 1; 
    }
       .cta-bas {
        flex-direction: column;
        text-align: center;
        
    }

    .cta-separateur {
        width: 60px;
        height: 1px;
    }
     .custom-list li {
    font-size: 14px;
    gap: 8px;
  }

  .custom-list .num {
    width: 18px;
    height: 18px;
    font-size: 10px;
    border-width: 1px;
  }
}


@media (max-width: 600px) {

    .hero-texte h1 {
        font-size: 2.5rem;
    }

   

    .ligne-3 {
        grid-template-columns: 1fr;
    }
    .galerie-page-projet { 
        columns: 1; 
    }
   

}
