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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #25325F;
    overflow-x: hidden;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 64px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: max-content;
    max-width: 90%;
}



/* LOGO NAVIGATION */
.navbar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Taille du logo */
    height: 40px;
    border-radius: 50%; /* Rendre le conteneur rond */
    background-color: #ffffff; /* Couleur d'arrière-plan */
    overflow: hidden; /* S'assurer que le logo reste à l'intérieur du cercle */
    margin-right: 16px;
}

.navbar-logo img {
    width: 60%;
}
.navbar-logo-img-projet {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px; /* Taille du logo */
    height: 42px;
    border-radius: 50%; /* Rendre le conteneur rond */
    background-color: #ffffff; /* Couleur d'arrière-plan */
    overflow: hidden; /* S'assurer que le logo reste à l'intérieur du cercle */
    margin-right: 8px;

}

.navbar-logo-img-projet img {
    width: 91%;
}

.logo-img img {
    max-height: 30px;
    margin: 5px;
    align-items: center;
    justify-content: center;
}

.desktop-nav {
    display: none; /* Masqué sur mobile */
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.mobile-nav {
    display: flex;
    font-size: 1rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nav-links li {
    list-style: none; /* Supprime les markers */
    display: inline;
}

.nav-links li a {
    display: flex;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 1rem;
    color: #25325F;
    font-weight: 500;
    border-radius: 30px;
    background-color: rgb(255, 255, 255);
    transition: background-color 0.3s ease;
}


.nav-links li span{
    background-color: #25325F;
    color: #ffffff;
    display: flex;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
}

.nav-links li a:hover {
    background-color: #25325F;
    color: #fff;
}

/* ----- MENU BURGER ----- */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    background-color: #25325F;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation burger -> croix */
.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 10px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -10px);
}

@media (max-width: 768px) {
    .header.menu-open {
      width: 80%;
      max-width: 400px;
      border-radius: 128px;
      box-shadow: 0 8px 20px rgba(120, 120, 120, 0.1);
      transition: all 0.4s ease-in-out;
    }
  }


/* MOBILE MENU OVERLAY */
.menu-overlay {
    position: fixed;
    top: 24px;
    left: 10%;
    width: 80%;
    height: auto;
    opacity: 80%;
    border-radius: 42px  42px 24px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%);
    transform: translate(0%, -4%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    padding: 20px; 
    z-index: 99;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding-top: 80px;
    align-items: center;
    justify-content: center;
}

/* MENU CONTENT */
.menu-content {
    text-align: center;
    width: 100%;
}

.main-links {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.main-links li {
    margin: 15px 0;
}

.main-links li a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #25325F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-links li a span{
    font-family: "Kalnia", serif;
    color: #68e0cf;
    font-weight: 700;
    font-size: 1.8rem;
}

.main-links li a:hover {
    font-family: "Kalnia", serif;
    color: #68e0cf;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Liens secondaires alignés côte à côte */
.secondary-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.secondary-links li {
    list-style: none;
}

.secondary-links li a {
    font-size: 1rem;
    font-weight: 500;
    color: #25325F;
    text-decoration: none;
}

.icon-links{
    width: 36px;
    color: #25325F;
}

/* RESPONSIVITÉ */
@media (min-width: 768px) {
    .menu-icon {
        display: none; /* Masqué sur desktop */
    }

    .desktop-nav {
        display: flex;
    }

    .menu-overlay{
        display: none; /* Masqué sur desktop */
    }
}

/* MENU HEADER */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-logo img {
    max-height: 30px;
}

.close-icon {
    font-size: 1.5rem;
    cursor: pointer;
}

/* MENU LINKS */
.menu-links ul {
    list-style: none;
    text-align: center;
    margin: 20px 0;
    padding: 0;
}

.menu-links ul li {
    margin: 10px 0;
}

.menu-links ul li a {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    transition: background-color 0.3s ease-in-out;
}

.menu-links ul li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .menu-links ul li a {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .brand h1 {
        font-size: 2rem;
    }
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    color: white;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    max-inline-size: 60%;
    z-index: 2;
}

canvas { 
    display: block;
}

#logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none; /* pour ne pas bloquer la souris */
  }
  
  #logo-overlay img {
    min-width: 300px; /* ajuste la taille */
  }
  @media (max-width: 768px) {
  #logo-overlay img {
    max-width: 260px;
  }
  }
/* SECTION PRESENTATION */
.pres {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    padding-left: 32px;
    padding-right: 32px;
    margin-bottom: 32px;
    background-color: #ffffff;
    color: #25325F;
    margin-top: 48px;
}

.pres-text {
    display: flex;
    text-align: left;
}

.pres h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #25325F;
}

.pres h1 .highlight {
    color: #68e0cf; /* Couleur personnalisée pour "passion" et "authenticité" */
    font-family: "Kalnia", serif;
    font-weight: 600;
    font-style: normal;
}

