/* ==================== Global ==================== */

:root {
  --moss: #4a542a;
  --cream: #ece2c5;
  --lilac: #e8a6e0;
  --serif: "Playfair Display", serif;
  --sans: "Inter", sans-serif;
  --anim: arrive 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.2s;
  --marg-inl-resp: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: default;
  background-color: var(--moss);
}

body {
  margin: 0;
  background: var(--moss);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  background-color: var(--moss);
  background-image: url("../images/frame.svg");
  background-attachment: fixed;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 4px;
  border-radius: 2px;
}

h2,
h3,
h4 {
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  color: var(--cream);
  line-height: 1;
  text-align: left;
  text-shadow: 0 4px 40px rgba(10, 18, 40, 0.55);
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
}

h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.8rem, 4vw, 1rem);
}

p {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 0.45vw + 1.5vh, 1.05rem);
  line-height: 1.6;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  color: var(--cream);
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(10, 16, 30, 0.55);
  pointer-events: none;
  animation: var(--anim);
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

@keyframes arrive {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(24px);
  }
}

.nav.is-moss {
  color: var(--moss);
  text-shadow: none;
}

.nav a {
  text-decoration: none;
  pointer-events: auto;
}

.nav a:hover {
  text-decoration: underline;
}

.nav__logo {
  font-size: 1.2rem;
}

.nav .logo {
  width: 92px;
  transition: filter 0.3s ease;
}

.nav.is-moss .logo {
  filter: brightness(0) saturate(100%) invert(31%) sepia(15%) saturate(1100%)
    hue-rotate(35deg) brightness(91%) contrast(90%);
}

.nav nav {
  display: flex;
  gap: 1.8rem;
}

.nav nav a {
  text-underline-offset: 5px;
}

.nav nav a.is-active {
  color: var(--lilac);
  font-style: italic;
  text-decoration: underline;
}

.nav.is-moss nav a.is-active {
  color: var(--moss);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--moss);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.veil.on {
  opacity: 1;
  pointer-events: auto;
}

.footer.projet {
  background-color: var(--moss);
  color: var(--cream);
}

/* ==================== Page d'accueil ==================== */

/* ---------- Scène ---------- */

.scene {
  position: relative;
  height: 400vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--moss);
}

.layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

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

.base {
  transform-origin: 50% 56%;
}

.base__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(100vh * 1.7769));
  width: max(100%, calc(100svh * 1.7769));
  aspect-ratio: 1672 / 941;
  transform: translate(-50%, -50%);
}

.base__frame img {
  object-fit: fill;
}

.hotspot {
  position: absolute;
}

.hotspot .hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.hotspot img.lit {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: fill;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 1.1s ease-out;
}

.hotspot .hit:hover ~ .lit {
  opacity: 1;
  transition-duration: 0.28s;
}

.base.is-off .hit {
  pointer-events: none;
}

.motes,
.light,
.vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.light {
  background:
    radial-gradient(
      60% 50% at 8% 38%,
      rgba(255, 196, 150, 0.55),
      transparent 70%
    ),
    linear-gradient(to top, rgba(255, 214, 140, 0.18), transparent 45%);
  mix-blend-mode: soft-light;
}

.fg {
  pointer-events: none;
}

.fg__inner {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: max(108%, 150vh);
  transform: translateX(-50%);
}

.fg__inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - var(--f, 0) * 20%),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - var(--f, 0) * 20%),
    transparent 100%
  );
}

.fg__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 80%;
  bottom: -100vh;
  background: linear-gradient(to bottom, #4a542a 0, var(--moss) 45vh);
}

.vignette {
  background: radial-gradient(
    120% 100% at 50% 45%,
    transparent 55%,
    rgba(8, 12, 6, 0.6) 100%
  );
}

.hero {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 1.2rem;
  padding: 0 clamp(1.2rem, 4vw, 3rem) 5rem;
  pointer-events: none;
  animation: var(--anim);
}

.grid-left {
  justify-self: start;
  text-align: left;
}

.grid-right {
  justify-self: end;
  text-align: right;
}

.hero h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(10, 18, 40, 0.55);
}

.hero h2 {
  padding-bottom: 0;
}

.projects-hint {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0 0.5rem;
  opacity: 0;
  pointer-events: none;
}

.cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  pointer-events: none;
}

.cue span {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--cream), transparent);
  transform-origin: top;
  animation: drip 2.4s ease-in-out infinite;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* ---------- Herbe ---------- */

