.intro > :not(.intro-peaks) { grid-column: 1; }

/* Silhouette des pics de Ua Pou dessinée à main levée, posée sur le bas de la bande sombre (marge négative
   = padding bas de .intro). */
.intro-peaks {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  display: block;
  overflow: visible;
  margin-bottom: -56px;
}

.intro-peaks-line {
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .intro-peaks-mountains { animation: intro-peaks-draw 1.4s ease-in-out 0.8s both; }
}

/* Le trait se dessine de gauche à droite (pathLength="1" sur les chemins). */
@keyframes intro-peaks-draw {
  from { stroke-dashoffset: 1; }
}

/* La maison : texte et caractéristiques à gauche, deux polaroids qui se chevauchent à droite. */
.house {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 72px;
}

.polaroid {
  margin: 0;
  padding: 12px 12px 48px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(var(--shadow-tint), 0.18), 0 2px 6px rgba(var(--shadow-tint), 0.08);
}

.polaroid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.house-photos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

/* Le jardin (2e du DOM, donc dessus) est placé en haut : il couvre le coin de la photo de la chambre,
   pas sa légende. */
.house-photos .polaroid:nth-child(1) {
  grid-row: 2;
  grid-column: 1 / 10;
  margin-top: -16%;
  transform: rotate(-2.5deg);
}

.house-photos .polaroid:nth-child(2) {
  grid-row: 1;
  grid-column: 5 / 13;
  transform: rotate(3deg);
}

.house-text p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0 0 20px;
  line-height: 1.7;
  opacity: 0.88;
  text-wrap: pretty;
}

.house .link-underline { border-bottom-color: var(--green-leaf); }

/* Même entrée que l'accueil de la page d'accueil : texte depuis la gauche, polaroids par la droite. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .house-text > * {
    animation: slide-from-left 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-step) * 0.1s) both paused;
  }

  .house-photos .polaroid {
    animation: polaroid-from-right 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) calc(0.3s + var(--reveal-step) * 0.15s) backwards paused;
  }

  .house-text > :nth-child(1),
  .house-photos .polaroid:nth-child(1) { --reveal-step: 0; }
  .house-text > :nth-child(2),
  .house-photos .polaroid:nth-child(2) { --reveal-step: 1; }
  .house-text > :nth-child(3) { --reveal-step: 2; }
  .house-text > :nth-child(4) { --reveal-step: 3; }
  .house-text > :nth-child(5) { --reveal-step: 4; }
  .house-text > :nth-child(6) { --reveal-step: 5; }

  .house.is-visible .house-text > *,
  .house.is-visible .polaroid { animation-play-state: running; }
}

@keyframes slide-from-left { from { opacity: 0; transform: translateX(-32px); } }
@keyframes polaroid-from-right { from { opacity: 0; transform: translateX(48px) rotate(8deg); } }

.facts {
  margin: 32px 0 28px;
  border-top: 1px solid rgba(var(--shadow-tint), 0.15);
}

.facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--shadow-tint), 0.15);
}

.facts dt { font-size: 0.95rem; }

.facts dd {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  text-align: right;
  color: var(--green-leaf);
}

/* Tarifs : renvoi vers la page tarifs, sur fond sombre pour garder la coupure entre les sections crème.
   Une question centrée, le lien, et une note manuscrite fléchée vers lui. */
.rates-teaser {
  padding-top: 72px;
  padding-bottom: 88px;
}

.rates-teaser-note {
  display: grid;
  justify-items: center;
  text-align: center;
}

.rates-teaser-note .section-title { margin-bottom: 12px; }
.rates-teaser-note .section-lead { margin-bottom: 28px; }
.rates-teaser-note .link-underline { font-size: 0.95rem; }

.rates-teaser-link { position: relative; }

.rates-teaser-scribble {
  position: absolute;
  top: -30px;
  left: calc(100% + 68px);
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--green-mint);
  white-space: nowrap;
  transform: rotate(-5deg);
}

.rates-teaser-scribble-arrow {
  position: absolute;
  top: -16px;
  left: calc(100% + 10px);
  width: 56px;
  height: 30px;
  color: var(--green-mint);
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .rates-teaser-note > * { animation: intro-fade-rise 0.6s ease-out both paused; }
  .rates-teaser-note > :nth-child(2) { animation-delay: 0.1s; }
  .rates-teaser-note > :nth-child(3) { animation-delay: 0.2s; }
  .rates-teaser-scribble { animation: teaser-write 0.9s ease-out 0.6s both paused; }
  .rates-teaser-scribble-arrow { animation: teaser-arrow-draw 0.4s ease-in-out 1.4s both paused; }

  .rates-teaser.is-visible :is(
    .rates-teaser-note > *,
    .rates-teaser-scribble,
    .rates-teaser-scribble-arrow
  ) { animation-play-state: running; }
}

/* Débords verticaux et à gauche pour ne pas couper les jambages et les boucles de Kalam. */
@keyframes teaser-write {
  from { clip-path: inset(-0.4em 100% -0.4em -8px); }
  to { clip-path: inset(-0.4em -8px -0.4em -8px); }
}

/* La flèche va de la note vers le lien, de droite à gauche : pointe en dernier. */
@keyframes teaser-arrow-draw {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0); }
}

/* Amenities */
.amenities-groups {
  margin-top: 48px;
  border-top: 1px solid rgba(var(--shadow-tint), 0.15);
}

.amenities-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(var(--shadow-tint), 0.15);
}

.amenities-group h3 {
  margin: 0;
  padding-top: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}

.amenities-group ul,
.amenities-missing ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities-group li,
.amenities-missing li {
  padding: 6px 14px;
  border: 1px solid rgba(var(--shadow-tint), 0.1);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9rem;
  line-height: 1.5;
}

.amenities-group li small,
.amenities-missing li small {
  font-size: 0.8rem;
  color: rgba(var(--shadow-tint), 0.65);
}

.amenities-group li small::before,
.amenities-missing li small::before { content: " · "; }

.amenities-missing {
  margin-top: 40px;
  padding: 28px 32px 32px;
  border: 1px solid rgba(var(--shadow-tint), 0.15);
  border-radius: 8px;
}

.amenities-missing h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
}

.amenities-missing p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: rgba(var(--shadow-tint), 0.7);
}

.amenities-missing li {
  border-style: dashed;
  border-color: rgba(var(--shadow-tint), 0.3);
  background: none;
}

/* Responsive */
@media (max-width: 860px) {
  .intro-peaks { display: none; }

  .house {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .house-photos {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .rates-teaser {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .rates-teaser-link {
    display: grid;
    justify-items: center;
  }

  .rates-teaser-scribble {
    position: static;
    margin-top: 16px;
  }

  .rates-teaser-scribble-arrow { display: none; }

  .amenities-missing { padding: 24px 20px 28px; }

  .amenities-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
