.SodaberyModernSerifRegular-normal-normal {
	font-family: SodaberyModernSerifRegular;
	font-style: normal;
	font-stretch: normal;
}

.stylized-text {
    font-feature-settings: "ss01" 1; /* Active le set stylistique 01 */
  }
  
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Variables */
  :root {
    --color-light: #fffcf9;
    --color-dark: #3b3030;
    --color-accent: #664343;
    --color-cream: #f4e6d7;
    --font-sans: "Inter", sans-serif;
    --font-serif: 'SodaberyModernSerifRegular', serif;
    --section-padding: clamp(1rem, 5vw, 4rem);
  }
  
  /* Base */
  html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
    font-size: 16px;
  }
  
  @media (max-width: 768px) {
    html {
      font-size: 14px;
    }
  }
  
  body {
    font-family: var(--font-sans);
    overflow: hidden;
    color: var(--color-dark);
    line-height: 1.5;
  }
  
  /* Navigation */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
  }
  
  .nav__list {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2rem);
    padding: 1rem;
    list-style: none;
    width: 100%;
  }
  
  .nav__list a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
    white-space: nowrap;
  }
  
  .nav__list a:hover {
    opacity: 0.75;
  }
  
  /* Main content */
  .main {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-padding-top: var(--header-height);
  }
  
  .main::-webkit-scrollbar {
    display: none;
  }
  
  /* Sections */
  .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    position: relative;
    scroll-snap-align: start;
  }
  
  .section--light {
    background-color: var(--color-light);
    color: var(--color-dark);
  }
  
  .section--dark {
    background-color: var(--color-dark);
    color: var(--color-light);
  }
  
  .section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3.75rem);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    font-weight: 400;
  }
  
  /* Hero */
  .hero {
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 0 var(--section-padding);
  }
  
  .hero__image {
    width: clamp(10rem, 30vw, 16rem);
    height: clamp(10rem, 30vw, 16rem);
    margin: 0 auto clamp(1rem, 3vw, 1.5rem);
    overflow: hidden;
    border-radius: 50%;
  }
  
  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 3.75rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    line-height: 1.2;
    font-weight: 400;
  }
  
  .hero__subtitle {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
  }
  
  /* About */
  .about {
    max-width: min(48rem, 90%);
    text-align: center;
    margin: 0 auto;
  }
  
  .about__content {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
  }
  
  .about__content p {
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  /* Projects Carousel */
  .carousel {
    position: relative;
    width: 100%;
    max-width: min(80rem, 95%);
    margin: 0 auto;
    padding: 0 3rem;
    font-weight: 400;
  }

  .carousel__card a{
    text-decoration: none;
  }



  .carousel__image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0); /* Suppression de la saturation */
}

.carousel__image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3B3030;
    opacity: 0.3; /* Voile coloré à 30% d'opacité */
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/* Active l'effet hover quand on survole la carte (le lien <a>) */
a:hover .carousel__image-wrapper .carousel__image {
    filter: saturate(1);
}

a:hover .carousel__image-wrapper::after {
    opacity: 0;
}



  
  @media (max-width: 640px) {
    .carousel {
      padding: 0 2rem;
    }
  }
  
  .carousel__container {
    overflow: hidden;
    margin: 0 -0.5rem;
  }
  
  .carousel__track {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
    padding: 0.5rem;
  }
  
  .carousel__card {
    flex: 0 0 calc(33.333% - 1rem);
    background-color: var(--color-dark);
    border-radius: 0.5rem;
    overflow: hidden;
    height: auto;
    min-height: 360px;
    display: flex;
    flex-direction: column;
  }
  
  @media (max-width: 1200px) {
    .carousel__card {
      flex: 0 0 calc(50% - 1rem);
    }
  }
  
  @media (max-width: 768px) {
    .carousel__card {
      flex: 0 0 calc(100% - 1rem);
    }
  }
  
  .carousel__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  
  .carousel__content {
    padding: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-cream);
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .carousel__title {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    margin-bottom: 0.5rem;
  }
  
  .carousel__description {
    font-size: clamp(0.813rem, 2vw, 0.875rem);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
  }
  
  .carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-light);
    border: none;
    width: clamp(2rem, 6vw, 2.5rem);
    height: clamp(2rem, 6vw, 2.5rem);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: all 0.2s ease;
    z-index: 2;
  }
  
  .carousel__btn:hover {
    background-color: var(--color-cream);
    transform: translateY(-50%) scale(1.1);
  }
  
  .carousel__btn svg {
    width: clamp(1rem, 3vw, 1.25rem);
    height: clamp(1rem, 3vw, 1.25rem);
  }
  
  .carousel__btn--prev {
    left: 0;
  }
  
  .carousel__btn--next {
    right: 0;
  }
  
  /* Contact */
  .social {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-top: clamp(1.5rem, 4vw, 2rem);
    justify-content: center;
  }
  
  .social__link {
    background: var(--color-light);
    color: var(--color-dark);
    padding: clamp(0.75rem, 2vw, 1rem);
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social__link:hover {
    background-color: var(--color-cream);
    transform: translateY(-2px);
  }
  
  .social__link svg {
    width: clamp(1.25rem, 3vw, 1.5rem);
    height: clamp(1.25rem, 3vw, 1.5rem);
  }
  
  .legal {
    position: absolute;
    bottom: 1rem;
    font-size: clamp(0.625rem, 1.5vw, 0.75rem);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
  }
  
  /* Scroll Button */
  .scroll-btn {
    position: absolute;
    bottom: clamp(1rem, 4vw, 2rem);
    background: var(--color-dark);
    color: var(--color-light);
    border: none;
    width: clamp(2rem, 6vw, 2.5rem);
    height: clamp(2rem, 6vw, 2.5rem);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .scroll-btn:hover {
    transform: translateY(2px);
  }
  
  .scroll-btn svg {
    width: clamp(1rem, 3vw, 1.25rem);
    height: clamp(1rem, 3vw, 1.25rem);
  }
  
  .scroll-btn--light {
    background: var(--color-light);
    color: var(--color-dark);
  }
  
  /* Navigation color changes */
  .section--dark ~ .nav {
    color: var(--color-cream);
  }
  
  .section--light ~ .nav {
    color: var(--color-dark);
  }
  
  /* Additional Responsive Adjustments */
  @media (max-width: 480px) {
    .section {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  
    .about__content {
      text-align: left;
    }
  
    .carousel {
      padding: 0 1.5rem;
    }
  
    .carousel__btn {
      width: 1.75rem;
      height: 1.75rem;
    }
  
    .carousel__btn svg {
      width: 1rem;
      height: 1rem;
    }
  
    .nav__list {
      padding: 0.5rem;
    }
  }
  
  /* Touch Device Optimizations */
  @media (hover: none) {
    .nav__list a {
      padding: 0.5rem;
    }
  
    .carousel__btn {
      opacity: 0.8;
    }
  
    .social__link {
      padding: 1rem;
    }
  }
  
  /* Landscape Mode Adjustments */
  @media (max-height: 600px) and (orientation: landscape) {
    .hero__image {
      width: 8rem;
      height: 8rem;
    }
  
    .section {
      padding-top: calc(var(--header-height) + 1rem);
    }
  
    .carousel__card {
      min-height: 300px;
    }
  }
  
  /* Print Styles */
  @media print {
    .nav,
    .scroll-btn,
    .carousel__btn {
      display: none;
    }
  
    .section {
      break-inside: avoid;
      page-break-inside: avoid;
      min-height: auto;
    }
  
    .main {
      height: auto;
      overflow: visible;
    }
  }
  
  