
body {
    font-family: "muli", sans-serif;
    color: #031011;
    overflow-x: hidden;
   
}
/* titre */
h2 {
    font-family: "pacaembu", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 3rem;
    text-align: center;
}
h3, h4, h5 {   
    font-family: "pacaembu", sans-serif;
}

p {
    font-family: "muli", sans-serif;
     opacity: 0.85;
     font-size: 0.9rem;
  line-height: 1.8;
}

ul {
    font-size: 0.9rem;
  line-height: 1.8;
}

.rond img {border-radius: 12px;}
.rond video {border-radius: 12px;}

/* section neutre */
.vert {
    background: #9db89a;
}

.beige {
    background: #f5f1ed;
}
/* section arrondie */
.section-beige {
    padding: 8rem 0;
    background-color: #f5f1ed;
    border-radius: 0 0 300px 0;

}

.section-vert {
    padding: 8rem 0;
    background-color:#9db89a;
    border-radius: 0 0 300px 0;

}

.section-vert ul{
 color: #f5f1ed;
}
/* container */

.container-hybride {
   --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 90%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

/* Navigation */
.navbar {
    background-color: transparent !important;
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}



.navbar.scrolled {
    background-color: #f5f1ed !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.3rem 0;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
}

.navbar.scrolled .navbar-nav {
    border-bottom: none;
}

.navbar.scrolled .navbar-nav::after {
    display: none;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    color: #031011;
    border: 2px solid #031011;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    background-color: #9db89a;
    color: white;
    border-color: #9db89a;
    transform: rotate(180deg);
}

.navbar-nav .nav-link {
    color: #031011;
    font-weight: 500;
    margin: 0 0.5rem;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding-bottom: 0.5rem;
}

.navbar-nav {
    padding-bottom: 0.5rem;
    margin-left: auto;
    border-bottom: 1px solid #031011;
    position: relative;
}

.navbar-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 100%;
    width: 20vw;
    height: 1px;
    background-color: #031011;
}

.navbar-nav .nav-link:hover {
    color: #9db89a;
}

/* Main content - offset pour la navbar fixed */
main {
    padding-top: 0;
}

.content {
    overflow-x: hidden;
}

/* Hero Section */

.hero-title {
    
 font-family: "pacaembu", sans-serif;
    
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
    line-height: 1.6;
    
    
    font-size: 4.5rem;
   
    
}

@media (max-width: 1024px) {
        .hero-title {
        font-size: 1.8rem;
        }
}

.hero-background {

    background-color: #faf6f1;
    border-radius: 0 0 0 400px;
    padding-top: 128px;
  padding-bottom: 67px;
    
}

.hero-subtitle {
    font-family: 'Alegreya', serif;
    font-size: 1.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #F9F5F0;
  
}

.section-portfolio {
        background-color: #9db89a;
        background-image: url('img/portfolio-fond.webp');
        background-position: bottom;
        background-size: 100%;
        background-repeat: no-repeat;
       padding-top: 1rem;
  padding-bottom: 8rem;
}

@media (max-width: 1024px) {
.section-portfolio {
padding-bottom: 4rem;
}
}



.hero-background-other {

    background-color: #9db89a;
    border-radius: 0 0 0 400px;
    padding-top: 128px;
  padding-bottom: 67px;
    color: #f5f1ed;
}
/* en savoir plus Section */


.encart-gauche {
background-color: #f5f1ed;
padding-top: 10rem;
padding-bottom: 10rem;
padding-left: 0;
border-radius: 0 150px 0 0;
width: 80%;
}

@media (max-width: 1024px) {
    .encart-gauche {

width: 100%;
padding-top: 5rem;
  padding-bottom: 1rem;
}
    
}

.cta-title {
    font-family: "pacaembu", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
}




/* Savoir Plus Section - Apropos */


.savoir-plus-green {
    background-color: #9db89a;
    border-radius: 0 300px 0 0;
padding: 12rem 0;
}



