:root {
  --a: #3d6b5a;
  --b: #4d7a4a;
  --c: #d4b130;
  --d: #333333;
  --e: #666666;
  --f: #ffffff;
  --g: #f5f5f5;
  --h: #e0e0e0;
  --i: "DM Sans", sans-serif;
  --j: 0 2px 10px rgba(0, 0, 0, 0.1);
  --k: all 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--i);
  color: var(--d);
  line-height: 1.6;
  background-color: var(--f);
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section__header {
  text-align: center;
  margin-bottom: 50px;
}
.logo h1,
.section__title {
  font-weight: 700;
  color: var(--b);
}
.section__title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.section__subtitle {
  font-size: 1.2rem;
  color: var(--e);
  max-width: 700px;
  margin: 0 auto;
}
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--k);
  text-align: center;
  border: 0;
}
.btn--primary {
  background-color: var(--a);
  color: #fff;
}
.appartement-card:hover .btn--small,
.btn--primary:hover {
  background-color: var(--b);
}
.btn--secondary {
  background-color: var(--c);
  color: var(--d);
}
.btn--secondary:hover {
  background-color: #e0a500;
}
.btn--small {
  padding: 8px 18px;
  font-size: 0.9rem;
}
.btn--block {
  display: block;
  width: 100%;
}
.header,
.nav-toggle span {
  width: 100%;
  transition: var(--k);
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--j);
  padding: 15px 0;
}
.header--scrolled {
  padding: 10px 0;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  display: flex;
  flex-direction: column;
}
.logo h1 {
  font-size: 1.8rem;
  margin: 0;
}
.tagline {
  font-size: 0.9rem;
  color: var(--e);
  margin-top: 5px;
}
.appartement-card__features li,
.nav__list {
  display: flex;
  align-items: center;
}
.nav__item {
  margin-left: 25px;
}
.nav__link {
  font-weight: 500;
  transition: var(--k);
}
.nav__link:hover {
  color: var(--a);
}
.nav-toggle {
  display: none;
  background: 0 0;
  border: 0;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background-color: var(--d);
  margin: 5px 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.hero {
  height: 70vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-top: 0;
  padding-top: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url(../images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.appartements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 30px;
}
.appartement-card {
  background-color: var(--f);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--j);
  transition: var(--k);
  color: inherit;
  display: flex;
  flex-direction: column;
}
.appartement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.appartement-card .btn--small {
  background-color: var(--a);
  color: #fff;
}
.appartement-card--soon {
  opacity: 0.78;
  cursor: default;
}
.appartement-card--soon:hover {
  transform: none;
  box-shadow: var(--j);
}
.appartement-card--soon .appartement-card__image img {
  filter: grayscale(0.7) brightness(0.82);
}
.appartement-card__badge--soon {
  background-color: #6b6b6b;
}
.appartement-card--soon .btn--small,
.appartement-card--soon:hover .btn--small,
.btn--disabled {
  background-color: #cfcfcf;
  color: #666;
  cursor: default;
  pointer-events: none;
}
.appartement-card__image {
  position: relative;
  height: 240px;
}
.appartement-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.appartement-card__badge,
.appartement-card__badge_prochainement {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #4d7a4a;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}
.appartement-card__badge_prochainement {
  background-color: #d4b130;
}
.appartement-card__content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.appartement-card__footer {
  margin-top: auto;
}
.appartement-card__title {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.appartement-card__type {
  color: var(--e);
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.appartement-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.appartement-card__features li {
  font-size: 0.9rem;
}
.appartement-card__features i {
  color: var(--a);
  margin-right: 8px;
}
.appartement-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--h);
  padding-top: 15px;
}
.appartement-card__price {
  font-size: 0.88rem;
  line-height: 1.35;
}
.appartement-card__price strong {
  font-size: 1.05rem;
  color: var(--a);
}
.appartement-card__price .price-alt {
  font-size: 0.78rem;
  margin-top: 2px;
}
.apt-aside__price-alt,
.price-alt {
  display: block;
  font-size: 0.85rem;
  color: var(--e);
  margin-top: 4px;
  font-weight: 400;
}
.apt-aside__price-alt {
  margin-bottom: 22px;
}
.curistes {
  background-color: var(--g);
}
.curistes__grid {
  margin-bottom: 40px;
}
.curistes__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.info-card {
  display: flex;
  background-color: var(--f);
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--j);
}
.info-card__icon {
  margin-right: 20px;
  font-size: 2rem;
  color: var(--a);
  min-width: 40px;
  text-align: center;
}
.info-card__title {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.cta-card {
  background-color: var(--f);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--j);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cta-card__price,
.cta-card__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.cta-card__price {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
.cta-card__price strong {
  color: var(--a);
  font-size: 1.4rem;
}
.cta-card__features {
  margin-bottom: 75px;
}
.cta-card__features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.cta-card__features i {
  color: var(--a);
  margin-right: 10px;
}
.cure-finder {
  background-color: var(--f);
  border-radius: 10px;
  box-shadow: var(--j);
  padding: 32px;
}
.cure-finder__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.cure-finder__title {
  font-size: 1.6rem;
  color: var(--b);
  margin-bottom: 10px;
}
.cure-finder__hint {
  color: var(--e);
}
.cure-finder__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
}
.cure-finder__calendar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cure-finder__months {
  min-width: 0;
}
.cure-finder__month-title {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--b);
}
.cure-finder__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cure-finder__dayname {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--e);
  padding-bottom: 4px;
}
.cure-finder__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: 0 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--d);
}
.cure-finder__day--empty {
  pointer-events: none;
}
.cure-finder__day--past {
  color: var(--h);
}
.cure-finder__day--selectable {
  cursor: pointer;
  transition: var(--k);
}
.cure-finder__day--selectable:hover {
  background-color: rgba(61, 107, 90, 0.12);
}
.cure-finder__day--end,
.cure-finder__day--start {
  background-color: var(--a);
  color: #fff;
}
.cure-finder__day--in-range {
  background-color: rgba(61, 107, 90, 0.18);
}
.cure-finder__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 48px;
}
.cure-finder__selection {
  font-size: 0.95rem;
  color: var(--d);
  line-height: 1.5;
}
.cure-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cure-modal.is-open {
  display: flex;
}
.cure-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.cure-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  background: var(--f);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 32px 28px 28px;
}
.cure-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--g);
  color: var(--d);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--k);
}
.cure-modal__close:hover {
  background: var(--a);
  color: #fff;
}
.cure-modal__title {
  text-align: center;
  font-size: 1.4rem;
  color: var(--b);
  margin-bottom: 8px;
  padding-right: 36px;
}
.cure-modal__dates,
.cure-modal__notice {
  text-align: center;
  color: var(--e);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.cure-modal__notice {
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.cure-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.cure-finder__card {
  background: var(--g);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--j);
  color: inherit;
  transition: var(--k);
  display: flex;
  flex-direction: column;
}
.cure-finder__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.cure-finder__card-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.cure-finder__card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cure-finder__card-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.cure-finder__card-type {
  font-size: 0.88rem;
  color: var(--e);
  margin-bottom: 10px;
}
.cure-finder__card-price {
  font-size: 0.9rem;
  margin-bottom: 12px;
  flex: 1;
}
.cure-finder__card-price strong {
  color: var(--a);
  font-size: 1.1rem;
}
.cure-finder__card-price .price-alt {
  font-size: 0.82rem;
}
.cure-modal__empty {
  text-align: center;
  color: var(--e);
  padding: 12px 0 4px;
}
.cure-modal__empty a {
  color: var(--a);
  text-decoration: underline;
}
body.cure-modal-open,
body.lightbox-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .cure-modal {
    padding: 12px;
    align-items: flex-end;
  }
  .cure-modal__dialog {
    max-height: 92vh;
    padding: 28px 18px 22px;
    border-radius: 12px 12px 0 0;
  }
  .cure-modal__grid {
    grid-template-columns: 1fr;
  }
  .cure-finder {
    padding: 24px 18px;
  }
  .cure-finder__panel {
    grid-template-columns: 1fr;
  }
  .cure-finder__actions {
    padding-top: 0;
  }
}
.dispo {
  background-color: var(--f);
  border-radius: 10px;
  box-shadow: var(--j);
  padding: 28px 30px 22px;
  max-width: 860px;
  margin: 0 auto;
}
.dispo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dispo__nav {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--h);
  border-radius: 50%;
  background: 0 0;
  color: var(--d);
  cursor: pointer;
  transition: var(--k);
}
.dispo__nav:hover:not(:disabled) {
  background-color: var(--a);
  border-color: var(--a);
  color: #fff;
}
.dispo__nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.dispo__legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
}
.dispo__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dispo__swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.dispo__swatch--free {
  background-color: rgba(61, 107, 90, 0.18);
}
.dispo__swatch--booked {
  background-color: rgba(190, 70, 70, 0.18);
}
.dispo__months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.dispo__month-title {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--b);
}
.dispo__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.dispo__dayname {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--e);
  padding-bottom: 4px;
}
.dispo__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 5px;
  font-size: 0.9rem;
}
.dispo__day--free {
  background-color: rgba(61, 107, 90, 0.18);
}
.dispo__day--booked {
  background-color: rgba(190, 70, 70, 0.18);
  color: var(--e);
  text-decoration: line-through;
}
.dispo__day--past {
  color: var(--h);
}
.dispo__meta {
  text-align: center;
  font-size: 0.85rem;
  color: var(--e);
  margin-top: 22px;
  min-height: 1.2em;
}
.dispo__cta {
  text-align: center;
  margin-top: 26px;
}
.dispo__cta a {
  color: var(--a);
  font-weight: 500;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .dispo {
    padding: 22px 18px 18px;
  }
  .dispo__months {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .dispo__header {
    flex-wrap: wrap;
  }
  .dispo__legend {
    order: 3;
    width: 100%;
  }
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__group {
  display: flex;
  flex-direction: column;
}
.form__label {
  margin-bottom: 8px;
  font-weight: 500;
}
.form__input,
.form__select,
.form__textarea {
  padding: 12px 15px;
  border: 1px solid var(--h);
  border-radius: 8px;
  font-family: var(--i);
  font-size: 1rem;
  transition: var(--k);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: 0;
  border-color: var(--a);
}
.form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.form__checkbox input {
  margin: 0;
}
.form__price {
  font-weight: 500;
  margin-bottom: 10px;
}
.form__footer {
  margin-top: 10px;
}
.form__group--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__feedback {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 4px;
}
.form__feedback--success {
  background-color: rgba(61, 107, 90, 0.12);
  color: var(--b);
  border: 1px solid rgba(61, 107, 90, 0.25);
}
.form__feedback--error {
  background-color: rgba(190, 70, 70, 0.1);
  color: #9a3a3a;
  border: 1px solid rgba(190, 70, 70, 0.25);
}
.montbrun__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.montbrun__text {
  padding-right: 20px;
}
.montbrun__text p {
  margin-bottom: 20px;
}
.montbrun__text h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}
.montbrun__list {
  padding-left: 20px;
}
.montbrun__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
.montbrun__list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--a);
}
.map-container {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--j);
  max-width: 100%;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-container__link {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
}
.map-container__link a {
  color: var(--a);
  font-weight: 500;
  text-decoration: none;
}
.map-container__link a:hover {
  text-decoration: underline;
}
.map-container__link i {
  margin-right: 0.35rem;
}
.map-info {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.apt-features li,
.info-point {
  display: flex;
  align-items: center;
}
.info-point {
  flex-direction: column;
  text-align: center;
}
.info-point i {
  font-size: 1.5rem;
  color: var(--a);
}
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  background-color: var(--f);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--j);
}
.contact-card__icon {
  font-size: 1.8rem;
  color: var(--a);
  margin-right: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(96, 145, 94, 0.1);
  border-radius: 50%;
}
.contact-card__content h3,
.info-point i {
  margin-bottom: 5px;
}
.contact-card__note {
  font-size: 0.9rem;
  color: var(--e);
  margin-top: 5px;
}
.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}
.footer__content {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer__logo h2 {
  font-size: 1.8rem;
  color: #fff;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}
.footer__column h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
}
.footer__column ul li,
.footer__logo h2 {
  margin-bottom: 10px;
}
.footer__column ul li a,
.social-links a {
  color: #ccc;
  transition: var(--k);
}
.footer__column ul li a:hover {
  color: #fff;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
}
.footer__column h3:after,
.social-links a:hover {
  background-color: var(--a);
}
.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 992px) {
  .section__title {
    font-size: 2.2rem;
  }
  .hero__title {
    font-size: 2.8rem;
  }
  .contact__content,
  .curistes__grid,
  .footer__content,
  .montbrun__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__content {
    gap: 40px;
  }
  .nav-toggle {
    display: block;
  }
  .nav__list {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--f);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    transition:
      transform 0.3s ease,
      visibility 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    visibility: hidden;
  }
  .nav__list.active {
    transform: translateX(0);
    visibility: visible;
  }
  .nav__item {
    margin: 0 0 20px;
    width: 100%;
  }
  .nav__item--cta {
    margin-top: 10px;
  }
  .nav__item--cta .btn {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .hero__cta {
    flex-direction: column;
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__subtitle {
    font-size: 1.2rem;
  }
  .appartements__grid,
  .curistes__info,
  .footer__links,
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__links {
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  .section__title {
    font-size: 1.8rem;
  }
  .hero {
    min-height: 500px;
  }
  .hero__title {
    font-size: 2rem;
  }
  .info-card {
    flex-direction: column;
  }
  .info-card__icon {
    margin: 0 0 15px;
  }
  .footer {
    padding: 40px 0 20px;
  }
}
@media (max-width: 576px) {
  .calendar__day {
    height: 35px;
    font-size: 0.85rem;
  }
  .calendar__legend {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
.page-appartement {
  padding-top: 88px;
}
.apt-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
.apt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.55));
}
.apt-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}
.apt-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.apt-hero__back:hover {
  opacity: 1;
}
.apt-hero__title {
  font-size: 2.8rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.apt-hero__type {
  font-size: 1.15rem;
  opacity: 0.95;
}
.apt-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: start;
}
.apt-slider {
  margin-bottom: 8px;
}
.apt-slider__frame {
  position: relative;
  overflow: hidden;
}
.apt-slider__viewport {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/10;
  background: var(--g);
  box-shadow: var(--j);
  cursor: zoom-in;
}
.apt-slider__expand {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--k);
}
.apt-slider__expand:hover {
  background: rgba(0, 0, 0, 0.7);
}
.apt-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}
.apt-slider__slide {
  flex: 0 0 100%;
  margin: 0;
  height: 100%;
}
.apt-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.apt-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 64px;
  border: 0;
  background: 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.apt-slider__nav:hover {
  color: #fff;
}
.apt-slider__nav--prev {
  left: 8px;
}
.apt-slider__nav--next {
  right: 8px;
}
.apt-slider__caption {
  text-align: center;
  margin: 16px 0 0;
  font-size: 1rem;
  color: var(--d);
  font-weight: 500;
}
.apt-slider__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.apt-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: var(--k);
}
.apt-slider__dot:hover {
  background: #b3b3b3;
}
.apt-slider__dot.is-active {
  background: var(--a);
  transform: scale(1.15);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(48, 48, 48, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 80px 40px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 0;
  background: 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}
.lightbox__close:hover {
  opacity: 1;
}
.lightbox__stage {
  position: relative;
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__photo {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  display: block;
  object-fit: contain;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 72px;
  border: 0;
  background: 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 42px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__nav:hover {
  color: #fff;
}
.lightbox__nav--prev {
  left: 8px;
}
.lightbox__nav--next {
  right: 8px;
}
.lightbox__caption {
  color: #fff;
  text-align: center;
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 500;
}
.lightbox__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.lightbox__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.lightbox__dot.is-active {
  background: #fff;
}
.apt-copy p {
  margin-bottom: 16px;
}
.apt-copy h3 {
  margin: 28px 0 12px;
  color: var(--b);
}
.apt-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.apt-features li {
  gap: 10px;
}
.apt-features i {
  color: var(--a);
  width: 18px;
}
.apt-aside {
  background: var(--f);
  border-radius: 10px;
  box-shadow: var(--j);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.apt-aside__price {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.apt-aside__price strong {
  font-size: 1.7rem;
  color: var(--a);
}
.apt-aside__note {
  color: var(--e);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.apt-aside__list {
  margin: 0 0 24px;
}
.apt-aside__list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.apt-aside__list i {
  color: var(--a);
  margin-top: 4px;
}
@media (max-width: 992px) {
  .apt-layout {
    grid-template-columns: 1fr;
  }
  .apt-aside {
    position: static;
  }
}
@media (max-width: 768px) {
  .apt-hero__title {
    font-size: 2rem;
  }
  .lightbox {
    padding: 52px 16px 24px;
  }
  .lightbox__nav--prev {
    left: 0;
  }
  .lightbox__nav--next {
    right: 0;
  }
  .apt-features {
    grid-template-columns: 1fr;
  }
}
