/* ==========================================================================
   ROOMPLAY — Page d'accueil
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-6)) 0 var(--space-7);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__orb--gold {
  top: -220px;
  right: -240px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(214, 185, 127, 0.38), transparent 65%);
}

.hero__orb--blue {
  bottom: 4%;
  left: -280px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(79, 125, 255, 0.24), transparent 65%);
  animation-delay: -7s;
}

.hero__orb--violet {
  right: 4%;
  bottom: -300px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(157, 125, 255, 0.18), transparent 65%);
  animation-delay: -13s;
}

/* Bas du haut de page fondu dans le noir de la page, sans rupture de couleur */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(11, 10, 9, 0) 0%, rgba(11, 10, 9, 0.65) 55%, var(--color-bg) 100%);
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000, transparent 75%);
  opacity: 0.6;
}

@keyframes drift {
  to {
    transform: translate3d(-40px, 30px, 0) scale(1.08);
  }
}

.hero__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.hero__content {
  display: grid;
  gap: var(--space-5);
}

.hero__title {
  max-width: 16ch;
  font-size: var(--fs-3xl);
}

.hero__lead {
  max-width: 40ch;
  font-size: var(--fs-md);
  color: var(--color-text-soft);
}

.hero__text {
  max-width: 54ch;
  margin-top: calc(var(--space-2) * -1);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Téléphone : les boutons restent dans le premier écran, la description suit */
@media (max-width: 959px) {
  .hero__text {
    order: 1;
    margin-top: 0;
  }
}

.hero__actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.hero__rail {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero__rail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(143, 211, 173, 0.55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(143, 211, 173, 0);
  }
}

/* Visuel : la chambre vue depuis le lit, l'écran prend la couleur de chaque
   produit et une confirmation de remise apparaît (piste A) */
.hero-room {
  position: relative;
  justify-self: center;
  order: -1;
  width: min(100%, 330px);
  color: var(--color-gold);
}

.hero-room__art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.hero-room__glow {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, currentColor, transparent 72%);
  color: var(--accent-ps5);
  opacity: 0.3;
  filter: blur(10px);
  transform: translateX(-50%);
}

/* Téléphone : la disponibilité s'affiche sur le visuel, à la place de la rangée
   de produits (la collection suit juste après) */
.hero-room__status {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 6px 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  background: rgba(11, 10, 9, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text-soft);
  transform: translate(-50%, -30%);
}

@media (max-width: 959px) {
  .hero__rail {
    display: none;
  }
}

@media (min-width: 960px) {
  .hero-room__status {
    display: none;
  }
}

.hero-room__screen,
.hero-room__led {
  fill: var(--accent-ps5);
}

.hero-room__lamp {
  opacity: 0.45;
}

.hero-room__ticket {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: var(--space-3);
  width: max-content;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(214, 185, 127, 0.38);
  border-radius: var(--radius-md);
  background: rgba(22, 20, 18, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  transform: translateX(-50%);
}

.hero-room__check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-on-gold);
}

.hero-room__check .icon {
  width: 14px;
  height: 14px;
}

.hero-room__msg {
  grid-area: 1 / 2;
  display: grid;
  line-height: 1.3;
}

.hero-room__msg + .hero-room__msg {
  visibility: hidden;
}

.hero-room__msg strong {
  font-size: var(--fs-xs);
  font-weight: 600;
}

.hero-room__msg small {
  font-size: var(--fs-2xs);
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-room__glow {
    animation: room-glow 12s infinite;
  }

  .hero-room__screen,
  .hero-room__led {
    animation: room-screen 12s infinite;
  }

  .hero-room__lamp {
    animation: room-lamp 5s ease-in-out infinite;
  }

  .hero-room__msg {
    animation: room-msg 12s infinite backwards;
  }

  .hero-room__msg + .hero-room__msg {
    visibility: visible;
    animation-delay: 4s;
  }

  .hero-room__msg + .hero-room__msg + .hero-room__msg {
    animation-delay: 8s;
  }
}

