/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__fond {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.95;
}
/* Deux couches : un degrade vertical (fondu vers le noir en bas) + un degrade
   horizontal plus sombre a gauche, la ou vit le texte -> contraste garanti
   meme avec la photo et les formes derriere. */
.hero__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(13, 13, 13, 0.2) 0%,
      rgba(13, 13, 13, 0.08) 55%,
      rgba(13, 13, 13, 0) 100%),
    linear-gradient(180deg,
      rgba(13, 13, 13, 0.05) 0%,
      rgba(13, 13, 13, 0) 35%,
      rgba(13, 13, 13, 0.25) 75%,
      rgba(13, 13, 13, 0.7) 100%);
}
/* ============ Entree du contenu en cascade ============
   Adaptation CSS des fadeUpVariants du hero React "shape landing" :
   opacity 0 / +30px -> place, 1 s, delais echelonnes 0,5 s + 0,2 s par element. */
.hero__sur,
.hero__titre,
.hero__sous,
.hero__actions {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-entree 1s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}
.hero__sur     { animation-delay: 0.5s; }
.hero__titre   { animation-delay: 0.7s; }
.hero__sous    { animation-delay: 0.9s; }
.hero__actions { animation-delay: 1.1s; }
/* Keyframes dedies : .hero__scroll est centre par translateX(-50%),
   il ne doit jamais finir en transform none. */
.hero__scroll {
  animation: hero-entree-scroll 1s cubic-bezier(0.25, 0.4, 0.25, 1) 1.4s both;
}
@keyframes hero-entree {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-entree-scroll {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to   { opacity: 1; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__sur, .hero__titre, .hero__sous, .hero__actions {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero__scroll {
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
  }
}

.hero__inner {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem var(--espace-m) var(--espace-l);
}
/* Badge pilule avec point dore (adaptation du badge "shape landing") */
.hero__sur {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--or);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.hero__sur::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--or);
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .hero__sur { font-size: 0.7rem; letter-spacing: 0.14em; }
}
.hero__titre {
  margin-top: var(--espace-s);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.03;
  color: var(--creme);
  /* Degrade creme -> creme attenue, clippe sur le texte. Le mot rotatif
     (.text-loop) garde sa couleur or opaque par-dessus le clip. */
  background: linear-gradient(to bottom, var(--creme), rgba(244, 240, 232, 0.78));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__titre .text-loop { -webkit-text-fill-color: var(--or); }
.hero__sous {
  margin-top: var(--espace-s);
  max-width: 46ch;
  color: rgba(244, 240, 232, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: var(--espace-m);
}
.hero__scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: var(--gris);
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--or), transparent);
}

/* ============ Presentation ============ */
.presentation { padding: var(--espace-xl) var(--espace-m); }
.presentation__texte {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--creme);
}
.presentation__texte em { color: var(--or); }
.presentation__lieu {
  margin-top: var(--espace-m);
  text-align: center;
  color: var(--gris);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ============ Apercu galerie ============ */
.galerie-apercu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.galerie-apercu__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
}
.galerie-apercu__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: transform 0.6s var(--ease), opacity var(--transition);
}
.galerie-apercu__item:hover img { transform: scale(1.05); opacity: 1; }
.galerie-apercu__pied {
  max-width: 1200px;
  margin: var(--espace-m) auto 0;
  text-align: right;
}
@media (max-width: 800px) { .galerie-apercu { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .galerie-apercu { grid-template-columns: 1fr; } }

/* ============ Equipe (apercu) ============ */
.equipe-pied {
  max-width: 1200px;
  margin: var(--espace-m) auto 0;
  text-align: right;
}

/* ============ Avis ============ */
.avis { padding: var(--espace-xl) 0; overflow: hidden; }
.avis__titre {
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--creme);
  padding: 0 var(--espace-m);
}
.avis__note {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--espace-s) auto var(--espace-l);
  padding: 0 var(--espace-m);
  color: var(--creme);
  font-size: 0.95rem;
}
.avis__note strong { font-size: 1.15rem; }
.avis__etoiles { color: var(--or); letter-spacing: 2px; }
.avis__demo { color: var(--gris); font-size: 0.8rem; }
.avis__g { width: 22px; height: 22px; }
