/* Styles propres a la page (repris du prototype v5) */
/* Concept page: a manifesto in three moves.
   1 · Hero: "Neither a hotel, nor a coliving."
   2 · Two circles drift together as you scroll: what we keep from the hotel, what we keep from coliving.
   3 · Nine ways of being here, grouped by the four values; the photo follows the line you read. */

/* 2 · Between the two */
.between { padding-block: clamp(110px, 13vw, 170px) clamp(80px, 10vw, 130px); overflow: hidden; }
.between .shead h2 { max-width: 20ch; }
.venn { position: relative; margin: clamp(48px, 7vw, 88px) auto 0; width: min(100%, 980px); aspect-ratio: 2 / 1.1; --v: 1; }
.venn__c { position: absolute; top: 50%; width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; align-content: center; gap: 10px; padding: 0 13%; transition: transform .2s linear; }
.venn__c--a { left: 0; transform: translate(calc((1 - var(--v)) * -16%), -50%); background: var(--bg-alt); border: 1px solid var(--line-strong); justify-items: start; padding-right: 22%; }
.venn__c--b { right: 0; transform: translate(calc((1 - var(--v)) * 16%), -50%); background: color-mix(in srgb, var(--band) 10%, transparent); border: 1px solid var(--line-strong); justify-items: end; text-align: right; padding-left: 22%; }
.venn__c h3 { font-size: clamp(22px, 3vw, 38px); }
.venn__c ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--text-soft); font-size: clamp(13px, 1.5vw, 17px); }
.venn__mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(calc(.7 + var(--v) * .3)); opacity: calc(var(--v) * 1.4 - .3); width: 25%; aspect-ratio: 1; border-radius: 50%; background: var(--btn); color: var(--btn-text); display: grid; place-content: center; text-align: center; gap: 4px; padding: 8px; box-shadow: var(--shadow); }
.venn__mid b { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2.6vw, 34px); line-height: 1; }
.venn__mid span { font-size: clamp(11px, 1.2vw, 14px); line-height: 1.3; }
.between__foot { margin-top: clamp(36px, 5vw, 56px); text-align: center; color: var(--text-soft); font-size: 19px; max-width: 46ch; margin-inline: auto; }
@media (max-width: 699px) {
  .venn { aspect-ratio: 1 / 1.33; }
  .venn__c { width: 76%; top: auto; padding: 0 14%; }
  .venn__c--a { top: 0; left: 0; transform: translateY(calc((1 - var(--v)) * -14%)); justify-items: start; padding: 0 14% 18%; align-content: center; }
  .venn__c--b { bottom: 0; right: 0; transform: translateY(calc((1 - var(--v)) * 14%)); padding: 18% 14% 0; }
  .venn__mid { width: 34%; }
}

/* 3 · Nine ways of being here */
.ways { position: relative; background: var(--bg-alt); padding-block: clamp(64px, 8vw, 110px) clamp(96px, 11vw, 150px); }
.ways .curve path { fill: var(--bg-alt); }
.ways__grid { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 1000px) { .ways__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; } }
.ways__group { display: grid; gap: 6px; padding-top: clamp(36px, 4vw, 56px); }
.ways__group:first-child { padding-top: 0; }
.ways__vh { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.ways__vh .vic { width: 44px; height: 44px; flex: none; border-radius: 6px; border: 1px solid var(--accent); color: var(--heading); display: grid; place-items: center; }
.ways__vh .vic svg { width: 20px; height: 20px; }
.ways__vh b { font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; }
.ways__vh span { font-family: var(--serif); font-size: 22px; color: var(--heading); }
.way { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease), transform 1s var(--ease); }
.way__n { font: 500 13px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 14px; }
.way h3 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.02; transition: color .4s var(--ease), transform .6s var(--ease); }
.way p { grid-column: 2; color: var(--text-soft); max-width: 46ch; }
.ways__gimg { margin: 14px 0 6px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #083E4B; }
.ways__gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1000px) {
  .ways__gimg { display: none; }
  .motion .way { opacity: .42; }
  .motion .way.is-on { opacity: 1; }
  .motion .way.is-on h3 { transform: translateX(8px); }
}
.ways__stage { display: none; }
@media (min-width: 1000px) {
  .ways__stage { display: block; position: sticky; top: 110px; }
  .ways__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #083E4B; border-radius: var(--r-lg); animation: morph2 18s ease-in-out infinite alternate; }
  .ways__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
  .ways__frame img.is-on { opacity: 1; transform: none; }
  .ways__cap { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted); font-size: 14px; }
  .ways__cap b { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--heading); }
  .ways__dots { display: flex; gap: 6px; }
  .ways__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background-color .3s, transform .3s; }
  .ways__dots i.is-on { background: var(--heading); transform: scale(1.4); }
}
.ways__more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