/* PS5 (bleu), Meta Quest 3 (violet), Switch 2 (rouge), en même temps que les messages */
@keyframes room-glow {
  0%, 30% { color: var(--accent-ps5); }
  33%, 63% { color: var(--accent-vr); }
  66%, 96% { color: var(--accent-switch); }
  100% { color: var(--accent-ps5); }
}

@keyframes room-screen {
  0%, 30% { fill: var(--accent-ps5); }
  33%, 63% { fill: var(--accent-vr); }
  66%, 96% { fill: var(--accent-switch); }
  100% { fill: var(--accent-ps5); }
}

@keyframes room-lamp {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

/* Chaque message reste 4 s et se fond dans le suivant */
@keyframes room-msg {
  0% { opacity: 0; transform: translateY(6px); }
  2.5%, 31% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* Visuel de l'ancienne version (porte en arche), gardé pour le pied de page */
.hero__visual {
  display: none;
}

.arch {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 3 / 4.3;
  border: 1px solid rgba(214, 185, 127, 0.32);
  border-radius: 999px 999px 20px 20px;
  background:
    radial-gradient(90% 55% at 50% 100%, rgba(79, 125, 255, 0.3), transparent 70%),
    radial-gradient(80% 45% at 50% 0%, rgba(214, 185, 127, 0.22), transparent 70%),
    linear-gradient(180deg, #16130f, #0b0a08);
  box-shadow:
    0 0 140px -30px rgba(214, 185, 127, 0.35),
    inset 0 0 90px rgba(0, 0, 0, 0.65);
}

.arch::before {
  /* second liseré intérieur, façon chambranle */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(214, 185, 127, 0.14);
  border-radius: inherit;
}

.arch::after {
  /* filet de lumière sous la porte */
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-soft), transparent);
  box-shadow: 0 0 30px 6px rgba(214, 185, 127, 0.35);
}

.arch .hanger-wrap {
  position: absolute;
  top: 26%;
  left: 50%;
  margin-left: -100px;
}

@media (min-width: 640px) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 959px) {
  .hero__inner {
    gap: var(--space-5);
  }
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-room {
    order: 0;
    width: min(100%, 540px);
  }

  .hero-room__ticket {
    bottom: 2%;
    padding: 12px 20px 12px 12px;
  }

  .hero-room__msg strong {
    font-size: var(--fs-sm);
  }

  .hero-room__msg small {
    font-size: var(--fs-xs);
  }

  .hero__rail .chips {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

/* Collection ------------------------------------------------------------- */
.collection-grid {
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.product-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
  min-height: 140px;
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(243, 238, 230, 0.045), rgba(243, 238, 230, 0.01));
  overflow: hidden;
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
}

.product-card::before {
  /* halo coloré propre à chaque produit */
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 65%);
  opacity: 0.22;
  transform: translateY(-50%);
  transition: opacity var(--dur-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgba(243, 238, 230, 0.2);
    transform: translateY(-3px);
  }

  .product-card:hover::before {
    opacity: 0.38;
  }
}

.product-card__stage {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.product-card__art {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55));
  transition: transform var(--dur-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__art {
    transform: translateY(-4px) scale(1.04);
  }
}

.product-card__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.product-card__kicker {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card__title {
  font-size: 1.6rem;
  line-height: 1.1;
}

.product-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.product-card__price {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.product-card__price strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-text);
}

.product-card__arrow {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  color: var(--color-text-soft);
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.product-card__arrow .icon {
  width: 14px;
  height: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__arrow {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: var(--color-on-gold);
  }
}

@media (max-width: 719px) {
  .product-card__arrow {
    display: none;
  }
}

@media (min-width: 720px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .product-card {
    grid-template-columns: 1fr;
    align-content: start;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5) var(--space-6);
  }

  .product-card::before {
    top: 38%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
  }

  .product-card__stage {
    aspect-ratio: 16 / 10;
  }

  .product-card__art {
    width: auto;
    height: 82%;
  }

  .product-card__title {
    font-size: var(--fs-xl);
  }

  .collection-grid > li:last-child {
    grid-column: 1 / -1;
  }

  .collection-grid > li:last-child .product-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .collection-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .collection-grid > li,
  .collection-grid > li:last-child {
    grid-column: span 2;
  }

  .collection-grid > li:nth-child(-n + 2) {
    grid-column: span 3;
  }

  .collection-grid > li:last-child .product-card {
    grid-template-columns: 1fr;
  }
}

