@font-face {
  font-family: "Cormorant Upright";
  src: url("./cormorant-upright-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("./dancing-script-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #240e1a;
  --wine: #6b1935;
  --brand: #9e2339;
  --rose: #e1af9d;
  --ivory: #fff3e7;
  --muted: #e6c6bf;
  --line: #e1af9d61;
  --serif: "Cormorant Upright", Georgia, serif;
  --script: "Dancing Script", "Segoe Script", cursive;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 700;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: radial-gradient(ellipse at 50% 47%, #611c38, #351221 52%, var(--night) 79%);
}
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--ivory); outline-offset: 5px; }
a:hover { color: var(--rose); }
img { display: block; max-width: 100%; }
address { font-style: normal; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
::selection { color: var(--night); background: var(--rose); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: absolute; z-index: 4; left: 1rem; top: .7rem; translate: 0 -170%; padding: .5rem 1rem; color: var(--night); background: var(--ivory); }
.skip-link:focus { translate: none; }

.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1rem; }
.top { position: relative; z-index: 2; }
.top-inner { min-height: 4.35rem; border-bottom: 1px solid var(--line); }
.place { margin: 0; font-size: 1.16rem; }
.place span { margin-left: .55rem; padding-left: .55rem; border-left: 1px solid var(--line); color: var(--rose); }
.action-outline, .action-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .35rem .92rem;
  border: 1px solid var(--line);
  font-size: 1.14rem;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
}
.action-outline:hover, .action-light { color: var(--night); background: var(--ivory); border-color: var(--ivory); }
.action-light:hover { color: var(--night); background: var(--rose); border-color: var(--rose); }
.return { display: inline-flex; gap: .53rem; align-items: center; min-height: 2.75rem; font-size: 1.12rem; }
.arrow { display: inline-block; width: .43rem; height: .43rem; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; rotate: 45deg; }