.grass {
  position: relative;
  z-index: 1;
  margin-top: -50vh;
  background: linear-gradient(to bottom, transparent 0, var(--moss) 40vh);
}

/* ---------- À propos : scroll horizontal ---------- */

.hscroll {
  --inset: 1.75vw;
  --line: var(--cream);
  position: relative;
  height: calc(100vh + max(320vw, 280vh));
}

.hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  contain: layout paint;
  background-image: url("../images/frame.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.hscroll__sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 0, var(--line) 25%) left var(--inset)
      top 0 / 1px 100% no-repeat,
    linear-gradient(to bottom, transparent 0, var(--line) 25%) right
      var(--inset) top 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) left 0 bottom var(--inset) / 100%
      1px no-repeat;
}

.hscroll__track {
  position: relative;
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12vh);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12vh);
}

.panel {
  position: relative;
  flex: 0 0 calc(100% / 3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 5.5rem 0 calc(var(--inset) + 2rem);
}

.panel__inner {
  margin-left: clamp(2rem, 14vw, 25%);
  width: min(40rem, 46%);
}

.panel p {
  max-width: 62ch;
  margin: 0 0 1em;
}

.panel p:last-child {
  margin: 0;
}

/* Panneau 1 : À propos */

.outils-about {
  margin-top: 4rem;
}

.outils__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.icon-outils__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.outils__wrapper.is-in .icon-outils__wrapper {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.5s + var(--i, 0) * 0.15s);
}

.outils-icon {
  width: 3rem;
}

.me-image {
  position: absolute;
  right: calc(var(--inset) + 1px);
  bottom: calc(var(--inset) + 1px);
  display: block;
  width: auto;
  max-width: 44%;
  height: min(68svh, 40vw);
  object-fit: contain;
  object-position: bottom right;
  will-change: opacity, transform;
}

/* Panneau 2 : Mon parcours */

.title__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.4rem;
}

.title__wrapper h2 {
  margin: 0;
  padding-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background-color: var(--cream);
  color: var(--moss);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.btn:hover {
  background-color: var(--lilac);
  transform: translateY(-2px);
}

.experience__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 3.5rem;
  margin-inline: clamp(2rem, 14vw, 25%);
}

.point-icon {
  width: 4.5rem;
  padding-bottom: 2.2rem;
}

p.parcours-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

p.parcours-text {
  margin: 0;
  font-size: 1rem;
}

small.parcours-small {
  margin: 0;
  font-size: 0.7rem;
}

.trait {
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  height: 4px;
  margin: 0;
  border: none;
  background: linear-gradient(270deg, var(--moss) 0%, var(--cream) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.9s cubic-bezier(0.6, 0, 0.2, 1);
}

.point-parcours__wrapper > .point-icon,
.point-parcours__wrapper > .texte-parcours__wrapper {
  opacity: 0;
  transform: translateY(2.5rem);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.experience__wrapper.is-in .point-parcours__wrapper > .point-icon,
.experience__wrapper.is-in .point-parcours__wrapper > .texte-parcours__wrapper {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.4s + var(--i, 0) * 0.45s);
}

.experience__wrapper.is-in .point-parcours__wrapper > .texte-parcours__wrapper {
  transition-delay: calc(0.55s + var(--i, 0) * 0.45s);
}

.experience__wrapper.is-in .trait {
  transform: scaleX(1);
  transition-delay: 0.4s;
}

/* Panneau 3 : Ce que je fais */

.services-section__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: 32px;
  margin-inline: clamp(2rem, 14vw, 25%);
}