/* Hôtels partenaires ----------------------------------------------------- */
.partners {
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(214, 185, 127, 0.045) 50%, transparent);
}

.partners__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.partners .section-head {
  margin-bottom: 0;
}

.partners .benefits {
  margin-top: 0;
}

.benefits {
  display: grid;
  gap: var(--space-4);
  margin-block: var(--space-6) var(--space-7);
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-soft);
}

.benefits .icon {
  margin-top: 2px;
  color: var(--color-gold);
}


@media (min-width: 960px) {
  .partners__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-9);
  }
}

/* Appel final ------------------------------------------------------------ */
.final-cta {
  overflow: hidden;
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 40%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 185, 127, 0.16), transparent 62%);
  transform: translate(-50%, -50%);
}

.final-cta {
  isolation: isolate;
}

.final-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
}

.final-cta__title {
  max-width: 14ch;
  font-size: var(--fs-3xl);
}

.final-cta .hanger-wrap {
  margin-bottom: var(--space-4);
}

.final-cta .btn {
  width: min(100%, 360px);
}

/* Page 404 --------------------------------------------------------------- */
.not-found {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-8);
  overflow: hidden;
  text-align: center;
}

.not-found::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 35%;
  left: 50%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 185, 127, 0.16), transparent 62%);
  transform: translate(-50%, -50%);
}

.not-found__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
}

.not-found__title {
  max-width: 14ch;
  font-size: var(--fs-3xl);
}

.not-found .lead {
  max-width: 40ch;
}

.not-found__actions {
  display: grid;
  gap: var(--space-3);
  width: min(100%, 360px);
  margin-top: var(--space-2);
}

@media (min-width: 640px) {
  .not-found__actions {
    display: flex;
    justify-content: center;
    width: auto;
  }
}

/* Tarifs ------------------------------------------------------------------ */
.pricing-grid {
  display: grid;
  gap: var(--space-4);
  list-style: none;
}

.price-card {
  display: grid;
  align-content: start;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(243, 238, 230, 0.045), rgba(243, 238, 230, 0.01));
}

.price-card__title {
  font-size: var(--fs-xl);
}

.price-card__products {
  margin-top: var(--space-1);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.price-card__rows {
  display: grid;
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.price-card__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
}

.price-card__rows strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
}

.price-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
}

/* Téléphone : les trois durées côte à côte, pour des cartes plus courtes */
@media (max-width: 639px) {
  .price-card {
    gap: var(--space-4);
    padding: var(--space-5) var(--space-4);
  }

  .price-card__title {
    font-size: var(--fs-lg);
  }

  .price-card__rows {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    border-top: 0;
  }

  .price-card__rows li {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-1);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--fs-xs);
  }

  .price-card__rows strong {
    font-size: 1.5rem;
  }
}

