/* === Maison d'Hôtes – Rooms (shared) === */
:root {
  --primary:#A71E25;
  --secondary:#227246;
  --bg:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --surface:#f8fafc;
  --surface-alt:#f3f4f6;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 10px 24px rgba(0,0,0,.08);
}

* { box-sizing:border-box; }
html,body { margin:0; padding:0; }

body.page {
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  font-size:16px;
}

.serif { font-family:'Crimson Text',Georgia,serif; }

img { max-width:100%; height:auto; display:block; }

a { color:inherit; text-decoration:none; }

ul { margin:0; padding:0; list-style:none; }

.small { font-size:.95rem; }
.muted { color:var(--muted); }

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus {
  left:1rem;
  top:1rem;
  width:auto;
  height:auto;
  background:#000;
  color:#fff;
  padding:.5rem .75rem;
  border-radius:.5rem;
  z-index:1000;
}

.container {
  max-width:1120px;
  margin-inline:auto;
  padding:0 1rem;
}

.section {
  padding:4rem 0;
}
.section--alt {
  background:var(--surface);
}
.section__title {
  font-size:2rem;
  margin:0 0 1rem;
}

/* Header */
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}

.header__inner {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:1rem;
  align-items:center;
  height:78px;
}

.nav { justify-self:center; }

.brand__title {
  font-weight:700;
  font-size:1.25rem;
}

.nav-toggle {
  display:none;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  height:40px;
  width:40px;
  align-items:center;
  justify-content:center;
}

.nav { display:block; }

.nav__list {
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:center;
}

.nav__item--has-children { position:relative; }

.nav__btn {
  display:flex;
  align-items:center;
  gap:.25rem;
  background:transparent;
  border:0;
  padding:.5rem .75rem;
  border-radius:10px;
  cursor:pointer;
}

.nav__submenu {
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:.5rem;
  display:none;
  min-width:220px;
}
.nav__submenu.is-open { display:block; }
.nav__submenu a {
  display:block;
  padding:.5rem .75rem;
  border-radius:8px;
  color:#374151;
}
.nav__submenu a:hover { background:#f9fafb; }

.nav__link {
  padding:.5rem .75rem;
  border-radius:10px;
  color:#374151;
}
.nav__link:hover {
  color:var(--primary);
  background:#f9fafb;
}

.lang-switch {
  display:flex;
  gap:.25rem;
}
.lang-switch__btn {
  border:1px solid #e5e7eb;
  background:#f3f4f6;
  padding:.35rem .7rem;
  border-radius:999px;
  font-weight:600;
  color:#4b5563;
  cursor:pointer;
}
.lang-switch__btn.is-active {
  background:#fff;
  color:#111827;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
}

@media (max-width:960px) {
  .nav-toggle { display:inline-flex; }
  .nav {
    display:none;
    position:absolute;
    inset-inline:0;
    top:64px;
    background:#fff;
    border-top:1px solid #e5e7eb;
  }
  .nav.is-open { display:block; }
  .nav__list {
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:1rem;
  }
  .nav__submenu {
    position:static;
    border:0;
    box-shadow:none;
    padding:0;
    margin-left:1rem;
  }
}

/* Hero */
.hero {
  position:relative;
  min-height:60vh;
  display:flex;
  align-items:end;
}
.hero__media {
  position:absolute;
  inset:0;
  overflow:hidden;
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}
.hero__media picture {
  position:absolute;
  inset:0;
  display:block;
}
.hero__media img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.hero::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.55) 100%);
}
.hero--home::after {
  content: none !important;
  background: none !important;
}
.hero--contact::after {
  content: none !important;
  background: none !important;
}
.hero__content {
  position:relative;
  z-index:1;
  color:#fff;
  padding:5rem 1rem;
}
.hero__title {
  font-size:clamp(2rem,4vw,3.25rem);
  margin:0 0 .5rem;
}
.hero__subtitle {
  font-size:1.15rem;
  max-width:680px;
  margin:0 0 1.25rem;
  color:#e5e7eb;
}
.hero__cta {
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
}