.pres p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 1200px;
    color: #25325f;
    margin-top: 32px;
    margin-bottom: 32px;
}

.pres-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pres-buttons .btn {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    color: #25325F;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pres-buttons .btn:hover {
    background-color: #68e0cf;
    color: #25325F;
    transform: scale(1.05);
}

/* SECTION PROJETS */
.projects {
    padding-right: 24px;
    padding-left: 24px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #25325F;
    margin-bottom: 24px;
    text-align: left;
}

/* GRILLE DES PROJETS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trois colonnes fixes */
    gap: 30px;
    margin: 0 auto;
}

.project-box {
    position: relative;
    overflow: hidden;
    max-height: 320px;
    border-radius: 30px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project-box:hover {
    transform: scale(1.03);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* DIMENSIONS SPÉCIFIQUES */
.project-box.wide {
    grid-column: span 2; /* Largeur sur deux colonnes */
}

.project-box.tall {
    grid-row: span 1; /* Hauteur sur deux lignes */
}

/* IMAGE DU PROJET */
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 320px;
}

/* CONTENU DU PROJET */
.project-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    padding: 15px;
    text-align: left;
    justify-content: end;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.project-title {
    font-size: 2rem;
    color: #FB94BA;
    margin-bottom: 10px;
}

/* TAGS */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background: rgba(243, 243, 243, 0.874);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #25325F;
}

/* BOUTON */
.button-container {
    margin-top: 24px;
    display: flex;
}

.button-container .btn {
    background: #25325F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 25px;
    transition: background 0.3s ease-in-out;
}

.button-container .btn:hover {
    background: #68e0cf;
    color: #25325F;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr; /* Une colonne sur mobile */
    }

    .project-box.wide {
        grid-column: span 1; /* Largeur sur une colonne en mobile */
    }

    .project-box.tall {
        grid-row: span 1; /* Hauteur standard sur mobile */
    }

    .project-image {
        height: 120%;

     }
}

@media (min-width: 768px) {
    .pres {
        padding-left: 60px;
        padding-right: 60px;
    }

    .pres h1 {
        font-size: 2.5rem;
        line-height: 2;
        margin-top: 24px;
    }

    .pres p {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .pres-buttons {
        display: flex;
        align-items: left;
        gap: 32px;
    }
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* RESPONSIVITÉ */
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .projects {
        padding-right: 60px;
        padding-left: 60px;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.8rem;
    }
}



/* PROJETS */
.exemple-project {
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.exemple-project:hover {
    transform: scale(1.025);
}

.exemple-project img {
    width: 30%;
}

.info-project {
    padding: 15px;
}

.info-project h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #25325F;
}

.info-project span {
    display: flex;
    font-size: 0.9rem;
    color: #25325F;
    margin-bottom: 12px;

}

.info-project p {
    font-size: 1rem;
    color: #25325F;
    margin-bottom: 12px;
}

.info-project .btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #25325F;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease-in-out;
}

.info-project .btn:hover {
    background-color: #68e0cf;
    color: #25325F;
    font-weight: 600;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
    .projet-inside {
        grid-template-columns: repeat(2, 1fr); /* Deux colonnes sur tablette */
    }

    .info-project h2 {
        font-size: 1.6rem;
    }

    .info-project .btn {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .projet-inside {
        grid-template-columns: repeat(3, 1fr); /* Trois colonnes sur desktop */
    }

    .title-category {
        font-size: 2.5rem;
    }
}


/* FOOTER */
.footer {
    background-color: #25325F; /* Couleur principale */
    color: white;
    padding: 36px 18px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: end;
}

/* Conteneur principal */
.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Texte principal et bouton */
.footer-text {
  font-size: calc(2rem + 0.5vw); /* Ajuste dynamiquement la taille */
  line-height: 1;
  margin: 12 auto;
  max-width: 1200px; /* Largeur maximale pour éviter une trop grande expansion */
  text-align: center;
}

.footer-text-wrapper {
    margin-top: 16px;
}

.footer-text p {
  font-size: calc(1.2rem + 0.5vw); /* Pour les sous-paragraphes */
}

.footer-text .highlight {
    font-family: "Kalnia", serif;
    color: #68e0cf; /* Vert clair pour "réaliser" et "maintenant" */
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    margin-top: 24px;
    padding: 6px 12px;
    background: white;
    color: #25325F;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background: #68e0cf;
    color: #25325F;
}

/* Bas du footer */
.footer-bottom {
    margin-top: 24px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding-top: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #68e0cf;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        text-align: left;
        display: flex;
    }

    .footer-text-wrapper {
        margin-top: 0px;
    }

    .footer-logo {
        max-height: 10%;
    }

    .footer-text p {
        font-size: 3rem;
    }

    .cta-button {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 0 60px;
        display: flex;
        }

    .footer-logo {
        max-height: 60%;
    }

    .footer-text p {
        font-size: 2rem;
    }
}

