.home-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #fff;
  background: #2b160f;
}
.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(20, 8, 3, 0.82) 0%,
    rgba(37, 14, 6, 0.62) 36%,
    rgba(36, 13, 6, 0.16) 63%,
    rgba(25, 9, 4, 0.02) 100%
  );
}
.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 610px;
}
.home-hero__copy {
  max-width: 920px;
  padding: 5rem 0;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
  color: #fff4df;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-kicker::before,
.hero-kicker::after {
  width: 44px;
  height: 1px;
  content: "";
  background: var(--nanna-gold-soft);
}
.home-hero h1 {
  margin: 0;
  font-family: var(--nanna-serif);
  font-size: clamp(4rem, 5.3vw, 5.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.hero-tagline {
  margin: 1rem 0;
  font-family: var(--nanna-serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
}
.hero-text {
  max-width: 590px;
  font-size: 1.08rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}
.btn-nanna-light {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.88rem 1.45rem;
  color: #fff;
  font-weight: 700;
}
.btn-nanna-light:hover {
  color: #2a160d;
  background: #fff;
}

.hero-features {
  position: absolute;
  top: 50%;
  right: max(4rem, calc((100% - 1400px) / 2));
  z-index: 3;
  width: 300px;
  transform: translateY(-50%);
  background: rgba(58, 27, 13, 0.72);
  backdrop-filter: blur(5px);
}
.hero-feature {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  min-height: 82px;
  padding: 1.2rem 1.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-feature:last-child {
  border-bottom: 0;
}
.hero-feature__icon {
  width: 26px;
  color: var(--nanna-gold-soft);
  font-size: 1.35rem;
  text-align: center;
}
.hero-feature strong {
  display: block;
  font-size: 1.05rem;
}
.hero-feature span {
  font-size: 0.9rem;
}

.room-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--nanna-line);
  border-radius: var(--nanna-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(70, 44, 28, 0.09);
}
.room-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.room-card__body {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
}
.room-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.room-card p {
  margin: 0;
  color: #675c54;
  font-size: 0.92rem;
}
.room-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  place-items: center;
  color: #29160c;
  background: var(--nanna-gold-soft);
  font-size: 1rem;
  text-decoration: none;
}
.room-arrow:visited,
.room-arrow:hover,
.room-arrow:active {
  color: #29160c;
  text-decoration: none;
}
.room-arrow:hover {
  background: var(--nanna-gold);
  transform: translateX(2px);
}
.room-arrow:focus-visible,
.room-all:focus-visible {
  outline: 3px solid var(--nanna-ink);
  outline-offset: 3px;
}
.room-all {
  display: grid;
  min-height: 100%;
  border-radius: var(--nanna-radius);
  place-items: center;
  color: #2a1c14;
  background:
    linear-gradient(rgba(255, 249, 239, 0.75), rgba(244, 218, 179, 0.82)),
    url("../../images/la-maison-de-nana-vue-figuig-maroc-palmiers3.jpg")
      center/cover;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}
.room-all:visited,
.room-all:hover,
.room-all:active {
  color: #2a1c14;
  text-decoration: none;
}
.room-all:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.figuig-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 59%) minmax(0, 41%);
  min-height: clamp(330px, 25vw, 430px);
  overflow: hidden;
  background: #f7f1e7;
}
.figuig-feature__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.figuig-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.figuig-feature__content {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: flex;
  align-items: center;
  min-width: 0;
  background: transparent;
}
.figuig-copy {
  width: 100%;
  max-width: 35rem;
  padding: clamp(2rem, 3.4vw, 4.4rem);
  padding-left: clamp(2.5rem, 5vw, 5.75rem);
}
.figuig-copy h2 {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--nanna-serif);
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.05;
  white-space: nowrap;
}
.figuig-copy p:not(.section-kicker) {
  max-width: 26rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.site-section--closing {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

@media (max-width: 1199.98px) {
  .home-hero h1 {
    white-space: normal;
  }
}
@media (max-width: 991.98px) {
  .home-hero,
  .home-hero__content {
    min-height: 680px;
  }
  .hero-features {
    right: 1rem;
    bottom: 1rem;
    top: auto;
    width: min(92%, 560px);
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-feature {
    min-height: 0;
    padding: 0.9rem;
  }
  .home-hero__copy {
    padding-bottom: 250px;
  }
  .figuig-feature {
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    min-height: 350px;
  }
  .figuig-copy {
    padding: 2rem 1.5rem 2rem 3.5rem;
  }
  .figuig-copy h2 {
    font-size: clamp(1.8rem, 4.2vw, 2.45rem);
    white-space: normal;
  }
}
@media (max-width: 575.98px) {
  .home-hero,
  .home-hero__content {
    min-height: 720px;
  }
  .home-hero__copy {
    width: 100%;
    max-width: 100%;
    padding-top: 3.5rem;
  }
  .home-hero h1 {
    max-width: 355px;
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .hero-actions {
    max-width: 355px;
  }
  .hero-features {
    grid-template-columns: 1fr 1fr;
  }
  .hero-feature {
    font-size: 0.75rem;
  }
  .hero-feature__icon {
    font-size: 1.1rem;
  }
  .room-card img {
    height: 220px;
  }
  .figuig-feature {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .figuig-feature__image {
    position: relative;
    min-height: 220px;
  }
  .figuig-feature__image img {
    min-height: 220px;
    aspect-ratio: 16 / 9;
    object-position: left center;
  }
  .figuig-feature__content {
    display: block;
    background: #f7f1e7;
  }
  .figuig-copy {
    padding: 2.4rem 1.5rem;
  }
  .figuig-copy h2 {
    white-space: normal;
  }
  .site-section--closing {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }
}

/* Landing page : sections de réassurance et parcours vers la réservation */
.home-page {
  min-width: 0;
}
.home-hero__reassurance {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 35rem;
  margin: 1rem 0 0;
  color: #fff3dc;
  font-size: 0.88rem;
  line-height: 1.5;
}
.home-hero__reassurance i {
  margin-top: 0.22rem;
  color: var(--nanna-gold-soft);
}
.home-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--nanna-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.home-introduction {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.home-introduction__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.home-introduction__media {
  position: relative;
  min-width: 0;
}
.home-introduction__media > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: var(--nanna-shadow);
}
.home-introduction__seal {
  position: absolute;
  right: -1.1rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--nanna-line);
  border-radius: 15px;
  color: var(--nanna-brown);
  background: #fffaf2;
  box-shadow: 0 8px 25px rgba(67, 37, 22, 0.12);
  font-family: var(--nanna-serif);
  font-size: 1.1rem;
  line-height: 1.15;
}
.home-introduction__seal i {
  color: var(--nanna-gold-dark);
  font-size: 1.5rem;
}
.home-introduction__copy h2,
.home-price-cta h2,
.home-guestbook h2 {
  margin: 0 0 1.15rem;
  color: var(--nanna-brown);
  font-family: var(--nanna-serif);
  font-size: clamp(2.1rem, 3.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
}
.home-introduction__copy p:not(.home-eyebrow),
.home-price-cta p:not(.home-eyebrow),
.home-guestbook p:not(.home-eyebrow) {
  color: #52453e;
  line-height: 1.8;
}
.home-introduction__actions,
.home-price-cta__actions,
.home-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.home-introduction__actions {
  margin-top: 1.65rem;
}
.home-text-link {
  color: var(--nanna-gold-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.home-text-link:hover {
  color: var(--nanna-brown);
}
.home-rooms {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.home-rooms__footnote {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 2rem;
  margin-top: 2rem;
  color: #594a3e;
  font-size: 0.92rem;
}
.home-rooms__footnote i {
  margin-right: 0.35rem;
  color: var(--nanna-gold-dark);
}
.home-rooms__footnote a {
  color: var(--nanna-gold-dark);
  font-weight: 800;
}
.home-rooms__footnote a:hover {
  color: var(--nanna-brown);
}
.home-price-cta {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #f8eddc;
  border-top: 1px solid var(--nanna-line);
  border-bottom: 1px solid var(--nanna-line);
}
.home-price-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.home-price-cta__inner > div:first-child {
  max-width: 44rem;
}
.home-price-cta h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.85rem, 2.7vw, 2.5rem);
}
.home-price-cta p:last-child {
  margin: 0;
}
.home-price-cta__actions {
  justify-content: flex-end;
  flex-shrink: 0;
}
.home-experiences {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.home-experiences__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.home-experience {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--nanna-line);
  border-radius: var(--nanna-radius);
  color: var(--nanna-brown);
  background: rgba(255, 250, 242, 0.95);
  box-shadow: 0 7px 20px rgba(67, 37, 22, 0.07);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.home-experience:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(67, 37, 22, 0.12);
  color: var(--nanna-brown);
}
.home-experience:focus-visible {
  outline: 3px solid var(--nanna-gold-dark);
  outline-offset: 4px;
}
.home-experience__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: #f6e7cb;
  color: var(--nanna-gold-dark);
  font-size: 1.65rem;
}
.home-experience__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(570%)
    hue-rotate(355deg) brightness(92%) contrast(100%);
}
.home-experience h3 {
  margin: 0 0 0.5rem;
  font-family: var(--nanna-serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}
.home-experience p {
  margin: 0 0 1.2rem;
  color: #5c5149;
  line-height: 1.65;
}
.home-experience__link {
  margin-top: auto;
  color: var(--nanna-gold-dark);
  font-weight: 800;
}
.home-guestbook {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #fbf0e1;
  border-block: 1px solid var(--nanna-line);
}
.home-guestbook__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.home-guestbook__inner > div {
  max-width: 43rem;
}
.home-guestbook h2 {
  margin-bottom: 0.55rem;
}
.home-guestbook p:last-child {
  margin-bottom: 0;
}
.home-guestbook .btn {
  flex-shrink: 0;
}
.home-final-cta {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.home-final-cta__actions {
  justify-content: center;
}
.home-final-cta__note {
  margin: 1.25rem 0 0;
  color: #6e6155;
  font-size: 0.85rem;
}
.home-experience img,
.home-introduction img {
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  .home-hero__copy {
    max-width: min(100%, 680px);
  }
  .home-hero h1 {
    white-space: normal;
  }
  .home-price-cta__inner,
  .home-guestbook__inner {
    flex-wrap: wrap;
  }
  .home-price-cta__actions {
    justify-content: flex-start;
  }
}
@media (max-width: 991.98px) {
  .home-introduction__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-introduction__media {
    max-width: 660px;
  }
  .home-introduction__seal {
    right: 0.8rem;
  }
  .home-experiences__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-guestbook__inner {
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .home-hero__copy {
    padding-top: 3rem;
  }
  .home-hero__reassurance {
    font-size: 0.78rem;
  }
  .home-introduction__media > img {
    aspect-ratio: 1.2 / 1;
  }
  .home-introduction__seal {
    right: 0.45rem;
    bottom: 0.45rem;
    padding: 0.75rem;
    font-size: 0.88rem;
  }
  .home-experiences__grid {
    grid-template-columns: 1fr;
  }
  .home-introduction__actions,
  .home-price-cta__actions,
  .home-final-cta__actions {
    align-items: stretch;
  }
  .home-final-cta__actions > a {
    width: 100%;
  }
  .home-rooms__footnote {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }
  .home-price-cta__inner,
  .home-guestbook__inner {
    display: block;
  }
  .home-price-cta__actions,
  .home-guestbook .btn {
    margin-top: 1.25rem;
  }
  .home-guestbook .btn {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-experience {
    transition: none;
  }
  .home-experience:hover {
    transform: none;
  }
}