.room-hero {
  align-items: center;
}

.room-hero .hero__content {
  width: 100%;
  text-align: center;
}

.room-hero .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.room-hero .hero__cta {
  justify-content: center;
}

.hero--maison,
.hero--cottage {
  align-items: center;
}

.hero--maison .hero__content,
.hero--cottage .hero__content {
  width: 100%;
  text-align: center;
}

.hero--maison .hero__subtitle,
.hero--cottage .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero--maison .hero__cta,
.hero--cottage .hero__cta {
  justify-content: center;
}

@media (max-width: 900px) {
  .room-hero .hero__content,
  .hero--maison .hero__content,
  .hero--cottage .hero__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 2rem);
    max-width: 640px;
    margin-inline: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

/* Buttons */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.75rem 1rem;
  border-radius:8px;
  border:2px solid transparent;
  font-weight:600;
  cursor:pointer;
  transition:transform .05s ease, box-shadow .2s ease;
}
.btn:active { transform:translateY(1px); }

.btn--primary {
  background:var(--primary);
  color:#fff;
}
.btn--primary:hover {
  box-shadow:0 6px 14px rgba(167,30,37,.28);
}

.btn--ghost {
  background:transparent;
  border-color:#fff;
  color:#fff;
}
.btn--ghost:hover {
  background:#fff;
  color:#111827;
}

.btn--block { width:100%; }

