@font-face {
  font-family: 'Uncut Sans';
  src: url('../assets/fonts/UncutSans-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-black: #1B1B1B;
  --color-black-ligth: #262626;
  --color-bg: #FAFAFA;
  --color-white: #FFFFFF;
  --color-gray-light: #EBEBEB;
  --color-gray: #5C5C5C;
  --color-gray-dark: #333333;
  --color-blue: #3853FF;
  --color-blue-accent: #0526FF;
  --font-family: 'Uncut Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  cursor: pointer;
}

@media (min-width: 769px) {
  html {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }
}

body {
  font-family: var(--font-family);
  color: var(--color-black);
  background-color: var(--color-bg);
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 50px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  z-index: 1000;
  padding: 16px 0;
  height: 75px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  cursor: pointer;
}

.nav__list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 16px;
}

.nav__list li a {
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.nav__list li button.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--color-gray-light);
  background-color: transparent;
  font-family: inherit;
  font-size: 16px;
}

.nav__list li button.nav__link:hover {
  background-color: var(--color-gray-light);
}

.nav__link--feed img {
  width: 20px;
  height: 20px;
  display: block;
}

.nav__list li a:hover {
  background-color: var(--color-gray-light);
}

.nav__link {
  color: var(--color-black);
  text-decoration: none;
}

h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}

@media (max-width: 968px) {
  .container {
    padding: 0 20px;
  }

  .nav__list li button.nav__link {
    padding: 10px 12px;
  }

  .nav__list li:nth-child(-n + 3) {
    display: none;
  }
}

/* HERO */

.hero {
    display: flex;
    max-width: 968px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin: 203px auto 128px auto;
}

.tagline {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 12px;
    display: flex;
    padding: 12px 16px 12px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 11px 16px;
  height: 43px;
  border-radius: 12px;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
  line-height: 1.2;
  font-weight: 400;
}

#cta-primary:hover {
  background-color: var(--color-blue-accent);
  color: var(--color-white);
  transition: 0.3s ease;
}

.cta-primary__icon {
  display: none;
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .hero {
    margin: 171px auto 96px auto;
  }
}

@media (max-width: 468px) {
  .hero {
    margin: 128px auto 64px auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .nav__list {
    gap: 8px;
  }

  .nav__link--feed span {
    display: none;
  }

  .nav__list li button.nav__link {
    padding: 10px 12px;
  }

  .cta-primary__text {
    display: none;
  }

  .cta-primary__icon {
    display: block;
  }

  #cta-primary {
    width: 43px;
    padding: 0;
  }
}

/* CLIENTS */

.clients {
  margin-bottom: 96px;
}

.clients__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.clients__title {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-black);
  margin: 0;
}

.clients__rating {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 50px;
  padding: 8px 12px;
  white-space: nowrap;
}

.clients__rating p {
  font-size: 14px;
  color: var(--color-gray);
  margin: 0;
}

.clients__separator {
  height: 1px;
  background-color: var(--color-gray-light);
  margin-bottom: 32px;
}

.clients__logos-wrapper {
  overflow: hidden;
  width: 100%;
}

.clients__logos-wrapper:hover .clients__logos-track {
  animation-play-state: paused;
}

.clients__logos-track {
  display: flex;
  width: fit-content;
  animation: scroll-logos 30s linear infinite;
  will-change: transform;
  gap: 96px;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--scroll-width));
  }
}

.clients__logos {
  display: flex;
  align-items: center;
  gap: 96px;
  flex-shrink: 0;
}

.clients__logos img {
  height: 25px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .clients {
    margin-bottom: 64px;
  }

  .clients__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
  }

  .clients__title {
    font-size: 20px;
  }

  .clients__separator {
    margin-bottom: 24px;
  }

  .clients__logos-track {
    animation-duration: 20s;
    gap: 48px;
  }

  .clients__logos {
    gap: 48px;
  }

  .clients__logos img {
    height: 24px;
  }
}

@media (max-width: 468px) {
  .clients__header {
    align-items: center;
  }

  .clients__title {
    font-size: 20px;
    text-align: center;
  }
}

/* PROJECTS */

