/* Orbit42 — violet du logo, rouge, bleu et chêne relevés sur les photos de l'espace */
:root {
  --paper: #f4f2ed;
  --paper-2: #ebe7df;
  --ink: #2b1846;
  --ink-2: #5b5366;
  --line: #d9d2cb;
  --red: #e3141e;
  --red-deep: #b80f17;
  --blue: #1a6fe8;
  --oak: #b8916a;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 140px);

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
sup { font-size: .6em; line-height: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.02; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font: 600 15px/1 var(--f);
  font-stretch: 108%;
  padding: 16px 24px;
  border: 0;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--red-deep); }
.btn--small { padding: 11px 16px; font-size: 14px; }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--paper); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow::after { content: " \2193"; }
.link-arrow:hover { color: var(--red); border-color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 48px; width: auto; }
@media (max-width: 640px) { .brand img { height: 40px; } }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.kicker { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); }
.lede { margin-top: 26px; font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.hero__photo { margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 13px; color: var(--ink-2); margin-top: 10px; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(40px, 6vw, 72px) 0 0;
  border-top: 2px solid var(--ink);
}
.facts > div { padding: 18px 20px 0 0; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.facts dd { margin: 6px 0 0; font-weight: 700; font-stretch: 115%; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.facts dd small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.facts__note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.facts__note a { color: var(--ink); }
.facts__now { display: flex; align-items: center; gap: 12px; }
.dot { width: .32em; height: .32em; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 .1em rgba(31,157,85,.2); flex: none; }

/* ---------- Intro ---------- */
.intro { padding: var(--sec) 0 0; }
.intro__text {
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  font-stretch: 104%;
  max-width: 26em;
  text-indent: 3em;
}
.intro__text em { font-style: italic; color: var(--ink-2); }

/* ---------- En-têtes de section ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 2px solid var(--ink); padding-top: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(34px, 4vw, 54px); }
.sec-head p { color: var(--ink-2); max-width: 26em; text-align: right; }
.sec-head--stack { display: block; }
.sec-head--stack p { text-align: left; margin-top: 14px; }

/* ---------- L'espace ---------- */
.espace { padding: var(--sec) 0 0; }
.spread { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(56px, 8vw, 110px); }
.spread--flip { grid-template-columns: 4fr 8fr; }
.spread--flip .spread__photo { order: 2; }
.spread__photo { margin: 0; }
.spread__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spread__text { padding-top: 6px; }
.spread__cap { font-size: 14px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .07em; }
.spread__cap .num { display: block; font-size: clamp(64px, 7vw, 104px); font-weight: 700; font-stretch: 118%; color: var(--red); letter-spacing: -0.04em; line-height: .9; margin-bottom: 4px; text-transform: none; }
.spread h3 { font-size: clamp(26px, 2.4vw, 32px); margin: 18px 0 14px; }
.spread__text > p:not(.spread__cap) { color: var(--ink-2); }
.specs { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); font-size: 15px; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs li span:first-child { color: var(--ink-2); }
.specs li span:last-child { font-weight: 600; text-align: right; }
.spread__inset { margin: 32px 0 0; }
.spread__inset img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.trio__item { margin: 0; }
.trio__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.trio__item figcaption { font-size: 15px; color: var(--ink-2); margin-top: 14px; }
.trio__item figcaption b { color: var(--ink); }

/* ---------- Plan ---------- */
.plan { padding: var(--sec) 0 0; }
.plan__grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.plan__grid .sec-head { grid-column: 1 / -1; display: flex; margin-bottom: 0; }
.plan__grid .sec-head p { text-align: right; margin-top: 0; }
.plan__img { margin: 0; background: #fff; padding: clamp(10px, 1.6vw, 22px); border: 1px solid var(--line); }
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.planmap { position: relative; }
.planmap img { width: 100%; height: auto; display: block; }
.planmap__zones { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.planmap__zone rect { fill: var(--red); fill-opacity: 0; stroke: var(--red); stroke-width: 6; stroke-opacity: 0; transition: fill-opacity .15s, stroke-opacity .15s; }
.planmap__zone.is-active rect { fill-opacity: .14; stroke-opacity: .9; }
.planmap__badge {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; padding: 0;
  border: 2px solid #fff; background: var(--ink); color: #fff;
  font: 700 11px/1 var(--f); font-variant-numeric: tabular-nums; letter-spacing: 0;
  cursor: pointer; box-shadow: 0 1px 3px rgba(43, 24, 70, .35);
  transition: background .15s, transform .15s;
}
.planmap__badge:hover, .planmap__badge.is-active { background: var(--red); transform: translate(-50%, -50%) scale(1.15); }
.planmap__caption { margin-top: 12px; font-size: 15px; color: var(--ink); min-height: 1.5em; }
.planmap__caption b { color: var(--red); margin-right: 6px; font-variant-numeric: tabular-nums; }
.planmap__caption span { color: var(--ink-2); }
.rooms li { cursor: pointer; transition: background .15s; }
.rooms li.is-active { background: var(--paper-2); }
.rooms li.is-active span:first-child { font-weight: 600; }
.rooms li:focus-visible { outline-offset: 0; }
.rooms { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: r; }
.rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; counter-increment: r; }
.rooms li span:first-child::before { content: counter(r, decimal-leading-zero); color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 12px; }
.rooms li span:last-child { color: var(--ink-2); white-space: nowrap; }

/* ---------- Galerie ---------- */
.galerie { padding: var(--sec) 0 0; }
.grid-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 14vw, 190px);
  gap: clamp(8px, 1.2vw, 14px);
}
.grid-photos .zoomable { overflow: hidden; background: var(--paper-2); }
.grid-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.grid-photos .zoomable:hover img { transform: scale(1.03); }
.g1 { grid-column: span 4; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 2; }
.g4 { grid-column: span 3; grid-row: span 2; }
.g5 { grid-column: span 3; grid-row: span 2; }
.g6 { grid-column: span 4; grid-row: span 2; }
.g7 { grid-column: span 2; grid-row: span 2; }

/* ---------- Inclus ---------- */
.inclus { padding: var(--sec) 0 0; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.cols h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; font-stretch: 100%; font-weight: 700; color: var(--red); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.note { margin-top: clamp(36px, 5vw, 56px); background: var(--paper-2); border-left: 4px solid var(--blue); padding: 22px 26px; max-width: 46em; }

/* ---------- Accès ---------- */
.acces { padding: var(--sec) 0 0; }
.acces__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.transit { list-style: none; margin: 32px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.transit li { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.transit__time { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.transit__lines { display: flex; gap: 6px; }
.line { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 16px; font-weight: 700; font-size: 14px; color: #fff; justify-self: start; }
.line--m4 { background: #be418d; }
.line--t3 { background: #ff7e2e; color: #2b1846; }
.line--rer { background: #5291ce; border-radius: 4px; }
.acces__extra { margin-top: 28px; color: var(--ink-2); }
.acces__extra b { color: var(--ink); }
.map { border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.55) contrast(1.05); }

/* ---------- Conditions ---------- */
.conditions { padding: var(--sec) 0; }
.conditions__grid { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.conditions .sec-head { margin-bottom: 0; }
.price { border-top: 2px solid var(--ink); padding-top: 18px; }
.price__label { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.price__value { font-size: clamp(48px, 5.4vw, 76px); font-weight: 700; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 14px; color: var(--red); font-variant-numeric: tabular-nums; }
.price__value span { display: block; font-size: 15px; letter-spacing: 0; color: var(--ink); font-weight: 600; margin-top: 8px; font-stretch: 100%; }
.price__sub { color: var(--ink-2); font-size: 15px; margin-top: 14px; }
.calc { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 22px; }
.calc th, .calc td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.calc th { font-weight: 400; color: var(--ink-2); }
.calc td { text-align: right; font-variant-numeric: tabular-nums; }
.calc__total th, .calc__total td { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
.terms__title { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); padding-bottom: 12px; }
.terms { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; }
.conditions__grid > div:last-child { padding-top: 18px; }
.terms th, .terms td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.terms th { font-weight: 400; color: var(--ink-2); padding-right: 16px; }
.terms td { font-weight: 600; text-align: right; }

/* ---------- Contact ---------- */
.contact { background: var(--red); color: #fff; padding: var(--sec) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(48px, 6.4vw, 92px); letter-spacing: -0.035em; }
.contact__grid > div > p { margin-top: 24px; font-size: 18px; max-width: 28em; }
.contact__direct { list-style: none; margin: 40px 0 0; padding: 0; border-top: 2px solid #fff; }
.contact__direct li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact__direct li > span:first-child { opacity: .8; font-size: 14px; padding-top: 2px; }
.contact__direct li { align-items: center; }
.contact__direct a { font-weight: 700; font-size: 20px; text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.contact__direct a:hover { text-decoration: underline; }
.phone__reveal { font: 600 15px/1 var(--f); color: #fff; background: transparent; border: 1.5px solid #fff; padding: 9px 14px; cursor: pointer; }
.phone__reveal:hover { background: #fff; color: var(--red); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font-size: 14px; font-weight: 600; }
.req { opacity: .8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__status { grid-column: span 2; font-weight: 600; min-height: 1.4em; }
.form__status[data-type="error"] { background: #fff; color: var(--red-deep); padding: 10px 14px; }
.form__status[data-type="ok"] { background: var(--ink); color: #fff; padding: 10px 14px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: #fff; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 14px; border-radius: 0; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { resize: vertical; min-height: 88px; }
.field.is-invalid input { border-bottom-color: var(--ink); background: #fff3f3; }
.form .btn { grid-column: span 2; justify-self: start; margin-top: 6px; }
.form__hint { grid-column: span 2; font-size: 13px; opacity: .85; }
.contact :focus-visible { outline-color: #fff; }

/* ---------- Pied ---------- */
.foot { background: var(--ink); color: #cfc8d8; padding: 32px 0; font-size: 14px; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.foot__logo { height: 34px; width: auto; }
.foot a { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(15, 16, 18, .92); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; background: #fff; }
.lightbox__close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .top__inner { justify-content: space-between; }
  .hero__grid, .acces__grid, .contact__grid { grid-template-columns: 1fr; }
  .spread, .spread--flip { grid-template-columns: 1fr; }
  .spread--flip .spread__photo { order: 0; }
  .plan__grid { grid-template-columns: 1fr; }
  .conditions__grid { grid-template-columns: 1fr 1fr; }
  .conditions .sec-head { grid-column: span 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec-head { display: block; }
  .sec-head p { text-align: left; margin-top: 10px; }
  .intro__text { text-indent: 0; }
  .trio, .cols { grid-template-columns: 1fr; }
  .trio__item img { aspect-ratio: 3 / 2; }
  .conditions__grid { grid-template-columns: 1fr; }
  .conditions .sec-head { grid-column: auto; }
  .planmap__badge { width: 22px; height: 22px; font-size: 9px; border-width: 1.5px; }
  .grid-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .grid-photos > * { grid-column: span 1 !important; grid-row: span 1 !important; }
  .grid-photos .g1 { grid-column: span 2 !important; grid-row: span 1 !important; }
  .form { grid-template-columns: 1fr; }
  .field, .field--half, .form .btn, .form__hint, .form__status { grid-column: span 1; }
  .contact__direct li { grid-template-columns: 90px 1fr; }
  .transit li { grid-template-columns: 78px 1fr; }
  .transit__time { grid-column: 2; margin-top: -8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grid-photos img { transition: none; }
}
@media (max-width: 640px) {
  .plan__grid .sec-head { display: block; }
  .plan__grid .sec-head p { text-align: left; margin-top: 10px; }
}
