/* ====== HERO SECTION ====== */
.hero-section--start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  display: flex;
  height: 100vh;
  padding: 4rem 6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--background);
  transition: var(--t500);
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.hero-tag-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tag-separator {
  width: 150px;
  height: 1px;
  background: var(--primary-500);
}

.hero-tag-title {
  font: var(--f-h-h6);
  color: var(--white);
}

.hero-title {
  font: var(--f-h-h2);
  color: var(--white);
  text-align: center;
}

.hero-subtitle {
  font: var(--f-t-xl);
  color: var(--neutral-300);
  text-align: center;
  max-width: 650px;
}

/* ====== BACKGROUND ====== */
.bg-section {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--background);
}

.bg-blur {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 1500px;
  height: 50vh;
  border-radius: 75.3125rem;
  opacity: 0.2;
  background: var(--primary-400);
  /* background: linear-gradient(
    180deg,
    var(--primary-400) 0%,
    var(--primary-500) 100%
  ); */
  filter: blur(132px);
  transition: var(--t500);
}

.bg-svg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  height: 100%;
}

.bg-svg-break {
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 100%;
}
.bg-map-svg {
  width: 340px;
}
#bg-map-paris {
  position: fixed;
  top: 25%;
  left: 20%;
  transform: rotate(-9deg);
}
#bg-map-nantes {
  position: fixed;
  top: 22%;
  right: 20%;
  transform: rotate(7deg);
}

.bg-word-cloud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.word-cloud-item {
  position: absolute;
  color: var(--white, #fff);
  font: var(--f-h-h6, 1.1rem/1 "Instrument Sans", sans-serif);
  opacity: 0.18;
  user-select: none;
  white-space: nowrap;
}

/* positions - ring closer to center, avoid center area (≈45-55%) */

/* Répartition en anneau autour du centre, sans chevauchement ni mots au centre */
.word-cloud-item:nth-child(1) {
  top: 10%;
  left: 20%;
}
.word-cloud-item:nth-child(2) {
  top: 7%;
  left: 35%;
}
.word-cloud-item:nth-child(3) {
  top: 8%;
  left: 50%;
}
.word-cloud-item:nth-child(4) {
  top: 7%;
  left: 65%;
}
.word-cloud-item:nth-child(5) {
  top: 10%;
  left: 80%;
}
.word-cloud-item:nth-child(6) {
  top: 16%;
  left: 88%;
}
.word-cloud-item:nth-child(7) {
  top: 25%;
  left: 92%;
}
.word-cloud-item:nth-child(8) {
  top: 36%;
  left: 90%;
}
.word-cloud-item:nth-child(9) {
  top: 48%;
  left: 92%;
}
.word-cloud-item:nth-child(10) {
  top: 60%;
  left: 90%;
}
.word-cloud-item:nth-child(11) {
  top: 71%;
  left: 92%;
}
.word-cloud-item:nth-child(12) {
  top: 80%;
  left: 88%;
}
.word-cloud-item:nth-child(13) {
  top: 87%;
  left: 80%;
}
.word-cloud-item:nth-child(14) {
  top: 90%;
  left: 65%;
}
.word-cloud-item:nth-child(15) {
  top: 92%;
  left: 50%;
}
.word-cloud-item:nth-child(16) {
  top: 90%;
  left: 35%;
}
.word-cloud-item:nth-child(17) {
  top: 87%;
  left: 20%;
}
.word-cloud-item:nth-child(18) {
  top: 80%;
  left: 12%;
}
.word-cloud-item:nth-child(19) {
  top: 71%;
  left: 8%;
}
.word-cloud-item:nth-child(20) {
  top: 60%;
  left: 10%;
}
.word-cloud-item:nth-child(21) {
  top: 48%;
  left: 8%;
}
.word-cloud-item:nth-child(22) {
  top: 36%;
  left: 10%;
}
.word-cloud-item:nth-child(23) {
  top: 25%;
  left: 8%;
}
.word-cloud-item:nth-child(24) {
  top: 16%;
  left: 12%;
}
.word-cloud-item:nth-child(25) {
  top: 15%;
  left: 55%;
}
.word-cloud-item:nth-child(26) {
  top: 15%;
  left: 45%;
}
.word-cloud-item:nth-child(27) {
  top: 85%;
  left: 55%;
}
.word-cloud-item:nth-child(28) {
  top: 85%;
  left: 45%;
}
.word-cloud-item:nth-child(29) {
  top: 25%;
  left: 80%;
}
.word-cloud-item:nth-child(30) {
  top: 75%;
  left: 80%;
}
.word-cloud-item:nth-child(31) {
  top: 25%;
  left: 20%;
}
.word-cloud-item:nth-child(32) {
  top: 75%;
  left: 20%;
}

/* Ajoute dans about.css */
.bg-profil-cloud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.profil-cloud-item {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 100vmax;
  object-fit: cover;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.18);
  opacity: 1;
  /* Pour un effet doux, tu peux ajouter une légère bordure ou filtre */
}

