/* =========================================================
   CSS NETTOYÉ — STYLES DE BASE
   Règles identiques fusionnées ; responsive regroupé en bas.
========================================================= */

.home-banner {
  position: relative;
  width: 100%;
  min-height: 550px;
  background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuCF3fG7LraRk4-RkVPxxeMxQO8QwDWUqrNpIeZNq6lMFhb5Khlemsjoq1xkRSBc1hy6tJe5ZUEEPkP0PrzcZB3d-C7YAIeylS8FZjucD7nJ_Al9MgvQx81U4yAYaGl3a3eq_SExua2Gbi60irNOl9MBBGL433wLWs-RrbX43SQAubc8ED8RLTCyrQxYTF2pIRPYGhdMAkVjnVmgP4COzYXHxiwPt6ga3OFbracdGr_Au8vi26a9JGgQ");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(35, 42, 48, 0.72) 0%,
    rgba(55, 60, 64, 0.6) 50%,
    rgba(35, 42, 48, 0.72) 100%
  );
  z-index: 1;
}

.home-banner__content {
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-banner__content h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-banner__content p {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.presentation-heading {
  padding: 3rem 4rem;
  text-align: center;
  background: #ffffff;
}

.presentation-heading .container {
  max-width: 900px;
  margin: 0 auto;
}

.presentation-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  color: #17202a;
  justify-self: center;
}

.presentation-heading h2 span {
  background: linear-gradient(135deg, #00a8a8, #ff8a00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.presentation-line {
  width: 70px;
  height: 4px;
  margin: 1.5rem auto;
  border-radius: 10px;
  background: linear-gradient(90deg, #00a8a8, #ff8a00);
}

.presentation-heading p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748b;
}

.hero-timeline {
  position: relative;
}

.hero-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #00a8a8 0%, #ff8a00 100%);
  z-index: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a8a8, #ff8a00);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.9),
    0 10px 25px rgba(0, 0, 0, 0.12);
}

.timeline-marker span {
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(242, 140, 40, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 128, 128, 0.05),
      transparent 40%
    );
  overflow: hidden;
}

.hero-container {
  margin: 0 auto;
  padding: 0;
  /* supprime le 100px fixe */
  padding: 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 8rem;
  align-items: center;
  grid-template-columns: 1fr;
  /* mobile first */
  gap: 3rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-orange);
  margin-bottom: 2rem;
  transform: scaleX(0.9);
  transform-origin: left;
}

.hero-name .highlight {
  color: var(--brand-teal);
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
  max-width: 500px;
}

