/* Audit corrections & Clean Carousel layout */
html[lang="fr"] [data-static-lang="en"],html[lang="en"] [data-static-lang="fr"]{display:none}

.portfolio-details{
  position:relative;
  background:#f7efe5;
  color:#291c17;
  padding:clamp(40px,5vw,70px) clamp(20px,5vw,80px);
  line-height:1.6;
}
.portfolio-details>div{max-width:1200px;margin:auto}

.portfolio-kicker,.offer-kicker{
  display:inline-block;
  font-size:11.5px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#a83d2d;
  margin-bottom:8px;
}

/* Carousel Header */
.carousel-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.carousel-header__left h2{
  font-size:clamp(28px,3.8vw,44px);
  line-height:1.15;
  letter-spacing:-.04em;
  font-weight:900;
  color:#291c17;
  margin:0 0 6px;
}
.carousel-header__left p{
  font-size:16px;
  color:#64544c;
  margin:0;
  max-width:680px;
  line-height:1.55;
}

/* Navigation Arrow Buttons */
.carousel-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  position:relative;
  z-index:10;
}
.carousel-arrow{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1.5px solid rgba(41,28,23,0.18);
  background:#fffdf9;
  color:#291c17;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all .18s cubic-bezier(0.16, 1, 0.3, 1);
  padding:0;
  box-shadow:0 2px 8px -2px rgba(41,28,23,0.06);
  user-select:none;
}
.carousel-arrow svg{
  pointer-events:none;
}
.carousel-arrow:hover:not(:disabled){
  background:#c94a39;
  border-color:#c94a39;
  color:#ffffff;
  transform:scale(1.06);
  box-shadow:0 4px 14px rgba(201,74,57,0.28);
}
.carousel-arrow:disabled{
  opacity:.3;
  cursor:not-allowed;
  pointer-events:none;
  border-color:rgba(41,28,23,0.1);
  box-shadow:none;
}

/* Track & Wrapper */
.carousel-track-wrapper{
  position:relative;
  width:100%;
}
.carousel-track{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  padding:4px 2px 16px;
}
.carousel-track::-webkit-scrollbar{display:none}

/* Carousel Items (2 per screen on desktop, 1 on mobile) */
.carousel-item{
  flex:0 0 calc(50% - 12px);
  min-width:0;
  scroll-snap-align:start;
  box-sizing:border-box;
}

/* Card Styling */
.carousel-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#ffffff;
  border:1px solid rgba(41,28,23,0.12);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 4px 20px -2px rgba(41,28,23,0.06);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  position:relative;
}
.carousel-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px -4px rgba(41,28,23,0.12);
  border-color:rgba(201,74,57,0.25);
}

/* Card Media / Thumbnail with 2:1 exact aspect ratio */
.carousel-card__preview-link{
  display:block;
  text-decoration:none;
  position:relative;
  overflow:hidden;
}
.carousel-card__media{
  position:relative;
  width:100%;
  aspect-ratio:2 / 1;
  overflow:hidden;
  background:#f0e8de;
  border-bottom:1px solid rgba(41,28,23,0.08);
}
.carousel-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transition:transform .35s ease;
}
.carousel-card:hover .carousel-card__media img{
  transform:scale(1.03);
}

/* Card Body */
.carousel-card__caption{
  padding:20px 22px 22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.carousel-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.carousel-card__badges{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.carousel-tag{
  font-size:11px;
  font-weight:750;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#291c17;
  background:rgba(41,28,23,0.06);
  padding:3.5px 9.5px;
  border-radius:9999px;
}
.carousel-tag--highlight{
  background:#fff0eb;
  color:#c94a39;
  border:1px solid rgba(201,74,57,0.25);
  font-weight:800;
}

.carousel-card__links{
  display:flex;
  align-items:center;
  gap:8px;
}
.carousel-link{
  font-size:12px;
  font-weight:750;
  padding:4px 11px;
  border-radius:9999px;
  text-decoration:none !important;
  transition:all .15s ease;
  white-space:nowrap;
}
.carousel-link--primary{
  background:#fff5f2;
  color:#c94a39 !important;
  border:1px solid rgba(201,74,57,0.25);
}
.carousel-link--primary:hover{
  background:#c94a39;
  color:#ffffff !important;
}
.carousel-link--github{
  background:#ffffff;
  color:#52423a !important;
  border:1px solid rgba(41,28,23,0.18);
}
.carousel-link--github:hover{
  border-color:#291c17;
  color:#291c17 !important;
}

.carousel-card__desc{
  font-size:14px;
  line-height:1.55;
  color:#52423a;
  margin:0 0 16px;
  flex:1;
}
.carousel-card__desc strong{
  color:#291c17;
  font-weight:800;
  font-size:15.5px;
}

.carousel-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
}
.carousel-pills span{
  font-size:11px;
  font-weight:650;
  padding:3px 8px;
  border-radius:6px;
  background:rgba(41,28,23,0.05);
  color:#483931;
}

/* Offer paths section */
.offer-paths{display:grid;grid-template-columns:1fr;gap:22px;margin-top:24px}
.offer-path{border:1px solid rgba(41,28,23,0.15);border-radius:24px;background:#fffaf4;padding:24px}
.offer-path h3{font-size:25px;line-height:1.15;margin:14px 0}
.offer-path .offer-price{font-weight:800;color:#291c17;margin:20px 0}
.offer-path ul{margin-bottom:18px}
.offer-path a{color:#a83d2d;font-weight:750;text-underline-offset:4px}

/* Responsive adjustments */
@media(max-width:860px){
  .carousel-item{
    flex:0 0 86%;
  }
  .carousel-card__caption{
    padding:18px;
  }
}
@media(max-width:540px){
  .carousel-item{
    flex:0 0 92%;
  }
  .carousel-header{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
}

.no-js body.is-experience-loading{overflow:auto}.no-js .experience-loader,.no-js .scroll-sequence,.no-js .menu-toggle,.no-js .brand-button,.no-js .language-switch{display:none}.no-js .portfolio-details{padding-top:120px}.no-js [data-reveal]{opacity:1;transform:none}.no-js .contact-cloud{opacity:1;visibility:visible}