/* Ancienne grille gallery (peut rester pour d'autres pages) */
.gallery {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.gallery__item {
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}
@media (max-width:1024px) {
  .gallery { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .gallery { grid-template-columns:1fr; }
}

/* Facts */
.facts {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
}
.facts__item {
  display:flex;
  gap:.75rem;
  padding:1rem;
  border-radius:12px;
  background:#fff;
  box-shadow:var(--shadow);
}
.facts__icon {
  font-size:1.5rem;
  color:var(--secondary);
  margin-top:.2rem;
}
.facts__title {
  margin:0 0 .25rem;
  font-size:1.15rem;
}
.facts__desc {
  margin:0;
  color:#4b5563;
}
@media (max-width:960px) {
  .facts { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:520px) {
  .facts { grid-template-columns:1fr; }
}

/* Content + price */
.content {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:2rem;
  align-items:start;
}
.content--wide {
  grid-template-columns: 1fr;
}

.content--wide .content__text {
  max-width: none;
}
.content__text h2 {
  margin:.25rem 0 1rem;
  font-size:1.75rem;
}
.list {
  margin:0;
  padding-left:1rem;
  list-style:disc;
}

.list--columns {
  columns: 2;
  column-gap: 3.5rem;
}

.list--columns li {
  break-inside: avoid;
}

.price {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:1rem;
  box-shadow:var(--shadow);
  position:sticky;
  top:88px;
}
.price__amount {
  font-size:2rem;
  font-weight:700;
  margin:.25rem 0;
}
.price__unit {
  font-size:1rem;
  color:var(--muted);
}
.price__note {
  margin:.5rem 0 1rem;
  color:#4b5563;
}

.price__line {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin: .2rem 0;
}


@media (max-width:960px) {
  .content {
    grid-template-columns:1fr;
  }
  .list--columns {
    columns: 1;
  }
  .price {
    position:static;
  }
}

/* Hero simple (pages type Contact) */
.hero--simple {
  min-height: auto;
  align-items: center;
  background: linear-gradient(90deg, #A71E25 0%, rgba(167,30,37,0.14) 42%, rgba(167,30,37,0.08) 100%), var(--surface);
}

.hero.hero--simple::after {
  content: none;
}

.hero--simple .hero__content {
  color: var(--text);
  padding: 2.75rem 1rem;
}

.hero__simple-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: .5rem 0 0;
}

.breadcrumb {
  font-size: .9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .375rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover {
  border-bottom-color: currentColor;
  color: var(--text);
}

.hero__card {
  display: inline-block;
  max-width: 640px;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  color: #0f1b16;
}

.hero__card .hero__simple-title {
  margin: 0 0 .5rem;
  color: #0f1b16;
}

.hero__card .muted {
  color: #27302c;
}

.hero__card .breadcrumb,
.hero__card .breadcrumb a {
  color: #2f3a35;
}

.hero__card .breadcrumb a:hover {
  color: #0f1b16;
}


/* Booking form */
.booking {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:2rem;
}
.grid-2 {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
}

.field {
  display:flex;
  flex-direction:column;
  gap:.35rem;
}
.field__label { font-weight:600; }
.field__input {
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:.65rem .75rem;
  background:#fff;
}

.form__help {
  color:#4b5563;
  margin:.75rem 0 1rem;
}

.form__status {
  margin:0 0 1rem;
  padding:.9rem 1rem;
  border:1px solid #d1d5db;
  border-radius:14px;
  line-height:1.5;
}

.form__status--success {
  background:#ecfdf3;
  border-color:#86efac;
  color:#166534;
}

.form__status--error {
  background:#fef2f2;
  border-color:#fca5a5;
  color:#991b1b;
}

.booking--cottage .booking__form > h2 {
  text-align: center;
}

.policies {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:1rem;
  box-shadow:var(--shadow);
}

@media (max-width:960px) {
  .booking { grid-template-columns:1fr; }
  .grid-2 { grid-template-columns:1fr; }
}

/* Map */
.map {
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid #e5e7eb;
}
.map iframe {
  width:100%;
  height:360px;
  border:0;
}

/* Footer */
.site-footer {
  background:#111827;
  color:#e5e7eb;
  padding:3rem 0 2rem;
}
.footer__grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  text-align:center;
}
.footer__title { margin:0 0 .5rem; }

.social {
  display:flex;
  gap:.5rem;
  margin:1rem 0;
  justify-content:center;
}
.social a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#1f2937;
}
.social a:hover {
  background:#374151;
}

.footer__links li { margin:.35rem 0; }

.footer__info li {
  display:flex;
  gap:.5rem;
  align-items:center;
  justify-content:center;
  margin:.35rem 0;
  color:#d1d5db;
}

.newsletter {
  display:flex;
  gap:.5rem;
}
.newsletter__input {
  flex:1;
  border:1px solid #374151;
  background:#0b1220;
  color:#fff;
  border-radius:10px;
  padding:.6rem .75rem;
}

.footer__legal {
  border-top:1px solid #1f2937;
  margin-top:2rem;
  padding-top:1rem;
  text-align:center;
}

@media (max-width:960px) {
  .footer__grid {
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:520px) {
  .footer__grid {
    grid-template-columns:1fr;
  }
}

/* FAQ CTA (reutilisable dans les pages chambres) */
.faq-cta__inner {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  display: grid;
  gap: .85rem;
  align-items: center;
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
}

.faq-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 8px;
  background: linear-gradient(180deg, rgba(167,30,37,0.2), rgba(167,30,37,0.45));
}

.faq-cta__title {
  margin: 0;
  font-size: 1.35rem;
}

.faq-cta__text {
  margin: 0;
  color: #374151;
}

.faq-cta__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

@media (min-width: 720px) {
  .faq-cta__inner {
    grid-template-columns: 1.3fr .7fr;
  }
  .faq-cta__actions { justify-content: flex-end; }
}
/* === CAROUSEL – polaroid + image avant / après, grande image centrale === */

.carousel {
  position: relative;
  border-radius: 16px;
  background: var(--surface);
  padding: 3rem 0;
  overflow: visible;
}

/* hauteur globale du carrousel */
.carousel__track {
  position: relative;
  min-height: 400px;
}

/* chaque slide est centrée en absolu */
.carousel__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* pas de scale de base */
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 700px);   /* 👉 largeur réelle pour le polaroid */
  transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
}