.savoir-plus-title {
    font-family: "pacaembu", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0px;
    color: #031011;
    line-height: 1.8;
    text-align: justify;
}


/* About Section */



.about-image {
    border-radius: 0;
    overflow: hidden;
    object-fit: contain;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-text);
}


.feature-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-text);
}




/* Skills Section */

 .section-title {
    color: #2c2c2c!important;
}


.skill-title {
    font-family: "pacaembu", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Footer */
footer {
    background-color: #9db89a;
    color: #031011;
 
    
}

.encart-footer {
    background-color:  #f5f1ed;
    padding: 2rem ;
    border-radius: 0 300px 0 0;
  
}


.contact-block {
    background-color: transparent;
    padding: 3rem;
    text-align: justify;
}



.contact-block-title {
    font-family: "pacaembu", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: #031011;
}

.contact-block p,
.contact-block ul li {
    color: #031011;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.contact-block a {
    color: #031011;
    text-decoration: none;
}

.contact-block a:hover {
    color: #9db89a;
}

/* Mobile navigation */
.mobile-nav-container {
    display: none;
}

.mobile-nav-container .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 5px;
}

.mobile-nav-container .navbar-toggler:focus {
    box-shadow: 0 0 0 0.05rem rgba(44, 44, 44, 0.15);
}

.mobile-nav-container .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

.mobile-nav-container .navbar-collapse.show,
.mobile-nav-container .navbar-collapse.collapsing {
    background-color: #f5f1ed;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar-nav {
        border-bottom: none;
    }

    .navbar-nav::after {
        display: none;
    }

    .desktop-nav {
        display: none !important;
    }

    .mobile-nav-container {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 1rem;
    }

    .mobile-nav-container .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
}

/* section detail */


    .left-block {
      background-color: #9DB89A; /* Vert doux */
    
    }

    .right-block {
       background-color: #f5f1ed;
      padding: 80px 40px;
      border-radius: 0 0 0 300px ;

    }

    .right-block h4 {
      font-size: 1.2rem;
    }

    .feature-item {
      text-align: center;
      margin-bottom: 60px;
    }

 

    .feature-text {
      font-size: 12px;
      color: #333;
    
      line-height: 1.6;
    }


/* Page type projet — scroll narratif */

/* Blocs texte + image */
.pt-block {
    padding: 6rem 0;
}



.pt-block-text {
    padding: 3rem 4rem;
}

.pt-block-green .pt-label,
.pt-block-green .pt-block-title,
.pt-block-green .about-text {
    color: white;
}

.pt-block-green .pt-label,
.pt-block-green .pt-block-title,
.pt-block-green .about-text a {
    color: white;
}

.pt-label {
   font-family: "muli", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 0.8rem;
}

.pt-block-title {
    font-family: "pacaembu", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color:#031011;
    margin-bottom: 1.5rem;
}








/* Navigation retour */
.pt-nav-section {
    background-color: #9DB89A;
    padding: 3rem 0 3rem 0;
    
}