.projects {
  margin-top: 96px;
  padding: 0 50px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  position: sticky;
  top: 99px;
  overflow: hidden;
  border-radius: 12px;
  z-index: 1;
  will-change: transform;
}

.project-card__cta {
  display: none;
}

.project-card:nth-child(2) {
  z-index: 2;
  margin-top: 128px;
}

.project-card:nth-child(3) {
  z-index: 3;
  margin-top: 128px;
}

.project-card:nth-child(4) {
  z-index: 4;
  margin-top: 128px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card__tag {
  position: fixed;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  color: var(--color-black);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  white-space: nowrap;
}



@media (max-width: 768px) {
  .projects {
    padding: 0 20px;
    margin-top: 64px;
  }

  .project-card:nth-child(2) {
    z-index: 2;
    margin-top: 32px;
  }

  .project-card:nth-child(3) {
    z-index: 3;
    margin-top: 32px;
  }

  .project-card:nth-child(4) {
    z-index: 4;
    margin-top: 32px;
  }

  .project-card__cta {
    display: block;
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    color: var(--color-black);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    pointer-events: none;
  }
}

@media (max-width: 468px) {
  .project-card {
    aspect-ratio: 3 / 4;
  }

  .project-card__tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    opacity: 1;
    transform: none;
  }

  .project-card:hover .project-card__tag {
    opacity: 1;
  }
}

/* EXPERTISES */

.expertises {
  margin: 0 auto 152px auto;
  padding-top: 152px;
}

.expertises__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.expertises__visual {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  max-width: 320px;
}

.expertises__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: top left;
  transition: opacity 0.2s ease;
}

.expertises__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: -50px;
}

.expertises__eyebrow {
  font-size: 36px;
  line-height: 120%;
  margin-bottom: 72px;
  max-width: 660px;
}

.expertises__eyebrow-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-left: 0;
  margin-top: -4px;
}

.expertises__eyebrow-icon img {
  width: 100%;
  height: 100%;
}

.expertises__heading {
  display: flex;
  flex-direction: column;
}

.expertises__title {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.expertises__arrow {
  width: 48px;
  height: 48px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.expertises__title--active .expertises__arrow,
.expertises__title.expertises__title--hovered .expertises__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Par défaut, les titres sont noirs */
.expertises__title {
  color: var(--color-black);
}

/* Le titre actif est bleu */
.expertises__title--active {
  color: var(--color-blue);
}

/* Au hover, le titre survolé devient bleu */
.expertises__title:hover {
  color: var(--color-blue);
}

/* Quand un titre est hovered, il est bleu */
.expertises__title--hovered {
  color: var(--color-blue);
}

.expertises__text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-black);
  margin-left: 50px;
  margin-top: 48px;
  transition: opacity 0.2s ease;
}

.expertises__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 50px;
  transition: opacity 0.2s ease;
}

.expertises__tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-gray-light);
  font-size: 14px;
  background-color: var(--color-white);
}

.expertises__heading h2 {
  font-size: 64px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.48px;
}

.expertises__heading h2:hover {
  color: var(--color-blue);
}

@media (max-width: 768px) {
  .expertises {
    margin: 0 auto 96px auto;
    padding-top: 96px;
  }

  .expertises__content {
    margin-left: 0;
  }
  .expertises__eyebrow {
    margin-bottom: 48px;
    max-width: 100%;
  }
  .expertises__text {
    margin-left: 0;
    margin-top: 12px;
  }

  .expertises__tags {
    margin-left: 0;
  }

  .expertises__layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .expertises__visual {
    order: 2;
    max-width: 100%;
    margin-top: 24px;
  }

  .expertises__content {
    order: 1;
  }

  .expertises__heading h2 {
    font-size: 48px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.48px;
  }
}

@media (max-width: 468px) {
  .expertises {
    margin: 0 auto 64px auto;
    padding-top: 64px;
  }

  .expertises__eyebrow {
    font-size: 24px;
    margin-bottom: 32px;
  }
  
  .expertises__eyebrow-icon {
    width: 24px;
    height: 24px;
  }
  
  .expertises__heading h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.48px;
  }

  .expertises__arrow {
    width: 28px;
    height: 28px;
  }

  .expertises__text {
    font-size: 16px;
  }
  .expertises__heading h2 {
    font-size: 40px;
  }
}