.services-grid__wrapper {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.services__wrapper {
  padding: 24px;
  border: solid 1px #ece2c5ac;
  border-radius: 12px;
  background-color: #ece2c517;
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.services-grid__wrapper.is-in .services__wrapper {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.4s + var(--i, 0) * 0.35s);
}

.services__titles {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
}

.icon-services {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.services__title {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */

.section-contact {
  display: grid;
  align-items: center;
  padding: 15rem 0 5rem 0;
  background-color: var(--cream);
  color: var(--moss);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-inline: clamp(2rem, 14vw, 25%);
}

.title-contact__wrapper {
  display: flex;
  flex-direction: column;
  width: min(50rem, 50%);
  margin-inline: auto;
  text-align: left;
}

.section-contact h2 {
  color: var(--moss);
}

.btn.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: fit-content;
  margin-inline: auto;
  padding: 16px 32px;
  background-color: var(--moss);
  color: var(--cream);
}

.btn.contact:hover {
  background-color: var(--lilac);
  color: var(--moss);
}

/* ---------- Pied de page (commun aux deux pages) ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 24vh;
  min-height: 24svh;
  padding: 3rem clamp(1.2rem, 4vw, 3rem) 4rem;
  background-color: var(--cream);
  color: #545c35;
  font-size: 0.95rem;
}

.footer div {
  display: flex;
  gap: 1.1rem;
  text-align: right;
}

.footer-right {
  flex-direction: column;
}

.footer small {
  cursor: default;
}

.footer a {
  text-underline-offset: 5px;
  cursor: pointer;
}

.footer a:hover {
  transform: translateY(-2px);
}

/* ---------- Scène répétée ---------- */

.transition {
  width: 100%;
  height: 10vh;
  background-color: var(--cream);
}

#scene-loop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 200px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--cream) 0%,
    rgba(245, 240, 230, 0.85) 25%,
    rgba(245, 240, 230, 0.4) 65%,
    rgba(245, 240, 230, 0) 100%
  );
}

/* ==================== Page Mentions légales ==================== */

body.mentions {
  background-color: var(--moss);
}

.gradient-moss {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 20vh;
  background: linear-gradient(to bottom, var(--moss) 50%, transparent 100%);
}