.hero-desc strong {
  font-weight: 900;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.hero-btn-outline {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    /* fond blanc */
    linear-gradient(
        90deg,
        var(--brand-teal) 0%,
        var(--brand-orange) 70%,
        var(--brand-orange) 100%
      )
      border-box;
  /* bordure gradient */

  color: black;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.hero-btn-outline:hover {
  background:
    linear-gradient(
        90deg,
        var(--brand-teal) 0%,
        var(--brand-orange) 70%,
        var(--brand-orange) 100%
      )
      padding-box,
    /* fond = ton gradient */
    linear-gradient(
        90deg,
        var(--brand-teal) 0%,
        var(--brand-orange) 70%,
        var(--brand-orange) 100%
      )
      border-box;
  /* bordure = même gradient */

  color: var(--white);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -12px;
  object-fit: cover;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.proof-text .main {
  display: block;
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.875rem;
}

.proof-text .sub {
  display: block;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  order: -1;
  /* image au dessus sur mobile */
}

.blob-container {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  background-color: var(--surface-container);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 20;
  animation: blob-morph 10s ease-in-out infinite alternate;
  margin: 0 auto;
}

@keyframes blob-morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  33% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  66% {
    border-radius: 40% 60% 60% 40% / 50% 70% 30% 50%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.blob-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wave-wrapper {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  z-index: 10;
}

.floating-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.floating-icon.teal {
  width: 48px;
  height: 48px;
  background-color: var(--brand-teal);
  top: 20px;
  left: 10px;
  z-index: 99;
  animation: bounce 3s infinite;
}

.floating-icon.teal .icon {
  width: 34px;
  height: auto;
}

.floating-icon.orange {
  width: 48px;
  height: 48px;
  background-color: var(--brand-orange);
  bottom: 20px;
  right: 10px;
  z-index: 99;
  animation: bounce 2s infinite;
}

.floating-icon.orange .icon {
  width: 30px;
  height: auto;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.mission {
  padding: 0px 0px 3rem;
  background: #ffffff;
  overflow: hidden;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.1;
  color: #17202a;
}

.section-heading h2 span {
  display: block;
  background: linear-gradient(
    90deg,
    var(--brand-teal) 0%,
    var(--brand-orange) 70%,
    var(--brand-orange) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading p {
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #64748b;
}

.mission-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 430px;
}

.mission-timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(
    135deg,
    var(--brand-teal) 0%,
    var(--brand-orange) 70%,
    var(--brand-orange) 100%
  );
  z-index: 0;
}

.mission-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  z-index: 1;
}

.mission-number {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-orange));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow:
    0 0 0 8px #ffffff,
    0 8px 25px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.mission-content {
  width: min(190px, 100%);
  text-align: center;
}

.mission-content h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #17202a;
}

.mission-content p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #64748b;
}

.mission-item-1 .mission-content,
.mission-item-3 .mission-content,
.mission-item-5 .mission-content {
  position: absolute;
  bottom: calc(50% + 50px);
}

.mission-item-2 .mission-content,
.mission-item-4 .mission-content {
  position: absolute;
  top: calc(50% + 50px);
}

.features {
  padding: 0 0 3rem 0;
  margin-top: -5rem;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.border {
  border: 2px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  /* ombre très douce */
  border-radius: 1.5rem;
  /* optionnel: rend l'ombre plus jolie */
}

.feature {
  width: 100%;
  /* il faut une largeur */
  margin: 0 auto;
  /* auto à gauche et droite */
}

.feature-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
}

.feature-icon-wrapper .icon {
  width: 40px;
  height: 40px;
}

.feature-icon-wrapper.teal {
  background-color: #bce0d8;
  color: var(--brand-teal);
}

.feature-icon-wrapper.orange {
  background-color: #fad68f;
  color: var(--brand-orange);
}

.feature-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.65rem;
  color: var(--gray-800);
}

.stats {
  padding: 0px 0px 3rem;
}

.stats-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #ceecec;
}

.stat-item {
  display: flex;
  justify-content: center;
  /* centre horizontal */
  align-items: center;
  /* centre vertical */
  height: auto;
  /* il faut une hauteur au parent */
  gap: 1rem;
}

.stat-item .icon {
  width: 56px;
  height: 56px;
  color: var(--brand-teal);
}

.stat-content .stat-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
}

.stat-content .stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}

.section-padding {
  padding: 0px 0px 3rem;
}

.bg-light {
  background-color: rgba(249, 250, 251, 0.5);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.section-title-wrap span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
}

.btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--brand-teal);
  border-radius: 0.5rem;
  transition: var(--transition);
}

.btn-text:hover {
  background-color: var(--brand-teal);
  /* 4. au hover le fond prend la couleur de la bordure */
  color: white;
  /* 5. texte en blanc pour contraster */
}

.formations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.formation-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 2.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.formation-card:hover {
  border-color: var(--brand-teal);
}

.formation-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.bg-teal-500 {
  background-color: #14b8a6;
}

.bg-orange-500 {
  background-color: #f97316;
}

.bg-teal-600 {
  background-color: #0d9488;
}

.bg-orange-600 {
  background-color: #ea580c;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.formation-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.formation-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform 0.2s;
}

.formation-card:hover .learn-more {
  transform: translateX(4px);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.testimonials-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: flex;
  overflow: hidden;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.testimonial-card p {
  font-style: italic;
  font-weight: 300;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.cote {
  color: #008080;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid var(--brand-teal);
  flex-shrink: 0;
}

.author.orange img {
  border-color: var(--brand-orange);
}

.author-info h4 {
  font-size: 0.875rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0;
  font-style: normal;
}

.album-section {
  padding: 0px 0px 3rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(242, 140, 40, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 128, 128, 0.06),
      transparent 40%
    );
  overflow: hidden;
}

.album-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.album-heading .section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-heading h2 {
  margin: 0;
  color: #17202a;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.album-heading h2 span {
  display: block;
  background: linear-gradient(
    135deg,
    var(--brand-teal) 0%,
    var(--brand-orange) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.album-heading p {
  max-width: 650px;
  margin: 1.5rem auto 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.8;
}

.album-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 2200px;
}

.album {
  position: relative;
  width: min(1000px, 90vw);
  height: min(600px, 56vw);
  min-height: 440px;
  transform-style: preserve-3d;
  perspective: 1800px;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.16));
}