/* COMMITMENTS */

.commitments {
  width: 100vw;
  background-color: var(--color-black);
  color: var(--color-white);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 128px 0;
}

.commitments__container {
  margin-bottom: 128px;
}

.commitments__title {
  font-size: 36px;
  font-weight: 400;
  line-height: 120%;
  text-align: center;
  margin-bottom: 72px;
}

.commitments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.commitments__card {
  background-color: var(--color-black-ligth);
  border: 1px solid var(--color-gray-dark);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: 0.3s ease;
}

.commitments__card:hover {
  background-color: var(--color-blue);
  border: 1px solid var(--color-blue);
  transition: 0.3s ease;
  cursor: default;
  transform: translateY(-8px);
}

.commitments__icon img {
  width: 40px;
  height: 40px;
}

.commitments__card:hover .commitments__icon img {
  border: 2px solid hsl(232, 100%, 71%);
  border-radius: 10px;
}

.commitments__card-title {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  color: var(--color-white);
  margin-top: 48px;
}

.commitments__card-text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  color: #B3B3B3;
  margin: 0;
}

.commitments__card:hover .commitments__card-text {
  color: var(--color-white);
}

.commitments__separator-wrapper {
  margin-bottom: 128px;
}

.commitments__separator {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray-dark);
}

/* TESTIMONIALS */

.testimonials__container {
  position: relative;
  overflow: visible;
}

.testimonials__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.testimonials__title {
  font-size: 36px;
  max-width: 468px;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-white);
  margin: 0;
}

.testimonials__card {
  margin-top: 95px;
  position: relative;
  overflow: visible;
}

.testimonials__shape {
  position: absolute;
  top: 75px;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  width: 226px;
  height: 191px;
}

.testimonials__shape img {
  width: 100%;
  height: 100%;
  opacity: 0.5;
  display: block;
}

.testimonials__card-inner {
  position: relative;
  min-height: 200px;
  z-index: 2;
  transition: min-height 0.5s ease;
}

.testimonials__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.testimonials__slide--active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.testimonials__text {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--color-white);
}

.testimonials__client {
  display: none;
}

.testimonials__client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.testimonials__client-wrapper {
  display: flex;
  align-items: center;
}

.testimonials__dot {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonials__dot img {
  width: 24px;
  height: 24px;
}

.testimonials__client-name {
  font-size: 16px;
  color: var(--color-white);
}

.testimonials__controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.testimonials__btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--color-black-ligth);
  border: 1px solid var(--color-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials__btn:hover {
  background-color: var(--color-gray-dark);
}

.testimonials__btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.testimonials__btn--prev img {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .commitments__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .commitments {
    padding: 96px 0;
  }

  .commitments__container {
    margin-bottom: 96px;
  }

  .commitments__title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .commitments__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonials__container {
    padding-top: 0;
  }

  .testimonials__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .testimonials__title {
    position: relative;
    font-size: 32px;
    z-index: 100;
    max-width: 100%;
  }

  .commitments__separator-wrapper {
    margin-bottom: 64px;
  }

  .testimonials__card {
    margin-top: 0;
  }

  .commitments__card {
    padding: 24px 20px;
  }

  .commitments__card-title {
    margin-top: 24px;
  }
}

@media (max-width: 468px) {
  .commitments {
    padding: 64px 0;
  }
  
  .commitments__title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .commitments__container {
    margin-bottom: 64px;
  }

  .testimonials__text {
    font-size: 18px;
  }
}

/* CONTACT */

.contact {
  margin: 0 auto 192px auto;
  max-width: 968px;
  padding-top: 192px;
  text-align: center;
}

.contact__title {
  font-size: 64px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.4px;
  color: var(--color-black);
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact__description {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0 0 56px 0;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.contact__box {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 24px;
  max-width: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.contact__box:hover {
  transform: translateY(-8px);
}

.contact__text {
  text-align: left;
}

.contact__text p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-black);
  font-size: 16px;
  position: relative;
}

.contact__detail--email {
  cursor: pointer;
}

.contact__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact__copy-tag {
  position: fixed;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.nav__logo-tag {
  position: fixed;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  white-space: nowrap;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

@media (max-width: 768px) {
  .contact__copy-tag,
  .project-card__tag,
  .nav__logo-tag {
    display: none;
  }
}

.contact__commitment {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-gray);
  margin: 0;
}

@media (max-width: 768px) {
  .contact {
    margin: 0 auto 96px auto;
    padding-top: 96px;
  }

  .contact__title {
    font-size: 48px;
  }

  .contact__description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .contact__box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .contact__text {
    text-align: center;
  }

  .contact__details {
    align-items: center;
  }
}

@media (max-width: 468px) {
  .contact {
    margin: 0 auto 64px auto;
    padding-top: 64px;
  }

  .contact__title {
    font-size: 32px;
  }
}

/* FOOTER */

.footer {
  width: 100%;
  margin-top: 192px;
}

.footer__image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  max-height: 128px;
  display: flex;
  justify-content: center;
}

.footer__image img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  transform: translateY(-50%);
}

.footer__bar {
  width: 100%;
  background-color: var(--color-blue);
  padding: 24px 0;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 14px;
  color: var(--color-white);
  margin: 0;
}

.footer__legal-link {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease;
}

.footer__legal-link:hover {
  opacity: 0.7;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__separator {
  color: var(--color-white);
  font-size: 14px;
}

.footer__link {
  color: var(--color-white);
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer {
    margin-top: 128px;
  }

  .footer__content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 468px) {
  .footer {
    margin-top: 64px;
  }

  .footer__image {
    max-height: 96px;
  }
}

/* LEGAL PANEL */

.legal-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-panel.active {
  opacity: 1;
  visibility: visible;
}

.legal-panel__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 28, 58, 0.5);
}