/* Positionnement inspiré de l'image fournie, en cercle autour du centre */
.profil-cloud-item:nth-child(1) {
  top: 7%;
  left: 50%;
  transform: translate(-50%, 0);
}
.profil-cloud-item:nth-child(2) {
  top: 15%;
  left: 70%;
}
.profil-cloud-item:nth-child(3) {
  top: 32%;
  left: 85%;
}
.profil-cloud-item:nth-child(4) {
  top: 55%;
  left: 90%;
}
.profil-cloud-item:nth-child(5) {
  top: 82%;
  left: 90%;
}
.profil-cloud-item:nth-child(6) {
  top: 88%;
  left: 62%;
}
.profil-cloud-item:nth-child(7) {
  top: 92%;
  left: 40%;
}
.profil-cloud-item:nth-child(8) {
  top: 85%;
  left: 20%;
}
.profil-cloud-item:nth-child(9) {
  top: 68%;
  left: 8%;
}
.profil-cloud-item:nth-child(10) {
  top: 45%;
  left: 4%;
}
.profil-cloud-item:nth-child(11) {
  top: 25%;
  left: 12%;
}
.profil-cloud-item:nth-child(12) {
  top: 12%;
  left: 28%;
}
.profil-cloud-item:nth-child(13) {
  top: 20%;
  left: 60%;
}
.profil-cloud-item:nth-child(14) {
  top: 30%;
  left: 75%;
}
.profil-cloud-item:nth-child(15) {
  top: 70%;
  left: 75%;
}
.profil-cloud-item:nth-child(16) {
  top: 80%;
  left: 30%;
}

/* ====== END SECTION ====== */
.end-section {
  height: 100vh;
}

/* ====== GENERAL CHAPTER ====== */
.chapter-section {
  display: flex;
  height: 100vh;
  padding: 4rem 6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.chapter-tag-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chapter-tag-separator {
  width: 150px;
  height: 1px;
  background: var(--primary-500);
}

.chapter-tag-title {
  font: var(--f-h-h6);
  color: var(--white);
}

.chapter-title {
  font: var(--f-h-h2);
  color: var(--white);
  text-align: center;
}

/* ====== GENERAL STORY ====== */
.story-section {
  display: flex;
  height: 100vh;
  padding: 4rem 6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.story-text {
  font: var(--f-h-h5);
  color: var(--white);
  text-align: center;
  max-width: 850px;
}

/* .story-text--small {
  font-size: 1.25rem;
} */

.story-image-container {
  width: 190px;
  height: 190px;
  position: absolute;
  border-radius: 100vmax;
  overflow: hidden;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-18px) rotate(var(--rotate, 0deg));
  }
  100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
}

.story-image {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 1;
}

.story-image-gradient {
  width: 110%;
  height: 110%;
  position: absolute;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(30, 30, 30, 0) 50.39%,
    #070709 100%
  );
  z-index: 2;
  transform-origin: center;
}

.story-image-container--1 {
  top: 20%;
  right: 15%;
  transform: rotate(10deg);
  animation: float 5s ease-in-out infinite;
}

.story-image-container--2 {
  top: 70%;
  left: 15%;
  transform: rotate(-10deg);
  animation: float 5s ease-in-out infinite 1s;
}

@keyframes word-shake {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-2px) rotate(-2deg);
  }
  20% {
    transform: translateX(2px) rotate(2deg);
  }
  30% {
    transform: translateX(-2px) rotate(-2deg);
  }
  40% {
    transform: translateX(2px) rotate(2deg);
  }
  50% {
    transform: translateX(-2px) rotate(-2deg);
  }
  60% {
    transform: translateX(2px) rotate(2deg);
  }
  70% {
    transform: translateX(-2px) rotate(-2deg);
  }
  80% {
    transform: translateX(2px) rotate(2deg);
  }
  90% {
    transform: translateX(-2px) rotate(-2deg);
  }
  100% {
    transform: translateX(0);
  }
}