.pricing__note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.pricing__note .icon {
  color: var(--color-gold);
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Note sous l'appel final ------------------------------------------------- */
.final-cta__note {
  max-width: 40ch;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.final-cta__note a {
  color: var(--color-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(214, 185, 127, 0.4);
}

/* Pages légales (mentions légales, CGV, confidentialité) ------------------ */
.legal-hero {
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-7)) 0 var(--space-6);
  border-bottom: 1px solid var(--color-line);
  background: radial-gradient(80% 100% at 50% 0%, rgba(214, 185, 127, 0.08), transparent 70%);
}

.legal-hero__inner {
  display: grid;
  gap: var(--space-4);
}

.legal-hero__title {
  font-size: var(--fs-2xl);
}

.legal-hero__meta {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.legal-tabs .chip[aria-current="page"] {
  border-color: var(--color-gold);
  background: var(--color-gold-tint);
  color: var(--color-gold-soft);
}

.legal {
  padding-block: var(--space-6) var(--space-9);
}

.legal h2 {
  margin: var(--space-7) 0 var(--space-3);
  font-size: var(--fs-xl);
}

.legal > h2:first-child,
.legal__notice + h2,
.legal__intro + h2 {
  margin-top: var(--space-5);
}

.legal p,
.legal li {
  max-width: 68ch;
  color: var(--color-text-soft);
}

.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: var(--space-3);
}

.legal ul {
  display: grid;
  gap: var(--space-2);
  padding-left: 1.2em;
}

.legal li::marker {
  color: var(--color-gold);
}

.legal strong {
  color: var(--color-text);
}

.legal a {
  color: var(--color-gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(214, 185, 127, 0.4);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal__intro {
  font-size: var(--fs-md);
}

.legal__notice {
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-gold-tint);
  font-size: var(--fs-sm);
}

/* Fiche d'identité (éditeur, hébergeur) */
.legal-card {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

.legal-card div {
  display: grid;
  gap: 2px;
}

.legal-card dt {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.legal-card dd {
  margin: 0;
  color: var(--color-text);
}

@media (min-width: 640px) {
  .legal-card div {
    grid-template-columns: 11rem 1fr;
    gap: var(--space-4);
    align-items: baseline;
  }
}

/* Tableau des tarifs (CGV) */
.legal-table-wrap {
  margin-top: var(--space-4);
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.legal-table th,
.legal-table td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

.legal-table th:first-child {
  padding-left: var(--space-4);
}

.legal-table td:last-child,
.legal-table thead th:last-child {
  padding-right: var(--space-4);
}

.legal-table thead th {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: bottom;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
}

.legal-table td:not(:first-child),
.legal-table thead th:not(:first-child) {
  text-align: right;
}

.legal-table td {
  white-space: nowrap;
}

@media (min-width: 640px) {
  .legal-table th,
  .legal-table td {
    padding-inline: var(--space-4);
  }
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Informations restant à compléter (visibles tant qu'elles existent) */
.todo {
  padding: 0 0.3em;
  border-radius: var(--radius-xs);
  background: rgba(255, 143, 128, 0.14);
  color: var(--color-error);
  font-style: normal;
}

/* Page Hôtels (offre aux établissements) ---------------------------------- */
.b2b-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-8)) 0 var(--space-8);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.b2b-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -260px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 185, 127, 0.3), transparent 65%);
}

.b2b-hero__inner {
  display: grid;
  gap: var(--space-5);
  max-width: 48rem;
}

.b2b-hero__title {
  font-size: var(--fs-3xl);
}

.b2b-hero .lead {
  max-width: 46ch;
}

.b2b-hero__text {
  max-width: 60ch;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* Téléphone : boutons juste après l'accroche, détails ensuite */
@media (max-width: 959px) {
  .b2b-hero__text,
  .b2b-hero__area {
    order: 1;
  }
}

.b2b-hero__area {
  max-width: 46ch;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.b2b-hero__actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-2);
}


/* Téléphone : titre, aperçu du profil, puis détails. Ordinateur : texte à
   gauche, aperçu du profil à droite, aligné sur le titre. */
.integration {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

.integration__visual {
  display: grid;
  place-items: center;
}

.integration__visual .arch {
  width: min(100%, 300px);
}

@media (min-width: 960px) {
  .integration__visual .arch {
    width: min(100%, 380px);
  }
}

.integration .others {
  grid-template-columns: 1fr;
  margin-top: var(--space-5);
}

/* Formules de profil QR (inclus / à votre marque) */
.plans {
  display: grid;
  gap: var(--space-4);
}

.plan {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
}

.plan--featured {
  border-color: rgba(214, 185, 127, 0.45);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--color-gold-tint), transparent 60%),
    var(--color-bg-soft);
}

.plan__tag {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.plan__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

.plan__text {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--color-text-soft);
}

.plan__price {
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

.integration__subtitle {
  margin-top: var(--space-7);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--color-text);
}

/* Aperçu du profil QR dans un téléphone */
.profile-demo {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
}

.phone {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 390 / 844;
  padding: 10px;
  border: 1px solid var(--color-line-strong);
  border-radius: 46px;
  background: linear-gradient(150deg, #2b2721, #0d0c0a 60%);
  box-shadow:
    var(--shadow-lift),
    0 0 0 6px rgba(243, 238, 230, 0.03),
    0 40px 120px -40px rgba(214, 185, 127, 0.35);
}

.phone__screen {
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #8d7b51;
}

.phone__shot {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .phone__shot {
    animation: phone-scroll 16s var(--ease-in-out) infinite;
  }
}

/* Défilement lent du profil, comme si on le parcourait */
@keyframes phone-scroll {
  0%,
  18% {
    transform: translateY(0);
  }
  48%,
  70% {
    transform: translateY(-15.5%);
  }
  100% {
    transform: translateY(0);
  }
}

.profile-demo__caption {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  text-align: center;
}

.profile-demo__label {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--color-gold-soft);
}

/* QR code : utile sur ordinateur, pour essayer le profil avec son téléphone */
.profile-demo__try {
  display: none;
}

.profile-demo__qr {
  width: 88px;
  height: 88px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: #f3eee6;
}

@media (min-width: 960px) {
  .profile-demo__try {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    max-width: 300px;
    text-align: left;
    font-size: var(--fs-sm);
    color: var(--color-text-soft);
  }

  .profile-demo__open {
    display: none;
  }
}

.code-line {
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-sm);
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.code-line mark {
  background: none;
  color: var(--color-gold);
}

.integration__note {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.integration__note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--color-gold-soft);
}