.home-page {
  --seal-size: clamp(11rem, min(38vw, calc(100svh - 28rem)), 27rem);
  background: var(--night);
}
.home-page .top-inner { min-height: 3.3rem; }
.home-page .footer-inner { min-height: 2.45rem; padding-block: .42rem; }
.journey { display: flex; flex: 1; flex-direction: column; }
.home {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(.85rem, 2.3svh, 1.55rem) .9rem;
  scroll-margin-top: 3.3rem;
  overflow: clip;
  text-align: center;
}
.forest {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 112%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 21%;
}
.home::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, #29101ee8 0%, #351325af 27%, transparent 62%),
    linear-gradient(to bottom, #240e1a97, #240e1a25 32%, #240e1a94 70%, var(--night) 100%);
}
.seal-frame {
  position: relative;
  isolation: isolate;
  width: var(--seal-size);
  aspect-ratio: 1;
}
.seal {
  position: absolute;
  inset: 0 auto auto 0;
  width: auto;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 11px 20px #2c0c1db8);
}
.orbit, .orbit::before, .orbit::after, .water-ring {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
.orbit {
  inset: -1.6rem;
  z-index: -1;
  background: radial-gradient(circle, #9e233946 12%, #9e23390c 68%, transparent 73%);
  box-shadow: 0 0 3rem #9e23392b;
}
.orbit::before, .orbit::after { content: ""; }
.orbit::before { inset: -1.18rem; border: 1px solid #e1af9d26; }
.orbit::after { inset: -2.35rem -4.5rem; border: 1px solid #e1af9d26; transform: rotate(-24deg); }
.water-ring { inset: 0; border: 1px solid #e1af9d1e; }

.portal {
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  width: clamp(3.55rem, 8vw, 5.95rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  color: var(--ivory);
  text-decoration: none;
  border-radius: 50%;
}
.portal-hypnose { --x: 30%; --y: 31%; --glass: #a53d68; }
.portal-reiki { --x: 70%; --y: 43%; --glass: #a96946; }
.portal-magnetisme { --x: 45%; --y: 73%; --glass: #863340; }
.portal:hover, .portal:focus-visible { z-index: 2; }
.portal:focus-visible { outline: 2px solid var(--night); outline-offset: 4px; box-shadow: 0 0 0 8px var(--ivory); }

.lens {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #fff4e7b8;
  border-radius: 50%;
  background: var(--glass);
  box-shadow: 0 0 0 5px #361121b2, 0 7px 14px #2e0c20ba;
}
.lens img { width: 100%; height: 100%; object-fit: cover; }
.lens .lens-preview { position: absolute; inset: 0; opacity: .65; object-position: var(--vision-position, 50% 50%); }
.lens-hypnose, .vision-hypnose { --vision-position: 50% 45%; }
.lens-reiki, .vision-reiki { --vision-position: 50% 12%; }
.lens::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse at 34% 17%, #fff5ebbf, #fff5eb26 24%, transparent 44%),
    radial-gradient(ellipse at 74% 84%, var(--glass), transparent 49%),
    radial-gradient(circle at 54% 46%, transparent 22%, #250e1bb4 96%);
  box-shadow: inset 0 0 10px #fff3e78c;
}
.portal:hover .lens, .portal:focus-visible .lens { border-color: white; box-shadow: 0 0 0 6px #541b36, 0 0 1.2rem #f0ad9b; }
.portal:hover .lens-preview, .portal:focus-visible .lens-preview { opacity: .8; }
.portal:active .lens { filter: brightness(1.13); }
.portal-label {
  position: absolute;
  top: calc(100% + .52rem);
  left: 50%;
  width: max-content;
  translate: -50% 0;
  padding: .3em .54em;
  border: 1px solid #e1af9da8;
  background: #2b0d1eea;
  font-size: clamp(1.02rem, .82rem + .9vw, 1.42rem);
  line-height: 1;
  color: var(--ivory);
}
.portal:hover .portal-label, .portal:focus-visible .portal-label { text-decoration: underline; }

.signature { position: relative; margin-top: .8rem; padding-inline: 1rem; }
.signature img { width: min(14.75rem, 80vw); height: auto; margin: auto; }
.signature p { margin: .52rem 0 0; font-size: clamp(.98rem, .91rem + .22vw, 1.13rem); line-height: 1.28; color: var(--muted); }

.journey-info {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: start;
  gap: .85rem clamp(1.4rem, 3vw, 3.4rem);
  padding-block: .9rem 1rem;
}
.journey h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.55rem, 1.17rem + 1.02vw, 2.22rem);
  line-height: 1.08;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.welcome h2 em {
  color: var(--rose);
  font: 400 .89em / 1.07 var(--script);
  letter-spacing: normal;
}
.welcome p, .journey-contact p {
  margin: 0;
  font-size: clamp(1rem, .94rem + .2vw, 1.14rem);
  line-height: 1.34;
}
.welcome p + p { margin-top: .5em; }
.journey-contact {
  scroll-margin-top: 1rem;
  padding-inline-start: clamp(1.15rem, 2.2vw, 2.6rem);
  border-inline-start: 1px solid var(--line);
}
.journey-contact-body { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; gap: .5rem 1.1rem; }
.journey-contact-body p { grid-column: 1 / -1; }
.journey-contact-body address { font-size: 1.05rem; line-height: 1.2; }
.home-page .action-light { font-size: 1rem; }

.detail-page { background: radial-gradient(ellipse at 69% 47%, #621b3b, #381223 53%, var(--night) 87%); }
.detail {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-content: center;
  align-items: center;
  gap: 2.2rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.2rem, 7vh, 5.6rem) 2.3rem;
}
.detail-copy h1, .information h1 {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(2.85rem, 1.2rem + 3.8vw, 5rem);
  line-height: .96;
  letter-spacing: -.025em;
}
.phrase { margin: .4em 0; color: var(--rose); font: 400 clamp(1.7rem, 1.16rem + 1.35vw, 2.55rem) / 1.08 var(--script); }
.summary, .information p { max-width: 36rem; margin: .9em 0; font-size: clamp(1.22rem, 1.02rem + .58vw, 1.48rem); line-height: 1.42; }
.situations-title { margin: 1.05em 0 .25em; font-size: clamp(1.27rem, 1.05rem + .5vw, 1.55rem); color: var(--rose); }
.situations-list { margin: 0; padding-left: 1em; font-size: clamp(1.17rem, 1rem + .48vw, 1.39rem); line-height: 1.44; }
.situations-list li + li { margin-top: .18em; }
.facts { display: flex; flex-wrap: wrap; gap: .9rem clamp(1.4rem, 3vw, 3rem); margin: 1.35rem 0; border-top: 1px solid var(--line); padding-top: .8rem; }
.facts dt { color: var(--muted); font-size: 1.03rem; }
.facts dd { margin: 0; font-size: 1.42rem; }
.vision {
  width: min(100%, 32.5rem);
  aspect-ratio: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-self: center;
  margin: 0;
  border: 1px solid #ffd4be9e;
  border-radius: 50%;
  background: radial-gradient(circle, #975c5a, #421327 73%);
  box-shadow: 0 0 0 .58rem #e1af9d25, 0 0 0 1.19rem #e1af9d13, 0 1.35rem 3.8rem #1b091894;
}
.vision img { width: 100%; height: 100%; object-fit: cover; object-position: var(--vision-position, 50% 50%); }
.detail-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); }
.detail-end p { margin: 0; }
.detail-end nav { display: flex; gap: 1.3rem; }
.detail-end nav a { display: inline-block; min-height: 2rem; }

.information { flex: 1; padding-block: clamp(2rem, 8vw, 6rem); }
.information h2 { margin: .8em 0 .2em; color: var(--rose); font-size: 1.9rem; }
.information .phrase { font-size: clamp(1.7rem, 1.16rem + 1.35vw, 2.55rem); line-height: 1.08; }
.contact-layout { display: grid; align-items: center; grid-template-columns: 1.35fr .65fr; gap: 2rem; }
.contact-layout address { border-left: 1px solid var(--line); padding-left: 1.25rem; font-size: 1.35rem; line-height: 1.35; }
.contact-layout address strong { font-size: 1.58rem; }
.footer-inner { flex-wrap: wrap; min-height: 3.55rem; padding-block: .65rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner p { margin: 0; }

@media (width > 44rem) and (hover: hover) and (pointer: fine) {
  .portal-label {
    top: auto;
    bottom: calc(100% + .72rem);
    visibility: hidden;
  }
  .portal:hover .portal-label, .portal:focus-visible .portal-label { visibility: visible; }
}

@media (max-width: 52rem) {
  .journey-info { grid-template-columns: minmax(0, 1fr); }
  .journey-contact { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 0; padding-top: .7rem; }
}

@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .top-inner { min-height: 3.85rem; }
  .place, .return, .action-outline { font-size: 1rem; }
  .action-outline { padding-inline: .62rem; }
  .place span { margin-left: .3rem; padding-left: .3rem; }
  .home-page { --seal-size: clamp(9.5rem, min(76vw, calc(100svh - 34.5rem)), 20rem); }
  .home { padding-block: 1rem .5rem; }
  .forest { width: 100%; object-position: 55% 40%; }
  .home::after { background: radial-gradient(ellipse at 50% 42%, #29101eb8, transparent 71%), linear-gradient(to bottom, #240e1a80, #240e1a27 29%, #240e1a97 69%, var(--night) 100%); }
  .orbit { inset: -.65rem; }
  .orbit::before { inset: -.6rem; }
  .orbit::after { inset: -1.05rem -2.5rem; }
  .portal { width: clamp(2.75rem, 11vw, 3.55rem); }
  .signature { margin-top: .64rem; }
  .signature img { width: min(12rem, 75vw); }
  .signature p { display: none; }
  .journey-info { padding-block: .65rem .75rem; }
  .journey-contact-body { gap: .55rem .72rem; }
  .detail, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .detail { gap: 1.5rem; padding-top: 1.8rem; }
  .vision { grid-row: 1; width: min(89%, 26rem); }
  .detail-copy { grid-row: 2; }
  .detail-end { gap: .5rem 1rem; }
  .footer-inner { font-size: .96rem; }
}
@media (max-width: 340px) {
  .place span { display: none; }
  .home-page .wrap { width: calc(100% - 1.5rem); }
  .home-page .footer-inner { font-size: .9rem; }
  .home { padding-block: .6rem .3rem; }
  .signature { margin-top: .48rem; }
  .signature img { width: min(10.75rem, 75vw); }
  .journey-info { gap: .6rem; padding-block: .5rem .55rem; }
  .journey h2 { font-size: 1.36rem; margin-bottom: .35rem; }
  .welcome p, .journey-contact p { line-height: 1.29; }
  .home-page .action-light span { display: none; }
}

@media (max-width: 44rem) and (max-height: 44rem) {
  .portal-hypnose .portal-label, .portal-reiki .portal-label { top: 50%; left: auto; right: calc(100% + .35rem); translate: 0 -50%; }
  .portal-reiki .portal-label { left: calc(100% + .35rem); right: auto; }
  .portal-magnetisme .portal-label { top: 50%; left: calc(100% + .35rem); translate: 0 -50%; }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.journey) { scroll-behavior: smooth; }
  .lens { transition: scale .2s ease, box-shadow .2s ease; }
  .lens img { transition: scale .24s ease, opacity .2s ease; }
  .portal:hover .lens, .portal:focus-visible .lens { scale: 1.065; }
  .portal:hover .lens img, .portal:focus-visible .lens img { scale: 1.2; }
  .portal:active .lens { scale: .96; }

  .lens-hypnose, .vision-hypnose { view-transition-name: hypnose; }
  .lens-reiki, .vision-reiki { view-transition-name: reiki; }
  .lens-magnetisme, .vision-magnetisme { view-transition-name: magnetisme; }
  .water-ring:nth-child(1) { view-transition-name: onde-premiere; }
  .water-ring:nth-child(2) { view-transition-name: onde-deuxieme; }
  .water-ring:nth-child(3) { view-transition-name: onde-troisieme; }
  ::view-transition-group(onde-premiere), ::view-transition-group(onde-deuxieme), ::view-transition-group(onde-troisieme) {
    z-index: 1;
  }
  ::view-transition-old(onde-premiere), ::view-transition-old(onde-deuxieme), ::view-transition-old(onde-troisieme) {
    animation: none;
    opacity: 0;
  }
  ::view-transition-old(onde-deuxieme) { --onde-retard: 95ms; }
  ::view-transition-old(onde-troisieme) { --onde-retard: 190ms; }
  html:has(.detail .vision)::view-transition-old(onde-premiere),
  html:has(.detail .vision)::view-transition-old(onde-deuxieme),
  html:has(.detail .vision)::view-transition-old(onde-troisieme) {
    border: 1px solid #f9d5bd;
    border-radius: 50%;
    animation: .965s cubic-bezier(.16, .55, .3, 1) var(--onde-retard, 0s) both onde-eau;
  }
  @keyframes onde-eau {
    from { transform: scale(.97); opacity: 0; }
    14% { opacity: .78; }
    to { transform: scale(1.86); opacity: 0; }
  }
  ::view-transition-group(hypnose), ::view-transition-group(reiki), ::view-transition-group(magnetisme) {
    z-index: 2;
    animation-duration: 1.155s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
  }
  ::view-transition-image-pair(hypnose), ::view-transition-image-pair(reiki), ::view-transition-image-pair(magnetisme) {
    isolation: isolate;
    overflow: clip;
    border-radius: 50%;
  }
  ::view-transition-old(hypnose), ::view-transition-old(reiki), ::view-transition-old(magnetisme) {
    mix-blend-mode: normal;
    animation: .525s ease-in both voile;
  }
  ::view-transition-new(hypnose), ::view-transition-new(reiki), ::view-transition-new(magnetisme) {
    mix-blend-mode: normal;
    animation: .825s .135s ease-out both traversee;
  }
  ::view-transition-old(root) { animation: .63s ease-in both voile; }
  ::view-transition-new(root) { animation: .825s .135s ease-out both reprise; }
  @keyframes voile { to { opacity: 0; } }
  @keyframes traversee { from { opacity: 0; scale: .85; filter: blur(5px); } to { opacity: 1; scale: 1; filter: none; } }
  @keyframes reprise { from { opacity: 0; } }
}