/* image polaroid, LARGE */
.carousel__slide img {
  aspect-ratio: 16 / 10; /* ⟵ paysage élégant (plus doux que 16/9) */
  width: 100%;
  max-height: none;
  object-fit: cover;
  background: #ffffff;
  padding: 1rem 1rem 1.8rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

/* image centrale */
.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* image précédente (gauche) : un peu plus petite, décalée */
.carousel__slide.is-prev {
  opacity: 0.55;
  transform: translate(-85%, -50%) scale(.8);
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.20);
}

/* image suivante (droite) */
.carousel__slide.is-next {
  opacity: 0.55;
  transform: translate(-15%, -50%) scale(.8);
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.20);
}

/* effet hover léger sur desktop */
@media (hover:hover) {
  .carousel__slide.is-active img:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.28);
  }
}

/* Flèches */
.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #000000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .05s ease;
  z-index: 10; /* par-dessus les slides */
}

.carousel__control:hover {
  background: var(--primary);
  color: #fff;
}
.carousel__control:active {
  transform: translateY(-50%) scale(.97);
}
.carousel__control--prev { left: .75rem; }
.carousel__control--next { right: .75rem; }

/* Dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  padding: 3rem 0 0;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
}
.carousel__dot.is-active {
  width: 18px;
  background: var(--primary);
}

@media (max-width: 640px) {
  .carousel__track {
    min-height: 320px;
  }

  /* le slide prend presque toute la largeur du container */
  .carousel__slide {
    width: calc(100% - 2.5rem);
  }

  .carousel__slide img {
    width: 100%;
    max-width: 100%;
    max-height: 260px;
    padding: 0.7rem 0.7rem 1.3rem;
  }

  /* on cache visuellement prev/next (trop serré sur mobile),
     mais la logique JS reste inchangée */
  .carousel__slide.is-prev,
  .carousel__slide.is-next {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: none;
  }

  .carousel__control {
    width: 32px;
    height: 32px;
  }

  .carousel--maison-mobile {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas:
      "track track track"
      "prev progress next";
    align-items: center;
    gap: 1.1rem .9rem;
    width: 100vw;
    margin: 0;
    padding: 0 1rem 1.25rem;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
  }

  .carousel--maison-mobile .carousel__track {
    grid-area: track;
    min-height: clamp(330px, 78vw, 470px);
    width: 100%;
  }

  .carousel--maison-mobile .carousel__slide {
    width: 100%;
  }

  .carousel--maison-mobile .carousel__slide img {
    aspect-ratio: auto;
    width: 100%;
    height: clamp(330px, 78vw, 470px);
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
  }

  .carousel--maison-mobile .carousel__control {
    position: static;
    transform: none;
    width: 42px;
    height: 42px;
    justify-self: center;
    background: var(--primary);
    color: #fff;
    font-size: 0;
    line-height: 1;
  }

  .carousel--maison-mobile .carousel__control::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
  }

  .carousel--maison-mobile .carousel__control--prev::before {
    transform: translateX(2px) rotate(-135deg);
  }

  .carousel--maison-mobile .carousel__control--next::before {
    transform: translateX(-2px) rotate(45deg);
  }

  .carousel--maison-mobile .carousel__control:active {
    transform: scale(.97);
  }

  .carousel--maison-mobile .carousel__control--prev {
    grid-area: prev;
  }

  .carousel--maison-mobile .carousel__control--next {
    grid-area: next;
  }

  .carousel--maison-mobile .carousel__dots {
    grid-area: progress;
    position: relative;
    display: block;
    height: 4px;
    padding: 0;
    border-radius: 999px;
    background: #dbe7f3;
    overflow: hidden;
  }

  .carousel--maison-mobile .carousel__dots::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--carousel-progress, 0%);
    border-radius: inherit;
    background: var(--primary);
    transition: width .25s ease;
  }

  .carousel--maison-mobile .carousel__dot {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 900px) {
  .carousel--maison-mobile {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas:
      "track track track"
      "prev progress next";
    align-items: center;
    gap: 1.1rem .9rem;
    width: 100vw;
    margin: 0;
    padding: 0 1rem 1.25rem;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
  }

  .carousel--maison-mobile .carousel__track {
    grid-area: track;
    min-height: clamp(340px, 78vw, 560px);
    width: 100%;
    position: relative;
  }

  .carousel--maison-mobile .carousel__slide {
    position: static;
    transform: none;
    display: none;
    width: 100% !important;
    max-width: none;
    min-width: 0;
    opacity: 1;
    pointer-events: none;
    justify-content: stretch;
    align-items: stretch;
  }

  .carousel--maison-mobile .carousel__slide.is-active {
    display: block;
    transform: none;
    width: 100% !important;
    max-width: none;
    opacity: 1;
    pointer-events: auto;
  }

  .carousel--maison-mobile .media-picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .carousel--maison-mobile .carousel__slide img {
    aspect-ratio: auto;
    width: 100% !important;
    max-width: none;
    height: clamp(340px, 78vw, 560px);
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
  }

  .carousel--maison-mobile .carousel__slide.is-prev,
  .carousel--maison-mobile .carousel__slide.is-next {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
    box-shadow: none;
  }

  .carousel--maison-mobile .carousel__control {
    position: static;
    transform: none;
    width: 42px;
    height: 42px;
    justify-self: center;
    background: var(--primary);
    color: #fff;
    font-size: 0;
    line-height: 1;
  }

  .carousel--maison-mobile .carousel__control::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
  }

  .carousel--maison-mobile .carousel__control--prev::before {
    transform: translateX(2px) rotate(-135deg);
  }

  .carousel--maison-mobile .carousel__control--next::before {
    transform: translateX(-2px) rotate(45deg);
  }

  .carousel--maison-mobile .carousel__control:active {
    transform: scale(.97);
  }

  .carousel--maison-mobile .carousel__control--prev {
    grid-area: prev;
  }

  .carousel--maison-mobile .carousel__control--next {
    grid-area: next;
  }

  .carousel--maison-mobile .carousel__dots {
    grid-area: progress;
    position: relative;
    display: block;
    height: 4px;
    padding: 0;
    border-radius: 999px;
    background: #dbe7f3;
    overflow: hidden;
  }

  .carousel--maison-mobile .carousel__dots::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--carousel-progress, 0%);
    border-radius: inherit;
    background: var(--primary);
    transition: width .25s ease;
  }

  .carousel--maison-mobile .carousel__dot {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 900px) {
  #gallery .carousel--maison-mobile {
    padding-inline: 0;
  }

  #gallery .carousel--maison-mobile .carousel__track,
  #gallery .carousel--maison-mobile .carousel__slide,
  #gallery .carousel--maison-mobile .carousel__slide.is-active,
  #gallery .carousel--maison-mobile .media-picture,
  #gallery .carousel--maison-mobile .media-picture img {
    inline-size: 100vw !important;
    width: 100vw !important;
    max-inline-size: none !important;
    max-width: none !important;
  }

  #gallery .carousel--maison-mobile .carousel__slide,
  #gallery .carousel--maison-mobile .carousel__slide.is-active {
    left: auto;
    right: auto;
    margin-inline: 0;
  }

  #gallery .carousel--maison-mobile .media-picture img {
    height: clamp(340px, 78vw, 560px);
    object-fit: cover;
  }

  #gallery .carousel--maison-mobile .carousel__control--prev {
    margin-left: 1rem;
  }

  #gallery .carousel--maison-mobile .carousel__control--next {
    margin-right: 1rem;
  }

  #gallery .carousel--maison-mobile .carousel__dots {
    margin-inline: .25rem;
  }
}

@media (max-width: 768px) {
  .hero.room-hero .hero__content,
  .hero.hero--maison .hero__content,
  .hero.hero--cottage .hero__content {
    left: 50%;
    right: auto;
    width: calc(100vw - 2rem);
    max-width: 640px;
    transform: translate(-50%, -50%);
  }
}