.contact-actions {
  display: grid;
  gap: var(--space-3);
  width: min(100%, 360px);
}

.contact-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .b2b-hero__actions,
  .contact-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .contact-actions {
    justify-content: center;
    width: auto;
  }

  .contact-actions .btn {
    width: auto;
  }

  .integration .others {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .integration {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "intro demo"
      "details demo";
    column-gap: var(--space-9);
    row-gap: var(--space-6);
  }

  .integration__intro {
    grid-area: intro;
  }

  .integration__details {
    grid-area: details;
  }

  .profile-demo {
    grid-area: demo;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

/* Zone de livraison --------------------------------------------------------- */
.zone {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
}

.zone__icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.zone__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
}

.zone__text {
  max-width: 72ch;
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--color-text-soft);
}

.zone__text a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zone__more {
  margin-top: var(--space-2);
  color: var(--color-gold);
}

/* Page locale « Location de console à Cannes et Mandelieu » ---------------- */
.local-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
}

.local-facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.local-facts .icon {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

.towns {
  display: grid;
  gap: var(--space-3);
}

.town {
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
}

.town__name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
}

.town__name .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.town__text {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-text-soft);
}

.towns__note {
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.towns__note a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 639px) {
  .town {
    padding: var(--space-4) var(--space-5);
  }
}

@media (min-width: 640px) {
  .towns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .towns {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Avis clients (section masquée tant qu'il n'y a pas d'avis) ----------------- */
.reviews__list {
  display: grid;
  gap: var(--space-4);
  list-style: none;
}

.review {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
}

.review__stars {
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.review__text {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
}

.review__author {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.reviews__more {
  margin-top: var(--space-5);
}

@media (min-width: 960px) {
  .reviews__list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Sur ordinateur, le bouton « Réserver » de l'en-tête suffit */
  .sticky-cta--home {
    display: none;
  }
}

/* Page Hôtels : demande de partenariat ------------------------------------ */
.partner {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

.partner__alt {
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.partner__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.partner__card {
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(100% 40% at 50% 0%, rgba(214, 185, 127, 0.07), transparent 70%),
    var(--color-surface);
  box-shadow: var(--shadow-lift);
}

.partner__form {
  display: grid;
  gap: var(--space-4);
}

.partner__row {
  display: grid;
  gap: var(--space-4);
}

.partner__form .btn {
  margin-top: var(--space-2);
}

.partner__note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.partner__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner__success {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-6) 0;
  text-align: center;
  color: var(--color-text-soft);
}

.partner__success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold-tint);
  color: var(--color-gold);
}

.partner__success-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--color-text);
}

@media (min-width: 640px) {
  .partner__card {
    padding: var(--space-7);
  }

  .partner__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .partner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-9);
  }
}