.legal-panel__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 768px;
  background-color: var(--color-bg);
  border-radius: 12px 0 0 12px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.legal-panel.active .legal-panel__content {
  transform: translateX(0);
}

.legal-panel__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  padding: 0;
}

.legal-panel__close img {
  width: 20px;
  height: 20px;
  display: block;
}

.legal-panel__close:hover {
  background-color: var(--color-gray-light);
}

.legal-panel__inner {
  padding: 96px 48px 96px 48px;
  max-width: 100%;
}

.legal-panel__inner h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.4px;
  margin-bottom: 32px;
  color: var(--color-black);
}

.legal-panel__inner h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 140%;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-black);
}

.legal-panel__inner h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-black);
}

.legal-panel__inner p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
}

.legal-panel__inner ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.legal-panel__inner ul li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  padding-left: 24px;
  position: relative;
}

.legal-panel__inner ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .legal-panel__content {
    max-width: 100%;
    border-radius: 0;
  }

  .legal-panel__inner {
    padding: 48px 24px 64px 24px;
  }

  .legal-panel__inner h1 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .legal-panel__inner h2 {
    font-size: 20px;
    margin-top: 32px;
  }

  .legal-panel__close {
    top: 16px;
    right: 16px;
  }
}

/* PROJECT PANEL */

.project-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-panel.active {
  opacity: 1;
  visibility: visible;
}

.project-panel__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 28, 58, 0.5);
}

.project-panel__wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 1024px;
  background-color: var(--color-bg);
  border-radius: 12px 0 0 12px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.project-panel__content {
  position: relative;
  height: 100%;
  overflow-y: auto;
}

.project-panel.active .project-panel__wrapper {
  transform: translateX(0);
}

.project-panel__close {
  position: absolute;
  top: 24px;
  right: 39px;
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-gray-light);
  border-radius: 0;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  border-radius: 8px;
}

.project-panel__close img {
  width: 16px;
  height: 16px;
}

.project-panel__close:hover {
    background-color: var(--color-gray-light);
  }

.project-panel__inner {
  padding: 0;
}

.project-panel__project {
  display: none;
}

.project-panel__project.active {
  display: block;
}

.project-panel__hero {
  width: 100%;
  margin-bottom: 0;
  margin-top: 0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.project-panel__hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.project-panel__header {
  padding: 64px 48px 0 48px;
  background-color: var(--color-bg);
  position: relative;
  z-index: 2;
}

.project-panel__header h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.4px;
  margin-bottom: 48px;
  color: var(--color-black);
}