/* Services Section */

.affiche-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
}


@media screen and (max-width: 768px) {
    .affiche-scroll img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    width: 50%;
    width: auto;
    max-height: 132px;
}
.affiche-scroll {
    max-width: 280px;
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
}
}

@keyframes slide-horizontal {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}  

.process-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 120px;
  }
  
  .process-container {
    display: flex;
    flex-direction: row;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
  }
  
  .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s forwards;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 16px;
    border-radius: 16px;
  }
  
  .process-step:nth-child(1) { animation-delay: 0.1s; }
  .process-step:nth-child(2) { animation-delay: 0.2s; }
  .process-step:nth-child(3) { animation-delay: 0.3s; }
  .process-step:nth-child(4) { animation-delay: 0.4s; }
  .process-step:nth-child(5) { animation-delay: 0.5s; }
  .process-step:nth-child(6) { animation-delay: 0.6s; }
  
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .step-icon {
    flex-shrink: 0;
    margin-top: 5px;
    text-align: center;
  }
  
  .step-text h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--primary-color);
    text-align: center;
  }
  
  .step-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .process-step {
        width: 200px;
        align-items: center;
        text-align: center;
    }
  
    .step-icon {
      margin: 0 0 10px;
    }

    .process-container {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        padding: 16px 0;
        margin-left: 32px;
        margin-right: 32px;
        scroll-snap-type: x mandatory;
    }
      
    .section-title {
        margin: 32px;
        font-size: 1.8rem;
        text-align: center;
    }

    .process-section {
        max-width: 2000px;
        margin: 0 auto;
        padding-bottom: 48px;
    }
  }
  
  

/* Experience Section */
.experience-section {
    padding: 60px 20px;
    color: #25325F;
    display: flex;
    flex-direction: column;
    
}
.experience-header {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
    gap: 36px;
}

.experience-list {
    display: flex; /* Par défaut, Flexbox */
    justify-content: space-between;
    flex-direction: column; /* Orientation verticale */
    gap: 20px;
}

.experience-item {
    display: flex; /* Les éléments internes s'alignent en ligne */
    align-items: center;
    flex-shrink: 0;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 12px 24px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 24px;
}

.experience-details h3 {
    font-size: 1.4rem;
    color: #68e0cf;
    margin-bottom: 5px;
    font-weight: 600;
}

.exp-title {
    font-size: 1rem;
    color: #25325F;
    font-weight: 600;

}
.exp-desc {
    color: #25325F;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
  }

.experience-dates {
    min-width: 200px;
    font-size: 0.9rem;
    padding-left: 24px;
    align-self: flex-end;
    color: #25325fa8;
    margin-left: auto; /* Décale les dates sur desktop */
}


/* Responsive Design */
@media (max-width: 767px) {
    .experience-section {
      padding: 40px 16px;
      flex-direction: column;
    }
  
    .experience-header h1 {
      font-size: 1.8rem;
      text-align: left;
    }
  
    .experience-list {
      width: 100%;
      gap: 16px;
    }
  
    .experience-item {
      flex-direction: column;
      align-items: center;
      padding: 16px;
      gap: 12px;
    }
  
    .experience-logo img {
      margin: 0 0 0px 0;
    }
  
    .experience-details h3 {
      font-size: 1.2rem;
      text-align: center;
    }
  
    .exp-title {
      font-size: 0.9rem;
      text-align: center;
    }
  
    .exp-desc {
        display: none;
    }
  
    .experience-dates {
    align-self: center;
      text-align: center;
      padding-left: 0;
      margin-left: 0;
      font-size: 0.85rem;
    }
  }

@media (min-width: 768px) {
    .experience-list {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 60%;
        padding-top: 96px;
    }

    .experience-header {
        width: 35%;
    }

    .experience-header h1 {
        font-size: 2.5rem;
    }

    .experience-item {
        flex: 1 1 calc(50% - 20px); /* Deux colonnes sur tablette */
    }

    .experience-section {
        flex-direction: row;
        justify-content: space-between;
        margin-right: 60px;
        margin-left: 60px;
    }
    

    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .services {
        flex-direction: row;
        justify-content: space-around;
    }

    .content-block {
        flex-direction: row;
        align-items: center;
    }

    .content-block.reverse {
        flex-direction: row-reverse;
    }
}

@media (min-width: 1024px) {
    .experience-item {
        flex: 1 1 calc(33.33% - 20px); /* Trois colonnes sur desktop */
    }

    .hero-left img {
        width: 150px;
        height: 150px;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

    .services .service h3 {
        font-size: 1.8rem;
    }
}

