.brand {
  width: 170px;
  height: 72px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  overflow: visible;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-copy .quick-connect {
  order: 0;
  margin: 34px 0 0;
}

.hero-visual {
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .85s ease, transform 6.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 7%;
  bottom: 8%;
  display: flex;
  gap: 9px;
}

.hero-dots button {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.hero-dots button.active {
  width: 70px;
  background: #fff;
}

.brand-footer {
  width: 180px;
  height: 52px;
}

@media (max-width: 700px) {
  .brand {
    width: 132px;
    height: 60px;
  }

  .hero-slide {
    object-position: 62% center;
  }

  .hero-slide:first-child {
    object-position: 57% center;
  }

  .hero-dots {
    bottom: 6%;
  }
}

/* Variante intégrée : champs en verre, sans pavé blanc */
.hero-copy .quick-connect,
.hero-copy .quick-connect.profile-open {
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.hero-copy .quick-connect > label,
.hero-copy .room-picker,
.hero-copy .quick-profile > label:not(.quick-cgu) {
  min-height: 68px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}

.hero-copy .quick-connect label > span,
.hero-copy .room-picker-label {
  color: rgba(231,222,243,.65);
}

.hero-copy .quick-connect input,
.hero-copy .quick-connect select,
.hero-copy .room-picker-trigger {
  color: #fff;
  background: transparent;
}

.hero-copy .quick-connect input::placeholder {
  color: rgba(255,255,255,.58);
}

.hero-copy .quick-connect select option {
  color: #17141f;
}

.hero-copy .room-picker-trigger b {
  color: #d6c2ff;
}

.hero-copy .quick-submit {
  min-height: 68px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(120deg,#7d43e1,#9c63ef);
  box-shadow: 0 14px 35px rgba(16,4,32,.28);
}

.hero-copy .quick-profile {
  gap: 10px;
}

.hero-copy .quick-connect.profile-open .quick-profile {
  max-height: 170px;
  padding: 0;
  border-top: 0;
}

.hero-copy .quick-profile .quick-cgu {
  min-height: 30px;
  padding: 4px 8px;
  color: rgba(255,255,255,.72);
}

.hero-copy .quick-profile .quick-cgu input {
  accent-color: #a77af4;
}

.hero-copy .room-picker-panel {
  top: calc(100% + 10px);
  left: 0;
  width: min(380px,88vw);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  background: rgba(26,10,48,.97);
  color: #fff;
  box-shadow: 0 24px 65px rgba(9,2,18,.42);
  backdrop-filter: blur(24px);
}

.hero-copy .room-picker-close {
  background: rgba(255,255,255,.09);
  color: #d9cde7;
}

.hero-copy .room-search {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  box-shadow: none;
}

.hero-copy .room-search::placeholder {
  color: rgba(255,255,255,.48);
}

.hero-copy .room-category > span,
.hero-copy .room-category summary {
  color: #bca5e8;
}

.hero-copy .room-category label {
  min-height: 39px;
  padding: 5px 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy .room-category label:hover {
  background: rgba(255,255,255,.07);
}

.hero-copy .room-category i {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: rgba(162,116,244,.16);
  color: #c8aaff;
}

.hero-copy .room-category label small {
  color: rgba(255,255,255,.44);
}

.hero-copy .room-picker-foot {
  border-top-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.58);
}

.hero-copy .room-picker-validate {
  background: #8d55e8;
}

@media (max-width: 700px) {
  .hero-copy .quick-connect.profile-open .quick-profile {
    max-height: 440px;
  }

  .hero-copy .room-picker-panel {
    inset: auto 10px 10px;
    width: auto;
  }
}

.room-picker {
  position: relative;
  padding: 5px 16px;
  border-right: 1px solid #e8e3ee;
  min-width: 0;
}

.room-picker-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #8f8897;
}

.room-picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #17141f;
  font: 500 14px "DM Sans", sans-serif;
  cursor: pointer;
  text-align: left;
}

.room-picker-trigger b {
  color: #6d35d5;
  font-size: 17px;
}

.room-picker-panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 16px);
  left: -12px;
  width: min(430px, 88vw);
  padding: 20px;
  border: 1px solid #ece6f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 75px rgba(24, 10, 40, .25);
}