.album::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 100%;
  transform: translateX(-50%) translateZ(5px);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.28),
    rgba(255, 255, 255, 0.7),
    rgba(0, 0, 0, 0.18)
  );
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  pointer-events: none;
}

.album::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -45px;
  height: 50px;
  background: rgba(0, 0, 0, 0.22);
  filter: blur(25px);
  border-radius: 50%;
  transform: translateZ(-30px) scaleX(0.9);
  z-index: -20;
}

.album-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #f7f7f5, #ffffff 8%, #ffffff 92%, #f1f1ef);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.album-cover-sheet {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  z-index: 100;
  cursor: pointer;
  transition: transform 1.15s cubic-bezier(0.55, 0.08, 0.25, 1);
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.08);
}

.album-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--brand-teal) 0%,
    var(--brand-orange) 100%
  );
  box-shadow:
    inset -8px 0 15px rgba(0, 0, 0, 0.12),
    8px 15px 35px rgba(0, 0, 0, 0.25);
}

.album-cover::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.album-cover-sheet::before {
  content: "";
  position: absolute;
  top: 2px;
  right: -7px;
  bottom: 2px;
  width: 7px;
  background: repeating-linear-gradient(
    180deg,
    #d9d9d7 0,
    #d9d9d7 2px,
    #eeeeec 2px,
    #eeeeec 4px
  );
  transform: translateZ(-1px);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.cover-content {
  position: relative;
  width: 75%;
  text-align: center;
  z-index: 2;
}

.album-cover-logo {
  width: min(220px, 65%);
  height: auto;
  display: block;
  margin: 0 auto 2rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.18));
}

.cover-label {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cover-content h3 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.cover-line {
  width: 55px;
  height: 3px;
  margin: 2rem auto;
  background: #fff;
}

.cover-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

.album-page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #f5f5f2,
    #ffffff 10%,
    #ffffff 90%,
    #eeeeeb
  );
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 1.05s cubic-bezier(0.55, 0.08, 0.25, 1);
  will-change: transform;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.album-page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: repeating-linear-gradient(
    180deg,
    #e5e5e1 0,
    #e5e5e1 2px,
    #fafafa 2px,
    #fafafa 4px
  );
  opacity: 0.8;
  z-index: 30;
  pointer-events: none;
}

.album-page.page-01::before,
.album-page.page-03::before {
  right: 0;
}

.album-page.page-02::before,
.album-page.page-04::before {
  left: 0;
}

.album-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.7;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1),
    transparent 18%,
    transparent 82%,
    rgba(0, 0, 0, 0.05)
  );
  transition: opacity 0.5s ease;
}

.album-page.page-01,
.album-page.page-03 {
  left: 0;
  transform-origin: right center;
  z-index: 20;
}

.album-page.page-02,
.album-page.page-04 {
  left: 50%;
  transform-origin: left center;
  z-index: 30;
}

.album-page.page-01,
.album-page.page-02 {
  transform: rotateY(0deg) translateZ(0);
}

.album-page.page-03,
.album-page.page-04 {
  visibility: hidden;
  transform: rotateY(0deg) translateZ(-2px);
  pointer-events: none;
}

.album-photo {
  width: 100%;
  height: auto;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.album-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.album-caption {
  height: 28%;
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.album-caption span {
  display: block;
  margin-bottom: 0.4rem;
  color: #008080;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.album-caption p {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.5;
}

.album-back-sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  transform-origin: right center;
  transform: rotateY(180deg);
  transform-style: preserve-3d;
  z-index: 5;
  visibility: hidden;
  cursor: pointer;
  transition: transform 1.15s cubic-bezier(0.55, 0.08, 0.25, 1);
}

.album-back-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #17202a, var(--brand-teal));
  box-shadow: inset 8px 0 15px rgba(0, 0, 0, 0.12);
}

.album-back-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(23, 32, 42, 0.15) 65%,
    rgba(23, 32, 42, 0.55) 100%
  );
}

