body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #ffffff;
}

.back-link {
  display: inline-block;
  margin: 20px 30px;
  font-size: 14px;
  font-weight: 300;
  color: #000;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Layout principal */
.project-layout {
  display: flex;
  align-items: flex-start;
  padding: 0px 40px 60px 30px;
  margin: 0;
  justify-content: flex-start;
}

/* Carrousel */
.carousel {
  position: relative;
  flex: 0 0 55%;
  max-width: 600px;
  background: rgb(255, 255, 255);
  aspect-ratio: 5 / 6;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 10px 14px;
  color: #000000;
  opacity: 0.4;
  transition: opacity 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  opacity: 1;
}

.carousel-btn.prev {
  left: 6px;
}

.carousel-btn.next {
  right: 6px;
}

/* Infos projet */
.project-info {
  flex: 1 1 auto;
  padding-left: 40px;
}

.project-info h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.project-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.desc-full {
  display: block;
  white-space: pre-line;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

.desc-full.desc-visible {
  max-height: 2000px;
  opacity: 1;
}

.read-more-btn {
  margin-top: 12px;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #939393;
  cursor: pointer;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.project-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgb(240, 240, 240);
  color: #000000;
  font-size: 15px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 25px;
}

.project-tag:hover {
  background: rgb(30, 30, 30);
  color: #ffffff;
}

.read-more-btn:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .project-layout {
    flex-direction: column;
    padding: 0 16px 60px 16px;
  }
  .carousel {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .project-info {
    width: 100%;
    flex: none;
    padding-left: 0;
    padding-top: 24px;
  }
}

/* ---- Start Creating ---- */
.start-creating-body {
  background: #f5f5f5;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #171717;
}

.start-creating-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 60px 140px 60px;
  display: grid;
  gap: 140px;
}

.start-creating-heading {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
  padding: 30px 0 0px 0;
  text-align: center;
}

.start-creating-rule {
  border: none;
  border-top: 1px solid #000;
  width: 100px;
  margin: 0 auto 20px auto;
}

.creation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-wrapper {
  position: relative;
  overflow: hidden;
}

.reveal-panel {
  position: absolute;
  inset: 0;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  text-align: left;
  transition: transform 0.5s ease;
}

.reveal-panel--right {
  transform: translateX(-100%);
}

.reveal-panel--left {
  transform: translateX(100%);
}

.creation-row.active .reveal-panel {
  transform: translateX(0);
}

.visual-block {
  aspect-ratio: 1366/768;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

.visual-block:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
}

.reveal-panel h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.reveal-panel p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

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

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 10%;
  text-align: center;
}

.creation-label {
  margin: 0 0 18px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

ul{
  list-style-type: none;
  padding-left: 0%;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  margin-top: 0%;
}
.creation-title {
  margin: 0;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 600;
}

.creation-title--normal {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

.creation-subtitle {
  margin: 16px 0 0 0;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
}



@media (max-width: 900px) {
  .start-creating-page {
    padding: 8px 30px 100px 30px;
    gap: 56px;
  }

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

  .creation-row .visual-block {
    order: 1;
  }

  .creation-row .text-wrapper {
    order: 2;
  }

  .text-block {
    align-items: center;
    text-align: center;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .start-creating-page {
    padding: 8px 20px 80px 20px;
    gap: 44px;
  }
}

/* ---- Page About ---- */
.about-page {
  padding: 30px 30px 80px 30px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-section--image-right {
  justify-content: flex-end;
}

.about-image {
  width: 30%;
  flex-shrink: 0;
  background: rgb(240, 240, 240);
}

.about-section--image-right .about-text {
  text-align: right;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-section--image-left .about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
  align-self: stretch;
}

.about-section--image-left .about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-text {
  flex: 1;
  max-width: 700px;
}

.about-text h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.about-text h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.about-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: #333;
  margin: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .about-page {
    padding: 16px 16px 60px 16px;
    gap: 40px;
  }

  .about-section,
  .about-section--image-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-section--image-right .about-image {
    order: -1;
  }

  .about-image {
    width: 55%;
  }

  .about-section--image-left .about-image {
    aspect-ratio: 1 / 1;
    align-self: auto;
  }

  .about-text h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .about-text p {
    font-size: 13px;
    line-height: 1.8;
  }
}

/* Contact */
.contact-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 30px;
}

.contact-page h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.contact-item:visited {
  color: inherit;
}

.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #999;
}

.contact-value {
  font-size: 16px;
  font-weight: 300;
  color: rgb(30, 30, 30);
  transition: opacity 0.2s;
}

.contact-item:hover .contact-value {
  opacity: 0.5;
}

@media (max-width: 600px) {
  .contact-page {
    min-height: unset;
    padding: 40px 16px 60px 16px;
    gap: 28px;
  }

  .contact-page h2 {
    font-size: 18px;
  }

  .contact-value {
    font-size: 13px;
  }
}

/* Logos */
.logos-section {
  clear: both;
  padding: 40px 30px 20px 30px;
  border-top: 1px solid rgb(220, 220, 220);
}

.logos-label {
  font-size: 12px;
  font-weight: 300;
  color: #999;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-slot {
  width: 140px;
  height: 70px;
  background: rgb(240, 240, 240);
  padding: 12px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}