@media (min-width: 1051px) {
  .hero {
    min-height: 940px;
    overflow: visible;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    padding-top: 118px;
  }

  .hero-copy .quick-connect {
    order: 0;
    margin: 26px 0 0;
  }

  .hero-copy .eyebrow {
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(43px, 4.45vw, 68px);
    margin-top: 18px;
  }

  .hero-intro {
    margin-bottom: 0;
  }

  .trust-line {
    margin-top: 14px;
  }
}

.room-picker-panel[hidden] {
  display: none;
}

.room-picker-head,
.room-picker-foot,
.room-category label {
  display: flex;
  align-items: center;
}

.room-picker-head {
  justify-content: space-between;
  margin-bottom: 14px;
}

.room-picker-head strong {
  font: 700 17px "Manrope", sans-serif;
}

.room-picker-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3eef9;
  color: #5f5768;
  font-size: 21px;
  cursor: pointer;
}

.room-search {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e4ddeb;
  border-radius: 12px;
  outline: 0;
  font: 14px "DM Sans", sans-serif;
}

.room-search:focus {
  border-color: #8d61df;
  box-shadow: 0 0 0 3px rgba(109, 53, 213, .12);
}

.room-options {
  max-height: 320px;
  overflow: auto;
  margin: 14px -5px 0;
  padding: 0 5px;
}

.room-category {
  display: block;
  margin: 13px 0;
}

.room-category > span,
.room-category summary {
  display: block;
  margin: 0 0 7px;
  color: #8d8495;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}

.room-category label {
  gap: 10px;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 10px;
  cursor: pointer;
}

.room-category label:hover {
  background: #f7f3fb;
}

.room-category label.is-hidden {
  display: none;
}

.room-category input {
  width: 17px;
  height: 17px;
  accent-color: #6d35d5;
}

.room-category i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f0e9fb;
  color: #6d35d5;
  font-style: normal;
}

.room-category label b {
  font-size: 13px;
}

.room-category label small {
  margin-left: auto;
  color: #8e8795;
}

.room-picker-foot {
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #ece6f3;
  color: #746d7b;
  font-size: 12px;
}

.room-picker-validate {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #6d35d5;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 700px) {
  .room-picker {
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid #e8e3ee;
  }

  .room-picker-panel {
    position: fixed;
    inset: auto 10px 10px;
    width: auto;
    max-height: 78vh;
    border-radius: 22px;
  }

  .room-options {
    max-height: 48vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.quick-connect.profile-open {
  grid-template-columns: 1.1fr 1fr auto;
}

.quick-profile {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .65fr .9fr 1.2fr;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  border: 0;
  margin: 0;
  padding: 0;
  transition: max-height .4s ease, opacity .3s ease, padding .4s ease;
}

.quick-connect.profile-open .quick-profile {
  max-height: 180px;
  visibility: visible;
  opacity: 1;
  padding: 15px 0 4px;
  border-top: 1px solid #e8e3ee;
}

.quick-profile legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.quick-profile .quick-cgu {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 3px;
  border: 0;
}

.quick-profile .quick-cgu input {
  width: 16px;
  margin: 0;
}

.quick-profile .quick-cgu span {
  display: inline;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

@media (max-width: 700px) {
  .quick-connect.profile-open,
  .quick-profile {
    grid-template-columns: 1fr;
  }

  .quick-connect.profile-open .quick-profile {
    max-height: 430px;
  }

  .quick-profile label {
    border-right: 0;
    border-bottom: 1px solid #e8e3ee;
  }
}