.word-shake {
  display: inline-block;
  animation: word-shake 1.2s infinite;
  cursor: pointer;
  transform-origin: center;
}

.word-shake:hover {
  animation-duration: 0.6s;
}

.story-text-justesse-anim {
  position: relative;
}

.story-text-justesse-svg {
  position: absolute;
  top: 110%;
  left: 0;
}

.story-text-puissance-anim {
  position: relative;
}

.story-text-puissance-svg {
  position: absolute;
  top: 110%;
  left: 0;
}

/* ====== CTA SECTION ====== */
.cta-section {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--background);
  position: relative;
  overflow: hidden;
  padding: 4rem 6rem;
}

.cta-tag {
  font: var(--f-t-m);
  color: var(--white);
  text-align: center;
  display: flex;
  padding: 0.75rem 1rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 100vmax;
  background: var(--card-bg);
  backdrop-filter: var(--blur-32);
  border: 1px solid var(--neutral-800);
  z-index: 10;
}

.cta-tag--light {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 100vmax;
  background: var(--emerald-400);
  box-shadow: 0px 0px 4px 0px var(--emerald-200);
  animation: heroTagLightPulse 4s infinite;
}

@keyframes heroTagLightPulse {
  0% {
    box-shadow: 0px 0px 4px 0px var(--emerald-200);
  }
  50% {
    box-shadow: 0px 0px 12px 0px var(--emerald-200);
  }
  100% {
    box-shadow: 0px 0px 4px 0px var(--emerald-200);
  }
}

.cta-title {
  font: var(--f-h-h3);
  color: var(--white);
  max-width: 950px;
  text-align: center;
  z-index: 10;
}

.cta-subtitle {
  font: var(--f-t-xl);
  color: var(--neutral-300);
  text-align: center;
  max-width: 650px;
  z-index: 10;
}

.cta-section .secondary-cta {
  z-index: 10;
}

.cta-section .background-fixed {
  z-index: 1;
}

/* === RESPONSIVE === */
@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 768px) {
  /* ====== HERO SECTION ====== */
  .hero-section--start {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .hero-section {
    padding: 4rem 2rem;
  }

  .hero-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .hero-tag-container {
    gap: 0.5rem;
    align-self: stretch;
  }

  .hero-tag-separator {
    width: 100%;
  }

  .hero-tag-title {
    font: var(--f-l-m);
    text-wrap: nowrap;
  }

  .hero-title {
    font: var(--f-h-h4);
  }

  .hero-subtitle {
    font: var(--f-t-m);
    max-width: unset;
  }

  /* ====== GENERAL CHAPTER ====== */
  .chapter-section {
    padding: 4rem 2rem;
  }

  .chapter-tag-container {
    align-self: stretch;
    gap: 0.5rem;
  }

  .chapter-tag-separator {
    width: 100%;
  }

  .chapter-tag-title {
    font: var(--f-l-m);
    text-wrap: nowrap;
  }

  .chapter-title {
    font: var(--f-h-h4);
  }

  /* ====== GENERAL STORY ====== */
  .story-section {
    padding: 4rem 2rem;
  }

  .story-text {
    font: var(--f-t-xl);
    max-width: unset;
  }

  .story-image-container {
    width: 120px;
    height: 120px;
  }

  /* ====== BACKGROUND SECTION ====== */
  .bg-map-svg {
    width: 120px;
  }
  #bg-map-paris {
    position: fixed;
    top: 28%;
    left: 32px;
    transform: rotate(-9deg);
  }
  #bg-map-nantes {
    position: fixed;
    top: 27%;
    right: 32px;
    transform: rotate(7deg);
  }

  .word-cloud-item{
    font: var(--f-t-xl);
  }

  .profil-cloud-item{
    width: 50px;
    height: 50px;
  }

  /* ====== CTA SECTION ====== */
  .cta-section {
    padding: 4rem 2rem;
  }

  .hero-tag {
    font: var(--f-t-s);
  }

  .hero-tag--light {
    width: 0.5rem;
    height: 0.5rem;
  }

  .cta-title {
    font: var(--f-h-h5);
    max-width: unset;
  }

  .cta-subtitle {
    font: var(--f-t-m);
    max-width: unset;
  }
}

@media screen and (max-width: 480px) {
}