.back-mountain {
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 132%;
  height: auto;
  transform: translateX(-50%);
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
}

.back-content {
  position: relative;
  z-index: 2;
  width: 78%;
  text-align: center;
}

.back-content h3 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 4vw, 3.5rem);
  line-height: 1;
}

.back-content p {
  max-width: 330px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

.album-links {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.album-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.album-links a[aria-label="Facebook"] {
  background: #1877f2;
}

.album-links a[aria-label="Facebook"]:hover {
  background: transparent;
  color: #1877f2;
}

.album-links a[aria-label="Instagram"] {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

.album-links a[aria-label="Instagram"]:hover {
  background: transparent;
}

.album-links a[aria-label="Instagram"]:hover .instagram-outline,
.album-links a[aria-label="Instagram"]:hover .instagram-circle {
  stroke: url(#instagramGradient);
}

.album-links a[aria-label="Instagram"]:hover .instagram-dot {
  fill: url(#instagramGradient);
}

.album-links a[aria-label="LinkedIn"] {
  background: #0a66c2;
}

.album-links a[aria-label="LinkedIn"]:hover {
  background: transparent;
  color: #0a66c2;
}

.album-links a:hover {
  transform: translateY(-4px) scale(1.04);
}

.album-page:hover::after {
  opacity: 0.35;
}

.album-hint {
  margin: 2rem 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.projects-scroll,
.testimonials-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  /* 1 carte visible + un bout de la suivante */
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
}

.project-card,
.testimonial-card {
  scroll-snap-align: start;
}

.cta-banner {
  flex-direction: column;
  text-align: center;
  padding: 2rem 1.5rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1023px) {
  .hero-timeline::before {
    display: none;
  }

  .timeline-marker {
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
  }

  .timeline-marker span {
    font-size: 0.8rem;
  }

  .hero-content {
    align-content: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 992px) {
  .home-banner {
    min-height: 500px;
  }

  .home-banner__content {
    width: 88%;
  }

  .home-banner__content h1 {
    font-size: clamp(2.3rem, 6vw, 3.8rem);
  }
}

@media (max-width: 991px) {
  .mission {
    padding: 6rem 0;
  }

  .section-heading {
    margin-bottom: 5rem;
  }

  /* Timeline verticale */
  .mission-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    padding: 0 2rem;
  }

  .mission-timeline::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
  }

  .mission-item {
    position: relative;
    width: 50%;
    min-height: 190px;
    display: block;
  }

  /* Numéro */
  .mission-number {
    top: 50%;
  }

  /* 01 / 03 / 05 → gauche */
  .mission-item-1,
  .mission-item-3,
  .mission-item-5 {
    margin-right: auto;
    padding-right: 45px;
    text-align: right;
  }

  .mission-item-1 .mission-number,
  .mission-item-3 .mission-number,
  .mission-item-5 .mission-number {
    left: 100%;
  }

  .mission-item-1 .mission-content,
  .mission-item-3 .mission-content,
  .mission-item-5 .mission-content {
    position: absolute;
    top: 50%;
    bottom: auto;
    right: 45px;
    transform: translateY(-50%);
  }

  /* 02 / 04 → droite */
  .mission-item-2,
  .mission-item-4 {
    margin-left: auto;
    padding-left: 45px;
    text-align: left;
  }

  .mission-item-2 .mission-number,
  .mission-item-4 .mission-number {
    left: 0;
  }

  .mission-item-2 .mission-content,
  .mission-item-4 .mission-content {
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
  }

  .mission-content {
    width: calc(100% - 45px);
  }

  .back-mountain {
    bottom: -16%;
    width: 140%;
  }

  .album-section {
    padding: 6rem 0;
  }

  .album {
    width: 92vw;
    height: 58vw;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .home-banner {
    min-height: 470px;
    background-position: center;
  }

  .home-banner__overlay {
    background: linear-gradient(
      90deg,
      rgba(35, 42, 48, 0.78),
      rgba(35, 42, 48, 0.68)
    );
  }

  .home-banner__content {
    width: 90%;
  }

  .home-banner__eyebrow {
    font-size: 0.75rem;
    margin-bottom: 18px;
  }

  .home-banner__content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
  }

  .home-banner__content p {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 767px) {
  .timeline-marker {
    width: 46px;
    height: 46px;
    transform: translateX(-50%);
  }

  .timeline-marker span {
    font-size: 0.72rem;
  }

  .mission {
    padding: 5rem 0;
  }

  .section-heading {
    margin-bottom: 4rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  /* Timeline verticale */
  .mission-timeline {
    padding: 0;
    align-items: stretch;
  }

  .mission-timeline::before {
    left: 27px;
    transform: none;
  }

  /* Tous les éléments du même côté */
  .mission-item,
  .mission-item-1,
  .mission-item-2,
  .mission-item-3,
  .mission-item-4,
  .mission-item-5 {
    width: 100%;
    min-height: 160px;
    margin: 0;
    padding: 0 0 0 75px;
    text-align: left;
  }

  /* Numéros */
  .mission-number,
  .mission-item-1 .mission-number,
  .mission-item-2 .mission-number,
  .mission-item-3 .mission-number,
  .mission-item-4 .mission-number,
  .mission-item-5 .mission-number {
    top: 50%;
    left: 27px;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
  }

  /* Contenu */
  .mission-content,
  .mission-item-1 .mission-content,
  .mission-item-2 .mission-content,
  .mission-item-3 .mission-content,
  .mission-item-4 .mission-content,
  .mission-item-5 .mission-content {
    position: absolute;
    top: 50%;
    left: 75px;
    right: 0;
    width: auto;
    transform: translateY(-50%);
    text-align: left;
  }

  .mission-content h3 {
    font-size: 0.95rem;
  }

  .mission-content p {
    font-size: 0.8rem;
  }

  .back-mountain {
    bottom: -8%;
    width: 155%;
  }

  .album-section {
    padding: 5rem 0;
  }

  .album-heading {
    margin-bottom: 3.5rem;
  }

  .album-heading h2 {
    font-size: 2.2rem;
  }

  .album-heading p {
    padding: 0 1rem;
    font-size: 0.9rem;
  }

  .album {
    width: 94vw;
    height: 125vw;
    min-height: 430px;
    max-height: 580px;
  }

  .album-photo {
    height: 65%;
    padding: 0.7rem;
  }

  .album-caption {
    height: 35%;
    padding: 0.7rem;
  }

  .album-caption span {
    font-size: 0.6rem;
  }

  .album-caption p {
    font-size: 0.7rem;
  }

  .cover-content h3 {
    font-size: 2.2rem;
  }

  .cover-content p {
    font-size: 0.75rem;
  }

  .cover-label {
    font-size: 0.65rem;
  }

  .back-content p {
    font-size: 0.75rem;
  }

  .album-links {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .album-links a {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .hero-btn-fill,
  .hero-btn-outline {
    width: 100%;
    justify-content: center;
  }

  .social-proof {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .home-banner {
    min-height: 440px;
  }

  .home-banner__content h1 {
    font-size: 2rem;
  }

  .home-banner__content p {
    font-size: 0.9rem;
  }

  .home-banner__btn {
    width: 100%;
    max-width: 270px;
  }

  .back-mountain {
    bottom: -4%;
    width: 165%;
  }

  .album {
    width: 96vw;
    height: 120vw;
    min-height: 390px;
  }

  .album-photo {
    padding: 0.5rem;
  }

  .album-caption {
    padding: 0.5rem;
  }

  .album-caption p {
    font-size: 0.62rem;
  }

  .cover-content h3 {
    font-size: 1.8rem;
  }

}

@media (min-width: 768px) {
  .hero-title,
  .hero-name {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-header {
    flex-direction: row;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .formations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-padding {
    padding: 0px 0px 3rem;
  }

  .projects-scroll,
  .testimonials-scroll {
    grid-auto-columns: 320px;
  }

  .cta-banner {
    flex-direction: row;
    text-align: left;
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
  }

  .features-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .formations-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-btns {
    justify-content: flex-start;
  }

  .hero-visual {
    order: 0;
  }

  .blob-container {
    max-width: 500px;
  }

  .wave-wrapper {
    bottom: -42px;
    right: -64px;
    width: 120%;
  }

  .floating-icon.teal {
    top: 90px;
    left: 0;
  }

  .floating-icon.orange {
    bottom: 90px;
    right: 0;
  }
}

@media (min-width: 1200px) {
  .formations-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
