/* ==========================================================================
   Latinea — page Accueil
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 88svh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__media {
  position: absolute;
  top: -14%;
  bottom: -14%;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  opacity: .28;
}

.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(12, 12, 11, 0) 0%,
      rgba(12, 12, 11, .06) 24%,
      rgba(12, 12, 11, .34) 50%,
      rgba(12, 12, 11, .66) 74%,
      rgba(11, 11, 10, .88) 100%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(88px + clamp(56px, 7vw, 96px)) clamp(18px, 4vw, 56px) clamp(56px, 7vw, 96px);
  box-sizing: border-box;
  pointer-events: none;
}

.hero__title {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(34px, 5.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0, 0, 0, .5);
}

.hero__lead {
  margin: 26px 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: rgba(242, 235, 221, .74);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Sections communes de la page
   -------------------------------------------------------------------------- */
.site-section {
  border-top: 1px solid rgba(242, 235, 221, .08);
  padding: clamp(80px, 10vw, 168px) clamp(18px, 4vw, 56px);
}

.site-section--studio {
  background: radial-gradient(115% 78% at 22% 18%, #171614 0%, #121110 42%, #0C0C0B 100%);
}

.site-section--danses {
  background: radial-gradient(115% 78% at 78% 12%, #171614 0%, #121110 42%, #0C0C0B 100%);
}

.site-section--pourquoi {
  background: radial-gradient(115% 78% at 30% 85%, #171614 0%, #121110 42%, #0C0C0B 100%);
}

.site-section--app {
  background: linear-gradient(180deg, #0A0A09 0%, #141312 52%, #0B0B0A 100%);
}

/* --------------------------------------------------------------------------
   01 — Le studio
   -------------------------------------------------------------------------- */
.grid-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.studio__text {
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(242, 235, 221, .72);
  font-weight: 400;
}

.studio__text + .studio__text {
  margin-top: 18px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 235, 221, .14);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.stat__label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, .5);
}

.studio__media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 430px;
  min-height: 0;
  justify-self: start;
  margin-top: clamp(0px, 4vw, 64px);
  border-radius: 120px 28px 120px 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px -24px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   02 — Nos danses
   -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.link-underline {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--dore);
  padding-bottom: 6px;
}

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

.grid-3--danses {
  gap: clamp(16px, 2vw, 28px);
  max-width: 1240px;
  margin: 0 auto;
}

.card {
  display: block;
  background: linear-gradient(158deg, #1C1A18 0%, #121110 100%);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 22px 60px -14px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(242, 235, 221, .06);
}

.card:hover {
  background: linear-gradient(158deg, #221F1B 0%, #151413 100%);
  transform: translateY(-8px);
  box-shadow:
    0 30px 74px -18px rgba(0, 0, 0, .55),
    0 0 54px -8px rgba(201, 168, 76, .14),
    inset 0 1px 0 rgba(242, 235, 221, .09);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  filter: contrast(1.05);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 54px -16px rgba(0, 0, 0, .46);
}

.card__body {
  padding: 22px 18px 26px;
}

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 23px;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.card__text {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(242, 235, 221, .62);
}

/* --------------------------------------------------------------------------
   03 — Pourquoi nous rejoindre
   -------------------------------------------------------------------------- */
.pourquoi__title {
  margin: 0 0 clamp(36px, 5vw, 64px);
  max-width: 22ch;
  letter-spacing: -.01em;
}

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

.grid-2--pourquoi {
  gap: clamp(24px, 3vw, 44px);
  max-width: 940px;
  margin: 0 auto;
}

.feature {
  background: linear-gradient(158deg, #1B1918 0%, #111110 100%);
  border-radius: 28px;
  padding: 36px 30px 42px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(242, 235, 221, .05);
}

.feature__title {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(242, 235, 221, .62);
}

/* --------------------------------------------------------------------------
   04 — L'application
   -------------------------------------------------------------------------- */
.grid-app {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.app__title {
  max-width: 18ch;
  letter-spacing: -.01em;
}

.app__lead {
  margin: 28px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(242, 235, 221, .72);
}

.app__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app__list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: rgba(242, 235, 221, .78);
  border-top: 1px solid rgba(242, 235, 221, .12);
  padding-top: 14px;
}

.app__num {
  color: var(--dore);
  font-weight: 700;
}

.app__cta {
  margin-top: 38px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 9 / 19;
  border: 1px solid rgba(242, 235, 221, .2);
  padding: 12px;
  border-radius: 44px;
  background: #101010;
  box-shadow:
    0 34px 96px -26px rgba(0, 0, 0, .62),
    0 0 80px -14px rgba(201, 168, 76, .12),
    inset 0 1px 0 rgba(242, 235, 221, .12);
  box-sizing: border-box;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 5px;
  background: rgba(242, 235, 221, .5);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Cadrage des vignettes de danses
   Mêmes photos que la page Cours, mais dans un cadre 4/3 et non 16/11 : la
   fenêtre visible est un peu plus haute (34 % de la source au lieu de 32 %),
   les valeurs sont donc revérifiées ici et ne recopient pas cours.css.
   L'acro descend nettement — à 60 % le cadre plus carré coupait le bras.
   -------------------------------------------------------------------------- */
.slot--cadre-danse-salsa     { object-position: center 58%; }
.slot--cadre-danse-bachata   { object-position: center 53%; }
/* Heels est la seule source en paysage (1290 × 716) : dans un cadre 4/3 toute
   la hauteur passe, c'est la largeur qui est rognée. La valeur verticale est
   sans effet, on la laisse neutre. */
.slot--cadre-danse-heels     { object-position: center 50%; }
.slot--cadre-danse-acro      { object-position: center 50%; }
.slot--cadre-danse-souplesse { object-position: center 52%; }
/* Source très verticale (943 × 2048) : dans un cadre 4/3 seuls 34 % de sa
   hauteur passent, il faut viser les visages. */
.slot--cadre-danse-commercial { object-position: center 55%; }

/* --------------------------------------------------------------------------
   Cadrage de la photo « L'esprit Latinea »
   Seule source presque carrée (1284 × 1262) du lot : dans un cadre 4/5,
   c'est la largeur qui est rognée, pas la hauteur. On décale légèrement à
   gauche pour que le danseur au premier plan reste au centre du cadre.
   -------------------------------------------------------------------------- */
.slot--cadre-studio { object-position: 46% center; }

/* --------------------------------------------------------------------------
   Cadrage de la capture d'app
   La capture (1284 × 2778) et l'écran du téléphone (9/19) ont pratiquement
   le même rapport : on la cale en haut pour aligner la barre d'état sur le
   haut de la coque, sous l'encoche.
   -------------------------------------------------------------------------- */
.slot--cadre-app { object-position: center top; }

/* --------------------------------------------------------------------------
   Bandeau final
   -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(180deg, #F6F0E4 0%, #E9E0CE 100%);
  color: #101010;
  padding: 42px clamp(18px, 4vw, 56px);
  box-shadow: 0 -40px 90px rgba(242, 235, 221, .08);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  width: 100%;
}

.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: min(5.1vw, 46px);
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Responsive — palier mobile du socle, aucun nouveau seuil.
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Section 03 : l'étiquette, le titre et le contenu des quatre blocs
     (pictogramme, titre, texte) se calent au centre. La grille étant repliée
     sur une colonne par le socle, l'alignement au centre suffit — chaque
     bloc hérite du `text-align` de la section. */
  .site-section--pourquoi {
    text-align: center;
  }
}