.project-panel__header > p {
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 48px;
  max-width: 612px;
}

.project-panel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.project-panel__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-panel__tag {
  background-color: var(--color-gray-light);
  color: var(--color-black);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
}

.project-panel__cta-btn {
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

.project-panel__cta-btn:hover {
  opacity: 0.8;
}

.project-panel__separator {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray-light);
}

.project-panel__content-text {
  padding: 48px;
  background-color: var(--color-bg);
  position: relative;
  z-index: 2;
}

.project-panel__text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.project-panel__text-columns p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
}

.project-panel__gallery {
  padding: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--color-bg);
  position: relative;
  z-index: 2;
}

.project-panel__gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.project-panel__cta {
  background-color: var(--color-bg);
  padding: 48px;
  position: relative;
  z-index: 2;
}

.feed-panel .project-panel__cta {
  padding: 0;
  margin-top: 64px;
}

.project-panel__cta-content {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.project-panel__cta-content h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-black);
  margin: 0;
}

.project-panel__cta-content p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0;
  max-width: 500px;
}

.project-panel__cta-separator {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray-light);
  margin: 12px 0 12px 0;
}

.project-panel__contact-info {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.project-panel__contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--color-black);
}

.project-panel__contact-detail--email {
  cursor: pointer;
}

.project-panel__contact-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.project-panel__commitment {
  font-size: 14px!important;
  font-weight: 300!important;
  color: var(--color-gray)!important;
  margin: 0!important;
  margin-top: 8px!important;
}

.project-panel__copy-tag {
  position: fixed;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 10001;
  white-space: nowrap;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

/* FEED PANEL */

.feed-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feed-panel.active {
  opacity: 1;
  visibility: visible;
}

.feed-panel__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 28, 58, 0.5);
}

.feed-panel__wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 1024px;
  background-color: var(--color-bg);
  border-radius: 12px 0 0 12px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feed-panel.active .feed-panel__wrapper {
  transform: translateX(0);
}

.feed-panel__content {
  position: relative;
  height: 100%;
  overflow-y: auto;
}

.feed-panel__inner {
  padding: 96px 48px;
}

.feed-panel__close {
  position: absolute;
  top: 24px;
  right: 39px;
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  padding: 0;
}

.feed-panel__close img {
  width: 16px;
  height: 16px;
}

.feed-panel__close:hover {
  background-color: var(--color-gray-light);
}

.feed-panel__header h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
  color: var(--color-black);
}

.feed-panel__header p {
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-black);
  max-width: 600px;
}

.feed-panel__gallery {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feed-panel__item {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-white);
}

.feed-panel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-panel__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .feed-panel__wrapper {
    max-width: 100%;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .feed-panel__inner {
    padding: 64px 24px;
  }

  .feed-panel__header h1 {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .feed-panel__header p {
    font-size: 20px;
    line-height: 1.5;
  }

  .feed-panel__gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 64px;
  }

  .feed-panel__close {
    top: 16px;
    right: 31px;
  }
}

@media (max-width: 1024px) {
  .project-panel__wrapper {
    max-width: 100%;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .project-panel__header {
    padding: 48px 24px 32px 24px;
  }

  .project-panel__header h1 {
    font-size: 40px;
    margin-bottom: 32px;
  }

  .project-panel__header > p {
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-black);
    margin-bottom: 48px;
    max-width: 100%;
  }

  .project-panel__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .project-panel__cta-btn {
    width: 100%;
  }

  .project-panel__content-text {
    padding: 16px 24px 0 24px;
  }

  .project-panel__text-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-panel__gallery {
    padding: 32px 24px;
    gap: 24px;
  }

  .project-panel__cta {
    padding: 32px 24px;
  }

  .feed-panel .project-panel__cta {
    margin-top: 64px;
    padding: 0;
  }

  .project-panel__cta-content {
    padding: 32px 24px;
    gap: 16px;
  }

  .project-panel__cta-content h2 {
    font-size: 28px;
  }

  .project-panel__cta-content p {
    font-size: 16px;
  }

  .project-panel__contact-info {
    flex-direction: column;
    gap: 16px;
  }

  .project-panel__close {
    top: 16px;
    right: 16px;
  }
}