.projet-nav-link {
    font-family: "muli", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.projet-nav-link:hover {
    color: #f5f1ed;
}

/* Vignettes projets */
.projets-section {
    padding: 8rem 0 ;
    background-color: #f5f1ed;
    border-radius: 0px 0px 0px 300px;
}

.projets-section .section-title {
    margin-bottom: 5rem;
}

/* Page Contact */
.contact-page-section {
    background-color: #f5f1ed;
}

.contact-page-green {
    background-color: #9db89a;
    height: 100%;
    min-height: 400px;
    margin-left: -100vw;
    padding-left: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4rem;
}

.contact-page-green-title {
    font-family: "pacaembu", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: right;
    line-height: 1.2;
    letter-spacing: 4px;
}

.contact-page-content {
    padding: 5rem 5rem 5rem 6rem;
}

.contact-page-block {
    margin-bottom: 3rem;
}

.contact-page-subtitle {
    font-family: "pacaembu", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #031011;
    margin-bottom: 1.5rem;
}

.contact-page-list li {
    font-family: "muli", sans-serif;
    font-size: 0.85rem;
    color: #031011;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-page-list a {
    color: #031011;
    text-decoration: none;
}

.contact-page-list a:hover {
    color: #9db89a;
}

.contact-page-socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    font-family: "muli", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #031011;
    text-decoration: none;
    border: 1px solid #031011;
    padding: 0.6rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-social-btn:hover {
    background-color: #9db89a;
    border-color: #9db89a;
    color: white;
}

.contact-illustration-full {
    width: 100%;
    height: 500px;
    background-image: url('img/illustration-contact.png');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

.contact-illustration-full img {
    display: none;
    display: block;
}

.vignette-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vignette-card {
    background-color: transparent;
    padding-bottom: 1rem;
}

.vignette-img-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.vignette-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.first-vignette-img {
    border-radius: 100px 0 0 0;
}

.last-vignette-img {
    border-radius: 0 100px 0 0;
}

.vignette-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(157, 184, 154, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vignette-overlay-text {
    color: white;
    font-family: "muli", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vignette-link:hover .vignette-img {
    transform: scale(1.05);
}

.vignette-link:hover .vignette-overlay {
    opacity: 1;
}

.vignette-title {
    font-family: "pacaembu", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #031011;
    margin-bottom: 0.5rem;
}

.vignette-desc {
    font-family: "muli", sans-serif;
    font-size: 0.75rem;
    color: var(--gray-text);
    margin: 0;
}


.btn-custom {
    background-color: transparent!important;
    border: 2px solid #031011!important;
    color: #031011!important;
    padding: 0.8rem 2.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-custom:hover {
    background-color: #9db89a!important;
    border-color:#9db89a!important;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(157, 184, 154, 0.3);
}

.btn-custom2 {
    border-color: #f5f1ed!important;
    color: #f5f1ed!important;
     background-color: transparent;
     padding: 0.8rem 2.5rem;
      border-radius: 20px!important;
     text-transform: uppercase;
      font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
     transition: all 0.3s ease;
    text-decoration: none;

}

.btn-custom2:hover {
    background-color: #f5f1ed!important;
    border-color:#f5f1ed!important;
    color: #031011!important;
     transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.section-competence {
    padding: 8rem 0;
}

@media (max-width: 767px) {
    .section-competence {
    padding: 1rem 0;
}
}

.section-competence h3 {
    font-size: 1rem;
}

.section-competence p {
   display: flex;
    flex-wrap: wrap;
    
}

.competences {
    display: inline-block;
    background-color: white;
    color: #031011;
    font-family: "muli", sans-serif;
    font-size: 18px;
    font-weight: 400;
    border: 1px solid #031011;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
}


.header-bacco {
    background: url('img/designproduit/bacco/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}


.header-moonstool {
    background: url('img/designproduit/moonstool/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}

.header-mobilio {
    background: url('img/designproduit/mobilio/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}

.header-doggyq {
    background: url('img/designproduit/doggyq/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}

.header-shoesrack {
    background: url('img/designproduit/shoesrack/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}

.header-safe {
    background: url('img/designproduit/safe/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}


.header-bhevasion {
    background: url('img/uxui/bhevasion/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}

.header-nightmare {
    background: url('img/uxui/nightmare/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}

.header-vibin {
    background: url('img/uxui/vibin/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}


.header-15th {
    background: url('img/uxui/15th/header.webp') no-repeat center center; background-size: cover; min-height: 700px;
 
    color: #f5f1ed;
}


.slider{
  width:100%;
  overflow:hidden;
}

.track{
  display:flex;
  gap:40px;
  width:max-content;
  animation:scroll 30s linear infinite;
}

.track img{
  height:220px;
  width:auto;
  flex-shrink:0;
  border-radius:12px;
}

@keyframes scroll{
  from { transform:translateX(0); }
  to   { transform:translateX(calc(-50% - 20px)); }
}