.mentions-legales {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-inline: clamp(2rem, 14vw, 25%);
  padding: 10rem 0;
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mentions-legales.is-in {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}

.mentions-title__wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.mentions__wrapper {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
}

.mentions-legales h2,
.mentions-legales h3,
.mentions-legales p,
.mentions-legales small {
  margin: 0;
}

.mentions-legales h2 {
  color: var(--lilac);
}

.mentions-legales h3 {
  font-weight: 800;
}

.mentions-legales p {
  padding: 0 0 1rem 0;
}

.mentions-legales small {
  font-style: italic;
}

.mentions-legales ul {
  margin: 0.8rem 0 0 0;
  padding: 0;
  list-style: none;
}

.mentions-legales li {
  margin: 0.2rem 0 0 0;
  padding: 2px 2rem;
}

.mentions-legales span {
  font-weight: 700;
  font-style: italic;
}

/* ==================== Responsive ==================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav,
  .hero {
    animation: none;
  }

  .cue span {
    animation: none;
    transform: none;
  }

  .point-parcours__wrapper > .point-icon,
  .point-parcours__wrapper > .texte-parcours__wrapper,
  .icon-outils__wrapper,
  .services__wrapper,
  .trait,
  .mentions-legales {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.9rem 0;
    margin: 24px 0 12px 0;
  }

  p {
    font-size: 0.9rem;
  }

  h3,
  h4 {
    margin: 0;
  }

  .btn.cv,
  .btn.projets {
    background-color: var(--lilac);
  }

  .nav__logo {
    display: none;
  }

  .nav {
    inset: auto 0 0 0;
    padding: 7rem clamp(1rem, 4vw, 5rem)
      calc(2rem + env(safe-area-inset-bottom));
    justify-content: center;
    animation: var(--anim);
  }

  .nav nav {
    margin: 0;
  }

  .nav nav a {
    font-size: 1.2rem;
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav.is-green::before {
    opacity: 1;
    background: linear-gradient(
      to top,
      var(--moss) 25%,
      rgba(74, 84, 42, 0) 100%
    );
  }

  .nav.is-moss::before {
    opacity: 1;
    background: linear-gradient(
      to top,
      var(--cream) 25%,
      rgba(236, 226, 197, 0) 100%
    );
  }

  .stage {
    height: 100vh;
    height: 100lvh;
  }

  .base__frame {
    left: 50%;
    top: 50%;
    width: max(100vw, calc(100lvh * (907 / 1536)));
    height: auto;
    aspect-ratio: 907 / 1536;
    transform: translate(-50%, -50%);
  }

  .base__frame img {
    object-fit: fill;
  }

  .hotspot img.lit {
    opacity: 1;
  }

  .fg__fill {
    top: 75%;
    bottom: -100vh;
    background: linear-gradient(to bottom, #2f3a18 0, var(--moss) 45vh);
  }

  .grass {
    margin-top: -60vh;
    clip-path: inset(0);
  }

  .cue {
    bottom: calc(9rem + env(safe-area-inset-bottom));
    z-index: 25;
    gap: 0;
  }

  .cue span {
    height: clamp(28px, 4svh, 44px);
  }

  .hero {
    display: flex;
    flex-direction: column;
    bottom: auto;
    align-items: center;
    margin-top: 10vh;
    gap: 0;
  }

  .grid-right {
    margin-left: auto;
    margin-right: 2rem;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero h2 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  main,
  .hscroll__sticky {
    background-image: none;
    background-attachment: scroll;
  }

  .hscroll {
    height: auto;
  }

  .hscroll__sticky {
    position: relative;
    height: auto;
    overflow: visible;
    contain: none;
  }

  .hscroll__sticky::before {
    display: none;
  }

  .hscroll__sticky::after,
  body.mentions main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../images/frame.svg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 200%;
  }

  .hscroll__track {
    position: relative;
    z-index: 1;
    flex-direction: column;
    width: 100%;
    height: auto;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .panel {
    flex: none;
    width: 100%;
    height: auto;
    min-width: 0;
    padding-top: 20%;
    padding-inline: var(--marg-inl-resp);
    margin-bottom: 2rem;
  }

  .panel.propos {
    padding-top: 20px;
  }

  .panel:first-child {
    padding-bottom: 0;
    border-bottom: 1px solid var(--line);
  }

  .panel:nth-child(2) {
    padding-bottom: 6.5rem;
    border-bottom: 1px solid var(--line);
  }

  .panel__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-inline: 0;
  }

  /* Panneau 1 : À propos */
  .outils-about {
    margin-top: 0.8rem;
  }

  .outils__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem 0.8rem;
    max-width: 100%;
    justify-items: start;
    align-items: center;
    padding-bottom: 140px;
  }

  .icon-outils__wrapper {
    align-items: flex-start;
  }

  .me-image {
    right: 0;
    bottom: 0;
    height: auto;
    max-height: 100vh;
    max-width: 74%;
    object-position: bottom right;
  }

  /* Panneau 2 : Mon parcours */
  .title__wrapper.parcours {
    display: contents;
  }

  .title__wrapper.parcours h2 {
    order: 1;
    margin-bottom: 1.4rem;
  }

  .panel__inner.parcours p {
    order: 2;
  }

  .btn.cv {
    order: 3;
    background-color: var(--lilac);
  }

  .experience__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin: 0 0 0 0.6rem;
    padding-top: 2rem;
  }

  .point-parcours__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }

  .point-icon {
    position: relative;
    z-index: 2;
    width: 3.5rem;
    padding-bottom: 0;
    flex-shrink: 0;
  }

  .point-parcours__wrapper > .point-icon {
    margin-top: 0.625rem;
    transform: translateY(2.5rem) rotate(-90deg);
  }

  .experience__wrapper.is-in .point-parcours__wrapper > .point-icon {
    transform: rotate(-90deg);
  }

  .trait {
    top: 2.5rem;
    bottom: 2.5rem;
    left: calc(4.4rem - 2px);
    right: auto;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--cream) 0%, var(--moss) 100%);
    transform: scaleY(0);
    transform-origin: top;
  }

  .experience__wrapper.is-in .trait {
    transform: scaleY(1);
  }

  /* Panneau 3 : Ce que je fais */
  .services-section__wrapper {
    margin-inline: 0;
    width: 100%;
  }

  .services-grid__wrapper {
    flex-direction: column;
    width: 100%;
  }

  .services__wrapper {
    width: 100%;
    min-width: 0;
  }

  .services__title {
    font-size: 1.25rem;
    word-break: break-word;
  }

  /* Contact & Footer */
  .section-contact {
    padding: 15vh 0 0;
    height: auto;
  }

  .footer,
  .section-contact {
    position: relative;
    z-index: 2;
  }

  .contact__inner {
    margin-bottom: 2rem;
    margin-inline: var(--marg-inl-resp);
    gap: 0;
  }

  .title-contact__wrapper {
    margin: 0;
    width: auto;
  }

  .btn.contact {
    width: 100%;
  }

  .footer,
  .footer-right {
    gap: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .scene#scene-loop {
    display: none;
  }
  .gradient-moss {
    display: none;
  }
  .mentions-legales {
    z-index: 1;
    margin-inline: var(--marg-inl-resp);
    padding: 3rem 0 0;
  }
  .mentions-legales li {
    padding: 2px 0 0 1.5rem;
    list-style: none;
  }
  .mentions-title__wrapper {
    margin: 0;
  }
}
